/* ==========================================================================
   Amnistra — design system
   Light, warm, human. Navy + the three brand dots (orange / sky / pink).
   Sora for headings, Inter for text. No framework.
   ========================================================================== */

:root {
  --navy: #1D1965;
  --navy-deep: #131046;
  --navy-soft: #2A2580;
  --ink: #1B1B3A;
  --text: #33335A;
  --muted: #6E6E8C;
  --line: #E6E6F0;
  --bg: #FFFFFF;
  --soft: #F6F5FB;
  --warm: #FFF7E8;
  --orange: #FBAE2E;
  --sky: #86C4EB;
  --pink: #ED155E;
  --ok: #1E9E6A;
  --err: #D6264B;

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(29, 25, 101, .18);
  --shadow-lg: 0 30px 60px -24px rgba(29, 25, 101, .28);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- reset & base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.muted { color: var(--muted); font-weight: 400; }

/* ---------- type ----------------------------------------------------------- */
.h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); font-weight: 800; }
.h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); }
.h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.h4 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: var(--text); max-width: 60ch; }
.lead-text { font-size: 1.2rem; line-height: 1.75; }
.kicker {
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.kicker a { color: inherit; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-text { font-size: 1.1rem; color: var(--muted); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: 24px; }
.section-head-row .btn { margin-bottom: 24px; }
.note { background: var(--warm); border-left: 4px solid var(--orange); padding: 12px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); max-width: 720px; }

/* the three brand dots */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.dot-o { background: var(--orange); } .dot-s { background: var(--sky); } .dot-p { background: var(--pink); }
.dot-xl { width: 18px; height: 18px; }
.dots { display: inline-flex; gap: 8px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--orange); } .dots i:nth-child(2) { background: var(--sky); } .dots i:nth-child(3) { background: var(--pink); }
.dots-lg { gap: 14px; } .dots-lg i { width: 22px; height: 22px; }

/* ---------- buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 25, 101, .6); }
.btn-primary:hover { background: var(--navy-soft); box-shadow: 0 16px 30px -12px rgba(29, 25, 101, .6); }
.btn-accent { background: var(--orange); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(251, 174, 46, .7); }
.btn-accent:hover { background: #ffc052; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }

/* ---------- header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(29, 25, 101, .25); background: rgba(255, 255, 255, .92); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); position: relative; }
.brand img { width: 150px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li.has-mega { position: static; }
.main-nav > ul > li > a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: background .25s, color .25s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active { background: var(--soft); color: var(--navy); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-link { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: var(--navy); transition: background .25s; }
.icon-link:hover { background: var(--soft); }
.icon-link svg { width: 22px; height: 22px; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% - 8px); transform: translateY(10px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 28px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.has-mega > a::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.has-mega > a { position: relative; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; width: auto; }
.mega-intro { padding-right: 28px; border-right: 1px solid var(--line); }
.mega-intro p { color: var(--muted); font-size: .95rem; }
.mega-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); transition: background .25s; }
.mega-list a:hover { background: var(--soft); }
.mega-list strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.mega-list small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.mega-ico { width: 38px; height: 38px; flex: none; color: var(--navy); background: var(--soft); border-radius: 10px; padding: 7px; }
.mega-ico svg { width: 100%; height: 100%; }

/* language */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); z-index: 5; }
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: .92rem; color: var(--ink); }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-selected="true"] { color: var(--navy); font-weight: 600; }
.lang-menu a[aria-selected="true"]::after { content: " ●"; color: var(--orange); font-size: .7em; }

/* burger + mobile menu */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; }
.burger-ico { position: relative; width: 24px; height: 24px; }
.burger-ico svg { position: absolute; inset: 0; width: 24px; height: 24px; transition: opacity .2s, transform .3s var(--ease); }
.burger-ico svg:last-child { opacity: 0; transform: rotate(-90deg); }
.burger[aria-expanded="true"] .burger-ico svg:first-child { opacity: 0; transform: rotate(90deg); }
.burger[aria-expanded="true"] .burger-ico svg:last-child { opacity: 1; transform: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow: auto; }
.mobile-menu[hidden] { display: none !important; }
.mobile-list > li > a { display: block; padding: 14px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-sub { padding: 6px 0 10px 14px; border-bottom: 1px solid var(--line); }
.mobile-sub a { display: block; padding: 8px 0; color: var(--text); }
.mobile-ctas { display: grid; gap: 10px; padding: 20px 0; }
.mobile-langs { display: flex; gap: 8px; padding-bottom: 24px; }
.mobile-langs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; }
.mobile-langs a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
body.menu-open { overflow: hidden; }

