/* ==========================================================================
   Bilge Hayatlar — Franchise landing
   ========================================================================== */

:root {
  --navy: #224254;
  --navy-900: #152c39;
  --navy-800: #1b3646;
  --teal: #0dbbb4;
  --teal-600: #0a9f99;
  --teal-50: #e6f7f6;
  --ink: #224254;
  --muted: rgba(34, 66, 84, .66);
  --line: rgba(34, 66, 84, .12);
  --bg: #ffffff;
  --bg-soft: #f2f8f9;
  --wa: #25d366;

  --font-head: "Figtree", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --shadow-sm: 0 4px 14px rgba(21, 44, 57, .06);
  --shadow-md: 0 18px 50px -12px rgba(21, 44, 57, .18);
  --shadow-lg: 0 40px 80px -24px rgba(21, 44, 57, .28);

  --hdr-h: 84px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display, .h2, .h3, .h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.025em; }
.display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.08; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.h4 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.8; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--teal); }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w__i { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 30px; border: 0; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { font-size: 1.15rem; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -12px rgba(34, 66, 84, .6); }
.btn--primary:hover { background: var(--teal-600); }
.btn--accent { background: var(--teal); color: #fff; }
.btn--accent:hover { background: #fff; color: var(--navy); }
.btn--sm { height: 46px; padding: 0 22px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--teal); padding-bottom: 2px;
  transition: color .3s;
}
.link-arrow:hover { color: var(--teal-600); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr-h);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease), transform .45s var(--ease);
}
.hdr::before {
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 24, 32, .55), transparent);
  transition: opacity .45s;
}
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo { position: relative; width: 190px; flex-shrink: 0; }
.hdr__logo img { width: 100%; transition: opacity .4s; }
.hdr__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.hdr__nav { display: flex; gap: 32px; margin-left: auto; }
.hdr__nav a {
  position: relative; font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: rgba(255, 255, 255, .9);
  transition: color .3s;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.hdr.is-solid { height: 72px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-solid .logo-light { opacity: 0; }
.hdr.is-solid .logo-dark { opacity: 1; }
.hdr.is-solid .hdr__nav a { color: var(--ink); }
.hdr.is-solid .btn--accent:hover { background: var(--navy); color: #fff; }

/* ---------- Mobile menu ---------- */
.hdr__burger {
  display: none; position: relative; width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .08); padding: 0;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.hdr__burger span {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: #fff;
  transition: transform .45s var(--ease), background-color .35s, width .35s var(--ease);
}
.hdr__burger span:first-child { transform: translateY(-4px); }
.hdr__burger span:last-child { transform: translateY(4px); width: 12px; }
.hdr.is-solid .hdr__burger { border-color: var(--line); background: var(--bg-soft); }
.hdr.is-solid .hdr__burger span { background: var(--navy); }

.mnav {
  position: fixed; inset: 0; z-index: 95; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--hdr-h) + 24px) 0 calc(32px + env(safe-area-inset-bottom));
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(13, 187, 180, .22), transparent 70%),
    var(--navy-900);
  color: #fff;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s cubic-bezier(.77, 0, .18, 1), visibility 0s .7s;
}
.mnav__in { display: flex; flex-direction: column; min-height: 100%; }
.mnav__list { border-top: 1px solid rgba(255, 255, 255, .1); }
.mnav__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mnav__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 7vw, 2.2rem); letter-spacing: -.02em; line-height: 1.15;
  transition: color .3s, padding-left .4s var(--ease);
}
.mnav__list a:hover, .mnav__list a:focus-visible { color: var(--teal); padding-left: 6px; }
.mnav__list small { font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--teal); min-width: 22px; }
.mnav__cta { margin-top: 28px; height: 56px; }
.mnav__cta:hover { background: #fff; color: var(--navy); }
.mnav__contact { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; font-size: .9rem; color: rgba(255, 255, 255, .72); }
.mnav__contact a { display: flex; align-items: center; gap: 12px; }
.mnav__contact svg { font-size: 1.15rem; color: var(--teal); }

/* staggered entrance */
.mnav__list li, .mnav__cta, .mnav__contact { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }

body.menu-open { overflow: hidden; }
body.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s cubic-bezier(.77, 0, .18, 1), visibility 0s; }
body.menu-open .mnav__list li, body.menu-open .mnav__cta, body.menu-open .mnav__contact {
  opacity: 1; transform: none; transition-delay: calc(.28s + var(--i) * .05s);
}
body.menu-open .dock { opacity: 0; pointer-events: none; }
.dock { transition: opacity .3s; }

