/* =========================================================
   Vita Group — light brand theme (ivory · navy · champagne gold)
   ========================================================= */

:root {
  --bg: #f7f5f1;            /* warm ivory page */
  --bg-2: #ffffff;          /* alternating sections */
  --bg-3: #f1ece3;          /* soft tinted band */
  --navy: #10192e;          /* logo navy / primary ink */
  --navy-deep: #0c1425;     /* footer */
  --card: #ffffff;
  --field: #ffffff;
  --line: rgba(16, 25, 46, 0.10);
  --line-soft: rgba(16, 25, 46, 0.06);
  --line-gold: rgba(176, 141, 87, 0.38);
  --gold: #b08d57;          /* accent */
  --gold-2: #c9a46a;        /* lighter accent */
  --gold-3: #8a6a3b;        /* deep accent for text on light */
  --gold-tint: rgba(176, 141, 87, 0.09);
  --azure: #0f7fae;
  --amber: #b4761a;
  --danger: #b3261e;
  --text: #10192e;
  --muted: #5a6479;
  --dim: #8a93a5;
  --on-gold: #1a1206;
  --shadow-sm: 0 2px 8px rgba(16, 25, 46, 0.05);
  --shadow: 0 18px 40px -26px rgba(16, 25, 46, 0.35);
  --shadow-lg: 0 34px 70px -34px rgba(16, 25, 46, 0.4);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --f-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-3); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff; font-weight: 600;
  transition: top 0.3s;
}
.skip-link:focus { top: 16px; }

.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  display: inline-block; letter-spacing: normal; text-transform: none;
  white-space: nowrap; direction: ltr; flex: none;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(76px, 10vw, 132px); }
.section--alt { background: var(--bg-2); }
.section--deep { background: var(--bg-3); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

.stack { display: grid; gap: 22px; align-content: start; }
.stack--sm { gap: 14px; }
.stack, .hero__copy, .page-hero__copy, .section-head, .cta__inner, .form-card__head { grid-template-columns: minmax(0, 1fr); }

/* ---------- Typography ---------- */
.display { font-size: clamp(2.6rem, 6.2vw, 4.9rem); letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -0.035em; line-height: 1.04; }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.04rem, 1.35vw, 1.2rem); color: var(--muted); line-height: 1.75; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.text-gold { color: var(--gold-3); }
.mono { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }

