/* ===================================================================
   Indeduc Educational Consultants - Design System
   Trusted & Corporate: Navy · Teal · Gold
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #081826;
  --navy-800: #0c2236;
  --navy:     #0f2a43;
  --navy-700: #173a59;
  --teal:     #168aa6;
  --teal-600: #0f7791;
  --teal-300: #5fc2d8;
  --teal-100: #e3f4f8;
  --gold:     #e0a230;
  --gold-300: #f3c976;
  --green:    #4aa15f;

  /* Neutrals */
  --ink:      #16242f;
  --body:     #46586a;
  --muted:    #6c7c8c;
  --line:     #e4e9ee;
  --paper:    #ffffff;
  --cream:    #f7f6f2;
  --cream-2:  #f1efe8;
  --mist:     #f3f7f9;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(13,37,64,.06), 0 1px 3px rgba(13,37,64,.05);
  --shadow:    0 10px 30px -12px rgba(13,37,64,.18);
  --shadow-lg: 0 30px 60px -22px rgba(13,37,64,.28);
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.nav-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 540;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 560; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin-top: .8rem; }
.lead { font-size: 1.18rem; color: var(--body); }

.bg-cream { background: var(--cream); }
.bg-mist  { background: var(--mist); }
.bg-navy  { background: var(--navy); color: #cfdbe6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .92rem 1.6rem;
  border-radius: 100px;
  font-weight: 650; font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn-primary {
  background: var(--gold); color: var(--navy-900);
  box-shadow: 0 12px 24px -10px rgba(224,162,48,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -10px rgba(224,162,48,.85); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-size: 1.2rem; color: var(--navy); font-weight: 600; letter-spacing: -.01em; }
.brand-text span { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600); font-weight: 700; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-size: .96rem; font-weight: 550; color: var(--ink);
  padding: .55rem .9rem; border-radius: 10px;
  position: relative; transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--teal-600); background: var(--teal-100); }
.nav-links a.active { color: var(--teal-600); }
.nav-links a.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; position: relative; flex: none;
  transition: background .3s ease, border-color .3s ease, transform .15s ease, box-shadow .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:active { transform: scale(.9); }
.nav-toggle[aria-expanded="true"] { background: var(--teal-100); border-color: var(--teal-300); }
/* three bars built from one span + its pseudo-elements, all centered */
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 21px; height: 2.5px; background: var(--navy); border-radius: 3px;
  transition: transform .45s cubic-bezier(.68,-0.55,.27,1.55), background .3s ease, width .3s ease, opacity .25s ease;
}
.nav-toggle span { transform: translate(-50%,-50%); }
.nav-toggle span::before { transform: translate(-50%,-50%) translateY(-6.5px); }
.nav-toggle span::after  { transform: translate(-50%,-50%) translateY(6.5px); }
/* open → springy morph into a perfectly centered X.
   NOTE: keep the span visible (opacity:1) — its ::before/::after ARE the X arms.
   Hide only the middle bar by zeroing its own background. */
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%,-50%) rotate(45deg); background: var(--navy); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%,-50%) rotate(-45deg); background: var(--navy); }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% 0%, #16314d 0%, var(--navy) 42%, var(--navy-900) 100%);
  color: #c9d6e4; overflow: hidden;
  padding-block: clamp(70px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 26px 26px; opacity: .6; pointer-events: none;
}
.hero-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,138,166,.45), transparent 65%);
  top: -160px; right: -120px; filter: blur(10px); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero h1 .accent { color: var(--gold-300); font-style: italic; }
