/* =====================================================================
   The Media Ministry Co., Modern Static Rebuild
   Brand: deep navy #14263b · teal #19a9bd · cream #f7f9fb
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #14263b;
  --navy-700: #1c344f;
  --navy-600: #274566;
  --teal: #19a9bd;
  --teal-bright: #21c4da;
  --teal-deep: #11808f;
  --cream: #f6f9fb;
  --paper: #ffffff;
  --ink: #18222e;
  --muted: #5b6b7c;
  --line: #e6ecf1;
  --gold: #f0b429;

  --grad-teal: linear-gradient(120deg, #19a9bd 0%, #21c4da 55%, #2fd3c4 100%);
  --grad-navy: linear-gradient(150deg, #14263b 0%, #1c3a57 100%);

  --shadow-sm: 0 2px 8px rgba(20, 38, 59, .06);
  --shadow-md: 0 14px 38px -16px rgba(20, 38, 59, .28);
  --shadow-lg: 0 40px 80px -30px rgba(20, 38, 59, .42);

  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
section { position: relative; }
::selection { background: var(--teal); color: #fff; }

/* Pages that should read as pure white throughout (e.g. Our Work) */
body.page-white { --cream: #ffffff; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep);
  background: rgba(25, 169, 189, .1); padding: .5em 1em; border-radius: 100px;
}
.section-title { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: .5em 0 .35em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 64ch; }
.center .lead { margin-inline: auto; }
.text-grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .92em 1.7em; border-radius: 100px; cursor: pointer; border: 0;
  color: #fff; background: var(--bg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: var(--shadow-md); isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-teal { --bg: var(--teal); background: var(--grad-teal); }
.btn-ghost {
  background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal-deep); }
.btn-light { background: #fff; color: var(--navy); }
.btn-lg { padding: 1.1em 2.1em; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), transform .35s ease-in-out, opacity .35s ease-in-out;
  padding: 18px 0;
}
.nav.nav-hidden { transform: translateY(-130%); opacity: 0; }
.nav.solid { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo img { height: 42px; transition: height .4s var(--ease); }
.nav.solid .nav-logo img { height: 36px; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark { display: none; }
.nav.solid .nav-logo .logo-light { display: none; }
.nav.solid .nav-logo .logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a, .nav-links .drop-toggle {
  position: relative; font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  padding: .6em .95em; border-radius: 10px; color: #fff; transition: color .25s, background .25s;
}
.nav.solid .nav-links a, .nav.solid .nav-links .drop-toggle { color: var(--navy); }
.nav-links a::before {
  content: ""; position: absolute; left: .95em; right: .95em; bottom: .35em; height: 2px;
  background: var(--teal-bright); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::before, .nav-links a.active::before { transform: scaleX(1); }
.nav-links a:hover, .nav-links .drop-toggle:hover { color: var(--teal-bright); }
.nav.solid .nav-links a:hover, .nav.solid .nav-links a.active,
.nav.solid .nav-links .drop-toggle:hover { color: var(--teal-deep); }

/* dropdown */
.has-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: .35em; background: none; border: 0; cursor: pointer; font: inherit; }
.drop-toggle .chev { transition: transform .3s var(--ease); width: 14px; }
.has-drop:hover .drop-toggle .chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease); border: 1px solid var(--line);
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: block; color: var(--navy) !important; padding: .6em .8em; border-radius: 9px; font-size: .92rem; }
.drop a::before { display: none; }
.drop a:hover { background: var(--cream); color: var(--teal-deep) !important; }