/* header while menu is open: always dark */
body.menu-open .hdr { background: var(--navy-900); box-shadow: none; }
body.menu-open .hdr .logo-light { opacity: 1; }
body.menu-open .hdr .logo-dark { opacity: 0; }
body.menu-open .hdr__cta { opacity: 0; pointer-events: none; }
body.menu-open .hdr__burger { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); }
body.menu-open .hdr__burger span { background: #fff; width: 18px; }
body.menu-open .hdr__burger span:first-child { transform: rotate(45deg); }
body.menu-open .hdr__burger span:last-child { transform: rotate(-45deg); }

/* ---------- Video ---------- */
.video { position: relative; background: #0b1820; overflow: hidden; }
.video__frame {
  position: relative; width: 100%;
  height: min(100svh, 56.25vw);
  overflow: hidden;
}
.video__player,
.video__frame iframe {
  position: absolute; left: 50%; top: 50%;
  width: 100vw; height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
/* Desktop: oversize slightly so YouTube's title strip falls outside the frame */
@media (min-width: 900px) {
  .video__player,
  .video__frame iframe { width: calc(100vw + 250px); height: calc(56.25vw + 140px); }
}
.video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.video.is-playing .video__poster { opacity: 0; }
/* slow drift so the cover feels alive while the player warms up */
.video:not(.is-playing) .video__poster { animation: posterDrift 6s var(--ease) forwards; }
@keyframes posterDrift { from { transform: scale(1); } to { transform: scale(1.06); } }
.video__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 24, 32, .7) 0%, rgba(10, 24, 32, 0) 32%);
}
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%) scale(.85);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.video__play span {
  display: grid; place-items: center; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); animation: playPulse 2.4s infinite;
  transition: background-color .3s, color .3s;
}
.video__play svg { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-left: 4px; fill: currentColor; }
.video__play:hover span { background: #fff; color: var(--navy); }
.video.needs-tap .video__play { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } }

.video__ui {
  position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vw, 48px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.video__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; letter-spacing: .02em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(13, 187, 180, .7); animation: pulse 2.2s infinite; }
.video__ctrls { display: flex; gap: 10px; }
.vbtn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  transition: background-color .3s, color .3s;
}
.vbtn:hover { background: #fff; color: var(--navy); }
.vbtn svg { font-size: 1.2rem; }
.vbtn--icon { width: 48px; padding: 0; justify-content: center; }
.vbtn .i-sound, .vbtn .i-play { display: none; }
.vbtn[aria-pressed="true"] .i-sound { display: block; }
.vbtn[aria-pressed="true"] .i-muted { display: none; }
.vbtn.is-paused .i-play { display: block; }
.vbtn.is-paused .i-pause { display: none; }

.video__scroll {
  position: absolute; left: 50%; bottom: clamp(24px, 4vw, 48px); transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px;
}
.video__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }

/* ---------- Intro ---------- */
.intro { position: relative; padding: var(--section) 0; overflow: hidden; }
.intro__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(13, 187, 180, .16), transparent 70%),
    linear-gradient(180deg, #eef8f8 0%, #f7fbfc 60%, #fff 100%);
}
.intro__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro .display { margin-bottom: 28px; }
.intro .lead { max-width: 540px; margin-bottom: 40px; }
.intro__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