.hero-lead { font-size: 1.18rem; color: #b8c7d8; max-width: 540px; margin-bottom: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(95,194,216,.12); border: 1px solid rgba(95,194,216,.3);
  color: var(--teal-300); padding: .5rem 1rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 1.6rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(224,162,48,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-figure { position: relative; }
.hero-figure .frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.08);
  background: var(--navy-800);
}
.hero-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.hero-card {
  position: absolute; left: -28px; bottom: 28px;
  background: #fff; color: var(--ink); border-radius: 16px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .85rem; max-width: 250px;
}
.hero-card .ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-600));
  display: grid; place-items: center; color: #fff;
}
.hero-card b { font-family: var(--display); font-size: 1.5rem; color: var(--navy); display: block; line-height: 1; }
.hero-card span { font-size: .78rem; color: var(--muted); }

/* Trust strip */
.trust { border-top: 1px solid rgba(255,255,255,.1); margin-top: clamp(40px,5vw,64px); padding-top: 2rem; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem; }
.trust li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: #aebfd0; }
.trust li svg { width: 22px; height: 22px; color: var(--teal-300); flex: none; }

/* ===================================================================
   Stats
   =================================================================== */
.stats-band { background: var(--cream); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: clamp(14px, 2.4vw, 26px); }
.stat {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.3rem 1.4rem 2rem;
  position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.stat:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.stat:hover::before { transform: scaleX(1); }
.stat-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  margin: 0 auto 1.1rem; color: var(--teal-600); background: var(--teal-100);
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.stat-ico svg { width: 28px; height: 28px; }
.stat:hover .stat-ico { transform: translateY(-2px) rotate(-4deg); background: var(--navy); color: var(--gold-300); }
.stat:nth-child(2) .stat-ico { background: #fbf0d8; color: #b9821b; }
.stat:nth-child(4) .stat-ico { background: #e6f4ea; color: var(--green); }
.stat b {
  font-family: var(--display); font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--navy);
  display: inline-block; line-height: 1; font-weight: 560; position: relative; padding-bottom: .55rem;
}
.stat b::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 34px; height: 3px; border-radius: 3px; background: var(--gold);
}
.stat b .plus { color: var(--gold); }
.stat .stat-label { font-size: .92rem; color: var(--muted); font-weight: 600; margin-top: .9rem; display: block; letter-spacing: .01em; }

/* ===================================================================
   About / Split feature
   =================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .img-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
/* Frame tall phone portraits into a tidy 4:5 crop so they don't render oversized */
.split-media .img-wrap.portrait img { aspect-ratio: 4 / 5; object-position: 50% 22%; }
.split-media .dots {
  position: absolute; width: 130px; height: 130px; z-index: -1;
  background-image: radial-gradient(var(--teal-300) 1.5px, transparent 0);
  background-size: 16px 16px; opacity: .55;
}
.split-media .dots.tl { top: -28px; left: -28px; }
.split-media .dots.br { bottom: -28px; right: -28px; }
.photo-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-collage figure {
  position: relative; margin: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.photo-collage img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: block; transition: transform .5s ease;
}
.photo-collage figure:hover img { transform: scale(1.06); }
.photo-collage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .85rem .9rem .6rem; color: #fff; font-size: .8rem; font-weight: 600;
  letter-spacing: .01em; line-height: 1.25;
  background: linear-gradient(to top, rgba(13,27,42,.82), rgba(13,27,42,0));
}
.split-body ul.ticks { margin: 1.4rem 0 2rem; display: grid; gap: .85rem; }
ul.ticks li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
ul.ticks li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }

/* ===================================================================
   Cards / Services
   =================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden; height: 100%;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-600); margin-bottom: 1.3rem;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; margin-bottom: 1rem; }
.card .more {
  font-weight: 650; font-size: .9rem; color: var(--teal-600);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card .more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.card:hover .more svg { transform: translateX(4px); }

/* alt accent rotation for icons */
.card:nth-child(3n+2) .ico { background: #fbf0d8; color: #b9821b; }
.card:nth-child(3n) .ico { background: #e6f4ea; color: var(--green); }

/* Service detail blocks */
.service-block {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem;
  padding: 2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: box-shadow .3s ease, transform .3s ease;
}
.service-block:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-block .num {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy)); flex: none;
}
.service-block h3 { margin-bottom: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  font-size: .82rem; font-weight: 550; padding: .4rem .85rem; border-radius: 100px;
  background: var(--mist); color: var(--teal-600); border: 1px solid var(--teal-100);
}