.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 24px; position: relative; }
.nav-burger span { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: #fff; transition: .35s var(--ease); }
.nav.solid .nav-burger span { background: var(--navy); }
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 0; }
body.menu-open .nav-burger span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw); background: var(--navy);
  z-index: 99; padding: 96px 28px 40px; transform: translateX(100%);
  transition: transform .45s var(--ease); display: flex; flex-direction: column; gap: .4rem;
  box-shadow: var(--shadow-lg);
}
body.menu-open .drawer { transform: translateX(0); }
.drawer a { color: #dce6ef; font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; padding: .7em 0; border-bottom: 1px solid rgba(255,255,255,.08); transition: color .2s, padding-left .25s; }
.drawer a:hover { color: var(--teal-bright); padding-left: 8px; }
.drawer .btn { margin-top: 1.4rem; justify-content: center; }
.drawer small { color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-top: 1.2rem; }
.scrim { position: fixed; inset: 0; background: rgba(10,18,28,.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: .4s; z-index: 98; }
body.menu-open .scrim { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.06); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,59,.86) 0%, rgba(20,38,59,.72) 40%, rgba(20,38,59,.94) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 140px 0 90px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); color: #fff; max-width: 16ch; }
.hero p.lead { color: rgba(233,240,247,.86); margin-top: 1.3rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb.a { width: 420px; height: 420px; background: var(--teal); top: -120px; right: -80px; animation: float1 14s var(--ease) infinite; }
.orb.b { width: 320px; height: 320px; background: #2563eb55; bottom: -120px; left: -60px; animation: float2 18s var(--ease) infinite; }
@keyframes float1 { 50% { transform: translate(-40px, 40px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(40px, -30px) scale(1.08); } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: grid; place-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: #fff; border-radius: 3px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } }

/* page hero (interior) */
.phero {
  position: relative; padding: 200px 0 130px; color: #fff; text-align: center; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 16% -15%, rgba(33,196,218,.5), transparent 60%),
    radial-gradient(900px 620px at 102% 0%, rgba(45,108,235,.38), transparent 55%),
    radial-gradient(760px 520px at 62% 125%, rgba(25,169,189,.45), transparent 62%),
    var(--grad-navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 46px));
}
/* dot-grid texture */
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}
/* floating glow blob */
.phero::after {
  content: ""; position: absolute; z-index: 0; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33,196,218,.55), transparent 70%); filter: blur(50px);
  top: -180px; right: -90px; animation: pheroFloat 16s var(--ease) infinite;
}
@keyframes pheroFloat { 50% { transform: translate(-70px, 60px) scale(1.18); } }
.phero .wrap { position: relative; z-index: 3; }
.phero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.phero p { color: rgba(230,238,246,.86); max-width: 60ch; margin: 1rem auto 0; }
.phero .eyebrow { background: rgba(255,255,255,.14); color: #bfeef6; }
/* optional photo layer (add <div class="phero-bg"><img ...></div> inside .phero) */
.phero-bg { position: absolute; inset: 0; z-index: 0; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: blur(2px) saturate(1.15); transform: scale(1.08); }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,59,.55), rgba(20,38,59,.82)); }

/* ---------- Stat / trust bar ---------- */
.statbar { background: var(--navy); color: #fff; padding: 0; }
.statbar .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--teal-bright); }
.stat .lbl { font-size: .9rem; color: rgba(230,238,246,.7); letter-spacing: .02em; }

