/* ==========================================================
   SYNAPSIS — Beyin Akademisi · Koçluk
   Palette: logo navy #003062 · ink · white
   ========================================================== */

:root {
  --navy: #003062;
  --navy-deep: #001a38;
  --navy-ink: #000f22;
  --ink: #0a0c10;
  --paper: #ffffff;
  --bone: #f7f7f4;
  --mist: #eef1f5;
  --text: #1c2230;
  --muted: #5d6576;
  --line: rgba(0, 48, 98, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  --f-display: "Newsreader", Georgia, serif;
  --f-label: "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  font-optical-sizing: none;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--navy); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 13vw, 180px) 0; }

/* ---------- Typography helpers ---------- */
.label, .eyebrow {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 5px rgba(0,48,98,.1); }

.title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.title em, .statement em, .hero__title em { color: var(--navy); }

.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.section-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--navy);
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
}
.section-head::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--line); }
.section-head--light .label, .section-head--light .section-num { color: #fff; }
.section-head--light .section-num { border-color: var(--line-light); }
.section-head--light::after { background: var(--line-light); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--f-label);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 19px 34px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn .arrow { transition: transform .5s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(6px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }

.btn--primary { --bg: var(--navy); --fg: #fff; }
.btn--primary::before { background: var(--ink); }

.btn--ghost { border-color: var(--line); --fg: var(--navy); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: #fff; border-color: var(--navy); }

.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light::before { background: var(--bone); }

.btn--sm { padding: 12px 22px; font-size: 13px; }

.btn--link { padding: 0 0 6px; border-bottom: 1px solid var(--navy); color: var(--navy); }
.btn--link::before { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  height: 72px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.header__logo { position: relative; display: block; width: 168px; }
.header__logo img { width: 100%; height: auto; transition: opacity .4s; }
.header__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.header__nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.header__nav a {
  font-family: var(--f-label); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  position: relative; padding: 6px 0;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__nav a.is-active { color: var(--navy); }
.header__actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative;
  transition: border-color .4s, background .4s;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1px; background: var(--ink);
  transition: transform .5s var(--ease), background .4s;
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle { border-color: var(--line-light); }
.menu-open .menu-toggle span { background: #fff; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .header { background: transparent; border-color: transparent; backdrop-filter: none; }
.menu-open .header__logo .logo-dark { opacity: 0; }
.menu-open .header__logo .logo-light { opacity: 1; }
.menu-open .header__nav, .menu-open .header__actions .btn { opacity: 0; pointer-events: none; }

/* ---------- Overlay ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-deep);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  color: #fff;
}
.menu-open .overlay { clip-path: inset(0 0 0 0); }
.overlay__inner {
  height: 100%; max-width: var(--container); margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) 48px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: end;
}
.overlay__nav { display: flex; flex-direction: column; }
.overlay__nav a {
  font-family: var(--f-display); font-size: clamp(34px, 5.2vh, 60px); line-height: 1.22;
  display: flex; align-items: baseline; gap: 22px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s, padding .5s var(--ease);
}
.overlay__nav a i { font-family: var(--f-label); font-style: normal; font-size: 13px; letter-spacing: .12em; opacity: .5; }
.overlay__nav a:hover { color: #9fb7d6; padding-left: 16px; font-style: italic; }
.menu-open .overlay__nav a { opacity: 1; transform: none; }
.menu-open .overlay__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .overlay__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .overlay__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .overlay__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .overlay__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .overlay__nav a:nth-child(6) { transition-delay: .5s; }
.menu-open .overlay__nav a:nth-child(7) { transition-delay: .55s; }
.overlay__aside { border-left: 1px solid var(--line-light); padding-left: 40px; opacity: 0; transition: opacity .8s .5s; }
.menu-open .overlay__aside { opacity: 1; }
.overlay__icon { width: 90px; margin-bottom: 36px; opacity: .9; }
.overlay__aside .label { color: #9fb7d6; margin-bottom: 16px; }
.overlay__aside li { font-size: 15px; color: rgba(255,255,255,.72); padding: 7px 0; border-bottom: 1px solid var(--line-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(0,48,98,.06), transparent 60%),
    var(--paper);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center;
  flex: 1;
}
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(52px, min(7.4vw, 12.5vh), 124px);
  line-height: 1; letter-spacing: -0.025em; color: var(--ink);
  margin: 26px 0 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line:nth-child(2) { padding-left: .9em; }
.hero__title .line:nth-child(4) { padding-left: 1.6em; }
.hero__lead { max-width: 480px; color: var(--muted); font-size: 18px; }
.hero__cta { display: flex; align-items: center; gap: 36px; margin-top: 44px; flex-wrap: wrap; }

.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.arch {
  aspect-ratio: 4 / 5.3; overflow: hidden;
  border-radius: 999px 999px 0 0;
  position: relative;
}
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,48,98,0) 50%, rgba(0,26,56,.55)); }
.arch img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(.35) contrast(1.05); will-change: transform; }
.hero__badge {
  position: absolute; left: -64px; bottom: 48px; z-index: 2;
  width: 290px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,26,56,.35);
  display: flex; flex-direction: column; gap: 14px;
}
.hero__badge p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.hero__badge strong { color: var(--navy); font-weight: 600; }
.hero__vertical {
  position: absolute; right: -44px; top: 50%;
  transform: translateY(-50%) rotate(90deg); transform-origin: center;
  font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.hero__foot {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px; padding-bottom: 36px;
}
.scroll-cue { display: flex; align-items: center; gap: 16px; font-family: var(--f-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.scroll-cue__line { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--navy); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
.hero__tags { display: flex; gap: 28px; }
.hero__tags li { font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 28px; }
.hero__tags li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--navy); }

/* Load-in animations */
.load-up { display: inline-block; transform: translateY(105%); animation: up 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
.load-in { opacity: 0; transform: translateY(24px); animation: fadeUp 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes up { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 3vw, 40px); white-space: nowrap; }
.marquee__track i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); flex: none; position: relative; }
.marquee__track i::after { content: ""; position: absolute; inset: 2px; background: #fff; border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.statement {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(30px, 3.9vw, 58px); line-height: 1.18; letter-spacing: -0.015em;
  color: var(--ink); max-width: 1120px;
}
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 8vw, 140px); margin-top: clamp(64px, 8vw, 120px); }
.about__text p { color: var(--muted); margin-bottom: 22px; }
.about__text strong { color: var(--navy); font-weight: 600; }
.about__text .btn { margin-top: 18px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pillars li { padding: 36px 28px 36px 0; border-bottom: 1px solid var(--line); }
.pillars li:nth-child(odd) { border-right: 1px solid var(--line); }
.pillars li:nth-child(even) { padding-left: 32px; }
.pillars__num { font-family: var(--f-display); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--navy); display: block; margin-bottom: 14px; }
.pillars p { font-size: 15px; color: var(--muted); max-width: 240px; line-height: 1.55; }

/* ---------- Tests ---------- */
.tests { position: relative; background: var(--navy-deep); color: #fff; padding: clamp(96px, 12vw, 170px) 0; overflow: hidden; isolation: isolate; }
.tests__bg { position: absolute; inset: 0; z-index: -1; }
.tests__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1); }
.tests__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(0,26,56,.82) 40%, var(--navy-ink) 100%); }
.tests__announce {
  font-family: var(--f-display); font-size: clamp(34px, 4.8vw, 72px); line-height: 1.1; letter-spacing: -0.02em;
  max-width: 1080px;
}
.tests__announce em { color: #a9c1e0; }
.tests__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(56px, 7vw, 96px); }
.test-card {
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--line-light);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  backdrop-filter: blur(6px);
  transition: border-color .6s var(--ease), transform .8s var(--ease), background .6s;
}
.test-card:hover { border-color: rgba(255,255,255,.4); transform: translateY(-6px); }
.test-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.test-card__tag { font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border: 1px solid var(--line-light); border-radius: 99px; color: #cfdbeb; }
.test-card__icon { width: 54px; color: #a9c1e0; }
.test-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 18px; }
.test-card > p { color: rgba(255,255,255,.72); font-size: 16px; }
.test-card__list { margin: 30px 0; border-top: 1px solid var(--line-light); }
.test-card__list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; color: rgba(255,255,255,.72); }
.test-card__list span { font-family: var(--f-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding-top: 2px; }
.test-card__note { font-size: 13.5px !important; color: rgba(255,255,255,.5) !important; font-style: italic; line-height: 1.6; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services__head { display: grid; grid-template-columns: 1fr; margin-bottom: 64px; }
.services__head .title { max-width: 900px; }
.services__intro { max-width: 520px; color: var(--muted); margin-top: 28px; margin-left: auto; }

.service-index { border-top: 1px solid var(--ink); margin-bottom: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.service-index a {
  display: flex; align-items: baseline; gap: 22px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); color: var(--ink);
  transition: color .4s, padding .5s var(--ease);
}
.service-index a span { font-family: var(--f-label); font-size: 13px; letter-spacing: .12em; color: var(--navy); }
.service-index a:hover { color: var(--navy); padding-left: 12px; font-style: italic; }

.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  padding: clamp(56px, 7vw, 100px) 0;
  border-top: 1px solid var(--line);
}
.service--rev .service__media { order: 2; }
.service__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.service__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.85) contrast(1.05) brightness(1.02);
  transform: scale(1.08);
  transition: filter 1.2s var(--ease), transform 1.6s var(--ease);
}
.service__media::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: soft-light; opacity: .55; transition: opacity 1s var(--ease); pointer-events: none; }
.service:hover .service__media img { filter: grayscale(0) contrast(1); transform: scale(1.02); }
.service:hover .service__media::after { opacity: 0; }
.service__num {
  position: absolute; left: 24px; bottom: 6px; z-index: 2;
  font-family: var(--f-display); font-style: italic; font-size: clamp(90px, 10vw, 150px); line-height: 1;
  color: #fff; mix-blend-mode: difference; opacity: .9;
}
.service--rev .service__num { left: auto; right: 24px; }
.service__body h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); margin: 16px 0 26px; }
.service__lead { font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--navy); margin-bottom: 22px; }
.service__body > p:not(.label):not(.service__lead) { color: var(--muted); }
.service__meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin: 38px 0 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.meta-title { font-family: var(--f-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 1px; background: var(--navy); }
.checks li::after { content: ""; position: absolute; left: 10px; top: calc(.55em - 2px); width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--navy); }