/* flash */
.flash { padding: 12px 0; font-weight: 500; }
.flash-ok { background: #E6F7EF; color: #0F6E48; }
.flash-info { background: var(--warm); color: var(--ink); }

/* ---------- sections ------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy .kicker { color: #fff; }
.section-navy .section-text, .section-navy p { color: rgba(255, 255, 255, .8); }
.section-navy .kicker::before { background: linear-gradient(90deg, var(--orange), var(--sky)); }

/* ---------- hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob-a { width: 560px; height: 560px; background: #FFE2B3; top: -140px; right: 5%; }
.blob-b { width: 420px; height: 420px; background: #D5ECFA; bottom: -120px; left: -80px; animation-delay: -6s; }
.blob-c { width: 300px; height: 300px; background: #FDD3E0; top: 40%; left: 42%; animation-delay: -12s; opacity: .4; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.08); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { margin-bottom: 20px; }
.hero-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); margin: 0 0 24px; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(28px) rotate(2deg); animation: wordIn .9s var(--ease) forwards; animation-delay: var(--d); }
.hero-title .w:last-child { color: var(--navy); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 52ch; color: var(--text); margin-bottom: 32px; opacity: 0; animation: fadeUp .9s var(--ease) .45s forwards; }
.hero-ctas { opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .92rem; color: var(--muted); opacity: 0; animation: fadeUp .9s var(--ease) .8s forwards; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; max-height: 680px; }
.hv { position: absolute; margin: 0; overflow: hidden; box-shadow: var(--shadow-lg); opacity: 0; animation: photoIn 1.1s var(--ease) forwards; }
.hv img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hv-1 { left: 6%; top: 0; width: 60%; height: 74%; border-radius: 34% 34% 30px 30px / 24% 24% 30px 30px; animation-delay: .25s; }
.hv-2 { right: 0; top: 14%; width: 40%; aspect-ratio: 1; height: auto; border-radius: 50%; animation-delay: .5s; border: 8px solid #fff; }
.hv-3 { left: 0; bottom: 0; width: 44%; height: 42%; border-radius: 30px 30px 30px 110px; animation-delay: .7s; border: 8px solid #fff; }
@keyframes photoIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.hv-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; opacity: 0; animation: fadeUp .9s var(--ease) 1s forwards; }
.hv-card strong { font-family: var(--font-head); font-size: 2rem; color: var(--navy); line-height: 1; }
.hv-card span { font-size: .8rem; color: var(--muted); }
.hv-card-1 { right: 4%; bottom: 10%; }
.hv-card-2 { left: 48%; bottom: 36%; flex-direction: row; align-items: center; gap: 10px; animation-delay: 1.2s; }
.hv-card-2 span { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .9rem; }
.hv-iso { width: 36px; height: 36px; border-radius: 50%; background: var(--warm); color: var(--orange); display: grid; place-items: center; }
.hv-iso svg { width: 20px; height: 20px; }
.hero-visual .dots-lg { position: absolute; right: 10%; top: 2%; opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); z-index: 1; }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--navy), transparent); display: block; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee -------------------------------------------------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: #fff; }
.marquee-track { display: flex; gap: 28px; align-items: center; width: max-content; animation: marquee 50s linear infinite; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); white-space: nowrap; }
.marquee-track .dot { width: 8px; height: 8px; }
.marquee-track .dot:nth-child(6n+2) { background: var(--orange); } .marquee-track .dot:nth-child(6n+4) { background: var(--sky); } .marquee-track .dot:nth-child(6n+6) { background: var(--pink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- doors ---------------------------------------------------------- */
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.door { display: grid; grid-template-rows: 300px auto; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); color: var(--text); }
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.door-media { overflow: hidden; position: relative; }
.door-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door:hover .door-media img { transform: scale(1.06); }
.door-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(29, 25, 101, .35)); }
.door-body { padding: 28px 30px 32px; position: relative; }
.door-label { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: .9rem; letter-spacing: .1em; }
.door-candidate .door-label { color: var(--pink); }
.door-body h3 { margin: 8px 0 10px; }
.door-body p { color: var(--muted); }
.door:hover .link-arrow svg { transform: translateX(6px); }