/* ---------- Cards / services ---------- */
.cards { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 38px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: rgba(25,169,189,.12); color: var(--teal-deep); margin-bottom: 22px; transition: transform .45s var(--ease), background .45s; }
.card:hover .ic { transform: rotate(-6deg) scale(1.08); background: var(--grad-teal); color: #fff; }
.card .ic svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.card ul { list-style: none; margin-top: 1rem; display: grid; gap: .55rem; }
.card ul li { position: relative; padding-left: 1.7em; color: var(--muted); font-size: .98rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-teal); }
.card ul li::after { content: ""; position: absolute; left: 5px; top: .72em; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* split intro */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }
.stat-callout { background: var(--grad-navy); color: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.stat-callout::after { content: "✝"; position: absolute; right: -10px; bottom: -30px; font-size: 180px; opacity: .06; }
.stat-callout .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); color: var(--teal-bright); line-height: 1; }
.stat-callout p { color: rgba(230,238,246,.85); margin-top: .6rem; }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #fff; padding: 22px 0; overflow: hidden; --gap: 3rem; }
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: marq 22s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); display: inline-flex; align-items: center; gap: var(--gap); white-space: nowrap; letter-spacing: -.01em; }
.marquee span::after { content: "〰"; color: var(--teal-bright); }
.marquee .dim { color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.4); }
@keyframes marq { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* ---------- What We Do: magnetic float field ---------- */
.floatfield { position: relative; background: var(--navy); color: #fff; overflow: hidden; height: clamp(380px, 46vw, 480px); isolation: isolate; }
.floatfield::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 50%, rgba(25,169,189,.22), transparent 70%); z-index: 0; }
.ff-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; z-index: 1; pointer-events: none; gap: .8rem; padding: 0 1rem; }
.ff-center h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.6rem); max-width: 16ch; }
.float-item { position: absolute; z-index: 2; will-change: transform; transform: translate(-50%, -50%); }
.float-pill {
  display: inline-flex; align-items: center; gap: .55em; white-space: nowrap; cursor: default;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(.92rem, 1.5vw, 1.2rem);
  padding: .68em 1.2em; border-radius: 100px; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(5px);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.float-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); flex: none; }