.grad {
  background: linear-gradient(100deg, var(--gold-3), var(--gold) 45%, var(--gold-3) 85%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%;
  padding: 8px 12px;
  font: 500 0.7rem/1.2 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-3);
  border: 1px solid var(--line-gold); border-radius: 4px;
  background: var(--gold-tint);
}
.eyebrow::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse-gold 2.2s infinite;
}
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0.5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(176, 141, 87, 0); }
}

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.section-head--split > div { display: grid; gap: 18px; max-width: 760px; }
@media (max-width: 800px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 0.95rem/1 var(--f-display); letter-spacing: 0.01em; white-space: nowrap;
  cursor: pointer;
  transform: translate(var(--bx), var(--by));
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.btn .ms { font-size: 20px; transition: transform 0.35s var(--ease); }
.btn:hover .ms { transform: translateX(4px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 12px 26px -14px rgba(176, 141, 87, 0.9);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn-gold:hover { box-shadow: 0 18px 34px -14px rgba(176, 141, 87, 0.95); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: #fff;
  border-color: rgba(16, 25, 46, 0.16);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-3); }
.btn-sm { padding: 11px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
.btn .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(16, 25, 46, 0.25); border-top-color: var(--navy);
  animation: spin 0.8s linear infinite;
}
.btn .busy { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spinner, .btn.is-loading .busy { display: inline-block; }
.btn.is-loading .idle, .btn.is-loading .ms { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px; width: max-content;
  font: 600 0.95rem var(--f-display); color: var(--gold-3);
}
.link-arrow .ms { font-size: 18px; transition: transform 0.35s var(--ease); }
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 26px; bottom: -4px; height: 1px;
  background: var(--gold); transform: scaleX(0.3); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover .ms { transform: translate(3px, -3px); }

/* ---------- Preloader & progress ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader img { width: 168px; animation: breathe 1.8s ease-in-out infinite; }
.preloader__bar { position: relative; width: 170px; height: 1px; overflow: hidden; background: var(--line); }
.preloader__bar::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loadbar 1.3s var(--ease) infinite;
}
.preloader.is-done, .pl-skip .preloader { opacity: 0; visibility: hidden; }
.pl-skip .preloader { display: none; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.72; } }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 2px; transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
}

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.navbar {
  background: rgba(247, 245, 241, 0.82);
  border-bottom: 1px solid transparent;
  transition: background 0.45s, border-color 0.45s, box-shadow 0.45s;
}
.site-header.is-scrolled .navbar { background: rgba(255, 255, 255, 0.94); border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(16, 25, 46, 0.5); }
.navbar .container { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand--full img { height: auto; width: clamp(150px, 15vw, 186px); }
.brand b { display: block; font: 600 1.05rem/1 var(--f-display); letter-spacing: 0.1em; }
.brand small { display: block; margin-top: 6px; font: 500 0.56rem/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-3); }

.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; font-size: 0.92rem; color: var(--muted); transition: color 0.3s; }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--navy); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none; position: relative; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--navy);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav, .nav-cta .btn { display: none; }
  .burger { display: block; }
}

.drawer {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 118px var(--gutter) 36px; overflow-y: auto;
  background: var(--bg);
  clip-path: circle(0% at calc(100% - 44px) 40px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu-open .drawer { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.drawer nav { display: grid; }
.drawer .dl {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px; border-bottom: 1px solid var(--line);
  font: 600 clamp(1.9rem, 8vw, 2.8rem)/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--muted);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.6s var(--ease), color 0.3s;
}
.drawer .dl .ms { color: var(--gold); font-size: 28px; }
.menu-open .drawer .dl { opacity: 1; transform: none; }
.drawer .dl.is-active, .drawer .dl:hover { color: var(--navy); }
.drawer__foot { display: grid; gap: 16px; }
.drawer__foot small { color: var(--dim); font-size: 0.62rem; word-break: break-word; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .hero-fade {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0.3s);
}
.is-loaded .hero-fade { opacity: 1; transform: none; }

.split-text .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .split-text .w > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.is-loaded .split-text .w > span { transform: none; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.js .img-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .img-reveal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  transform-origin: right; transition: transform 1.15s var(--ease);
}
.js .img-reveal.is-in img { transform: scale(1); }
.js .img-reveal.is-in::after { transform: scaleX(0); }

/* ---------- Cards ---------- */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { border-color: var(--line-gold); transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.card h3 { font-size: clamp(1.12rem, 1.5vw, 1.28rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(176, 141, 87, 0.12), transparent 42%);
  opacity: 0; transition: opacity 0.45s;
}
.spot:hover::after { opacity: 1; }

.icon-box {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  color: var(--gold-3); background: var(--gold-tint);
  border: 1px solid var(--line-gold); border-radius: 8px;
  transition: background 0.45s, color 0.45s, transform 0.55s var(--ease);
}
.card:hover .icon-box { background: var(--gold); color: #fff; transform: rotate(-8deg) scale(1.06); }
.card__num {
  position: absolute; top: 20px; right: 24px;
  font: 600 2.8rem/1 var(--f-display); color: transparent;
  -webkit-text-stroke: 1px rgba(176, 141, 87, 0.4);
  transition: -webkit-text-stroke-color 0.4s, transform 0.55s var(--ease);
}
.card:hover .card__num { -webkit-text-stroke-color: var(--gold); transform: translateY(-3px); }
.card__link {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 0.68rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-3);
}
.card__link .ms { font-size: 16px; transition: transform 0.35s var(--ease); }
.card:hover .card__link .ms { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; width: max-content;
  padding: 6px 9px; border-radius: 4px;
  font: 500 0.62rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-3); border: 1px solid var(--line-gold); background: var(--gold-tint);
}
.chip--azure { color: var(--azure); border-color: rgba(15, 127, 174, 0.28); background: rgba(15, 127, 174, 0.08); }
.chip--amber { color: var(--amber); border-color: rgba(180, 118, 26, 0.28); background: rgba(180, 118, 26, 0.08); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 0.86rem; color: var(--muted);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.pill .ms { font-size: 17px; color: var(--gold); }
.pill:hover { border-color: var(--line-gold); color: var(--navy); box-shadow: var(--shadow-sm); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 4px;
  border: 1px solid var(--line-gold);
  background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.live-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0.5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(176, 141, 87, 0); }
}

.quote {
  position: relative; padding: 22px 24px 22px 60px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-tint), transparent);
  font: 500 clamp(1.05rem, 1.6vw, 1.25rem)/1.5 var(--f-display); font-style: italic;
}
.quote .ms { position: absolute; left: 18px; top: 22px; color: var(--gold); font-size: 28px; }

.grid-overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 25, 46, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 25, 46, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 15%, transparent 72%);
}
.glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.glow--gold { background: rgba(176, 141, 87, 0.18); }
.glow--azure { background: rgba(15, 127, 174, 0.1); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 160px 100px;
}
.hero__media { position: absolute; inset: -8% 0 -8% 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.15) translate(-1.5%, -1%); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 245, 241, 0.7) 0%, rgba(247, 245, 241, 0.5) 42%, rgba(247, 245, 241, 0.14) 72%, rgba(247, 245, 241, 0.3) 100%),
    linear-gradient(0deg, rgba(247, 245, 241, 0.5) 2%, rgba(247, 245, 241, 0.04) 42%, rgba(247, 245, 241, 0.2) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: end; }