/* ---------- services ------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; border-radius: inherit; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy); }
.service-card:hover::before { transform: none; }
.service-card:hover .service-title, .service-card:hover .service-short, .service-card:hover .service-more { color: #fff; }
.service-card:hover .service-ico { background: rgba(255, 255, 255, .12); color: var(--orange); }
.service-num { position: absolute; right: 24px; top: 22px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: var(--line); transition: color .3s; }
.service-card:hover .service-num { color: rgba(255, 255, 255, .35); }
.service-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--soft); color: var(--navy); padding: 12px; transition: background .3s, color .3s; }
.service-ico svg { width: 100%; height: 100%; }
.service-title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin-top: 10px; transition: color .3s; }
.service-short { color: var(--muted); font-size: .97rem; line-height: 1.5; transition: color .3s; flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); margin-top: 8px; transition: color .3s; }
.service-more svg { width: 16px; height: 16px; }
.services-grid.is-compact .service-card { padding: 22px 22px 20px; }
.services-grid.is-compact .service-ico { width: 48px; height: 48px; padding: 9px; border-radius: 14px; }
.services-grid.is-compact .service-title { font-size: 1.05rem; }

/* ---------- core + stats --------------------------------------------------- */
.core-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.checklist { display: grid; gap: 12px; margin: 0 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checklist svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--navy); border-radius: 50%; padding: 4px; margin-top: 2px; }
.section-navy .checklist svg { background: var(--orange); color: var(--navy-deep); }
.core-visual { position: relative; }
.core-photo { margin: 0; border-radius: 40px 40px 40px 140px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.core-photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: -70px; position: relative; z-index: 1; padding-inline: 24px; }
.stat { background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.3rem; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.stat > span { display: block; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.stat strong span { display: inline; }
.stats-col { grid-template-columns: 1fr; margin-top: 18px; padding-inline: 0; }

/* ---------- steps ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, transform .5s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 14px; }
.step:nth-child(2) .step-num { color: var(--sky); } .step:nth-child(3) .step-num { color: var(--pink); } .step:nth-child(4) .step-num { color: var(--orange); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }
.steps-light .step { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.steps-light .step p { color: var(--muted); }
.how .center { margin-top: 36px; }

/* ---------- sectors -------------------------------------------------------- */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 20px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.sector-num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--orange); letter-spacing: .1em; }
.sector:nth-child(3n+2) .sector-num { color: var(--sky); } .sector:nth-child(3n) .sector-num { color: var(--pink); }
.sector h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.sector p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* ---------- values --------------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.values-photo { position: relative; border-radius: 160px 40px 40px 40px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.values-photo img { width: 100%; height: 100%; object-fit: cover; }
.values-photo .dots { position: absolute; left: 24px; bottom: 24px; background: #fff; padding: 12px 16px; border-radius: 999px; }
.values-list { display: grid; gap: 22px; }
.values-list li { display: flex; gap: 18px; align-items: flex-start; }
.values-list .dot { width: 16px; height: 16px; margin-top: 8px; }
.values-list h3 { font-size: 1.2rem; margin-bottom: 4px; }
.values-list p { margin: 0; color: var(--muted); }

/* ---------- models / benefits ---------------------------------------------- */
.models-grid, .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefits-grid { grid-template-columns: repeat(4, 1fr); }
.model, .benefit { padding: 30px 28px; border-radius: var(--r-lg); }
.model { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.benefit { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.model .dot-xl, .benefit .dot-xl { margin-bottom: 18px; }
.model h3, .benefit h3 { font-size: 1.25rem; }
.benefit p { color: var(--muted); margin: 0; }
.model p { margin: 0; }

/* ---------- posts ---------------------------------------------------------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-cat { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.post-card h3, .post-card h2 { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ------------------------------------------------------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 174, 46, .35), transparent 65%); right: -120px; top: -200px; }
.cta-band::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(134, 196, 235, .3), transparent 65%); left: -120px; bottom: -220px; }
.cta-band-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1.1rem; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-alt { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* ---------- inner page hero ------------------------------------------------ */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(180deg, var(--soft), #fff); position: relative; overflow: hidden; }
.page-hero-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero.has-photo .page-hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero-text .btn-row { margin-top: 28px; }
.page-hero-photo { position: relative; border-radius: 40px 160px 40px 40px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo .dots { position: absolute; left: 24px; bottom: 24px; background: #fff; padding: 12px 16px; border-radius: 999px; }
.service-hero-ico { display: block; width: 72px; height: 72px; padding: 14px; border-radius: 22px; background: #fff; color: var(--navy); box-shadow: var(--shadow); margin-bottom: 20px; }
.service-hero-ico svg { width: 100%; height: 100%; }
.service-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-roles { background: var(--soft); border-radius: var(--r-lg); padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.service-roles .checklist { margin: 0; }

/* ---------- about ---------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.iso-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 30px; }
.iso-card h3 { color: #fff; margin-top: 14px; }
.iso-card p { margin: 0; color: rgba(255, 255, 255, .8); }
.iso-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; }
.iso-ico svg { width: 28px; height: 28px; }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.office-flag { font-size: 2rem; margin: 0 0 6px; }
.office h3 { font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }
.office-company { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.office p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: .95rem; }
.office p svg { width: 20px; height: 20px; flex: none; color: var(--navy); margin-top: 2px; }
.office-legal { color: var(--muted); font-size: .85rem !important; }
.tag { display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--warm); color: #9A6300; padding: 4px 9px; border-radius: 999px; }

/* ---------- forms ---------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.narrow-form .form-card { max-width: 880px; }
.page-hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card.done { text-align: center; padding: clamp(40px, 6vw, 72px); }
.form-card.done .dots { justify-content: center; margin-bottom: 24px; }
.form-card.done .btn-row { justify-content: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 24px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field.half { grid-column: span 1; }
.field label, .field legend { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field label small, .field legend small { color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.req { color: var(--pink); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29, 25, 101, .1); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--err); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231D1965' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: .95rem !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .92rem; color: var(--ink); transition: .2s; }
.pills input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pills input:focus-visible + span { box-shadow: 0 0 0 4px rgba(29, 25, 101, .15); }
.pills[data-max].is-full label input:not(:checked) + span { opacity: .45; }
.yesno .pills span { min-width: 70px; text-align: center; }
.consent { margin-top: 6px; }
.file-drop { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 20px; border: 2px dashed var(--line); border-radius: 18px; cursor: pointer; transition: border-color .25s, background .25s; font-weight: 400 !important; }
.file-drop:hover, .file-drop.is-over { border-color: var(--navy); background: var(--soft); }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--navy); display: grid; place-items: center; }
.file-ico svg { width: 24px; height: 24px; }
.file-text strong { display: block; font-family: var(--font-head); color: var(--ink); }
.file-text small { color: var(--muted); }
.file-name { grid-column: 1 / -1; font-size: .9rem; color: var(--navy); font-weight: 600; display: none; }
.file-drop.has-file .file-name { display: block; }
.form-msg:empty { display: none; }
.form-msg, .form-err, .form-ok { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: .95rem; }
.form-err, .form-msg.is-err { background: #FDECEF; color: #9B1536; }
.form-ok, .form-msg.is-ok { background: #E6F7EF; color: #0F6E48; }
.form-ok, .form-err { margin: 0 0 20px; }
.form-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 30px; }
.aside-card h2 { color: #fff; }
.mini-steps { display: grid; gap: 14px; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.mini-steps span { font-family: var(--font-head); font-weight: 700; color: var(--orange); }
.aside-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 7 / 8; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-direct { margin-bottom: 20px; }
.contact-direct p { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.contact-direct svg { width: 22px; height: 22px; color: var(--navy); }
.contact-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: .25s; }
.contact-social a:hover { background: var(--navy); color: #fff; }
.contact-social span { color: var(--muted); font-size: .9rem; margin-right: 4px; }
.offices-list { display: grid; gap: 16px; }
.offices-list .office { padding: 22px 24px; }

/* stepper */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; }
.stepper li { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--muted); transition: .3s; }
.stepper li span { width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: var(--ink); display: grid; place-items: center; font-size: .8rem; transition: .3s; }
.stepper li.is-active { color: var(--navy); border-color: var(--navy); }
.stepper li.is-active span { background: var(--navy); color: #fff; }
.stepper li.is-done { border-color: var(--orange); color: var(--ink); }
.stepper li.is-done span { background: var(--orange); color: var(--navy-deep); }
.step-pane { display: none; border: 0; padding: 0; margin: 0; }
.step-pane.is-active { display: block; animation: fadeUp .5s var(--ease); }
.step-pane legend { margin-bottom: 20px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.step-nav .btn:only-child { margin-left: auto; }
html.no-js .step-pane { display: block; }
html.no-js .stepper, html.no-js .step-nav [data-next], html.no-js .step-nav [data-prev] { display: none; }

/* auth / account */
.auth-box { width: min(560px, 100% - 2 * var(--gutter)); }
.auth .form-card { padding: clamp(28px, 5vw, 48px); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; font-size: .92rem; color: var(--muted); }
.auth-links a { font-weight: 600; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.account-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 18px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- post / prose --------------------------------------------------- */
.post-head { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 36px); background: linear-gradient(180deg, var(--soft), #fff); }
.post .wrap.narrow { padding-bottom: clamp(48px, 6vw, 80px); }
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--text); }
.prose p { margin-bottom: 1.3em; }
.prose h2, .prose h3 { margin-top: 2em; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose-wrap { width: min(820px, 100% - 2 * var(--gutter)); }
.prose-wrap .prose { font-size: 1rem; }
.post-share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.post-share a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: .25s; }
.post-share a:hover { background: var(--navy); color: #fff; }
.post-share svg { width: 18px; height: 18px; }

/* ---------- misc blocks ---------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.why-photos figure { margin: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.why-photos figure:first-child { border-radius: 120px 30px 30px 30px; aspect-ratio: 7 / 9; }
.why-photos figure:last-child { border-radius: 30px 30px 120px 30px; aspect-ratio: 1; margin-bottom: 40px; }
.why-photos img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; color: var(--ink); font-weight: 500; transition: .25s; }
.chips li:hover { border-color: var(--navy); transform: translateY(-2px); }
.account-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.account-cta p { margin: 0; color: var(--muted); }
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf-box { text-align: center; max-width: 620px; }
.nf-box .dots { justify-content: center; margin-bottom: 20px; }
.nf-box .kicker { justify-content: center; }
.nf-box .lead { margin-inline: auto; }

/* ---------- footer --------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); position: relative; }
.footer-cta { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(40px, 5vw, 64px) 0; }
.footer-cta h2 { color: #fff; margin: 0; }
.footer-cta .muted { color: rgba(255, 255, 255, .55); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 36ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: .25s; }
.footer-social a:hover { background: var(--orange); color: var(--navy-deep); border-color: var(--orange); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .78); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-offices li { margin-bottom: 16px; line-height: 1.5; }
.footer-offices strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
.back-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; transform: translateY(16px); transition: .35s var(--ease); z-index: 90; border: 1px solid var(--line); }
.back-top.is-visible { opacity: 1; transform: none; }
.back-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ---------- reveal on scroll ---------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .w, .hero-sub, .hero-ctas, .hero-badges, .hv, .hv-card, .hero-visual .dots-lg { animation: none; opacity: 1; transform: none; }
  .marquee-track, .blob, .scroll-hint i { animation: none; }
}

/* ---------- responsive ----------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: 10px 10px; font-size: .9rem; }
  .brand img { width: 130px; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu { display: block; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-height: none; aspect-ratio: 1 / .9; margin-top: 10px; }
  .core-grid, .values-grid, .why-grid, .about-grid, .service-body, .form-grid, .contact-grid, .account-grid { grid-template-columns: 1fr; }
  .page-hero.has-photo .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-photo { max-width: 520px; aspect-ratio: 4 / 3.4; }
  .core-visual { max-width: 560px; }
  .values-photo { max-width: 520px; aspect-ratio: 4 / 3.4; }
  .models-grid, .posts-grid, .offices-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-row { grid-template-columns: 1fr; }
  .cta-band-actions { align-items: flex-start; }
  .service-roles, .form-aside { position: static; }
  .scroll-hint { display: none; }
}
@media (max-width: 700px) { .doors-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sectors-grid, .models-grid, .posts-grid, .offices-grid, .benefits-grid, .steps, .steps-3, .fields, .footer-grid, .why-photos, .stats { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .stats { margin-top: -40px; padding-inline: 12px; }
  .hv-card-2 { display: none; }
  .hv-card-1 { right: 0; bottom: 0; }
  .door { grid-template-rows: 220px auto; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .btn-lg { padding: 15px 22px; font-size: .98rem; }
  .btn-row .btn { width: 100%; }
  .footer-cta-row .btn-row { width: 100%; }
  .stepper li { font-size: 0; gap: 0; justify-content: center; }
  .stepper li span { font-size: .8rem; }
  .why-photos figure:last-child { margin-bottom: 0; }
  .mega { display: none; }
  .section-head-row .btn { width: auto; }
}

/* ==========================================================================
   v2 — cinematic layer
   ========================================================================== */
:root { --grad-brand: linear-gradient(90deg, var(--orange), var(--pink) 50%, var(--sky)); }

/* ---------- preloader ------------------------------------------------------ */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: clip-path .9s cubic-bezier(.76, 0, .24, 1); clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.pl-dots { display: flex; gap: 14px; }
.pl-dots i { width: 18px; height: 18px; border-radius: 50%; animation: plBounce 1s var(--ease) infinite; }
.pl-dots i:nth-child(1) { background: var(--orange); } .pl-dots i:nth-child(2) { background: var(--sky); animation-delay: .15s; } .pl-dots i:nth-child(3) { background: var(--pink); animation-delay: .3s; }
@keyframes plBounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px); } }
.pl-word { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.6rem; letter-spacing: -.03em; opacity: .9; }
html.no-js .preloader, html.pl-skip .preloader { display: none; }
body.is-loading { overflow: hidden; }

/* ---------- scroll progress + grain + cursor ----------------------------- */
.scroll-progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform-origin: left; transform: scaleX(var(--p, 0)); }
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 250; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); } }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  html.js body.has-cursor { cursor: none; }
  html.js body.has-cursor a, html.js body.has-cursor button, html.js body.has-cursor label, html.js body.has-cursor input, html.js body.has-cursor select, html.js body.has-cursor textarea { cursor: none; }
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 2000; pointer-events: none; mix-blend-mode: multiply; }
  .cursor i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); display: block; }
  .cursor-dot { width: 8px; height: 8px; background: var(--navy); }
  .cursor-ring { width: 36px; height: 36px; border: 1.5px solid var(--navy); opacity: .5; transition: width .3s var(--ease), height .3s var(--ease), opacity .3s, background .3s; }
  .cursor.is-link .cursor-ring { width: 64px; height: 64px; opacity: .22; background: var(--orange); border-color: transparent; }
  .cursor.is-text .cursor-ring { width: 4px; height: 28px; border-radius: 2px; opacity: .6; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- header refinements ------------------------------------------- */
.site-header.is-home:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.is-home .hero { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.site-header.is-scrolled { --header-h: 70px; }
.site-header .header-row { transition: height .35s var(--ease); }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active { background: transparent; }

/* ---------- hero: mesh, letters, 3D ------------------------------------- */
.hero-bg::before { content: ""; position: absolute; inset: -20%; background:
  radial-gradient(40% 50% at 15% 20%, rgba(255, 226, 179, .9), transparent 70%),
  radial-gradient(35% 45% at 85% 15%, rgba(213, 236, 250, .9), transparent 70%),
  radial-gradient(30% 40% at 60% 90%, rgba(253, 211, 224, .8), transparent 70%),
  radial-gradient(25% 35% at 30% 80%, rgba(230, 246, 239, .9), transparent 70%);
  filter: blur(50px); animation: mesh 26s ease-in-out infinite alternate; }
@keyframes mesh { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(-3%, 4%) rotate(4deg) scale(1.06); } 100% { transform: translate(3%, -3%) rotate(-3deg) scale(1.02); } }
.hero-bg .blob { opacity: .35; }
.hero-title .w { opacity: 1; transform: none; animation: none; }
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(6deg); transform-origin: bottom left; animation: chIn .9s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * 28ms); }
@keyframes chIn { to { opacity: 1; transform: none; } }
.hero-title .w:last-child { background: linear-gradient(90deg, var(--navy), #5B4FE0 60%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .w:last-child { padding-right: .06em; opacity: 0; transform: translateY(.4em); animation: wordIn 1s var(--ease) .75s forwards; }
.hero-title .w:last-child .ch { animation: none; opacity: 1; transform: none; }
.hero-visual { perspective: 1400px; transform-style: preserve-3d; }
.hero-visual .hv, .hero-visual .hv-card { will-change: transform; }
.hero-visual.is-3d .hv-1 { transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -14px), 0) rotateY(calc(var(--mx, 0) * 6deg)) rotateX(calc(var(--my, 0) * -6deg)); }
.hero-visual.is-3d .hv-2 { transform: translate3d(calc(var(--mx, 0) * 28px), calc(var(--my, 0) * 22px), 40px); }
.hero-visual.is-3d .hv-3 { transform: translate3d(calc(var(--mx, 0) * -30px), calc(var(--my, 0) * 26px), 60px); }
.hero-visual.is-3d .hv-card-1 { transform: translate3d(calc(var(--mx, 0) * 40px), calc(var(--my, 0) * 34px), 90px); }
.hero-visual.is-3d .hv-card-2 { transform: translate3d(calc(var(--mx, 0) * 24px), calc(var(--my, 0) * -20px), 70px); }
.hero-visual.is-3d .hv, .hero-visual.is-3d .hv-card { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.hv-card { animation: fadeUp .9s var(--ease) 1s forwards, bob 6s ease-in-out 2s infinite; }
.hv-card-2 { animation-delay: 1.2s, 2.6s; }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
.hero-ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(29, 25, 101, .18); animation: spin 60s linear infinite; pointer-events: none; }
.hero-ring::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); top: -7px; left: 50%; box-shadow: 0 0 0 6px rgba(251, 174, 46, .2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee: big outlined ---------------------------------------- */
.marquee { padding: 22px 0; background: var(--navy); border: 0; }
.marquee-track { font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); letter-spacing: -.01em; gap: 40px; animation-duration: 70s; }
.marquee-track span:nth-child(4n+1) { color: #fff; -webkit-text-stroke: 0; }
.marquee-track .dot { width: 12px; height: 12px; }

/* ---------- watermark numbers ------------------------------------------- */
.section { overflow: hidden; }
.watermark { position: absolute; right: -0.05em; top: -0.12em; font-family: var(--font-head); font-weight: 800; font-size: clamp(8rem, 22vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(29, 25, 101, .09); pointer-events: none; user-select: none; letter-spacing: -.05em; }
.section-navy .watermark { -webkit-text-stroke-color: rgba(255, 255, 255, .08); }

/* ---------- services showcase ------------------------------------------- */
.showcase { position: relative; }
.showcase-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 56px 56px 1fr 44px; align-items: center; gap: 22px; padding: 26px 8px; border-bottom: 1px solid var(--line); color: var(--ink); position: relative; isolation: isolate; transition: padding .4s var(--ease); }
.srow::before { content: ""; position: absolute; inset: 0; background: #fff; border-radius: 22px; transform: scaleY(0); transform-origin: center; opacity: 0; transition: transform .4s var(--ease), opacity .4s; z-index: -1; box-shadow: var(--shadow-lg); }
.srow:hover { padding-left: 24px; padding-right: 24px; }
.srow:hover::before { transform: scaleY(1); opacity: 1; }
.srow-num { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--muted); letter-spacing: .1em; }
.srow-ico { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: var(--soft); color: var(--navy); transition: .3s; }
.srow-ico svg { width: 100%; height: 100%; }
.srow:hover .srow-ico { background: var(--navy); color: var(--orange); transform: rotate(-6deg) scale(1.06); }
.srow-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.srow-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); letter-spacing: -.02em; line-height: 1.15; transition: transform .4s var(--ease); }
.srow:hover .srow-title { transform: translateX(6px); }
.srow-short { color: var(--muted); font-size: .98rem; }
.srow-thumb { display: none; }
.srow-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: .35s var(--ease); }
.srow-arrow svg { width: 18px; height: 18px; }
.srow:hover .srow-arrow { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-45deg); }
.showcase-preview { position: fixed; left: 0; top: 0; width: 300px; height: 360px; pointer-events: none; z-index: 60; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .35s var(--ease), transform .5s var(--ease); will-change: left, top; }
.showcase-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.showcase-preview-inner { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--soft); }
.showcase-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.showcase-preview.is-on img { transform: scale(1.05); }
@media (max-width: 960px), (hover: none) {
  .showcase-preview { display: none; }
  .showcase-list { display: flex; flex-direction: row; gap: 14px; border: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 22px; }
  .showcase-list::-webkit-scrollbar { display: none; }
  .srow { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; }
  .srow { grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "ico num" "main main" "arrow arrow"; gap: 14px; padding: 0 0 20px; border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
  .srow::before { display: none; }
  .srow:hover { padding-left: 0; padding-right: 0; }
  .srow-thumb { display: block; grid-area: thumb; aspect-ratio: 4 / 2.6; overflow: hidden; }
  .srow-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .srow-ico { grid-area: ico; margin-left: 20px; }
  .srow-num { grid-area: num; margin-right: 20px; }
  .srow-main { grid-area: main; padding: 0 20px; }
  .srow-arrow { grid-area: arrow; margin-left: 20px; }
}

/* ---------- stacked steps ------------------------------------------------- */
.stack { display: flex; flex-direction: column; gap: 24px; position: relative; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 18px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow-lg); min-height: 420px; transform-origin: top center; }
.stack-card:nth-child(2) { background: var(--warm); } .stack-card:nth-child(3) { background: #EAF5FC; } .stack-card:nth-child(4) { background: #FDE9F0; }
.stack-num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: 1; letter-spacing: -.04em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.stack-text h3 { margin-bottom: 14px; color: var(--ink); }
.section-navy .stack-card p { color: var(--muted); }
.stack-text p { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 42ch; }
.stack-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.stack-photo img { width: 100%; height: 100%; object-fit: cover; }
.stack::after { content: ""; display: block; height: 10vh; }
@media (max-width: 760px) { .stack-card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--header-h) + 12px + var(--i) * 10px); } .stack-photo { order: -1; aspect-ratio: 16 / 9; } }

