/* Global Tax Gestión · web corporativa. Light editorial theme in the Torrealday green and orange. */

@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/fraunces-latin-opsz-italic.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/roboto-mono-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/roboto-mono-latin-500-normal.woff2) format("woff2");
}

:root {
  --paper: #f6f5f1;
  --paper-2: #eeece5;
  --card: #ffffff;
  --ink: #12151c;
  --ink-2: #3b4250;
  --muted: #5f6675;
  --line: rgba(18, 21, 28, .10);
  --line-2: rgba(18, 21, 28, .16);
  --brand: #1c5a48;        /* Torrealday green */
  --brand-deep: #0f2e26;
  --brand-soft: #e2eee8;
  --accent: #ee7f1b;       /* Torrealday orange: decoration only (too light for body text) */
  --accent-ink: #b45309;   /* orange dark enough for small text on light backgrounds */
  --accent-light: #f6a65c; /* orange for text on dark green */

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(18, 21, 28, .06), 0 12px 32px -12px rgba(18, 21, 28, .18);
  --shadow-lg: 0 2px 4px rgba(18, 21, 28, .05), 0 40px 80px -30px rgba(15, 46, 38, .32);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ------------------------------------------------------------------ buttons + links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 10px;
  font: 500 15.5px/1 var(--sans); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(28, 90, 72, .7); }
