/* ==========================================================
   Veritaz Consulting Services — Global Styles
   Palette taken from the brand logo: deep navy + antique gold
   ========================================================== */

:root {
  --navy-950: #050f1f;
  --navy-900: #07162b;
  --navy-800: #0b2243;
  --navy-700: #123057;
  --navy-600: #1b4073;
  --gold: #c9a24b;
  --gold-light: #e8cb83;
  --gold-dark: #a47f2e;
  --ivory: #f8f5ee;
  --ivory-2: #efe9db;
  --ink: #14233b;
  --muted: #5d6b82;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-brand: "Cinzel", "Cormorant Garamond", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 60px -25px rgba(5, 15, 31, 0.45);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--navy-950); }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--dark { background: var(--navy-900); color: #dfe6f2; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--ivory-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-brand); font-size: .78rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }

.section-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.section-title em, .hero h1 em, .page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.section-lead { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.section--dark .section-lead { color: #a9b6cc; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: .93rem;
  letter-spacing: .04em; border: 1.5px solid transparent; cursor: pointer;
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: var(--navy-950); box-shadow: 0 12px 30px -10px rgba(201,162,75,.65); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(201,162,75,.8); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-3px); }

/* ---------- Preloader & page transition ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy-950);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader img { width: 84px; margin: 0 auto 20px; animation: pulse 1.6s ease-in-out infinite; }
.preloader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; margin-inline: auto; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--gold); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes pulse { 50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(201,162,75,.6)); } }

.page-transition {
  position: fixed; inset: 0; z-index: 9000; background: var(--navy-900);
  transform: translateY(100%); visibility: hidden; pointer-events: none; transition: transform .55s var(--ease), visibility 0s .55s;
}
.page-transition.active { transform: translateY(0); visibility: visible; pointer-events: all; transition: transform .55s var(--ease), visibility 0s; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: 20px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .4s var(--ease);
}
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,22,43,.9); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); opacity: 0; transition: opacity .4s; }
.header.scrolled { padding: 10px 0; }
.header.scrolled::before { opacity: 1; }
.header.hide { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); }
.brand img { width: 46px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-brand); font-size: 1.45rem; letter-spacing: .16em; color: var(--gold-light); font-weight: 600; }
.brand__sub { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: #b8c4d9; margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 16px; font-size: .9rem; font-weight: 600; letter-spacing: .05em;
  color: #dbe3f0; transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover, .nav a.active { color: var(--gold-light); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; padding: 11px 24px; font-size: .85rem; }

.burger { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; cursor: pointer; position: relative; z-index: 1100; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--white); transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white);
  background:
    radial-gradient(900px 500px at 82% 20%, rgba(201,162,75,.16), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(27,64,115,.55), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  overflow: hidden; padding: 140px 0 100px;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.8rem); font-weight: 600; margin-bottom: 26px; }
.hero p.lead { font-size: 1.15rem; color: #b9c6dc; max-width: 560px; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__emblem { width: min(270px, 70%); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
.hero__ring { position: absolute; border: 1px solid rgba(201,162,75,.35); border-radius: 50%; animation: spin 40s linear infinite; }
.hero__ring--1 { width: 120%; aspect-ratio: 1; border-style: dashed; }
.hero__ring--2 { width: 150%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 70s; opacity: .5; }
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 44px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold); border-radius: 3px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Inner page hero */
.page-hero {
  position: relative; padding: 190px 0 110px; color: var(--white); text-align: center; overflow: hidden;
  background: radial-gradient(700px 400px at 50% 0%, rgba(201,162,75,.2), transparent 65%), linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero p { max-width: 640px; margin: 0 auto; color: #b3c0d6; font-size: 1.1rem; }
.crumbs { margin-top: 26px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #8fa0bb; }
.crumbs a { color: var(--gold-light); }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-950); color: var(--gold-light); overflow: hidden; padding: 16px 0; white-space: nowrap; border-block: 1px solid rgba(201,162,75,.35); }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; font-family: var(--font-brand); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "◆"; font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Split / About teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,162,75,.45); border-radius: 18px; }
.frame img { width: min(230px, 52%); height: auto; position: relative; z-index: 1; animation: float 7s ease-in-out infinite; }
.frame::after { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(201,162,75,.2), transparent 40%); animation: spin 14s linear infinite; }
.frame__tag { position: absolute; z-index: 2; bottom: 28px; left: 28px; right: 28px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; text-align: center; }


/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin-top: 56px; }