/* ---------- masked image reveals --------------------------------------- */
html.js .reveal-img { clip-path: inset(0 calc(100% - 2px) 0 0 round 0); transition: clip-path 1.2s cubic-bezier(.76, 0, .24, 1); }
html.js .reveal-img img { transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round 0); }
html.js .reveal-img.is-in img { transform: scale(1); }
.door:hover .door-media.reveal-img.is-in img { transform: scale(1.06); }

/* ---------- split headings --------------------------------------------- */
html.js .split .sw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
html.js .split .sw > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
html.js .split.is-in .sw > span { transform: none; }
html.js .reveal.split { opacity: 1; transform: none; }

/* ---------- tilt cards --------------------------------------------------- */
[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
[data-tilt].is-tilting { transition: transform .1s linear, box-shadow .6s var(--ease); }
.door[data-tilt]:hover, .service-card[data-tilt]:hover { transform: perspective(900px) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)) translateY(-6px); }

/* ---------- gradient-border sectors ------------------------------------ */
.sector { position: relative; overflow: hidden; }
.sector::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), var(--orange), var(--pink), var(--sky), var(--orange)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.sector:hover::before { opacity: 1; animation: rot 3s linear infinite; }
@keyframes rot { to { --a: 360deg; } }
.sector:hover { border-color: transparent; }