.hero__copy { display: grid; gap: 26px; max-width: 720px; }
.hero__tagline {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; width: fit-content; max-width: 100%;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(176, 141, 87, 0.14), rgba(255, 255, 255, 0));
  font: 500 clamp(0.98rem, 1.4vw, 1.08rem)/1.4 var(--f-display); font-style: italic;
}
.hero__tagline .ms { color: var(--gold-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line); border-top-color: var(--line-gold); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.panel-head span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-block: 16px; overflow: hidden; border-radius: 6px; background: var(--line); }
.hero__stats div { display: grid; gap: 6px; padding: 18px; background: #fff; }
.hero__stats b { font: 600 2.3rem/1 var(--f-display); letter-spacing: -0.03em; color: var(--gold-3); }
.hero__stats span { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.panel-foot { color: var(--dim); font-size: 0.6rem; line-height: 1.9; }
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font: 500 0.6rem var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim);
}
.scroll-cue span { position: relative; width: 1px; height: 46px; overflow: hidden; background: linear-gradient(var(--gold), transparent); }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--navy); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
@media (max-width: 1020px), (max-height: 780px) { .scroll-cue { display: none; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(170px, 20vw, 230px) clamp(80px, 10vw, 120px);
}
.page-hero__media { position: absolute; inset: -12% 0 -12% 0; z-index: -3; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 32s ease-in-out infinite alternate; }
.page-hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(247, 245, 241, 0.72) 14%, rgba(247, 245, 241, 0.5) 52%, rgba(247, 245, 241, 0.18) 100%),
    linear-gradient(0deg, rgba(247, 245, 241, 0.5) 3%, rgba(247, 245, 241, 0.06) 55%, rgba(247, 245, 241, 0.22) 100%);
}
.page-hero__copy { display: grid; gap: 24px; max-width: 840px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--dim); }
.crumbs a:hover { color: var(--gold-3); }
.crumbs .ms { font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding-block: 24px;
  border-block: 1px solid var(--line); background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; white-space: nowrap;
  font: 500 clamp(1.15rem, 2vw, 1.55rem) var(--f-display); letter-spacing: -0.01em; color: var(--dim);
  transition: color 0.3s;
}
.marquee__track span:hover { color: var(--gold-3); }
.marquee__track span::after { content: "\2726"; color: var(--gold); font-size: 0.75em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Media stack ---------- */
.media-stack { position: relative; padding: 0 14% 14% 0; }
.media-stack .img-main { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-stack .img-sub {
  position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1;
  border-radius: var(--radius); outline: 8px solid var(--bg); box-shadow: var(--shadow);
}
.section--alt .media-stack .img-sub { outline-color: var(--bg-2); }
.float-badge {
  position: absolute; left: clamp(-12px, -2vw, -24px); top: 14%; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-badge b { display: block; font: 600 1rem/1.2 var(--f-display); }
.float-badge small { color: var(--dim); font-size: 0.62rem; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 640px) { .float-badge { left: 12px; top: 12px; } }

.img-frame { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.img-wide { aspect-ratio: 16 / 10; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
}
.stat { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 40px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  font: 600 clamp(2.4rem, 4.6vw, 3.7rem)/1 var(--f-display); letter-spacing: -0.035em;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding-top: 56px; }
.timeline--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline__line { position: absolute; top: 20px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline__line i {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--tp, 0));
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
}
.step { position: relative; }
.step__dot {
  position: absolute; top: -45px; left: 26px;
  display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold);
  transition: background 0.4s, box-shadow 0.4s;
}
.section--alt .step__dot { background: var(--bg-2); }
.step__dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transition: background 0.4s; }
.step.is-active .step__dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.18); }
.step.is-active .step__dot::after { background: #fff; }
.step .card { height: 100%; }
.step__phase { display: flex; align-items: center; justify-content: space-between; color: var(--gold-3); }
.step__phase b { font: 600 2rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 87, 0.55); }
@media (max-width: 1020px) {
  .timeline, .timeline--4 { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; }
  .timeline__line { top: 0; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  .timeline__line i { transform-origin: top; transform: scaleY(var(--tp, 0)); }
  .step__dot { top: 30px; left: -40px; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.bento > * { grid-column: span 4; }
.bento .b-7 { grid-column: span 7; }
.bento .b-5 { grid-column: span 5; }
.bento .b-6 { grid-column: span 6; }
@media (max-width: 1020px) { .bento > *, .bento .b-7, .bento .b-5, .bento .b-6 { grid-column: span 6; } }
@media (max-width: 640px) { .bento > *, .bento .b-7, .bento .b-5, .bento .b-6 { grid-column: span 12; } }

/* Image tiles stay dark for contrast against the light page */
.card--image { min-height: 340px; justify-content: flex-end; border-color: transparent; color: #fff; }
.card--image h3 { color: #fff; }
.card--image p { color: rgba(255, 255, 255, 0.82); }
.card--image .icon-box { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.card--image .chip { color: #f2e2c8; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12); }
.card__bg { position: absolute; inset: 0; z-index: -2; }
.card__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.card--image:hover .card__bg img { transform: scale(1.1); }
.card--image .card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 20, 37, 0.94) 22%, rgba(12, 20, 37, 0.55)); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: auto; padding-bottom: 18px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ind-list { border-top: 1px solid var(--line); }
.ind-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
  outline: none;
}
.ind-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--gold-tint), transparent 80%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.ind-row.is-active { padding-left: 22px; }
.ind-row.is-active::before { transform: scaleX(1); }
.ind-row > .mono { color: var(--dim); transition: color 0.3s; }
.ind-row h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; color: var(--muted); transition: color 0.3s; }
.ind-row > .ms { color: var(--gold); opacity: 0; transform: translateX(-12px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.ind-row.is-active > .mono { color: var(--gold-3); }
.ind-row.is-active h3 { color: var(--navy); }
.ind-row.is-active > .ms { opacity: 1; transform: none; }
.ind-frame { position: sticky; top: 120px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ind-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity 1s var(--ease), transform 1.8s var(--ease);
}
.ind-frame img.is-active { opacity: 1; transform: scale(1); }
.ind-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 20, 37, 0.75), transparent 45%); pointer-events: none; }
.ind-frame__cap {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
}
.ind-frame__cap b { font: 600 1.05rem var(--f-display); }
@media (max-width: 1020px) {
  .industries { grid-template-columns: 1fr; }
  .ind-frame { position: relative; top: 0; aspect-ratio: 16 / 10; order: -1; }
}

/* ---------- Dashboard (illustrative) ---------- */
.dash { padding: 0; gap: 0; }
.dash:hover { transform: none; }
.dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.dash__head b { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem var(--f-display); }
.dash__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.dash__tile { display: grid; align-content: start; gap: 16px; padding: 22px; background: #fdfcfa; }
.dash__tile--wide { grid-column: 1 / -1; }
.dash__tile > .mono { color: var(--dim); font-size: 0.62rem; }
.ring-wrap { display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring__bg { stroke: rgba(16, 25, 46, 0.08); }
.ring__fg {
  stroke: var(--gold); stroke-linecap: round;
  stroke-dasharray: 326.7px; stroke-dashoffset: 326.7px;
  transition: stroke-dashoffset 2.2s var(--ease) 0.3s;
}
.is-in .ring__fg { stroke-dashoffset: calc(326.7px - 326.7px * var(--v) / 100); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 1.55rem var(--f-display); }
.ring-legend { display: grid; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.ring-legend span { display: flex; align-items: center; gap: 8px; }
.ring-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.ring-legend i.az { background: var(--azure); }
.ring-legend i.dim { background: rgba(16, 25, 46, 0.16); }
.hbars { display: grid; gap: 12px; }
.hbar { display: grid; grid-template-columns: 82px minmax(0, 1fr) 38px; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.hbar em { font-style: normal; text-align: right; color: var(--navy); font-family: var(--f-mono); font-size: 0.7rem; }
.hbar i { position: relative; display: block; height: 6px; overflow: hidden; border-radius: 3px; background: rgba(16, 25, 46, 0.08); }
.hbar i::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) var(--dl, 0.2s);
}
.hbar--azure i::after { background: linear-gradient(90deg, var(--azure), #4bb4dc); }
.is-in .hbar i::after { transform: scaleX(1); }
.gantt { display: grid; gap: 12px; }
.gantt__row { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 0.78rem; color: var(--muted); }
.gantt__track { position: relative; height: 12px; background: repeating-linear-gradient(90deg, rgba(16, 25, 46, 0.07) 0 1px, transparent 1px 16.66%); }
.gantt__bar {
  position: absolute; top: 1px; bottom: 1px; left: var(--l); width: var(--w); border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 1.3s var(--ease) var(--dl, 0.2s);
}
.gantt__bar--active { background: linear-gradient(90deg, var(--azure), #4bb4dc); }
.gantt__bar--planned { background: rgba(176, 141, 87, 0.16); border: 1px dashed var(--gold); }
.is-in .gantt__bar { transform: scaleX(1); }
.dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.84rem; color: var(--muted); }
.dlist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpis { display: flex; gap: 22px; }
.kpis div { display: grid; gap: 4px; }
.kpis b { font: 600 1.9rem/1 var(--f-display); }
.kpis small { color: var(--dim); font-size: 0.75rem; }
.dash__note { padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; color: var(--dim); font-size: 0.78rem; }
@media (max-width: 560px) {
  .dash__grid { grid-template-columns: 1fr; }
  .gantt__row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(100px, 14vw, 176px); text-align: center; }
.cta__media { position: absolute; inset: -18% 0; z-index: -3; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at center, rgba(247, 245, 241, 0.48), rgba(247, 245, 241, 0.62) 70%),
    linear-gradient(180deg, rgba(247, 245, 241, 0.62), rgba(247, 245, 241, 0.14) 22%, rgba(247, 245, 241, 0.14) 78%, rgba(247, 245, 241, 0.62));
}
.cta__inner { display: grid; justify-items: center; gap: 24px; max-width: 880px; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

/* ---------- About ---------- */
.mv { display: grid; gap: 20px; }
.mv .card { padding: clamp(28px, 3.5vw, 40px); }
.mv .card > .ms { position: absolute; right: 24px; top: 22px; font-size: 56px; color: rgba(176, 141, 87, 0.22); }
.mv .card p { font: 400 clamp(1.05rem, 1.5vw, 1.2rem)/1.6 var(--f-display); color: var(--navy); }

.framework { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: fw; padding: 0; margin: 0; }
.framework li {
  counter-increment: fw; list-style: none;
  display: grid; gap: 8px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  box-shadow: var(--shadow-sm);
  font: 500 0.98rem/1.35 var(--f-display);
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.35s;
}
.framework li::before { content: counter(fw, decimal-leading-zero); font: 500 0.66rem var(--f-mono); letter-spacing: 0.14em; color: var(--gold-3); }
.framework li:hover { border-color: var(--line-gold); transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 640px) { .framework { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.15fr); align-items: baseline; gap: 24px;
  padding-block: clamp(26px, 3vw, 36px); border-bottom: 1px solid var(--line);
  transition: padding 0.55s var(--ease), background 0.5s;
}
.row:hover { padding-inline: 22px; background: linear-gradient(90deg, var(--gold-tint), transparent); }
.row__n { font: 500 0.9rem var(--f-mono); color: var(--gold-3); }
.row h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; transition: color 0.3s; }
.row:hover h3 { color: var(--gold-3); }
.row p { color: var(--muted); }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Services ---------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow span {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-gold);
  font: 500 0.82rem var(--f-display); color: var(--gold-3); background: var(--gold-tint);
}
.flow i { font-style: normal; color: var(--dim); }

.svc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-nav { position: sticky; top: 104px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.svc-nav a { position: relative; display: flex; gap: 12px; padding: 9px 16px; font-size: 0.9rem; line-height: 1.4; color: var(--dim); transition: color 0.3s; }
.svc-nav a span { padding-top: 2px; font: 500 0.7rem var(--f-mono); color: var(--dim); transition: color 0.3s; }
.svc-nav a::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transition: transform 0.45s var(--ease);
}
.svc-nav a:hover { color: var(--muted); }
.svc-nav a.is-active { color: var(--navy); }
.svc-nav a.is-active span { color: var(--gold-3); }
.svc-nav a.is-active::before { transform: scaleY(1); }
.svc-blocks { display: grid; gap: 24px; }
.svc-block { scroll-margin-top: 110px; padding: clamp(28px, 4vw, 48px); gap: 0; }
.svc-block:hover { transform: none; }
.svc-block__head { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.svc-block__n { font: 600 clamp(2.6rem, 5vw, 3.8rem)/0.9 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 87, 0.6); }
.svc-block h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; }
.svc-block > p { color: var(--muted); max-width: 760px; }
.svc-block > p:first-of-type { font: 400 clamp(1.05rem, 1.5vw, 1.2rem)/1.6 var(--f-display); color: var(--navy); margin-bottom: 12px; }
.svc-block h4 { margin: 28px 0 16px; font: 500 0.68rem var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-3); }
@media (max-width: 1020px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav {
    top: 78px; z-index: 5; display: flex; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    border-left: 0; border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
  }
  .svc-nav::-webkit-scrollbar { display: none; }
  .svc-nav a { white-space: nowrap; padding: 15px 12px; }
  .svc-nav a::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; transform: scaleX(0); }
  .svc-nav a.is-active::before { transform: scaleX(1); }
  .svc-block { scroll-margin-top: 150px; }
}

/* ---------- Accordion / FAQ ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 500 clamp(1.04rem, 1.6vw, 1.22rem)/1.4 var(--f-display); color: var(--navy);
  transition: color 0.3s;
}
.acc-btn:hover { color: var(--gold-3); }
.plus { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-gold); transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--gold-3); transform: translate(-50%, -50%); transition: transform 0.45s var(--ease), background 0.3s;
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .plus { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.acc-item.is-open .plus::before, .acc-item.is-open .plus::after { background: #fff; }
.acc-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body { display: grid; gap: 12px; padding: 0 62px 26px 0; color: var(--muted); }
@media (max-width: 640px) { .acc-body { padding-right: 0; } }

.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.faq-aside .card { padding: 0; gap: 0; }
.faq-aside .card:hover { transform: none; }
.faq-aside__img { aspect-ratio: 16 / 10; }
.faq-aside__body { display: grid; gap: 16px; padding: 26px; }
.search { position: relative; margin-bottom: 12px; }
.search .ms { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.search input {
  width: 100%; padding: 18px 20px 18px 54px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.16); }
.search-meta { margin-bottom: 20px; color: var(--dim); }
.faq-empty { padding: 36px 0; color: var(--muted); }
@media (max-width: 1020px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 12px; }
.info {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.35s;
}
a.info:hover { border-color: var(--line-gold); transform: translateX(5px); box-shadow: var(--shadow); }
.info .icon-box { width: 46px; height: 46px; }
.info .mono { display: block; margin-bottom: 4px; color: var(--dim); font-size: 0.62rem; }
.info strong { display: block; font: 600 1.02rem/1.4 var(--f-display); word-break: break-word; }
.form-card { padding: clamp(24px, 4vw, 48px); gap: 0; scroll-margin-top: 110px; box-shadow: var(--shadow); }
.form-card:hover { transform: none; }
.form-card__head { display: grid; gap: 12px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; gap: 8px; font: 500 0.64rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field label em { font-style: normal; color: var(--gold-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: #fdfcfa; border: 1px solid rgba(16, 25, 46, 0.14); border-radius: var(--radius-sm);
  color: var(--navy); font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: #fff; color: var(--navy); }
.field select:invalid { color: #98a1b1; }
.field ::placeholder { color: #98a1b1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(176, 141, 87, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.16); }
.field__err { display: none; font-size: 0.78rem; color: var(--danger); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .field__err { display: block; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; font-size: 0.88rem; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0;
  border: 1px solid var(--line-gold); border-radius: 4px; background: #fff; cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.consent input:checked {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.consent.is-invalid input { border-color: var(--danger); }
.form-actions { display: grid; gap: 14px; margin-top: 26px; }
.form-note { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 0.8rem; }
.form-note .ms { font-size: 16px; color: var(--gold); }
@media (max-width: 1020px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 20px;
  background: rgba(16, 25, 46, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card {
  width: min(540px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  align-items: center; text-align: center; padding: clamp(30px, 5vw, 48px);
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateY(28px) scale(0.96); transition: transform 0.65s var(--ease);
}
.modal.is-open .modal__card, .modal.is-open .modal__card:hover { transform: none; }
.check { width: 92px; height: 92px; margin-bottom: 6px; }
.check circle { fill: var(--gold-tint); stroke: var(--gold); stroke-width: 2; stroke-dasharray: 264; stroke-dashoffset: 264; }
.check path { fill: none; stroke: var(--gold-3); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.modal.is-open .check circle { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease) 0.2s; }
.modal.is-open .check path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.55s var(--ease) 0.95s; }
.modal__card p { color: var(--muted); }
.modal__ref { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 6px 10px; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.modal__close:hover { color: var(--gold-3); border-color: var(--line-gold); }

/* ---------- Footer (deep navy anchor) ---------- */
.site-footer {
  position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 96px);
  background: var(--navy-deep); color: #e8eaf0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.9fr 1.1fr 1.4fr; gap: 40px; padding-bottom: 52px; }
.footer-grid h4 { margin-bottom: 18px; font: 500 0.66rem var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-grid a { color: rgba(232, 234, 240, 0.75); font-size: 0.93rem; transition: color 0.3s; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { max-width: 360px; margin-top: 20px; color: rgba(232, 234, 240, 0.7); font-size: 0.93rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(232, 234, 240, 0.75); font-size: 0.93rem; word-break: break-word; }
.footer-contact .ms { margin-top: 3px; font-size: 18px; color: var(--gold-2); }
.footer-bottom {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(232, 234, 240, 0.55); font-size: 0.85rem;
}
.footer-word {
  margin-bottom: -0.14em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font: 700 clamp(3.4rem, 13.5vw, 13rem)/0.9 var(--f-display); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, 0.22);
}
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--gold-3); cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.5s var(--ease), color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--navy); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top .track { stroke: rgba(16, 25, 46, 0.08); }
.to-top .bar { stroke: var(--gold); stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
}
