/* ==========================================================================
   Xpandable — site stylesheet
   Ink + bone + one ember accent. Instrument Serif / Inter Tight / JetBrains Mono.
   ========================================================================== */

:root {
  --ink: #0A0C0F;
  --ink-2: #0D1014;
  --ink-3: #ffffff;
  --card: #12151A;
  --card-2: #171B21;
  --bone: #F3F0EA;
  --text: #C9CCD2;
  --muted: #A9AEB6;
  --dim: #8E939B;
  --line: rgba(255, 255, 255, .14);
  --line-soft: rgba(255, 255, 255, .08);
  --accent: #216093;
  --accent-ink: #C93C12;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 80px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
address {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

/* ---------- Layout primitives ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.sec {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}

.sec--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.sec--tint {
  background: var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

.sec--light {
  background: var(--bone);
  color: var(--ink);
}

.mono {
  font-family: var(--mono);
}

.split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 64px;
}

.split--end {
  align-items: flex-end;
}

.split__main {
  flex: 1 1 520px;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
}

.display em {
  color: var(--accent);
  font-style: italic;
}

.sec--light .display em {
  color: var(--accent);
}

.h-xl {
  font-size: clamp(38px, 5.6vw, 84px);
}

.h-lg {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -.022em;
}

.h-md {
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -.015em;
  line-height: 1.08;
  max-width: 620px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec--light .eyebrow {
  color: #4A4F57;
}

.eyebrow--line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow--line::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.eyebrow--ink {
  color: var(--ink);
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text);
  max-width: 600px;
}

.lead--dark {
  color: #2B2F35;
  font-size: clamp(18px, 1.7vw, 22px);
}

.lead--side {
  max-width: 420px;
  flex: 1 1 320px;
  font-size: 17px;
}

.lead--ink {
  color: var(--ink);
  font-size: 18px;
}

.link-accent {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
}

.link-accent:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 30px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .2s, background .2s, transform .2s;
}

.btn--primary {
  background: var(--accent);
  color: var(--text);
}

.btn--primary:hover {
  filter: brightness(1.1);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .28);
  color: var(--bone);
  font-weight: 500;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
}

.btn--dark {
  background: var(--ink);
  color: var(--bone);
}

.btn--dark:hover {
  background: #1b2027;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  padding: 28px var(--gutter);
}

.header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.logo-x {
  stroke: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 15px;
  color: var(--text);
}

.nav a {
  padding: 10px 0;
  transition: opacity .2s;
}

.nav a:hover {
  opacity: .7;
}

.nav a[aria-current="page"] {
  color: var(--bone);
  box-shadow: 0 2px 0 var(--accent);
}

.nav__cta {
  display: none;
}

.header__cta {
  padding: 13px 24px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--bone);
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .2s, opacity .2s;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 96px) var(--gutter) 0;
}

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero__copy {
  flex: 1 1 560px;
  min-width: 0;
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(46px, 7.4vw, 112px);
  line-height: .98;
}

.hero__lead {
  margin-top: 32px;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__art {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 540px;
  margin: 0 auto;
}

.hero__art svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-ring {
  fill: none;
  stroke: #fff;
  stroke-opacity: .13;
  stroke-width: 1;
}

.svg-acc {
  stroke: var(--accent);
}

.svg-acc-fill {
  fill: var(--accent);
}

.svg-dot {
  fill: var(--ink);
  stroke: var(--accent);
  stroke-width: 2.5;
}

.stats {
  margin-top: clamp(56px, 8vw, 112px);
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.stat {
  flex: 1 1 220px;
  padding: 32px 24px;
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat__n {
  font-family: var(--serif);
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat__l {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Clients ---------- */
.clients {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 56px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--dim);
}

/* ---------- About ---------- */
.about__title {
  margin-top: 28px;
  max-width: 1080px;
}

.about__cols {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
}

.about__cols>.lead {
  flex: 1 1 380px;
  max-width: none;
}

.pillars {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
}

.pillar {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(10, 12, 15, .18);
}

.pillar:nth-of-type(3) {
  border-bottom: 1px solid rgba(10, 12, 15, .18);
}

.pillar__n {
  font-size: 13px;
  color: #4A4F57;
  width: 32px;
  flex: none;
  padding-top: 6px;
}

.pillar h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.pillar p {
  margin-top: 4px;
  color: #4A4F57;
  font-size: 16px;
}

.about__cta {
  margin-top: 36px;
}

/* ---------- Services ---------- */
.svc-group {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}

.split+.svc-group {
  margin-top: 72px;
}

.svc-group__head {
  flex: 1 1 260px;
  max-width: 340px;
}

.svc-group__num {
  font-size: 13px;
  color: var(--accent);
}

.svc-group__title {
  margin-top: 12px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.01em;
}

.svc-group__head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.svc-group__items {
  flex: 3 1 520px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
}

.svc {
  flex: 1 1 260px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding: 24px 0 36px;
  transition: border-color .2s;
}

.svc:hover {
  border-top-color: var(--bone);
}

.svc h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.svc p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Why ---------- */
.why__title {
  margin-top: 24px;
  max-width: 900px;
}

.why {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.why__card {
  flex: 1 1 260px;
  min-height: 260px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 24px;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.why__n {
  font-size: 13px;
  color: var(--accent);
}

.why__card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.why__card p {
  margin-top: 12px;
  color: #B7BBC2;
  font-size: 16px;
}

.partners {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(10, 12, 15, .18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}

.partners ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-family: var(--serif);
  font-size: 30px;
}

/* ---------- Offices ---------- */
.offices__title {
  margin-top: 24px;
}

.offices {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.office {
  flex: 1 1 240px;
  min-height: 220px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: background .2s;
}

.office:hover {
  background: var(--card-2);
}

.office__city {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.01em;
}

.office address {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Projects ---------- */
.projects {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.project {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project__tag {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project__client {
  font-size: clamp(32px, 3vw, 42px);
}

.project p {
  color: var(--text);
  font-size: 16px;
}

.project__result {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  color: var(--accent);
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 6vw, 80px);
}

.page-hero__title {
  margin-top: 28px;
  font-size: clamp(42px, 6.4vw, 96px);
  line-height: 1;
  max-width: 1080px;
}

.page-hero .lead {
  margin-top: 28px;
}

.cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.col {
  flex: 1 1 280px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px 28px 36px;
}

.col h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.col p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.col--light {
  background: var(--ink);
}

.values {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.values li {
  border: 1px solid rgba(10, 12, 15, .25);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 17px;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 48px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  margin-top: 14px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note {
  margin-top: 28px;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
}

.contact__card {
  background: var(--accent);
  color: var(--ink);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
}

.contact__info {
  flex: 1 1 380px;
  min-width: 0;
}

.contact__info .display {
  margin-top: 24px;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1;
}

.contact__info .lead {
  margin-top: 24px;
  max-width: 460px;
}

.contact__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 17px;
  font-weight: 500;
}

.contact__list a {
  display: inline-block;
  padding: 6px 0;
}

.contact__list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--ink);
  color: var(--bone);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  color: var(--bone);
  font: 400 16px/1.4 var(--sans);
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7C818A;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.flash {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
}

.flash--ok {
  background: rgba(74, 222, 154, .14);
  color: #8CF0C0;
  border: 1px solid rgba(74, 222, 154, .35);
}

.flash--err {
  background: rgba(255, 91, 46, .14);
  color: #FFB4A0;
  border: 1px solid rgba(255, 91, 46, .4);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}

.footer__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 64px;
}

.footer__brand {
  flex: 1 1 320px;
  max-width: 420px;
}

.footer__brand .logo {
  font-size: 24px;
}

.footer__brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.footer__links {
  flex: 1 1 240px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-content: flex-start;
  font-size: 15px;
  color: var(--text);
}

.footer__links a {
  padding: 8px 0;
  transition: opacity .2s;
}

.footer__links a:hover {
  opacity: .7;
}

.footer__legal {
  margin-top: 40px;
  font-size: 12px;
  color: var(--dim);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  z-index: 50;
  transition: transform .2s;
}

.wa-float:hover {
  transform: scale(1.06);
}

.whatsapp-floating-btn-wrapper {
  width: 60px;
  height: 60px;
  background: #45C153;
  padding: 9px;
  border-radius: 50%;
  position: fixed;
  bottom: 20px;
  right: 20px;
}


/* DataTables dark theme */
#myTable_wrapper {
  color: #F3F0EA;
  width: 100%;
}

#myTable {
  width: 100% !important;
  background-color: #0D1014;
  color: #C9CCD2;
  border-collapse: collapse;
}

/* Table header */
#myTable thead th {
  background-color: #171B21 !important;
  color: #F3F0EA !important;
  border-bottom: 1px solid #3A3F47 !important;
}

/* Table rows and cells */
#myTable tbody tr,
#myTable tbody td {
  background-color: #0D1014 !important;
  color: #C9CCD2 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

#myTable tbody tr:hover td {
  background-color: #171B21 !important;
}

/* Search input and entries dropdown */
#myTable_wrapper .dt-search input,
#myTable_wrapper .dt-length select {
  background-color: #171B21 !important;
  color: #F3F0EA !important;
  border: 1px solid #50545B !important;
  border-radius: 5px;
  padding: 6px 8px;
}

#myTable_wrapper .dt-search label,
#myTable_wrapper .dt-length label,
#myTable_wrapper .dt-info {
  color: #C9CCD2 !important;
}