/* ---------- Method ---------- */
.method { background: var(--bone); }
.method__head { display: flex; flex-direction: column; margin-bottom: clamp(64px, 8vw, 110px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; top: 7px; height: 1px; width: var(--progress, 0%); background: var(--navy); transition: width 1.8s var(--ease); }
.step { padding-right: 36px; position: relative; }
.step__node { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--bone); border: 1px solid var(--navy); position: relative; z-index: 1; margin-bottom: 40px; transition: background .6s .4s; }
.step.is-visible .step__node { background: var(--navy); box-shadow: 0 0 0 6px rgba(0,48,98,.08); }
.step__num { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--navy); }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); color: var(--ink); margin: 10px 0 14px; line-height: 1.15; }
.step p { font-size: 15.5px; color: var(--muted); }

.method__banner { margin-top: clamp(80px, 10vw, 140px); position: relative; overflow: hidden; aspect-ratio: 21 / 8; }
.method__banner img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) brightness(.75); will-change: transform; }
.method__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,26,56,.92) 0%, rgba(0,48,98,.55) 55%, rgba(0,48,98,.2)); }
.method__banner figcaption { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(28px, 6vw, 96px); color: #fff; }
.method__banner .quote { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 3.6vw, 54px); line-height: 1.15; max-width: 720px; margin-bottom: 24px; }
.method__banner .label { color: #a9c1e0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.faq__side { position: sticky; top: 130px; }
.faq__side > p { color: var(--muted); margin: 26px 0 36px; max-width: 360px; }
.accordion { border-top: 1px solid var(--ink); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 0;
  font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.3; color: var(--ink);
  transition: color .3s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--navy); }