.card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--white);
  border: 1px solid rgba(20,35,59,.08); overflow: hidden; transform-style: preserve-3d;
  transition: transform .25s ease-out, box-shadow .5s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.22), transparent 70%); opacity: 0; transition: opacity .5s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,.5); }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card__icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--gold-light); transition: transform .6s var(--ease), background .4s; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(145deg, var(--gold), var(--gold-dark)); color: var(--navy-950); }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--navy-700); }
.card__more svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.card:hover .card__more svg { transform: translateX(6px); }
.card__num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 2.6rem; color: rgba(20,35,59,.07); font-weight: 700; }
.card ul { margin: 0 0 20px; display: grid; gap: 8px; }
.card ul li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--ink); }
.card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Why choose / features ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.feature { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .5s var(--ease), border-color .4s, background .4s; }
.feature:hover { transform: translateY(-8px); border-color: var(--gold); background: rgba(255,255,255,.08); }
.feature b { font-family: var(--font-brand); color: var(--gold); font-size: .85rem; letter-spacing: .2em; }
.feature h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.feature p { margin: 0; color: #a9b6cc; font-size: .95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step__dot { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-light); font-family: var(--font-display); font-size: 1.7rem; border: 4px solid var(--ivory); box-shadow: 0 0 0 1px var(--gold); transition: transform .5s var(--ease), background .4s, color .4s; position: relative; z-index: 1; }
.step:hover .step__dot { transform: scale(1.15) rotate(8deg); background: var(--gold); color: var(--navy-950); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 100px) 0; text-align: center; color: var(--white); background: radial-gradient(600px 300px at 50% 0%, rgba(201,162,75,.28), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 800px; margin-inline: auto; }
.cta p { color: #b3c0d6; max-width: 560px; margin: 0 auto 34px; }
.cta__buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Values / mission ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.value { text-align: center; padding: 36px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(20,35,59,.08); transition: transform .5s var(--ease), box-shadow .5s; }
.value:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.value .card__icon { margin-inline: auto; }
.value h3 { font-size: 1.5rem; }
.value p { color: var(--muted); font-size: .94rem; margin: 0; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv__box { padding: 44px 40px; border-radius: 24px; background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #c9d4e6; position: relative; overflow: hidden; }
.mv__box::after { content: "“"; position: absolute; right: 24px; top: -20px; font-family: var(--font-display); font-size: 11rem; color: rgba(201,162,75,.15); line-height: 1; }
.mv__box h3 { color: var(--gold-light); font-size: 2rem; }
.mv__box p { margin: 0; position: relative; z-index: 1; }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.chip { padding: 11px 24px; border-radius: 999px; border: 1.5px solid rgba(20,35,59,.18); background: transparent; font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .05em; cursor: pointer; color: var(--ink); transition: .35s var(--ease); }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip.active { background: var(--navy-800); color: var(--gold-light); border-color: var(--navy-800); }
.card.hidden { display: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 18px; }
.info { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(20,35,59,.08); transition: transform .45s var(--ease), box-shadow .45s, border-color .4s; }
.info:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.info .card__icon { margin: 0; flex: none; width: 54px; height: 54px; }
.info h4 { font-family: var(--font-brand); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.info p, .info a { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
.info a:hover { color: var(--gold-dark); }

  width: 100%; padding: 22px 16px 10px; border-radius: 12px; border: 1.5px solid rgba(20,35,59,.15);
  background: var(--ivory); font: inherit; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; outline: none;
}

.map { margin-top: 70px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--white); height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #a3b1c8; padding: 90px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.2fr; gap: 48px; }
.footer h4 { font-family: var(--font-brand); letter-spacing: .2em; font-size: .85rem; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.footer li { margin-bottom: 11px; font-size: .94rem; }
.footer a { transition: color .3s, padding .3s var(--ease); }
.footer li a:hover { color: var(--gold-light); padding-left: 6px; }
.footer p { font-size: .94rem; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--gold-light); margin-top: 18px; }
.footer__bottom { margin-top: 70px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }

/* WhatsApp floating + back to top */
.float-btns { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,.45); transition: transform .4s var(--ease), opacity .4s; }
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-5px) scale(1.06); }
.fab--wa { background: #25d366; color: #fff; position: relative; }
.fab--top { background: var(--navy-800); color: var(--gold-light); border: 1px solid var(--gold); opacity: 0; pointer-events: none; }
.fab--top.show { opacity: 1; pointer-events: all; }
.fab--top svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }

.card.reveal.in, .stat.reveal.in { transition: transform .25s ease-out, box-shadow .5s var(--ease), border-color .4s, opacity .4s; transition-delay: 0s; }
.value.reveal.in { transition: transform .5s var(--ease), box-shadow .5s, opacity .4s; transition-delay: 0s; }
.feature.reveal.in { transition: transform .5s var(--ease), border-color .4s, background .4s, opacity .4s; transition-delay: 0s; }
.hero .reveal-load { opacity: 0; transform: translateY(30px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, .3s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.err { min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; background: radial-gradient(700px 400px at 50% 30%, rgba(201,162,75,.2), transparent 65%), linear-gradient(160deg, var(--navy-950), var(--navy-800)); padding: 40px 20px; }
.err h1 { font-size: clamp(6rem, 22vw, 14rem); margin: 0; line-height: .9; background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err p { color: #b3c0d6; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero .eyebrow { justify-content: center; text-align: center; }
  .hero .eyebrow::before { display: none; }
  .hero__visual { display: none; }
  .split, .contact, .mv { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 16/11; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(5,15,31,.97); backdrop-filter: blur(16px); transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; z-index: 1050;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; }
  .nav .btn { margin: 20px 0 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .features, .values, .steps, .footer__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.2rem; }
  .page-hero { padding: 150px 0 80px; }
  .float-btns { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero .reveal-load { opacity: 1; transform: none; }
}

/* ---------- Refinements: checklist, contact panel, footer credit ---------- */
.checks { display: grid; gap: 14px; margin-top: 26px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 600; font-size: .98rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-800); }
.checks li::after { content: ""; position: absolute; left: 7px; top: .42em; width: 5px; height: 9px; border: solid var(--gold-light); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks--light li { color: #d6deec; }
.checks--light li::before { background: rgba(201,162,75,.2); border: 1px solid var(--gold); }

.panel { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 52px); border-radius: 26px; color: #c9d4e6; background: radial-gradient(500px 260px at 100% 0%, rgba(201,162,75,.22), transparent 70%), linear-gradient(150deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.panel h3 { color: var(--white); font-size: 2.3rem; }
.panel p { color: #aab7cd; }
.panel .eyebrow { color: var(--gold-light); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.panel__list { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.panel__list h4 { font-family: var(--font-brand); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }

.footer__credit a { color: var(--gold-light); font-weight: 700; border-bottom: 1px solid rgba(232,203,131,.4); transition: color .3s, border-color .3s; }
.footer__credit a:hover { color: var(--white); border-color: var(--white); }

.seen .preloader { display: none; }
.chip { min-width: 0; }

/* ---------- 3D map ---------- */
.map3d { margin-top: 90px; perspective: 1400px; }
.map3d__stage { position: relative; transform-style: preserve-3d; padding: 0 0 0; }
.map3d__board { position: relative; height: 480px; border-radius: 26px; overflow: hidden; border: 8px solid var(--white); outline: 1px solid rgba(201,162,75,.6); outline-offset: 6px; background: var(--navy-800); transform-origin: 50% 100%; transform: rotateX(18deg); transition: transform .25s ease-out; box-shadow: 0 60px 70px -30px rgba(5,15,31,.55), 0 25px 40px -20px rgba(5,15,31,.4); will-change: transform; }
.map3d__board iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9) contrast(1.04); }
.map3d__card { position: absolute; left: 6%; bottom: 8%; max-width: 340px; padding: 26px 28px; border-radius: 20px; color: #c9d4e6; background: linear-gradient(150deg, rgba(11,34,67,.96), rgba(5,15,31,.96)); border: 1px solid rgba(201,162,75,.45); box-shadow: 0 30px 50px -18px rgba(0,0,0,.6); transform: translate3d(0,0,60px); transition: transform .25s ease-out; }
.map3d__card h4 { font-size: 1.55rem; color: var(--white); margin-bottom: 6px; }
.map3d__card p { font-size: .95rem; margin-bottom: 18px; color: #aab7cd; }
.map3d__card .eyebrow { margin-bottom: 10px; font-size: .68rem; }
.map3d__card .btn { padding: 11px 22px; font-size: .82rem; }
@media (max-width: 760px) {
  .map3d { margin-top: 60px; }
  .map3d__board { height: 360px; }
  .map3d__card { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px 14px 0; transform: none !important; }
}

.map3d__card .eyebrow { color: var(--gold-light); }