.float-pill.teal { background: var(--grad-teal); border-color: transparent; }
.float-pill.teal i { background: #fff; }
@media (prefers-reduced-motion: reduce) { .float-item { transition: none; } }

/* ---------- Pricing ---------- */
.price-group { margin-top: 3rem; }
.price-group h3.group-title { font-size: 1.5rem; text-align: center; margin-bottom: 1.6rem; display: inline-flex; }
.price-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.price-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured:hover { box-shadow: 0 38px 80px -24px rgba(25, 169, 189, .55), 0 18px 40px -18px rgba(20, 38, 59, .6); }
.price-card .price-sub { font-size: .86rem; color: var(--muted); margin-top: .35rem; }
.price-card.featured .price-sub { color: rgba(233, 240, 247, .75); }
.price-card.featured { background: var(--grad-navy); color: #fff; border: 0; box-shadow: var(--shadow-md); }
.price-card.featured h4, .price-card.featured .price { color: #fff; }
.price-card .tag { position: absolute; top: 20px; right: 20px; background: var(--grad-teal); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .4em .9em; border-radius: 100px; }
.price-card .plan { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--teal-deep); }
.price-card.featured .plan { color: var(--teal-bright); }
.price-card h4 { font-size: 1.55rem; margin: .25rem 0 .6rem; }
.price-card .price { font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; color: var(--navy); line-height: 1; }
.price-card .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card.featured .price span { color: rgba(255,255,255,.7); }
.price-card ul { list-style: none; margin: 1.5rem 0; display: grid; gap: .7rem; flex: 1; }
.price-card li { position: relative; padding-left: 1.8em; font-size: .96rem; color: var(--muted); }
.price-card.featured li { color: rgba(233,240,247,.9); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-card.featured li::before { color: var(--teal-bright); }
.price-card .btn { justify-content: center; }
.price-note { text-align: center; margin-top: 2.4rem; font-size: 1.05rem; color: var(--muted); }
.price-note b { color: var(--navy); }

/* showcase image grid (pricing visuals / portfolio) */
.gallery { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.shot {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  background: #fff; cursor: zoom-in; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot::after { content: "⤢"; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(20,38,59,.7); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .3s var(--ease); backdrop-filter: blur(4px); }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot:hover img { transform: scale(1.05); }
.shot:hover::after { opacity: 1; transform: scale(1); }

/* ---------- Live website previews ---------- */
.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.site-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.site-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.site-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-dots { display: flex; gap: 6px; flex: none; }
.site-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: #d3dbe2; }
.site-dots i:nth-child(1) { background: #ff5f57; }
.site-dots i:nth-child(2) { background: #febc2e; }
.site-dots i:nth-child(3) { background: #28c840; }
.site-url { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: .82rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .35em 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; flex: none; animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(40,200,64,.5); } 70% { box-shadow: 0 0 0 7px rgba(40,200,64,0); } 100% { box-shadow: 0 0 0 0 rgba(40,200,64,0); } }
.site-open { flex: none; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--teal-deep); display: inline-flex; align-items: center; gap: .3em; transition: color .25s; }
.site-open:hover { color: var(--teal); }
.site-view { position: relative; height: 460px; background: #eef2f5; overflow: hidden; }
/* width/height/transform are set by JS so the site renders at desktop width (1440) and scales to fit */
.site-view iframe { position: absolute; top: 0; left: 0; border: 0; display: block; transform-origin: top left; width: 1440px; height: 100%; }
.site-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 18px; }
.site-caption b { font-family: var(--font-head); color: var(--navy); }
.site-caption span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .sites { grid-template-columns: 1fr; } .site-view { height: 400px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 40px 32px; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .n { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; width: 52px; height: 52px; border-radius: 50%; background: var(--grad-teal); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-md); }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .98rem; }
.steps.line .step::after { content: ""; position: absolute; top: 64px; right: -13px; width: 26px; height: 2px; background: var(--line); }
.steps.line .step:last-child::after { display: none; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member .photo { aspect-ratio: 4/5; overflow: hidden; background: var(--navy-700); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.member:hover .photo img { transform: scale(1.06); }
.member .body { padding: 26px 26px 30px; }
.member .role { font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.member h3 { font-size: 1.4rem; margin: .25rem 0 .7rem; }
.member p { color: var(--muted); font-size: .96rem; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value .vic { width: 56px; height: 56px; border-radius: 15px; background: rgba(25,169,189,.12); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 20px; transition: .4s var(--ease); }
.value:hover .vic { background: var(--grad-teal); color: #fff; transform: scale(1.06); }
.value .vic svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.value p { color: var(--muted); font-size: .97rem; }
.value blockquote { margin-top: 1rem; padding-left: 1rem; border-left: 3px solid var(--teal); font-style: italic; color: var(--navy-600); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--navy); padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(25,169,189,.12); color: var(--teal-deep); display: grid; place-items: center; position: relative; transition: .35s var(--ease); }
.faq-item.open .faq-q .pm { background: var(--grad-teal); color: #fff; transform: rotate(135deg); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .pm::before { width: 13px; height: 2.4px; }
.faq-q .pm::after { width: 2.4px; height: 13px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a div { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.news { background: var(--grad-navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.news::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--teal); filter: blur(90px); opacity: .35; top: -120px; right: -80px; }
.news .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.news h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.news p { color: rgba(230,238,246,.85); margin-top: .6rem; }
.news form { display: grid; gap: 20px; }
.news .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news input { width: 100%; padding: 1.1em 1.3em; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.news input::placeholder { color: rgba(255,255,255,.55); }
.news input:focus { outline: none; border-color: var(--teal-bright); background: rgba(255,255,255,.14); }
.news .btn { justify-content: center; }
.news .ok { display: none; background: rgba(33,196,218,.18); border: 1px solid var(--teal-bright); border-radius: 12px; padding: 1em; text-align: center; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-teal); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: clamp(46px, 7vw, 84px); position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.cta-band::before { width: 240px; height: 240px; top: -100px; left: -60px; }
.cta-band::after { width: 300px; height: 300px; bottom: -140px; right: -70px; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 1rem auto 1.8rem; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.info-card:hover { transform: translateX(6px); }
.info-card .ic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: rgba(25,169,189,.12); color: var(--teal-deep); display: grid; place-items: center; }
.info-card h4 { font-size: 1.05rem; }
.info-card a, .info-card span { color: var(--muted); font-size: .96rem; }
.info-card a:hover { color: var(--teal-deep); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 26px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: .65rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 1.05em 1.25em; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: var(--cream); transition: border-color .25s, background .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(25,169,189,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 12px; }
.form-ok { display: none; text-align: center; padding: 30px; }
.form-ok .check { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-teal); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 30px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose p, .prose li { color: var(--navy-600); margin-bottom: .8rem; }
.prose ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--teal-deep); font-weight: 600; }
.prose .meta { color: var(--muted); font-size: .95rem; }

/* member portal */
.portal { display: grid; place-items: center; text-align: center; min-height: 60vh; }
.portal .lock { width: 86px; height: 86px; border-radius: 24px; background: var(--grad-teal); color: #fff; display: grid; place-items: center; margin: 0 auto 26px; box-shadow: var(--shadow-md); }
.portal .lock svg { width: 40px; height: 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(230,238,246,.7); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer img.flogo { height: 46px; margin-bottom: 18px; }
.footer p { max-width: 36ch; font-size: .96rem; }
.footer h5 { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer ul a { font-size: .96rem; transition: color .2s, padding-left .2s; display: inline-block; }
.footer ul a:hover { color: var(--teal-bright); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 26px; font-size: .88rem; }
.footer-verse { font-style: italic; color: rgba(230,238,246,.55); }
.footer-verse b { color: var(--teal-bright); font-style: normal; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,18,28,.6); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); display: grid; place-items: center; padding: 4vw; opacity: 0; visibility: hidden; transition: opacity .35s; }
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow-lg); transform: scale(.92); transition: transform .35s var(--ease); }
.lightbox.show img { transform: scale(1); }
.lightbox .close { position: absolute; top: 24px; right: 30px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; cursor: pointer; transition: background .25s, transform .25s; }
.lightbox .close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* extra scroll-reveal variants */
.reveal-l, .reveal-r, .reveal-zoom, .reveal-blur {
  opacity: 0; transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}
.reveal-l { transform: translateX(-46px); }
.reveal-r { transform: translateX(46px); }
.reveal-zoom { transform: scale(.92); }
.reveal-blur { transform: translateY(24px); filter: blur(10px); }
.reveal-l.in, .reveal-r.in, .reveal-zoom.in, .reveal-blur.in { opacity: 1; transform: none; filter: none; }
.reveal-zoom.d1 { transition-delay: .06s; } .reveal-zoom.d2 { transition-delay: .12s; }
.reveal-zoom.d3 { transition-delay: .18s; }

/* scroll parallax targets (driven by JS) */
[data-parallax] { will-change: transform; }

/* gallery item count badge / caption-free masonry feel */
.gallery.masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 10px; }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad-teal); z-index: 200; width: 0; transition: width .1s linear; }

/* ===================================================================
   Editorial home hero (sky-to-earth) + stat band
   =================================================================== */
.ehero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg,
    #d3ebf0 0%, #aedae2 13%, #7cc0cd 27%, #3f8a9b 45%,
    #1d5666 60%, #14263b 80%, #0e1b28 100%);
}
.ehero::before { /* soft sky light */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 360px at 80% 6%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(680px 300px at 10% 2%, rgba(255,255,255,.35), transparent 60%);
}
.ehero-sun { /* rising glow at the horizon */
  position: absolute; left: 50%; bottom: 30%; transform: translateX(-50%); z-index: 1;
  width: 540px; height: 540px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(247,222,179,.5), rgba(33,196,218,.12) 45%, transparent 68%);
  filter: blur(8px); animation: sunRise 12s var(--ease) infinite;
}
@keyframes sunRise { 50% { transform: translateX(-50%) translateY(-18px) scale(1.06); } }

.ehero-top { position: relative; z-index: 3; flex: 1; padding: 150px 0 20px; }
.ehero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 40px; align-items: start; }
.ehero h1 {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2.7rem, 5.8vw, 4.7rem); line-height: 1.05; color: var(--navy);
}
.ehero h1 em { font-style: normal; font-weight: 800; color: #fff; display: block; }
.ehero .sub { margin-top: 1.4rem; max-width: 44ch; color: #fff; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.ehero-actions { display: flex; gap: 1.1rem; align-items: center; margin-top: 2.1rem; flex-wrap: wrap; }
.ehero-actions .btn-dark { background: var(--navy); color: #fff; }
.play-btn { display: inline-flex; align-items: center; gap: .7em; color: var(--navy); font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.play-btn .pp { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.play-btn:hover .pp { transform: scale(1.09); }
.play-btn .pp svg { width: 16px; height: 16px; color: var(--navy); }

.ehero-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.trust-badge { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.65); padding: 7px 16px 7px 7px; border-radius: 100px; }
.trust-badge .avs { display: flex; }
.trust-badge .avs span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; background: var(--grad-teal); display: grid; place-items: center; color: #fff; font-size: .68rem; font-weight: 700; font-family: var(--font-head); }
.trust-badge .avs span:first-child { margin-left: 0; }
.trust-badge small { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .82rem; }

.float-card { width: min(330px, 82vw); background: rgba(255,255,255,.6); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.72); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 34px 64px -26px rgba(20,38,59,.45); animation: cardFloat 7s var(--ease) infinite; }
@keyframes cardFloat { 50% { transform: translateY(-12px); } }
.float-card .fc-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.float-card .fc-badge { background: var(--grad-teal); color: #fff; border-radius: 100px; padding: .25em .7em; font-size: .6rem; letter-spacing: .08em; }
.float-card h4 { margin: .6rem 0 .15rem; font-size: 1.18rem; }
.float-card .fc-meta { color: var(--muted); font-size: .85rem; margin-bottom: .8rem; }
.float-card .fc-row { display: flex; align-items: center; gap: .55em; font-size: .85rem; color: var(--navy-700); padding: .28em 0; }
.float-card .fc-row .dot { width: 17px; height: 17px; border-radius: 50%; background: var(--grad-teal); display: grid; place-items: center; flex: none; }
.float-card .fc-row .dot svg { width: 9px; height: 9px; color: #fff; }

.ehero-mid { position: relative; z-index: 3; padding: 24px 0 46px; }
.ehero-mid p { font-family: var(--font-head); font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; color: #eaf4f6; max-width: 22ch; line-height: 1.15; }
.ehero-mid p b { font-weight: 800; color: #fff; }
.ehero-mid p em { font-style: italic; color: #bfeef6; }

.partners { position: relative; z-index: 3; padding-bottom: 48px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.partners-label { font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(230,238,246,.6); }
.partners-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.partners-row span { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: rgba(255,255,255,.78); transition: color .25s; }
.partners-row span:hover { color: #fff; }

/* dark stat band */
.estats { position: relative; background: linear-gradient(180deg, #0e1b28, #14263b); color: #fff; padding: 92px 0 86px; overflow: hidden; }
.estats-mark { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 800; font-size: clamp(7rem, 27vw, 23rem); color: rgba(255,255,255,.04); letter-spacing: -.04em; white-space: nowrap; pointer-events: none; line-height: 1; }
.estats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.estat { position: relative; padding-top: 28px; }
.estat::before { content: "+"; position: absolute; top: -4px; left: 0; color: var(--teal-bright); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.estat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1; color: #fff; }
.estat .num i { font-style: normal; color: var(--teal-bright); font-size: .46em; font-weight: 700; vertical-align: top; margin-left: .08em; }
.estat .lbl { margin-top: .8rem; color: rgba(230,238,246,.6); font-size: .92rem; max-width: 26ch; line-height: 1.45; }

/* nav over a light hero (home) */
.nav.nav-on-light .nav-links a, .nav.nav-on-light .nav-links .drop-toggle { color: var(--navy); }
.nav.nav-on-light .nav-links a:hover, .nav.nav-on-light .nav-links .drop-toggle:hover { color: var(--teal-deep); }
.nav.nav-on-light .nav-logo .logo-light { display: none; }
.nav.nav-on-light .nav-logo .logo-dark { display: block; }
.nav.nav-on-light .nav-burger span { background: var(--navy); }

/* React gallery mount: give the bordered card vertical breathing room */
#gd-gallery { display: block; padding: clamp(40px, 6vw, 84px) 0; }

/* ===== Scroll-to-surf 3D gallery fallback (Graphic Design Examples) =====
   All plane selectors are scoped under .surf so they never collide with the
   React/Motion gallery, which also uses a .plane class. */
.surf-section { background: #fff; color: var(--navy); padding-top: clamp(60px, 8vw, 110px); padding-bottom: 0; overflow: hidden; }
.surf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.surf-head h2 { color: var(--navy); }
.surf-head p { color: var(--muted); max-width: 52ch; margin-top: .6rem; }
.surf-hint { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.surf-hint .ln { width: 26px; height: 1px; background: var(--teal); animation: surfArrow 1.8s var(--ease) infinite; }
@keyframes surfArrow { 0%,100% { transform: translateX(0); opacity: .4; } 50% { transform: translateX(6px); opacity: 1; } }

.surf { display: flex; align-items: center; gap: 0; overflow-x: auto; overflow-y: hidden; padding: 90px 8% 100px; width: min(1180px, 92vw); margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(20,38,59,.45); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.surf::-webkit-scrollbar { display: none; }
.surf.dragging { cursor: grabbing; }
.surf .plane {
  flex: 0 0 440px; height: 248px; position: relative; margin-left: -120px; border: 0; padding: 0; background: none;
  cursor: pointer; border-radius: 8px; scroll-snap-align: center;
  transform: perspective(1300px) rotateY(-44deg);
  transition: transform .55s var(--ease), filter .3s var(--ease), box-shadow .55s var(--ease);
  box-shadow: 0 22px 45px -16px rgba(20,38,59,.35); will-change: transform;
}
.surf .plane:first-child { margin-left: 0; }
.surf .plane-img { position: absolute; inset: 0; overflow: hidden; border-radius: 8px; background: #eaeff3; border: 1px solid rgba(20,38,59,.06); }
.surf .plane-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.surf .plane:hover, .surf .plane:focus-visible { transform: perspective(1300px) rotateY(0deg) translateZ(40px) scale(1.05); filter: brightness(1.04); z-index: 20; box-shadow: 0 40px 80px -22px rgba(20,38,59,.45); outline: none; }
.surf .plane-index { position: absolute; top: -24px; left: 2px; font-family: var(--font-head); font-size: .7rem; letter-spacing: .12em; color: rgba(20,38,59,.5); }
.surf .plane-label { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--navy); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.surf .plane-label::before { content: ""; width: 0; height: 1px; background: var(--teal-deep); transition: width .4s var(--ease); }
.surf .plane:hover .plane-label, .surf .plane:focus-visible .plane-label { opacity: 1; }
.surf .plane:hover .plane-label::before, .surf .plane:focus-visible .plane-label::before { width: 80px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ehero-grid { grid-template-columns: 1fr; }
  .ehero-aside { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .estats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: block; }
  .cards, .price-grid, .steps, .team-grid, .values, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; } .split.rev { direction: ltr; }
  .news .inner, .contact-grid { grid-template-columns: 1fr; }
  .statbar .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps.line .step::after { display: none; }
}
@media (max-width: 620px) {
  .cards, .price-grid, .steps, .team-grid, .values, .gallery, .gallery.two, .two-col, .news .row2 { grid-template-columns: 1fr; }
  .statbar .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, .reveal-l, .reveal-r, .reveal-zoom, .reveal-blur { opacity: 1; transform: none; filter: none; }
  [data-parallax] { transform: none !important; }
}