.acc__icon { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .4s, border-color .4s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon { background: var(--navy); border-color: var(--navy); }
.acc[open] .acc__icon::before, .acc[open] .acc__icon::after { background: #fff; }
.acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { padding: 0 60px 32px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; padding: clamp(96px, 12vw, 170px) 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -8%; top: -10%; width: 60%; aspect-ratio: 1.5;
  background: url("../logo/synapsis-icon-white.png") no-repeat center / contain; opacity: .045; pointer-events: none;
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 130px); position: relative; }
.contact__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 26px; }
.contact__title em { color: #a9c1e0; }
.contact__intro > p { color: rgba(255,255,255,.7); max-width: 440px; }
.contact__info { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.contact__info .label { color: #a9c1e0; font-size: 12px; }
.contact__info p { font-size: 16px; margin-top: 6px; color: #fff; }

.form { display: flex; flex-direction: column; gap: 26px; padding-top: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: #fff; background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 10px 0 12px; outline: none; border-radius: 0; resize: vertical;
  transition: border-color .4s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='white' stroke-width='1.2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { color: var(--ink); }
.field.is-invalid input { border-color: #ff9b9b; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.5; cursor: pointer; }
.consent input { accent-color: #fff; margin-top: 3px; }
.form .btn { align-self: flex-start; margin-top: 8px; }
.form__status { font-size: 14px; color: #cfdbeb; min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-ink); color: rgba(255,255,255,.7); padding: 96px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; padding-bottom: 72px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: 250px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols .label { color: #fff; margin-bottom: 20px; font-size: 12px; }
.footer__cols a { display: block; font-size: 15px; padding: 5px 0; transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: #fff; transform: translateX(4px); }
.footer__claim-unused { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 2.2vw, 30px); color: #fff; padding: 48px 0; border-bottom: 1px solid var(--line-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 13.5px; flex-wrap: wrap; }
.to-top { font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.service__media.reveal { clip-path: inset(12% 0 0 0); transform: none; transition: opacity 1s var(--ease), clip-path 1.6s var(--ease); }
.service__media.reveal.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .hero__badge { left: -24px; }
  .hero__vertical { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 20px; }
  .hero__visual { justify-self: center; max-width: 420px; margin-top: 24px; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -40px; width: calc(100% - 32px); }
  .hero__foot { margin-top: 48px; }
  .hero__tags { display: none; }
  .about__grid, .faq__grid, .contact__grid, .footer__top { grid-template-columns: 1fr; }
  .tests__cards { grid-template-columns: 1fr; }
  .service-index { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 36px; }
  .service--rev .service__media { order: 0; }
  .service__media { aspect-ratio: 4 / 3.4; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .faq__side { position: static; }
  .method__banner { aspect-ratio: 4 / 3; }
  .overlay__inner { grid-template-columns: 1fr; align-content: center; }
  .overlay__aside { display: none; }
}

@media (max-width: 600px) {
  .header__actions .btn { display: none; }
  .header__logo { width: 140px; }
  .hero__title .line:nth-child(2) { padding-left: .5em; }
  .hero__title .line:nth-child(4) { padding-left: .9em; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li:nth-child(odd) { border-right: 0; }
  .pillars li:nth-child(even) { padding-left: 0; }
  .service__meta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row, .contact__info { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .test-card__list li { grid-template-columns: 1fr; gap: 2px; }
  .acc__body { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .load-in, .load-up { opacity: 1; transform: none; }
}

.service__note { font-size: 14px; font-style: italic; color: var(--muted); margin: -12px 0 32px; padding-left: 16px; border-left: 2px solid var(--line); line-height: 1.6; }

/* Hero title: fill the width on tablets and phones */
@media (max-width: 900px) {
  .hero__title { font-size: clamp(56px, 13vw, 110px); }
}
@media (max-width: 600px) {
  .hero__title { font-size: clamp(50px, 17.5vw, 96px); margin: 8px 0 26px; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__info a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact__info a:hover { border-color: rgba(255,255,255,.5); }
.wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; color: #cfdbeb; }
.wa-icon { width: 18px; height: 18px; flex: none; }