/* ===================================================================
   Vision / Mission
   =================================================================== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vm-card {
  background: #fff; border-radius: var(--radius); padding: 2.4rem;
  border: 1px solid var(--line); position: relative;
}
.vm-card .tag {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1rem;
}
.vm-card .tag .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-100); display: grid; place-items: center; }
.vm-card .tag .ico svg { width: 20px; height: 20px; }
.vm-card.gold .tag { color: #b9821b; }
.vm-card.gold .tag .ico { background: #fbf0d8; }
.vm-card p { color: var(--body); font-size: 1.05rem; }

/* ===================================================================
   Process steps
   =================================================================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step .n {
  font-family: var(--display); font-size: 2.4rem; color: var(--teal-100);
  font-weight: 600; line-height: 1; margin-bottom: .6rem;
  -webkit-text-stroke: 1px var(--teal-300);
}
.step h4 { font-size: 1.1rem; margin-bottom: .4rem; font-family: var(--sans); font-weight: 700; }
.step p { font-size: .92rem; margin: 0; color: var(--muted); }

/* ===================================================================
   Founder feature
   =================================================================== */
.founder { position: relative; }
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px,5vw,72px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo .img-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}
.founder-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.founder-photo .badge {
  position: absolute; right: -18px; top: 28px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 1rem 1.2rem;
  text-align: center; box-shadow: var(--shadow-lg);
}
.founder-photo .badge b { font-family: var(--display); font-size: 2rem; display: block; line-height: 1; color: var(--gold-300); }
.founder-photo .badge span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #aebfd0; }
.signature { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--navy); margin-top: 1rem; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.cred {
  display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem;
  background: var(--mist); border-radius: 14px; border: 1px solid var(--line);
}
.cred svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.cred b { display: block; color: var(--ink); font-size: .95rem; }
.cred span { font-size: .85rem; color: var(--muted); }

/* timeline */
.timeline { position: relative; margin-top: 1rem; padding-left: 2rem; }
.timeline::before { content:""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 1.8rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content:""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 4px var(--teal-100);
}
.tl-item .when { font-size: .82rem; font-weight: 700; color: var(--teal-600); letter-spacing: .04em; }
.tl-item h4 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin: .2rem 0 .3rem; }
.tl-item p { font-size: .95rem; margin: 0; }

/* ===================================================================
   Why choose / feature list
   =================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.why {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  display: flex; gap: 1.1rem; align-items: flex-start; transition: transform .3s, box-shadow .3s;
}
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why .ico { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--gold-300); }
.why .ico svg { width: 24px; height: 24px; }
.why h4 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.why p { font-size: .94rem; margin: 0; color: var(--muted); }

/* ===================================================================
   CTA band
   =================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, var(--teal-600) 0%, var(--navy) 55%, var(--navy-900) 100%);
  color: #d7e2ee; text-align: center;
}
.cta-band::before {
  content:""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 28px 28px; opacity: .5;
}
.cta-band .container { position: relative; z-index: 1; max-width: 760px; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { font-size: 1.12rem; color: #c2d2e2; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   Page hero (inner pages)
   =================================================================== */