.intro__visual { position: relative; padding: 0 0 70px 60px; }
.pic { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #dcecee; }
.pic img { width: 100%; height: 118%; object-fit: cover; }
.pic--main { aspect-ratio: 4 / 4.6; }
.pic--sub {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1.05;
  border: 8px solid #fff; border-radius: 28px; box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md); font-size: .86rem; line-height: 1.4; color: var(--muted);
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.float-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  background: var(--teal); color: #fff; font-size: 1.3rem;
}
.float-card--a { top: 40px; left: 0; }
.float-card--b { right: -18px; bottom: 120px; padding: 16px 22px; }
.float-card__num { font-size: 2.6rem !important; line-height: 1; color: var(--teal-600) !important; }

/* ---------- Services ---------- */
.services { padding-bottom: var(--section); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff;
  min-height: 460px; display: flex; align-items: flex-end; isolation: isolate;
}
.svc__media { position: absolute; inset: 0; z-index: -1; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 44, 57, .05) 25%, rgba(21, 44, 57, .88) 100%); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__body { padding: clamp(28px, 3.4vw, 44px); max-width: 520px; }
.svc__num { display: block; font-family: var(--font-head); font-weight: 700; color: var(--teal); margin-bottom: 12px; letter-spacing: .1em; }
.svc .h3 { color: #fff; margin-bottom: 10px; }
.svc p { color: rgba(255, 255, 255, .82); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(34, 66, 84, .35); white-space: nowrap;
}
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ---------- Offer ---------- */
.offer { padding: var(--section) 0; }
.offer__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.offer__head { position: sticky; top: 130px; }
.offer__head .h2 { margin-bottom: 22px; }
.offer__progress { margin-top: 40px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 320px; }
.offer__progress span { display: block; height: 100%; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.offer__list { display: grid; gap: 20px; }
.step {
  display: flex; gap: 24px; padding: 34px; border-radius: var(--r-md);
  background: var(--bg-soft); border: 1px solid transparent;
  transition: background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.step__icon {
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; flex-shrink: 0;
  background: #fff; color: var(--teal-600); font-size: 1.6rem; box-shadow: var(--shadow-sm);
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
.step__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; color: var(--teal-600); margin-bottom: 6px; }
.step .h4 { margin-bottom: 8px; }
.step.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.step.is-active .step__icon { background: var(--teal); color: #fff; }

/* ---------- Criteria ---------- */
.criteria { position: relative; padding: var(--section) 0; background: var(--navy-900); color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate; }
.criteria__bg { position: absolute; inset: -10% 0; z-index: -1; opacity: .16; }
.criteria__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.criteria::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 90% 0%, rgba(13, 187, 180, .28), transparent 70%), linear-gradient(180deg, rgba(21, 44, 57, .4), var(--navy-900));
}
.criteria__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.criteria .h2 { color: #fff; margin-bottom: 18px; }
.criteria__note { color: rgba(255, 255, 255, .65); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 40px 32px 40px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: 1; color: #fff; letter-spacing: -.035em; display: flex; align-items: baseline; gap: 10px; }
.stat__num small { font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 700; color: var(--teal); letter-spacing: 0; }
.stat__label { margin-top: 14px; font-size: .98rem; color: rgba(255, 255, 255, .7); max-width: 260px; }

.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.req {
  display: flex; gap: 20px; padding: 32px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .4s, border-color .4s;
}
.req:hover { background: rgba(255, 255, 255, .08); border-color: rgba(13, 187, 180, .45); }
.req__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(13, 187, 180, .16); color: var(--teal); font-size: 1.5rem; flex-shrink: 0; }
.req .h4 { color: #fff; margin-bottom: 6px; }

/* ---------- Handbook ---------- */
.handbook { padding: var(--section) 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); overflow: hidden; }
.handbook__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.handbook__copy .h2 { margin-bottom: 22px; }
.handbook__copy .muted + .muted { margin-top: 14px; }

.book-wrap { display: grid; place-items: center; perspective: 1600px; padding: 40px 0; }
.book {
  position: relative; width: min(360px, 74vw); aspect-ratio: 3 / 4;
  transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg);
}
.book__cover {
  position: absolute; inset: 0; z-index: 2; border-radius: 6px 18px 18px 6px; overflow: hidden;
  padding: 36px 34px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(13, 187, 180, .35), transparent 60%),
    linear-gradient(160deg, #27506a 0%, var(--navy) 45%, var(--navy-900) 100%);
  box-shadow: inset 6px 0 0 rgba(0, 0, 0, .25), inset 12px 0 18px -6px rgba(0, 0, 0, .3), 30px 40px 70px -20px rgba(21, 44, 57, .55);
  color: #fff;
}
.book__cover img { width: 150px; }
.book__kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.book__title { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.03em; margin: 10px 0 12px; }
.book__sub { color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.5; max-width: 220px; }
.book__mark { position: absolute; right: 34px; top: 0; width: 22px; height: 64px; background: var(--teal); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.book__pages {
  position: absolute; top: 6px; bottom: 6px; right: -14px; width: 28px; z-index: 1;
  border-radius: 0 6px 6px 0;
  background: repeating-linear-gradient(90deg, #fff 0 2px, #e3eaec 2px 3px);
  transform: translateZ(-14px);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem;
}
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------- Process ---------- */
.process { position: relative; padding: var(--section) 0; }
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; z-index: 1; }
.tl { position: relative; text-align: center; padding: 0 8px; }
.tl__dot {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 26px;
  border-radius: 50%; background: #fff; border: 2px solid var(--teal); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 10px #fff;
}
.tl .h4 { margin-bottom: 8px; }
.timeline-wrap { position: relative; }
.timeline__line { position: absolute; left: calc(12.5% - 12px); right: calc(12.5% - 12px); top: 31px; height: 2px; background: var(--line); pointer-events: none; }
.timeline__line span { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; background: var(--bg-soft); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__head .h2 { margin-bottom: 20px; }
.faq__head .muted { margin-bottom: 28px; }
.acc { display: grid; gap: 14px; }
.acc__item { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; overflow: hidden; }
.acc__item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.acc__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.4;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__ico { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-50); flex-shrink: 0; transition: background-color .4s, transform .5s var(--ease); }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal-600); border-radius: 2px; transition: transform .4s var(--ease), background-color .4s; }
.acc__ico::after { transform: rotate(90deg); }
.acc__item[open] .acc__ico { background: var(--teal); transform: rotate(180deg); }
.acc__item[open] .acc__ico::before, .acc__item[open] .acc__ico::after { background: #fff; }
.acc__item[open] .acc__ico::after { transform: rotate(0); }
.acc__body { padding: 0 28px 26px; }

/* ---------- Apply ---------- */
.apply { padding: var(--section) 0; }
.apply__grid {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px);
  padding: clamp(36px, 5vw, 72px); border-radius: var(--r-xl);
  background:
    radial-gradient(60% 60% at 0% 100%, rgba(13, 187, 180, .25), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, .78);
  max-width: calc(1240px - 2 * var(--gutter));
}
.apply__aside .h2 { color: #fff; margin-bottom: 18px; }
.contact-list { margin-top: 40px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list a { color: #fff; font-weight: 500; line-height: 1.5; padding-top: 10px; transition: color .3s; }
.contact-list a:hover { color: var(--teal); }
.ci { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--teal); font-size: 1.25rem; flex-shrink: 0; }

.form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; color: var(--muted); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft);
  padding: 14px 16px; min-height: 52px; transition: border-color .3s, background-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23224254' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(13, 187, 180, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid .seg span { border-color: #d64545; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: grid; place-items: center; min-height: 52px; padding: 8px 10px; text-align: center; line-height: 1.25;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft);
  font-size: .9rem; color: var(--ink); cursor: pointer; transition: all .3s;
}
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(13, 187, 180, .3); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.consent svg { font-size: 1.05rem; color: var(--teal-600); margin-top: 2px; }
.consent a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(13, 187, 180, .6); }
.consent a:hover { color: var(--teal-600); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: .92rem; min-height: 0; }
.form__msg:empty { display: none; }
.form__msg.is-error { color: #c13a3a; }
.form__msg.is-ok { color: var(--teal-600); font-weight: 600; }
.form.is-sent { text-align: center; place-items: center; padding-block: 80px; }
.sent__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-900); color: rgba(255, 255, 255, .66); padding: clamp(64px, 8vw, 96px) 0 40px; font-size: .92rem; }
.ftr__brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__logo img { width: 220px; }
.ftr__tagline { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #fff; }
.ftr__grid { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 40px; padding: 48px 0; }
.ftr__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: -.01em; margin-bottom: 20px; }
.ftr__list { display: grid; gap: 12px; }
.ftr__list a { position: relative; display: inline-block; padding-left: 28px; line-height: 1.5; transition: color .3s; }
.ftr__list a::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(13, 187, 180, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230dbbb4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ftr__list a:hover { color: #fff; }
.ftr__map { padding: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ftr__map-frame { border-radius: var(--r-md); overflow: hidden; height: 280px; background: rgba(255, 255, 255, .05); }
.ftr__map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.ftr__notice { margin-top: 44px; padding: 28px 32px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ftr__notice .ftr__title { margin-bottom: 10px; font-size: .98rem; }
.ftr__notice p { font-size: .86rem; line-height: 1.75; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.ftr__bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr__map-frame { height: 240px; }
  .ftr__notice { padding: 22px 20px; }
  .ftr__bottom { flex-direction: column; }
}

/* ---------- Dock (quick contact) ---------- */
.dock {
  position: fixed; z-index: 90; display: flex; align-items: center;
  background: linear-gradient(180deg, #24465a, var(--navy-900));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 50px -12px rgba(10, 24, 32, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
}
.dock__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .9); transition: color .3s;
}
.dock__item > svg { font-size: 1.5rem; transition: transform .35s var(--ease); }
.dock__item:hover { color: var(--teal); }
.dock__item:hover > svg { transform: translateY(-2px); }
.dock__wa {
  position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(160deg, #23d2ca, var(--teal-600)); color: #fff;
  box-shadow: 0 0 0 8px rgba(13, 187, 180, .16), 0 14px 26px -8px rgba(13, 187, 180, .7);
  transition: transform .4s var(--ease);
}
.dock__wa svg { font-size: 2.1rem; }
.dock__item--wa:hover .dock__wa { transform: scale(1.06); }
.dock__item--wa:hover { color: #fff; }
.dock__live { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--wa); border: 3px solid var(--navy-900); }
.dock__live::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2s infinite; }

/* Desktop: right middle, vertical — keep content clear of it */
@media (min-width: 900px) {
  .container { max-width: min(1240px, calc(100vw - 180px)); }
  .apply__grid { max-width: min(1160px, calc(100vw - 260px)); }
  .dock {
    right: 18px; top: 50%; transform: translateY(-50%);
    flex-direction: column; gap: 2px; width: 62px; padding: 10px 0; border-radius: 31px;
    background: rgba(21, 44, 57, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 16px 36px -14px rgba(10, 24, 32, .55);
  }
  .dock__item { width: 100%; padding: 9px 0; gap: 5px; font-size: .52rem; letter-spacing: .1em; font-weight: 600; color: rgba(255, 255, 255, .78); }
  .dock__item > svg { font-size: 1.12rem; stroke-width: 1.7; }
  .dock__item--wa { padding: 6px 0 9px; }
  .dock__wa { width: 42px; height: 42px; box-shadow: 0 0 0 4px rgba(13, 187, 180, .16), 0 8px 16px -6px rgba(13, 187, 180, .7); }
  .dock__wa svg { font-size: 1.3rem; }
  .dock__live { width: 11px; height: 11px; top: -1px; right: -1px; border-width: 2px; }
}
}

/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(13, 187, 180, .7); } 70%, 100% { box-shadow: 0 0 0 12px rgba(13, 187, 180, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .hdr__in { gap: 12px; }
  .hdr__burger { display: block; }
}
@media (min-width: 1101px) {
  .mnav { display: none; }
}
@media (max-width: 360px) {
  .hdr__cta { display: none; }
  .hdr__burger { margin-left: auto; }
}

@media (max-width: 960px) {
  .intro__grid, .offer__grid, .handbook__grid, .faq__grid, .apply__grid { grid-template-columns: 1fr; }
  .intro__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .offer__head { position: static; }
  .offer__progress { display: none; }
  .handbook__grid .book-wrap { order: 2; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 30px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid rgba(255, 255, 255, .14); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline__line { display: none; }
}

/* Mobile: header solid above the video, dock pinned to bottom */
@media (max-width: 899px) {
  :root { --hdr-h: 64px; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hdr { background: var(--navy-900); height: var(--hdr-h); }
  .hdr::before { display: none; }
  .hdr.is-solid { height: var(--hdr-h); }
  .hdr__logo { width: 150px; }
  .video { padding-top: var(--hdr-h); }
  .video__frame { height: 56.25vw; }
  .video__player,
  .video__frame iframe { width: calc(100vw + 86px); height: calc(56.25vw + 48px); }
  .video__tag, .video__scroll { display: none; }
  .video__ui { bottom: 12px; justify-content: flex-end; }
  .vbtn { height: 38px; padding: 0 14px; font-size: .8rem; }
  .vbtn--icon { width: 38px; padding: 0; }
  .vbtn svg { font-size: 1rem; }

  /* compact floating glass bar */
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .dock {
    left: 0; right: 0; margin-inline: auto; width: min(290px, calc(100vw - 32px));
    bottom: calc(14px + env(safe-area-inset-bottom));
    height: 54px; border-radius: 27px; padding: 0 6px;
    background: rgba(21, 44, 57, .78);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 14px 34px -14px rgba(10, 24, 32, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  }
  .dock__item {
    flex: 1; height: 100%; gap: 3px;
    font-size: .58rem; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .8);
    -webkit-tap-highlight-color: transparent; transition: color .3s, transform .2s;
  }
  .dock__item:active { transform: scale(.94); }
  .dock__item > svg { font-size: 1.12rem; stroke-width: 1.7; }
  .dock__item--wa { justify-content: flex-end; padding-bottom: 7px; }
  .dock__wa {
    position: absolute; top: -14px; left: 50%; margin-left: -22px; width: 44px; height: 44px;
    box-shadow: 0 0 0 4px rgba(21, 44, 57, .9), 0 10px 18px -8px rgba(13, 187, 180, .8);
  }
  .dock__wa svg { font-size: 1.35rem; }
  .dock__item--wa > span:last-child { margin-top: auto; }
  .dock__live { width: 10px; height: 10px; top: 0; right: 0; border-width: 2px; }
  .dock__live::after { inset: -2px; border-width: 1.5px; }
}

@media (max-width: 640px) {
  .services__grid, .reqs, .form__row { grid-template-columns: 1fr; }
  .svc { min-height: 400px; }
  .intro__visual { padding: 0 0 50px 30px; }
  .float-card { padding: 12px 16px 12px 12px; font-size: .78rem; }
  .float-card__icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .float-card--a { top: 20px; left: 0; }
  .float-card--b { right: -6px; bottom: 80px; }
  .float-card__num { font-size: 2rem !important; }
  .step { padding: 24px; gap: 18px; flex-direction: column; }
  .step__icon { width: 54px; height: 54px; }
  .req { padding: 24px; }
  .timeline { grid-template-columns: 1fr; text-align: left; }
  .tl { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .tl__dot { grid-row: span 2; width: 52px; height: 52px; margin: 0; font-size: 1.1rem; box-shadow: none; }
  .apply { padding-inline: 0; }
  .apply > .container { padding-inline: 12px; }
  .apply__grid { border-radius: 30px; padding: 32px 18px 18px; }
  .apply__aside { padding-inline: 6px; }
  .form { border-radius: 22px; }
  .acc__item summary { padding: 20px; font-size: 1rem; }
  .acc__body { padding: 0 20px 22px; }
  .intro__actions { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