/* ---------- stats: gradient numbers ------------------------------------ */
.stat strong { background: linear-gradient(90deg, var(--navy), #5B4FE0); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.6rem; }

/* ---------- aurora CTA + footer ------------------------------------------ */
.cta-band { background: var(--navy-deep); }
.cta-band::before, .cta-band::after { display: none; }
.cta-aurora { position: absolute; inset: -40%; background:
  radial-gradient(35% 45% at 20% 30%, rgba(251, 174, 46, .55), transparent 70%),
  radial-gradient(30% 40% at 80% 20%, rgba(134, 196, 235, .5), transparent 70%),
  radial-gradient(30% 45% at 60% 85%, rgba(237, 21, 94, .45), transparent 70%);
  filter: blur(60px); animation: mesh 18s ease-in-out infinite alternate; pointer-events: none; }
.site-footer { overflow: hidden; }
.footer-mesh { position: absolute; inset: 0; background: radial-gradient(40% 50% at 10% 100%, rgba(134, 196, 235, .18), transparent 70%), radial-gradient(35% 45% at 95% 0%, rgba(251, 174, 46, .16), transparent 70%); pointer-events: none; }
.footer-cta, .footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-giant { position: relative; z-index: 0; margin: 0 auto -6vw; width: min(1600px, 110%); opacity: .07; pointer-events: none; transform: translateY(calc(var(--py, 0) * 1px)); }
.footer-giant img { width: 100%; }

/* ---------- magnetic buttons -------------------------------------------- */
.btn { will-change: transform; }
.btn.is-magnet { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .35s var(--ease); }
.btn.is-magnet:hover { transform: translate(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px)); }

/* ---------- page transitions ------------------------------------------- */
html.js main, html.js .site-footer { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.is-leaving main, body.is-leaving .site-footer, body.is-leaving .site-header { opacity: 0; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }

/* ---------- reduced motion / small screens ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; } .grain { animation: none; } .hero-bg::before, .cta-aurora, .hero-ring, .hv-card { animation: none; }
  .hero-title .ch { animation: none; opacity: 1; transform: none; }
  html.js .reveal-img, html.js .reveal-img img { clip-path: none; transform: none; transition: none; }
  html.js .split .sw > span { transform: none; transition: none; }
  html.js main, html.js .site-footer { animation: none; }
  .stack-card { position: relative; top: auto; }
}
@media (max-width: 960px) {
  .watermark { font-size: 7rem; opacity: .7; }
  .hero-ring { display: none; }
  .grain { display: none; }
}