.page-hero {
  background: radial-gradient(110% 130% at 80% 0%, #16314d, var(--navy) 55%, var(--navy-900));
  color: #c4d3e2; padding-block: clamp(70px, 8vw, 110px); position: relative; overflow: hidden;
}
.page-hero::before {
  content:""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 26px 26px; opacity: .55;
}
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; color: #b6c6d6; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #8ea3b8; margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--teal-300); }
.crumbs span { color: var(--gold-300); }

/* ===================================================================
   Contact
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.cinfo {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.cinfo:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cinfo .ico { width: 50px; height: 50px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-600); }
.cinfo .ico svg { width: 24px; height: 24px; }
.cinfo b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .15rem; }
.cinfo a, .cinfo p { color: var(--body); font-size: .96rem; margin: 0; }
.cinfo a:hover { color: var(--teal-600); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-success {
  display: none; align-items: center; gap: .7rem; padding: 1rem 1.2rem;
  background: #e6f6ea; border: 1px solid #b6e3c2; border-radius: 12px; color: #1f7a3d;
  font-weight: 600; margin-bottom: 1.4rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-weight: 540;
}
.faq-q .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 1.4rem; margin: 0; color: var(--body); }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--navy-900); color: #93a6b9; padding-top: clamp(56px,7vw,84px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(28px,4vw,48px); padding-bottom: 3rem; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand p { margin: 1.2rem 0 1.4rem; font-size: .95rem; max-width: 320px; }
.footer-col h5 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { font-size: .95rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--teal-300); padding-left: 4px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; margin-bottom: .8rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-300); flex: none; margin-top: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--teal); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom a:hover { color: var(--teal-300); }

/* ===================================================================
   Reveal animation
   =================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .grid-3, .why-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(12px);
    padding: 1rem var(--gutter) 1.6rem; gap: .2rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); z-index: 90; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-115%); opacity: 0; visibility: hidden;
    transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .3s ease, visibility .42s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  /* staggered link entrance */
  .nav-links a {
    padding: .9rem 1rem; border-radius: 12px; font-size: 1.05rem;
    opacity: 0; transform: translateY(-12px);
    transition: opacity .4s ease, transform .45s cubic-bezier(.22,1,.36,1), color .2s ease, background .2s ease;
  }
  .nav-links.open a { opacity: 1; transform: none; }
  .nav-links.open a:nth-child(1) { transition-delay: .10s; }
  .nav-links.open a:nth-child(2) { transition-delay: .16s; }
  .nav-links.open a:nth-child(3) { transition-delay: .22s; }
  .nav-links.open a:nth-child(4) { transition-delay: .28s; }
  .nav-links.open a:nth-child(5) { transition-delay: .34s; }
  .nav-links.open a:nth-child(6) { transition-delay: .40s; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--teal-100); }
  .nav-toggle { display: block; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .hero-grid, .split, .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-figure { max-width: 420px; margin-inline: auto; }
  .founder-photo { max-width: 380px; margin-inline: auto; }
  .vm-grid { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .why-grid, .steps, .vm-grid, .field-row, .cred-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { left: 0; right: auto; max-width: 230px; }
  .founder-photo .badge { right: 10px; }
  .service-block { grid-template-columns: 1fr; gap: 1rem; }
  .service-block .num { width: 50px; height: 50px; font-size: 1.25rem; }
  .split-media .dots { display: none; }
  .why { flex-direction: column; gap: .8rem; }
}
@media (max-width: 460px) {
  :root { --gutter: 18px; }
  section { padding-block: 54px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { justify-content: center; width: 100%; }
  .hero-card { position: static; margin-top: 1rem; max-width: none; }
  .founder-photo .badge { position: static; display: inline-flex; gap: .6rem; align-items: center; margin-top: 1rem; right: auto; }
  .founder-photo .badge b { font-size: 1.5rem; }
  .trust ul { grid-template-columns: 1fr; gap: .9rem; }
  .vm-card, .card, .form-card { padding: 1.6rem 1.4rem; }
  .stat { padding: 1.9rem 1.2rem 1.7rem; }
}

/* ---------- Mobile nav backdrop ---------- */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8,24,38,.42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }
@media (min-width: 861px) { .nav-backdrop { display: none; } }

/* ---------- Wide editorial banner ---------- */
.wide-figure {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wide-figure img {
  width: 100%; height: clamp(280px, 44vw, 480px); object-fit: cover; object-position: 50% 32%;
  display: block;
}
.wide-figure figcaption {
  position: absolute; inset: auto 0 0 0; padding: clamp(1.6rem, 4vw, 3rem);
  background: linear-gradient(to top, rgba(8,24,38,.92) 0%, rgba(8,24,38,.55) 55%, transparent 100%);
  color: #fff;
}
.wide-figure figcaption p {
  font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.8rem); line-height: 1.3;
  color: #fff; margin: .4rem 0 0; max-width: 640px; font-weight: 500;
}
.wide-figure figcaption cite {
  display: block; margin-top: .9rem; font-family: var(--sans); font-style: normal;
  font-size: .92rem; color: var(--gold-300); font-weight: 600; letter-spacing: .02em;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px);
  width: 48px; height: 48px; border-radius: 50%; border: none; z-index: 80;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-600); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s; transform: none; } }