.btn-brand:hover { background: #154536; box-shadow: 0 14px 30px -12px rgba(28, 90, 72, .8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--brand-deep); }
.btn-white:hover { background: var(--brand-soft); }
.link { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(28, 90, 72, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.link-strong { font-weight: 500; color: var(--brand); }
.link-strong:hover { color: var(--accent-ink); }

/* ------------------------------------------------------------------ reading progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ------------------------------------------------------------------ header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(246, 245, 241, .82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
.header-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 80px; display: flex; align-items: center; gap: 36px; }
.brand img { height: 44px; width: auto; }
.cobrand { display: flex; align-items: center; padding-left: 20px; margin-left: -16px; border-left: 1px solid var(--line-2); }
.cobrand img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-current { color: var(--brand); background: rgba(28, 90, 72, .08); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.menu-toggle span[aria-hidden] { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle span[aria-hidden]:nth-of-type(2) { top: 17px; }
.menu-toggle span[aria-hidden]:nth-of-type(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
.menu { padding: 8px var(--gutter) 24px; display: grid; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--line); }
.header:has(.menu:not([hidden])) { background: var(--paper); border-bottom-color: var(--line); }
.menu a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 16px; }

/* ------------------------------------------------------------------ intro + reveal (only when JS runs) */
.js .intro { opacity: 0; transform: translateY(16px); }
.js.is-loaded .intro { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 152px 0 64px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(28, 90, 72, .14), rgba(238, 127, 27, .06) 45%, rgba(238, 127, 27, 0) 68%); animation: drift 18s var(--ease) infinite alternate; }
@keyframes drift { to { transform: translate3d(-60px, 50px, 0) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(238, 127, 27, .18); flex: none; }
.hero-title { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.03em; font-variation-settings: "opsz" 72; color: var(--ink); }
.hero-title em, .section-title em { font-style: italic; color: var(--brand); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.hero-title .wi { display: inline-block; }
.js .hero-title .wi { transform: translateY(105%); opacity: 0; }
.js.is-loaded .hero-title .wi { transform: none; opacity: 1; transition: transform 1s var(--ease), opacity .6s var(--ease); transition-delay: calc(120ms + var(--i) * 70ms); }
.hero-sub { margin: 28px 0 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); font-weight: 400; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; padding: 36px 0 56px 28px; }
.dossier { position: relative; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; }
.dossier-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dossier-dots { display: flex; gap: 5px; } .dossier-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--paper-2); }
.dossier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dossier-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 10px; border-radius: 12px; transition: background .3s; }
.dossier-list li:hover { background: var(--paper); }
.dl-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); }
.dl-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-txt b { display: block; font-weight: 500; font-size: 16px; }
.dl-txt small { display: block; font-size: 13.5px; color: var(--muted); }
.dl-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--brand); transform: scale(0); }
.is-loaded .dl-check { animation: pop .5s var(--ease) forwards; }
.is-loaded .dossier-list li:nth-child(1) .dl-check { animation-delay: .9s; }
.is-loaded .dossier-list li:nth-child(2) .dl-check { animation-delay: 1.15s; }
.is-loaded .dossier-list li:nth-child(3) .dl-check { animation-delay: 1.4s; }
.is-loaded .dossier-list li:nth-child(4) .dl-check { animation-delay: 1.65s; }
.is-loaded .dossier-list li:nth-child(5) .dl-check { animation-delay: 1.9s; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.fc-years { left: -12px; bottom: 0; }
.fc-private { right: -18px; top: 0; animation-delay: -3.5s; max-width: 260px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.fc-num { font-family: var(--display); font-weight: 300; font-size: 46px; line-height: 1; color: var(--brand); font-variation-settings: "opsz" 72; }
.fc-num b { font-weight: 300; }
.fc-txt { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.fc-txt b { font-weight: 500; color: var(--ink); }
.fc-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }

.facts { list-style: none; margin: 72px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts li { display: grid; gap: 4px; }
.facts b { font-family: var(--display); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--brand); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; }
.facts li:last-child b { font-size: 28px; line-height: 44px; font-weight: 400; }
.facts li > span { font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: clamp(88px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.label span { color: var(--brand); padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 6px; }
.section-title { font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 24px; font-variation-settings: "opsz" 72; }
.section-intro { font-size: 18px; color: var(--ink-2); max-width: 600px; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 30px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.service::before { /* pointer spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(28, 90, 72, .08), transparent 60%);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(28, 90, 72, .22); }
.service:hover::before { opacity: 1; }
.service-n { position: absolute; right: 20px; top: 22px; font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: .1em; }
.service-ico { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; transition: background .3s, color .3s; }
.service:hover .service-ico { background: var(--brand); color: #fff; }
.service h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; font-variation-settings: "opsz" 36; }
.service p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.service-cta { display: flex; flex-direction: column; justify-content: flex-end; background: var(--brand-deep); border-color: transparent; color: #fff; min-height: 260px; }
.service-cta::before { background: radial-gradient(360px circle at var(--mx, 80%) var(--my, 0%), rgba(238, 127, 27, .22), transparent 60%); opacity: 1; }
.service-cta .service-n { color: var(--accent); font-size: 20px; }
.service-cta h3 { color: #fff; }
.service-cta p { color: #bcd0c8; }
.service-go { position: relative; display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 500; color: var(--accent-light); transition: gap .25s var(--ease); }
.service-cta:hover .service-go { gap: 14px; }

/* about */
.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-panel {
  position: relative; display: grid; gap: 16px; padding: 28px; border-radius: 24px; overflow: hidden;
  background: var(--brand-deep); color: #eef5f2; box-shadow: var(--shadow-lg);
}
.about-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at 90% 0%, rgba(238, 127, 27, .22), transparent 60%), radial-gradient(380px circle at 0% 100%, rgba(46, 140, 112, .35), transparent 60%); }
.ap-k { position: relative; margin: 0; font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #bcd0c8; }
.ap-brand { position: relative; display: grid; place-items: center; padding: 22px 26px; border-radius: 16px; background: #fff; }
.ap-brand img { width: 100%; max-width: 360px; height: auto; }
.ap-places { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-places span { font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: #eef5f2; }
.about-copy p { color: var(--ink-2); }
.partner { display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, transform .25s var(--ease); }
.partner:hover { border-color: var(--line-2); transform: translateY(-1px); }
.tl-mini { width: auto; height: 40px; }
.partner span { font-size: 14px; line-height: 1.3; font-weight: 500; }
.partner small { font-weight: 400; color: var(--muted); }
.values { margin: clamp(64px, 8vw, 104px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 24px; font-family: var(--display); font-weight: 300; font-size: clamp(36px, 6vw, 84px); line-height: 1.1; letter-spacing: -.03em; font-variation-settings: "opsz" 72; }
.values span { color: rgba(18, 21, 28, .14); transition: color .8s var(--ease); }
.values span.lit { color: var(--brand); }
.values i { font-style: normal; color: var(--accent-light); }

/* experience */
.track-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.track-side { position: sticky; top: 120px; }
.ring { position: relative; width: min(280px, 70vw); aspect-ratio: 1; margin-top: 40px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: var(--brand-soft); }
.ring-fg { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 553; stroke-dashoffset: 553; transition: stroke-dashoffset 2s var(--ease) .35s; }
.ring.is-in .ring-fg { stroke-dashoffset: 0; }
.ring::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); top: 6px; left: 50%; margin-left: -8px; box-shadow: 0 0 0 6px rgba(238, 127, 27, .18); opacity: 0; transition: opacity .4s 2.2s; }
.ring.is-in::after { opacity: 1; }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-n { font-family: var(--display); font-weight: 300; font-size: 92px; line-height: .9; letter-spacing: -.04em; color: var(--ink); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; }
.ring-n b { font-weight: 300; }
.ring-n i { font-style: normal; color: var(--accent); }
.ring-t { font: 400 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.timeline { position: relative; list-style: none; margin: 0; padding: 8px 0 0 44px; display: grid; gap: 44px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line-2); }
.timeline::after { background: linear-gradient(var(--brand), var(--accent)); transform-origin: top; transform: scaleY(var(--tp, 0)); }
.tl-item { position: relative; }
.tl-dot { position: absolute; left: -44px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); transition: border-color .5s, background .5s, box-shadow .5s; }
.tl-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .5s var(--ease) .15s; }
.tl-item.is-in .tl-dot { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(28, 90, 72, .1); }
.tl-item.is-in .tl-dot::after { transform: scale(1); }
.tl-item:last-child .tl-dot::after { background: var(--accent); }
.tl-when { margin: 0 0 8px; font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.tl-item h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 10px; font-variation-settings: "opsz" 48; }
.tl-item p:last-child { margin: 0; color: var(--ink-2); max-width: 520px; }

/* client area */
.clients { background: var(--brand-deep); color: #eef5f2; overflow: hidden; }
.clients::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px circle at 85% 20%, rgba(46, 140, 112, .35), transparent 60%), radial-gradient(500px circle at 10% 100%, rgba(238, 127, 27, .14), transparent 60%); pointer-events: none; }
.clients .section-title { color: #fff; }
.clients .section-title em { color: var(--accent-light); }
.clients p { color: #bcd0c8; }
.label-light { color: #bcd0c8; }
.label-light span { color: #fff; border-color: rgba(255, 255, 255, .22); }
.clients-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.clients-ctas { display: grid; gap: 16px; justify-items: start; margin-top: 12px; }
.muted-light { font-size: 14.5px; margin: 0; }
.muted-light a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.vault { position: relative; height: 360px; display: grid; place-items: center; }
.vault-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.vault-rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); animation: ring 6s var(--ease) infinite; }
.vault-rings i:nth-child(1) { width: 140px; height: 140px; }
.vault-rings i:nth-child(2) { width: 240px; height: 240px; animation-delay: -2s; }
.vault-rings i:nth-child(3) { width: 340px; height: 340px; animation-delay: -4s; }
@keyframes ring { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.02); } }
.vault-lock { position: relative; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, #dcebe4); color: var(--brand-deep); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 8px rgba(255, 255, 255, .06); }
.vault-lock .ico { width: 40px; height: 40px; stroke-width: 1.6; }
.vault-tag { position: absolute; font: 400 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite; }
.t1 { left: 4%; top: 20%; } .t2 { right: 2%; top: 38%; animation-delay: -2.3s; } .t3 { left: 14%; bottom: 14%; animation-delay: -4.6s; }

/* facturize */
.fz-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.fz-grid p { color: var(--ink-2); }
.fz-card { background: #0f1011; color: #f5f5f7; border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid #222; }
.fz-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 14px; }
.fz-brand { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.fz-brand i { font-style: normal; width: 24px; height: 24px; border-radius: 6px; background: #fff; color: #000; display: grid; place-items: center; letter-spacing: 0; }
.fz-pill { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(242, 184, 75, .16); color: #f2b84b; }
.fz-rows { display: grid; gap: 6px; }
.fz-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 10px; background: #1d1e20; font-size: 13px; }
.fz-row span { font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9f9fa0; }
.fz-row b { font: 400 13.5px/1 var(--mono); }
.fz-row em { font-style: normal; font-size: 12px; color: #90b8f0; }
.fz-check { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 10px; background: rgba(0, 179, 221, .1); border-left: 3px solid #00b3dd; font: 400 12.5px/1.3 var(--mono); color: #8fdcf0; }
.dot-ok { background: #00b3dd; box-shadow: 0 0 10px rgba(0, 179, 221, .8); }
.fz-note { margin: 12px 0 0; font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6a6b6b; }
.js .fz-row { opacity: 0; transform: translateX(14px); }
.fz-card.is-in .fz-row { animation: slide-in .6s var(--ease) forwards; }
.fz-card.is-in .fz-row:nth-child(2) { animation-delay: .12s; } .fz-card.is-in .fz-row:nth-child(3) { animation-delay: .24s; } .fz-card.is-in .fz-row:nth-child(4) { animation-delay: .36s; }
@keyframes slide-in { to { opacity: 1; transform: none; } }

/* contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-2); }
.cl-k { font: 400 12px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cl-v { font-size: 17px; line-height: 1.6; }
.cl-note { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font: 400 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(28, 90, 72, .12); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.check.invalid span { color: #c0392b; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: 14.5px; color: var(--ink-2); min-height: 1.4em; }
.form-done { text-align: center; padding: 40px 0; }
.done-mark { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--brand); animation: pop .6s var(--ease); }
.form-done h3 { font-family: var(--display); font-weight: 300; font-size: 36px; margin-bottom: 8px; font-variation-settings: "opsz" 72; }
.form-done p { color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--brand-deep); color: #bcd0c8; padding: 72px 0 32px; font-size: 15px; }
.footer a { color: #eef5f2; transition: color .2s; }
.footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-cobrand { height: 84px; width: auto; margin-top: 8px; opacity: .92; }
.f-k { font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8fb0a4; margin-bottom: 14px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 22px; }

/* ------------------------------------------------------------------ legal pages */
.page { padding: 140px 0 96px; }
.page .wrap { max-width: 820px; }
.page h1 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 12px; font-variation-settings: "opsz" 72; }
.page .updated { font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.page h2 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 44px 0 14px; font-variation-settings: "opsz" 36; }
.page h3 { font-weight: 600; font-size: 17px; margin: 28px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-left: 1.2em; }
.page .data { list-style: none; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.page .data li { margin: 4px 0; }
.page a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .services { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding-top: 128px; }
  .hero-grid, .about-grid, .clients-grid, .fz-grid, .contact-grid, .track-grid { grid-template-columns: 1fr; }
  .track-side { position: static; }
  .ring { margin: 32px auto 0; }
  .hero-visual { max-width: 520px; padding-left: 0; }
  .fc-private { right: 0; }
  .fc-years { left: 0; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .vault { height: 280px; }
  .fz-card { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-in { height: 68px; }
  .brand img { height: 36px; }
  .cobrand { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .services { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px; }
  .fc-num { font-size: 36px; }
  .fc-private { max-width: 220px; top: -6px; }
  .vault-tag { font-size: 10px; }
}
@media (min-width: 641px) { .menu { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .intro, .js .reveal, .js .fz-row { opacity: 1 !important; transform: none !important; }
  .dl-check { transform: none; }
  .values span { color: var(--brand); }
  .js .hero-title .wi { transform: none; opacity: 1; }
  .ring-fg { stroke-dashoffset: 0; }
  .ring::after { opacity: 1; }
  .timeline::after { transform: scaleY(1); }
  .tl-dot::after { transform: scale(1); }
  .dossier { transform: none; }
}