/* Pagination buttons */
#myTable_wrapper .dt-paging button {
  background: #171B21 !important;
  color: #F3F0EA !important;
  border: 1px solid #50545B !important;
  border-radius: 4px;
}

#myTable_wrapper .dt-paging button.current {
  background: #216093 !important;
  color: #FFFFFF !important;
  border-color: #216093 !important;
}

#myTable_wrapper .dt-paging button:hover {
  background: #216093 !important;
  color: #FFFFFF !important;
}

/* Sorting icons */
#myTable_wrapper .dt-column-order {
  color: #F3F0EA;
}

/* Empty search results */
#myTable_wrapper .dt-empty {
  color: #C9CCD2 !important;
}

/* Message column */
#myTable td.message-column {
  min-width: 200px;
  max-width: 350px;
  overflow-wrap: anywhere;
  cursor: pointer;
}

table#myTable {
  font-size: 20px;
}

table#myTable td {
  font-size: 20px;
  line-height: 140%;
}


/* ==========================================
   HERO GRAPH ANIMATION
   Xpandable
========================================== */

/* Background rings */
.graph-rings .svg-ring {
  animation: ringFade 4s ease-in-out infinite alternate;
}

.graph-rings .svg-ring:nth-child(2) {
  animation-delay: .3s;
}