/* ===================================================================
   Gallery (masonry) + Lightbox
   =================================================================== */
.gallery { column-count: 4; column-gap: 18px; }
.gallery.compact { column-count: 3; }
.g-item {
  display: block; position: relative; width: 100%; margin: 0 0 18px;
  border-radius: var(--radius); overflow: hidden; break-inside: avoid;
  box-shadow: var(--shadow-sm); cursor: zoom-in; background: var(--cream-2);
  transform: translateZ(0); -webkit-tap-highlight-color: transparent;
}
.g-item img {
  width: 100%; height: auto; display: block;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,24,38,.5), rgba(8,24,38,0) 45%);
  opacity: 0; transition: opacity .35s ease;
}
.g-item:hover { box-shadow: var(--shadow-lg); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; }
.g-zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--navy);
  transform: translateY(8px) scale(.85); opacity: 0; transition: transform .35s ease, opacity .35s ease;
  box-shadow: var(--shadow);
}
.g-zoom svg { width: 20px; height: 20px; }
.g-item:hover .g-zoom { transform: none; opacity: 1; }

/* Homepage teaser: uniform square filmstrip */
.g-teaser { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.g-teaser .g-item { margin: 0; break-inside: auto; }
.g-teaser .g-item img { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 900px) { .g-teaser { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .g-teaser { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: clamp(14px, 4vw, 48px);
  background: rgba(6,18,30,.92); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { position: relative; max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lb-img {
  max-width: 100%; max-height: 82vh; border-radius: 10px; display: block;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); background: #0c2236;
  transform: scale(.96); opacity: 0; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.lightbox.open .lb-img { transform: scale(1); opacity: 1; }
.lb-btn {
  position: absolute; z-index: 2; border: none; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  transition: background .25s ease, transform .2s ease, border-color .25s ease;
  backdrop-filter: blur(4px);
}
.lb-btn:hover { background: var(--teal); border-color: var(--teal); transform: scale(1.06); }
.lb-btn:active { transform: scale(.94); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev { left: clamp(-6px, -2vw, 0px); top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next { right: clamp(-6px, -2vw, 0px); top: 50%; transform: translateY(-50%); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-close { position: fixed; top: clamp(14px, 3vw, 26px); right: clamp(14px, 3vw, 26px); }
.lb-count {
  position: fixed; top: clamp(16px, 3vw, 30px); left: clamp(16px, 4vw, 30px);
  color: #cfe0ec; font-size: .92rem; font-weight: 600; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.lb-count b { color: #fff; }

@media (max-width: 1024px) { .gallery { column-count: 3; } .gallery.compact { column-count: 3; } }
@media (max-width: 680px)  {
  .gallery, .gallery.compact { column-count: 2; column-gap: 12px; }
  .g-item { margin-bottom: 12px; }
  .lb-img { max-height: 76vh; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 2px; } .lb-next { right: 2px; }
}
@media (max-width: 380px) { .gallery, .gallery.compact { column-count: 1; } }
@media (prefers-reduced-motion: reduce) {
  .g-item img, .g-zoom, .lb-img { transition: none; }
}