.graph-rings .svg-ring:nth-child(3) {
  animation-delay: .6s;
}

.graph-rings .svg-ring:nth-child(4) {
  animation-delay: .9s;
}

.graph-rings .svg-ring:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes ringFade {
  from {
    stroke-opacity: .08;
  }

  to {
    stroke-opacity: .22;
  }
}

/* Circular accent animation */
.graph-orbit {
  transform-box: view-box;
  transform-origin: center;
  animation: orbitRotate 18s linear infinite;
}

@keyframes orbitRotate {
  from {
    transform: rotate(-70deg);
  }

  to {
    transform: rotate(290deg);
  }
}

/* Growth line drawing animation */
.graph-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawGraph 2.5s cubic-bezier(.65, 0, .35, 1) forwards;
}

@keyframes drawGraph {
  to {
    stroke-dashoffset: 0;
  }
}

/* Graph points */
.graph-point {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pointAppear .5s ease-out forwards;
}

.point-1 {
  animation-delay: 1s;
}

.point-2 {
  animation-delay: 1.5s;
}

.point-3 {
  animation-delay: 2s;
}

@keyframes pointAppear {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  70% {
    opacity: 1;
    transform: scale(1.3);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Final glowing point */
.graph-glow {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: finalGlow 2s ease-in-out 2.5s infinite;
}

@keyframes finalGlow {
  0% {
    opacity: .15;
    transform: scale(.7);
  }

  50% {
    opacity: .8;
    transform: scale(1.5);
  }

  100% {
    opacity: .15;
    transform: scale(.7);
  }
}

/* Final graph point */
.graph-final-point {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: finalPointAppear .5s ease-out 2.4s forwards,
    finalPointPulse 2s ease-in-out 3s infinite;
}

@keyframes finalPointAppear {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes finalPointPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 3px var(--accent));
  }

  50% {
    filter: drop-shadow(0 0 12px var(--accent));
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  .graph-rings .svg-ring,
  .graph-orbit,
  .graph-line,
  .graph-point,
  .graph-glow,
  .graph-final-point {
    animation: none !important;
  }

  .graph-line {
    stroke-dashoffset: 0;
  }

  .graph-point,
  .graph-final-point {
    opacity: 1;
  }

  .graph-glow {
    opacity: .3;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 3;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a[aria-current="page"] {
    box-shadow: none;
    color: var(--accent);
  }

  .nav__cta {
    display: block;
    color: var(--accent);
    font-weight: 600;
    border-bottom: 0 !important;
  }

  .stat,
  .stat:first-child,
  .stat:last-child {
    padding: 24px 12px 24px 0;
  }

  .whatsapp-floating-btn-wrapper {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}