:root {
  --wine: #6f1638;
  --wine-dark: #4b0d27;
  --wine-deep: #330719;
  --wine-soft: #f3e8ed;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --ink: #241821;
  --muted: #6f626a;
  --gold: #d9ad5c;
  --mint: #b7d8c4;
  --mint-dark: #2f6e59;
  --line: rgba(75, 13, 39, 0.13);
  --shadow: 0 22px 60px rgba(60, 15, 35, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 145px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--wine-deep);
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 82px;
  color: #fff;
  background: rgba(75, 13, 39, .34);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(75, 13, 39, .96); box-shadow: 0 8px 30px rgba(31, 4, 16, .16); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; width: 250px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; font-weight: 600; }
.main-nav > a:not(.button) { text-decoration: none; opacity: .88; transition: opacity .2s ease; }
.main-nav > a:not(.button):hover { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.1em; }
.button-small { min-height: 44px; padding: 0 18px; font-size: .84rem; }
.button-primary { color: #fff; background: var(--wine); box-shadow: 0 12px 25px rgba(111,22,56,.22); }
.button-primary:hover { background: var(--wine-dark); box-shadow: 0 15px 30px rgba(111,22,56,.28); }
.button-light { color: var(--wine-dark); background: #fff; box-shadow: 0 10px 24px rgba(36, 7, 20, .12); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 158px 0 112px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 42%, rgba(217,173,92,.13), transparent 27%),
    radial-gradient(circle at 10% 20%, rgba(183,216,196,.08), transparent 24%),
    linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 58%, #8b284e 100%);
}
.hero-pattern {
  position: absolute; inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.38) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 85%);
  animation: patternDrift 24s linear infinite;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 80px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .15em; font-size: .71rem; font-weight: 700; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-dark { color: var(--wine); }
.hero h1, .section h2, .site-footer h2 { margin: 0; font-family: "Montserrat", sans-serif; letter-spacing: -.055em; line-height: 1.02; }
.hero h1 { max-width: 720px; font-size: clamp(3.4rem, 6vw, 6.2rem); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 620px; margin: 26px 0 0; color: rgba(255,255,255,.79); font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero .button-primary { color: var(--wine-dark); background: var(--gold); box-shadow: 0 12px 30px rgba(36,7,20,.2); }
.hero .button-primary:hover { background: #e6c078; }
.text-link { color: #fff; text-underline-offset: 5px; font-size: .92rem; font-weight: 600; }
.hero-trust { display: flex; gap: 0; margin: 50px 0 0; padding: 0; list-style: none; }
.hero-trust li { min-width: 145px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.2); }
.hero-trust li:first-child { padding-left: 0; border-left: 0; }
.hero-trust strong, .hero-trust span { display: block; }
.hero-trust strong { font-family: "Montserrat"; font-size: 1rem; line-height: 1.25; }
.hero-trust span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: .75rem; }

.hero-visual { position: relative; height: 470px; }
.lab-card {
  position: absolute;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 80px rgba(38, 4, 20, .32);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(15px);
}
.lab-card-main { inset: 62px 20px 75px 50px; padding: 48px 40px; border-radius: 32px; transform: rotate(-2deg); animation: labFloat 7s ease-in-out infinite; }
.lab-kicker { margin: 0 0 40px; color: var(--wine); letter-spacing: .17em; font-size: .7rem; font-weight: 800; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 11px; padding: 24px 20px; color: var(--wine-dark); background: var(--wine-soft); border: 1px solid rgba(111,22,56,.09); border-radius: 17px; font-family: "Montserrat"; font-size: clamp(.85rem, 1.25vw, 1.05rem); font-weight: 800; text-align: center; }
.formula span { color: var(--gold); }
.progress-label { display: flex; justify-content: space-between; margin: 48px 0 10px; color: var(--muted); font-size: .8rem; }
.progress-label strong { color: var(--mint-dark); }
.progress-track { height: 10px; overflow: hidden; background: #ede7e9; border-radius: 10px; }
.progress-track span { display: block; width: 84%; height: 100%; background: linear-gradient(90deg, var(--wine), var(--gold)); border-radius: inherit; animation: grow 1.4s .45s both cubic-bezier(.22,.7,.24,1); }
@keyframes grow { from { width: 0; } }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 202px; padding: 14px 17px; color: var(--ink); background: #fff; border-radius: 15px; box-shadow: 0 18px 40px rgba(40,6,21,.2); }
.float-card-top { right: -18px; top: 26px; transform: rotate(3deg); animation: floatTop 5.2s ease-in-out infinite; }
.float-card-bottom { left: 3px; bottom: 32px; transform: rotate(-3deg); animation: floatBottom 6s .8s ease-in-out infinite; }
.float-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #fff; background: var(--mint-dark); border-radius: 50%; font-weight: 800; }
.float-icon.gold { color: var(--wine-dark); background: var(--gold); }
.float-card strong, .float-card small { display: block; }
.float-card strong { font-family: "Montserrat"; font-size: .78rem; }
.float-card small { color: var(--muted); font-size: .68rem; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 9px; height: 9px; left: 50%; top: -5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 6px rgba(217,173,92,.12); }
.orbit-one { width: 490px; height: 490px; left: 0; top: 0; animation: orbitSpin 30s linear infinite; }
.orbit-two { width: 330px; height: 330px; right: -30px; bottom: -20px; animation: orbitSpin 23s linear infinite reverse; }
.math-doodle { position: absolute; color: rgba(255,255,255,.28); font-family: Georgia, serif; font-weight: 700; }
.doodle-one { left: -12px; top: 12px; font-size: 2.8rem; transform: rotate(-12deg); }
.doodle-two { right: 5px; bottom: 62px; font-size: 3.2rem; }
.doodle-three { right: 0; top: 140px; font-size: 2rem; }
.wave { position: absolute; inset: auto 0 -1px; height: 70px; background: var(--cream); clip-path: ellipse(57% 70% at 50% 100%); }

@keyframes patternDrift { to { background-position: 108px 54px; } }
@keyframes labFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-1.2deg); } }
@keyframes floatTop { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
@keyframes floatBottom { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(8px) rotate(-1.5deg); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: end; margin-bottom: 48px; }
.section h2 { max-width: 700px; color: var(--wine-dark); font-size: clamp(2.5rem, 5vw, 4.7rem); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 1rem; }

.programs { background: var(--cream); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.program-card { position: relative; display: flex; flex-direction: column; min-height: 510px; padding: 32px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 4px 20px rgba(66,13,36,.04); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.program-card::after { content: ""; position: absolute; inset: -40% auto -40% -45%; width: 28%; background: linear-gradient(90deg, transparent, rgba(217,173,92,.16), transparent); transform: skewX(-16deg); animation: cardSheen 9s 1.5s ease-in-out infinite; pointer-events: none; }
.program-card:hover { transform: translateY(-7px); border-color: rgba(111,22,56,.35); box-shadow: var(--shadow); }
.program-card.reveal.visible:hover { transform: translateY(-7px); }
.program-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.program-number { color: rgba(75,13,39,.23); font-family: "Montserrat"; font-size: .77rem; font-weight: 800; letter-spacing: .15em; }
.program-badge { padding: 6px 10px; color: var(--wine); background: var(--wine-soft); border-radius: 999px; font-size: .68rem; font-weight: 700; }
.program-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; color: var(--mint-dark); background: #e7f1eb; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.program-status i { width: 7px; height: 7px; background: #2d8a67; border-radius: 50%; box-shadow: 0 0 0 0 rgba(45,138,103,.42); animation: statusPulse 2.2s ease-out infinite; }
.program-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 32px 0 23px; color: var(--wine); background: var(--wine-soft); border-radius: 18px; }
.program-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.program-card.visible .program-icon { animation: iconBob 4.8s ease-in-out infinite; }
.program-card:nth-child(2) .program-icon { color: var(--mint-dark); background: #e7f1eb; }
.program-card h3 { min-height: 62px; margin: 0 0 12px; color: var(--wine-dark); font-family: "Montserrat"; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.03em; }
.program-card > p { margin: 0; color: var(--muted); font-size: .9rem; }
.program-card ul { margin: 24px 0; padding: 0; list-style: none; }
.program-card li { position: relative; margin: 9px 0; padding-left: 23px; font-size: .82rem; }
.program-card li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dark); font-weight: 800; }
.program-meta { display: flex; gap: 22px; margin-top: auto; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.program-meta span { color: var(--muted); font-size: .72rem; }
.program-meta b { display: block; color: var(--ink); font-size: .85rem; }
.program-card .replaceable { margin-top: 15px; font-size: .72rem; }
.replaceable span { display: inline-block; margin-right: 4px; padding: 3px 7px; color: #7a581e; background: #faf0db; border-radius: 6px; font-size: .6rem; font-weight: 700; text-transform: uppercase; }
@keyframes statusPulse { 70% { box-shadow: 0 0 0 7px rgba(45,138,103,0); } 100% { box-shadow: 0 0 0 0 rgba(45,138,103,0); } }
@keyframes iconBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes cardSheen { 0%, 58% { left: -45%; } 78%, 100% { left: 125%; } }
.group-cta-bar { display: grid; grid-template-columns: 1.05fr 1.5fr auto; gap: 30px; align-items: center; margin-top: 26px; padding: 25px 30px; color: #fff; background: var(--wine-dark); border-radius: 18px; box-shadow: 0 17px 40px rgba(75,13,39,.17); }
.group-cta-bar small, .group-cta-bar strong { display: block; }
.group-cta-bar small { color: rgba(255,255,255,.55); font-size: .64rem; text-transform: uppercase; letter-spacing: .13em; }
.group-cta-bar strong { margin-top: 3px; font-family: "Montserrat"; font-size: 1rem; }
.group-cta-bar p { margin: 0; color: rgba(255,255,255,.67); font-size: .82rem; }
.group-cta-bar .button { min-height: 48px; color: var(--wine-dark); background: var(--gold); box-shadow: none; }

.individual-service {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  margin-top: 72px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.individual-service::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--wine), var(--gold), var(--mint-dark));
}
.individual-copy {
  position: relative;
  padding: 49px 42px;
  background:
    radial-gradient(circle at 0 100%, rgba(183,216,196,.35), transparent 35%),
    linear-gradient(145deg, var(--wine-soft), #fffaf5);
}
.individual-copy::after {
  content: "x + cél = fejlődés";
  position: absolute;
  right: 27px;
  bottom: 20px;
  color: rgba(111,22,56,.08);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  transform: rotate(-4deg);
}
.individual-range {
  display: inline-flex;
  padding: 7px 11px;
  color: #fff;
  background: var(--wine);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.individual-copy h3 {
  max-width: 430px;
  margin: 19px 0 17px;
  color: var(--wine-dark);
  font-family: "Montserrat";
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.individual-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.individual-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.individual-tags span {
  padding: 7px 10px;
  color: var(--wine);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(111,22,56,.12);
  border-radius: 8px;
  font-size: .67rem;
  font-weight: 700;
}
.individual-details { display: flex; flex-direction: column; padding: 42px; }
.individual-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.individual-points > div { padding: 0 24px; border-left: 1px solid var(--line); }
.individual-points > div:first-child { padding-left: 0; border-left: 0; }
.individual-points > div:last-child { padding-right: 0; }
.individual-points span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: "Montserrat";
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.individual-points strong {
  display: block;
  min-height: 48px;
  color: var(--wine-dark);
  font-family: "Montserrat";
  font-size: .86rem;
  line-height: 1.35;
}
.individual-points p { margin: 10px 0 0; color: var(--muted); font-size: .74rem; }
.individual-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: auto;
  padding-top: 31px;
  border-top: 1px solid var(--line);
}
.individual-action p { max-width: 340px; margin: 0; color: var(--muted); font-size: .7rem; }
.individual-action p strong { color: var(--wine); }
.button-outline { min-height: 49px; color: var(--wine); background: transparent; border: 1px solid var(--wine); box-shadow: none; }
.button-outline:hover { color: #fff; background: var(--wine); }
.method { padding-top: 120px; color: #fff; background: var(--wine-dark); }
.method-intro { display: grid; grid-template-columns: 1.3fr .7fr; column-gap: 90px; align-items: end; }
.method-intro .eyebrow { grid-column: 1 / -1; }
.method h2 { color: #fff; }
.method-intro > p:last-child { margin: 0 0 5px; color: rgba(255,255,255,.66); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 62px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.12); }
.benefit-grid article { min-height: 205px; padding: 29px; background: rgba(255,255,255,.045); }
.benefit-grid article > span { color: var(--gold); font-family: "Montserrat"; font-size: .66rem; letter-spacing: .14em; }
.benefit-grid h3 { margin: 42px 0 7px; font-family: "Montserrat"; font-size: 1.06rem; }
.benefit-grid p { margin: 0; color: rgba(255,255,255,.59); font-size: .79rem; }
.benefit-grid article { transition: background .25s ease, transform .25s ease; }
.benefit-grid article:hover { position: relative; z-index: 1; background: rgba(255,255,255,.085); transform: translateY(-4px); }

.coupon-feature { display: grid; grid-template-columns: auto 1fr .9fr; gap: 35px; align-items: center; margin-top: 22px; padding: 30px 34px; overflow: hidden; color: var(--ink); background: linear-gradient(120deg, #fff 0%, #f5efe6 100%); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; box-shadow: 0 20px 48px rgba(23,2,12,.18); }
.coupon-feature .eyebrow { margin-bottom: 8px; color: var(--wine); }
.coupon-feature h3 { margin: 0 0 7px; color: var(--wine-dark); font-family: "Montserrat"; font-size: 1.45rem; letter-spacing: -.035em; }
.coupon-feature p:not(.eyebrow) { max-width: 560px; margin: 0; color: var(--muted); font-size: .82rem; }
.coupon-visual { display: flex; align-items: center; min-width: 206px; }
.coupon-visual span { display: grid; place-items: center; width: 48px; height: 48px; margin-left: -9px; color: var(--wine-dark); background: var(--gold); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 7px 20px rgba(75,13,39,.13); font-family: "Montserrat"; font-size: .75rem; font-weight: 900; animation: couponBounce 4.4s ease-in-out infinite; }
.coupon-visual span:first-child { margin-left: 0; }
.coupon-visual span:nth-child(2) { animation-delay: .12s; }
.coupon-visual span:nth-child(3) { animation-delay: .24s; }
.coupon-visual span:nth-child(4) { animation-delay: .36s; }
.coupon-visual span:nth-child(5) { color: #fff; background: var(--wine); animation-delay: .48s; }
.coupon-feature ul { margin: 0; padding: 0; list-style: none; }
.coupon-feature li { position: relative; margin: 6px 0; padding-left: 20px; color: var(--wine-dark); font-size: .76rem; font-weight: 700; }
.coupon-feature li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dark); }
@keyframes couponBounce { 0%, 72%, 100% { transform: translateY(0) rotate(0); } 82% { transform: translateY(-8px) rotate(-4deg); } 90% { transform: translateY(2px) rotate(2deg); } }

.trust-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; margin-top: 70px; }
.about-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; color: var(--ink); background: var(--cream); border-radius: var(--radius-lg); }
.portrait-wrap { position: relative; min-height: 420px; overflow: hidden; background: #d7d3d2; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait-wrap::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(48,6,24,.38)); }
.portrait-label { position: absolute; z-index: 1; left: 16px; bottom: 15px; padding: 6px 10px; color: #fff; background: rgba(75,13,39,.78); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; backdrop-filter: blur(8px); font-size: .64rem; font-weight: 700; }
.about-copy { padding: 43px 34px; }
.about-copy h3 { margin: 0 0 16px; color: var(--wine-dark); font-family: "Montserrat"; font-size: 2rem; letter-spacing: -.04em; }
.about-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .9rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.about-tags span { padding: 7px 11px; color: var(--wine); background: var(--wine-soft); border-radius: 999px; font-size: .67rem; font-weight: 700; }

.results-panel { min-height: 420px; padding: 38px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 18px 45px rgba(42,8,24,.11); }
.results-heading .eyebrow { margin-bottom: 12px; color: var(--wine); }
.results-heading h3 { max-width: 380px; margin: 0; color: var(--wine-dark); font-family: "Montserrat"; font-size: clamp(1.7rem, 2.4vw, 2.15rem); line-height: 1.1; letter-spacing: -.045em; }
.results-heading > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.results-grid article { min-height: 112px; padding: 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.results-grid article:nth-child(2), .results-grid article:nth-child(3) { background: var(--wine-soft); }
.results-grid article:hover { transform: translateY(-3px); border-color: rgba(111,22,56,.28); box-shadow: 0 12px 25px rgba(60,15,35,.08); }
.results-grid strong { display: block; color: var(--wine); font-family: "Montserrat"; font-size: 1.55rem; line-height: 1; letter-spacing: -.04em; }
.results-grid span { display: block; margin-top: 11px; color: var(--muted); font-size: .75rem; line-height: 1.4; }

.faq-block { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; margin-top: 80px; padding: 48px; color: var(--ink); background: var(--cream); border-radius: var(--radius-lg); }
.faq-block h3 { margin: 0; color: var(--wine-dark); font-family: "Montserrat"; font-size: 2.2rem; letter-spacing: -.04em; }
.faq-intro { max-width: none; line-height: 1.65; margin: 18px 0 0; color: var(--muted); font-size: .78rem; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; font-family: "Montserrat"; font-size: .95rem; font-weight: 700; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--wine); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { margin: -4px 35px 20px 0; color: var(--muted); font-size: .82rem; }
.faq-note { margin: 22px 0 0; padding: 15px 17px; color: var(--muted); background: var(--wine-soft); border-left: 3px solid var(--wine); border-radius: 8px; font-size: .68rem; }

.site-footer { padding: 76px 0 25px; color: #fff; background: var(--wine-deep); }
.footer-main { display: grid; grid-template-columns: .78fr 1.3fr .92fr; gap: 75px; align-items: start; }
.footer-brand img { width: 250px; height: auto; }
.footer-brand p { color: rgba(255,255,255,.52); font-size: .83rem; }
.site-footer h2 { max-width: 500px; font-size: clamp(2rem, 3vw, 3rem); }
.footer-main > div:nth-child(2) > p { max-width: 520px; margin: 18px 0 26px; color: rgba(255,255,255,.57); font-size: .89rem; }
.footer-main address { display: grid; gap: 13px; padding-top: 4px; font-style: normal; }
.footer-main address a { text-decoration: none; font-family: "Montserrat"; font-size: .88rem; font-weight: 700; }
.footer-main address span { color: rgba(255,255,255,.55); font-size: .79rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 22px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { text-underline-offset: 4px; }
.site-footer:not(.legal-footer) { padding-bottom: 12px; }
.site-footer:not(.legal-footer) .footer-bottom { padding-top: 12px; }

.mobile-booking { display: none; }

/* Legal pages */
.legal-body { background: #f7f3ef; }
.legal-hero {
  position: relative;
  padding: 160px 0 82px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(217,173,92,.18), transparent 25%),
    linear-gradient(135deg, var(--wine-dark), var(--wine));
}
.legal-hero::after {
  content: "§";
  position: absolute;
  right: max(5vw, 35px);
  bottom: -88px;
  color: rgba(255,255,255,.055);
  font-family: Georgia, serif;
  font-size: 24rem;
  line-height: 1;
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -.055em;
  line-height: 1;
}
.legal-hero > .container > p:not(.eyebrow) { max-width: 700px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.legal-meta span { padding: 7px 11px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-size: .78rem; }
.legal-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 70px; align-items: start; padding-top: 70px; padding-bottom: 100px; }
.legal-toc { position: sticky; top: 110px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 12px 30px rgba(60,15,35,.06); }
.legal-toc > strong { display: block; margin-bottom: 13px; color: var(--wine-dark); font-family: "Montserrat", system-ui, sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-toc nav { display: grid; }
.legal-toc a { padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .76rem; line-height: 1.4; transition: color .2s ease, transform .2s ease; }
.legal-toc a:hover { color: var(--wine); transform: translateX(3px); }
.legal-content { min-width: 0; }
.legal-content a { color: var(--wine); text-underline-offset: 3px; }
.legal-lead { padding: 31px 33px; background: var(--wine-soft); border-left: 4px solid var(--wine); border-radius: 0 15px 15px 0; }
.legal-lead p { margin: 0; color: var(--wine-dark); font-size: 1.02rem; line-height: 1.75; }
.legal-section { scroll-margin-top: 105px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 21px; color: var(--wine-dark); font-family: "Montserrat", system-ui, sans-serif; font-size: clamp(1.55rem, 2.4vw, 2.15rem); letter-spacing: -.035em; line-height: 1.2; }
.legal-section h3 { margin: 28px 0 10px; color: var(--wine-dark); font-family: "Montserrat", system-ui, sans-serif; }
.legal-section p { margin: 0 0 16px; color: #51454c; font-size: 1rem; line-height: 1.8; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-data { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0 0 24px; }
.legal-data > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-data dt { color: var(--muted); font-size: .82rem; }
.legal-data dd { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 650; }
.legal-callout { margin-top: 26px; padding: 25px 27px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 30px rgba(60,15,35,.04); }
.legal-callout > strong { display: block; margin-bottom: 11px; color: var(--wine); font-family: "Montserrat", system-ui, sans-serif; }
.legal-callout p { font-size: .88rem; }
.legal-contact-card { display: grid; gap: 7px; margin: 23px 0; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.legal-contact-card strong { margin-bottom: 4px; color: var(--wine-dark); font-family: "Montserrat", system-ui, sans-serif; }
.legal-contact-card span, .legal-contact-card a { width: fit-content; color: var(--muted); font-size: .9rem; }
.legal-contact-card a { color: var(--wine); }
.legal-list { margin: 0 0 22px; padding: 0; list-style: none; }
.legal-list li { position: relative; margin: 10px 0; padding-left: 27px; color: #51454c; font-size: 1rem; line-height: 1.7; }
.legal-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--mint-dark); font-weight: 800; }
.legal-table-wrap { margin: 25px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.legal-table { width: 100%; min-width: 800px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 16px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .84rem; line-height: 1.55; }
.legal-table th { color: #fff; background: var(--wine-dark); font-family: "Montserrat", system-ui, sans-serif; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-table td { color: var(--muted); }
.legal-table td:first-child { width: 20%; color: var(--ink); }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.processor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.processor-grid article { display: flex; flex-direction: column; gap: 8px; min-height: 165px; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.processor-grid strong { color: var(--wine-dark); font-family: "Montserrat", system-ui, sans-serif; }
.processor-grid span { color: var(--muted); font-size: .86rem; line-height: 1.6; }
.processor-grid a { margin-top: auto; width: fit-content; font-size: .82rem; font-weight: 700; }
.legal-end { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 55px; padding: 29px 31px; color: #fff; background: var(--wine-dark); border-radius: 18px; }
.legal-end p { margin: 0; font-family: "Montserrat", system-ui, sans-serif; font-size: 1.05rem; font-weight: 700; }
.legal-end .button { color: var(--wine-dark); background: var(--gold); }
.legal-footer { padding-top: 1px; }
.legal-footer .footer-bottom { margin-top: 0; }
.legal-footer [aria-current="page"] { color: #fff; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,.7,.24,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .16s; }
.reveal-delay-short { transition-delay: .08s; }
.reveal-delay-long { transition-delay: .16s; }

@media (max-width: 1020px) {
  .brand { width: 215px; }
  .main-nav { gap: 16px; font-size: .82rem; }
  .hero-grid { gap: 25px; }
  .hero-visual { height: 410px; }
  .lab-card-main { inset: 55px 5px 62px 25px; padding: 40px 28px; }
  .float-card-top { right: -10px; }
  .section-heading { grid-template-columns: 1fr 340px; gap: 45px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .group-cta-bar { grid-template-columns: 1fr auto; }
  .group-cta-bar p { display: none; }
  .individual-service { grid-template-columns: 1fr; }
  .individual-copy { padding: 42px 36px; }
  .individual-details { padding: 36px; }
  .method-intro { grid-template-columns: 1fr 1fr; gap: 45px; }
  .trust-layout { grid-template-columns: 1fr; }
  .results-panel { min-height: 0; }
  .results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1.4fr; }
  .footer-main address { grid-column: 2; }
  .legal-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
  .legal-data { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: 72px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .site-header { height: 68px; }
  .brand { width: 205px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 25px 20px 30px; color: #fff; background: var(--wine-dark); box-shadow: 0 20px 40px rgba(36,7,20,.24); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .28s ease, opacity .2s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a:not(.button) { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .main-nav .button { margin-top: 20px; }
  .hero { min-height: auto; padding: 120px 0 82px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.1rem, 14.7vw, 5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-trust li { min-width: 0; padding: 0 11px; }
  .hero-trust strong { font-size: .76rem; }
  .hero-trust span { font-size: .64rem; }
  .hero-visual { height: 330px; margin-top: 25px; }
  .lab-card-main { inset: 38px 11px 50px 12px; padding: 31px 20px; }
  .lab-kicker { margin-bottom: 28px; }
  .formula { gap: 6px; padding: 18px 9px; font-size: .72rem; }
  .progress-label { margin-top: 30px; }
  .float-card { min-width: 168px; padding: 11px; }
  .float-card-top { right: 0; top: 7px; }
  .float-card-bottom { left: 0; bottom: 18px; }
  .float-icon { width: 28px; height: 28px; }
  .float-card strong { font-size: .67rem; }
  .float-card small { font-size: .61rem; }
  .wave { height: 35px; }
  .section { padding: 78px 0; }
  .section-heading, .method-intro { display: block; }
  .section-heading { margin-bottom: 35px; }
  .section-heading > p, .method-intro > p:last-child { margin-top: 22px; }
  .section h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { grid-column: auto; min-height: auto; }
  .program-card h3 { min-height: 0; }
  .group-cta-bar { grid-template-columns: 1fr; text-align: center; }
  .group-cta-bar .button { width: 100%; }
  .individual-service { margin-top: 50px; }
  .individual-copy, .individual-details { padding: 32px 25px; }
  .individual-copy::after { display: none; }
  .individual-points { grid-template-columns: 1fr; }
  .individual-points > div,
  .individual-points > div:first-child,
  .individual-points > div:last-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .individual-points > div:first-child { padding-top: 0; border-top: 0; }
  .individual-points span { margin-bottom: 8px; }
  .individual-points strong { min-height: 0; }
  .individual-action { align-items: stretch; flex-direction: column; margin-top: 15px; }
  .individual-action .button { width: 100%; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article { min-height: 180px; padding: 22px; }
  .benefit-grid h3 { margin-top: 30px; }
  .coupon-feature { grid-template-columns: 1fr; gap: 20px; padding: 27px 24px; }
  .coupon-visual { min-width: 0; }
  .trust-layout { margin-top: 45px; }
  .about-card { grid-template-columns: 1fr; }
  .portrait-wrap { min-height: 390px; }
  .portrait-wrap img { object-position: 50% 17%; }
  .about-copy { padding: 32px 25px; }
  .results-panel { padding: 31px 25px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .faq-block { grid-template-columns: 1fr; gap: 30px; margin-top: 45px; padding: 32px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-main address { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 48px; }
  .mobile-booking { position: fixed; z-index: 99; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 10px 15px; color: #fff; background: rgba(51,7,25,.97); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 -10px 30px rgba(36,7,20,.16); backdrop-filter: blur(12px); }
  .mobile-booking small, .mobile-booking b { display: block; max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-booking small { color: rgba(255,255,255,.46); font-size: .56rem; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-booking b { margin-top: 1px; font-size: .72rem; }
  .mobile-booking a { padding: 11px 17px; color: var(--wine-dark); background: var(--gold); border-radius: 999px; text-decoration: none; font-size: .76rem; font-weight: 800; }
  .legal-body { padding-bottom: 0; }
  .legal-hero { padding: 118px 0 60px; }
  .legal-hero::after { right: -20px; bottom: -35px; font-size: 14rem; }
  .legal-hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .legal-hero > .container > p:not(.eyebrow) { font-size: .96rem; }
  .legal-layout { display: block; padding-top: 32px; padding-bottom: 70px; }
  .legal-toc { position: static; margin-bottom: 32px; }
  .legal-toc nav { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .legal-lead { padding: 25px 22px; }
  .legal-lead p, .legal-section p, .legal-list li { font-size: .96rem; }
  .legal-section { padding: 35px 0; }
  .legal-data > div { grid-template-columns: 1fr; gap: 3px; }
  .processor-grid { grid-template-columns: 1fr; }
  .processor-grid article { min-height: 0; }
  .legal-end { align-items: stretch; flex-direction: column; text-align: center; }
  .legal-end .button { width: 100%; }
  .legal-footer .footer-bottom nav { flex-wrap: wrap; row-gap: 9px; }
}

@media (max-width: 410px) {
  .brand { width: 185px; }
  .hero-trust { grid-template-columns: 1fr 1fr; row-gap: 23px; }
  .hero-trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .mobile-booking b { max-width: 165px; }
}

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

/* Hybrid laboratory direction — navy structure, teal energy, warm brand accents */
:root {
  --navy: #0d2b57;
  --navy-deep: #071d3e;
  --teal: #19aaa7;
  --teal-dark: #087e80;
  --teal-pale: #e4f4f0;
  --yellow: #f2cd43;
  --yellow-pale: #fff4c7;
  --coral: #ef7865;
  --coral-pale: #fde1da;
  --lab-cream: #fffaf0;
  --lab-ink: #102a4d;
  --lab-muted: #5f7081;
  --lab-line: rgba(13, 43, 87, .13);
}

body {
  color: var(--lab-ink);
  background: #f8fbfa;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header,
.site-header.scrolled {
  color: #fff;
  background: rgba(7, 29, 62, .95);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 34px rgba(7, 29, 62, .12);
}

.main-nav > a:not(.button) { opacity: .76; }
.main-nav > a:not(.button):hover { opacity: 1; color: #8fe0d8; }
.button-light { color: var(--navy-deep); background: var(--yellow); }
.button-light:hover { background: #f7dc70; }

.hero {
  min-height: 780px;
  padding: 162px 0 100px;
  color: var(--lab-ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(25, 170, 167, .14), transparent 23%),
    radial-gradient(circle at 5% 78%, rgba(239, 120, 101, .1), transparent 24%),
    linear-gradient(135deg, #fbfdfc 0%, #f6fbf9 56%, #edf8f4 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 230px;
  height: 230px;
  right: -95px;
  top: 115px;
  background: var(--yellow-pale);
  animation: accentDrift 9s ease-in-out infinite;
}

.hero::after {
  width: 86px;
  height: 86px;
  left: 4vw;
  bottom: 62px;
  background: var(--coral-pale);
  animation: accentDrift 7s 1s ease-in-out infinite reverse;
}

.hero-pattern {
  opacity: .5;
  background-image: radial-gradient(rgba(13, 43, 87, .13) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 78%, transparent 100%);
}

.hero-grid { gap: 78px; }
.hero .eyebrow { color: var(--teal-dark); }
.eyebrow { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.eyebrow span { background: var(--coral); }
.eyebrow-dark { color: var(--teal-dark); }
.hero h1 { color: var(--navy); }
.hero h1 em { color: var(--teal); }
.hero-lead { color: var(--lab-muted); }
.hero .button-primary,
.group-cta-bar .button {
  color: var(--navy-deep);
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(191, 150, 13, .18);
}
.hero .button-primary:hover,
.group-cta-bar .button:hover { background: #f7dc70; }
.text-link { color: var(--navy); text-decoration-color: var(--teal); }
.wave { display: none; }

.hero-visual { height: 490px; }
.lab-card {
  color: var(--lab-ink);
  background: rgba(255, 250, 240, .98);
  border: 1px solid rgba(13, 43, 87, .09);
  box-shadow: 0 32px 75px rgba(13, 43, 87, .18);
}

.lab-card-main {
  inset: 55px 28px 62px 48px;
  z-index: 1;
  padding: 38px 38px 42px;
  border-radius: 8px 30px 8px 30px;
  transform: rotate(2.4deg);
  animation: labFloatHybrid 7s ease-in-out infinite;
}

.lab-card-main::before,
.lab-card-main::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 8px 30px 8px 30px;
}

.lab-card-main::before {
  inset: -16px 14px 14px -16px;
  background: var(--teal);
  transform: rotate(-4deg);
}

.lab-card-main::after {
  inset: 20px -18px -18px 22px;
  background: var(--yellow);
  transform: rotate(4deg);
}

.lab-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; color: var(--navy); font-size: .67rem; font-weight: 900; letter-spacing: .16em; }
.lab-symbol { display: grid; place-items: center; width: 62px; height: 62px; color: #fff; background: var(--teal); border-radius: 50% 50% 45% 55%; animation: symbolPulse 5s ease-in-out infinite; }
.lab-symbol svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lab-kicker { margin: 0 0 21px; color: var(--coral); }
.formula { color: var(--navy); background: #fff; border-color: var(--lab-line); }
.formula span { color: var(--coral); }
.progress-label { margin-top: 34px; }
.progress-label strong { color: var(--teal-dark); }
.progress-track { background: #e1e9e8; }
.progress-track span { background: linear-gradient(90deg, var(--teal), var(--yellow), var(--coral)); }
.float-card { border: 1px solid rgba(13, 43, 87, .08); box-shadow: 0 17px 38px rgba(13, 43, 87, .15); }
.float-icon { background: var(--teal); }
.float-icon.gold { color: var(--navy); background: var(--yellow); }
.orbit { border-color: rgba(13, 43, 87, .14); }
.orbit::after { background: var(--coral); box-shadow: 0 0 0 6px rgba(239, 120, 101, .12); }
.math-doodle { color: rgba(13, 43, 87, .2); }

.feature-band { position: relative; z-index: 3; color: #fff; background: var(--teal-dark); }
.feature-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-band article { display: flex; align-items: center; gap: 17px; min-height: 122px; padding: 24px 34px; border-left: 1px solid rgba(255, 255, 255, .15); }
.feature-band article:first-child { border-left: 0; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; color: var(--navy); background: var(--yellow); border-radius: 15px; transform: rotate(-3deg); animation: featureFloat 5.8s ease-in-out infinite; }
.feature-band article:nth-child(2) .feature-icon { color: #fff; background: var(--coral); animation-delay: .45s; }
.feature-band article:nth-child(3) .feature-icon { color: var(--teal-dark); background: #fff; animation-delay: .9s; }
.feature-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-band strong,
.feature-band small { display: block; }
.feature-band strong { font-family: "Montserrat", sans-serif; font-size: .94rem; }
.feature-band small { margin-top: 3px; color: rgba(255, 255, 255, .68); font-size: .7rem; line-height: 1.45; }

.section { padding: 118px 0; }
.programs { background: #fff; }
.section h2 { color: var(--navy); }
.section h2 em { color: var(--teal); font-style: normal; }
.section-heading > p { color: var(--lab-muted); }
.program-grid { gap: 24px; }
.program-card {
  min-height: 530px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 17px 38px rgba(13, 43, 87, .07);
}
.program-card:first-child { background: var(--teal-pale); }
.program-card:nth-child(2) { background: var(--yellow-pale); }
.program-card::before {
  content: "";
  position: absolute;
  right: -45px;
  top: 90px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: transform .45s ease;
}
.program-card:hover::before { transform: scale(1.16) translate(-7px, 6px); }
.program-card::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); }
.program-card:hover { border-color: transparent; box-shadow: 0 25px 55px rgba(13, 43, 87, .13); }
.program-number { color: rgba(13, 43, 87, .35); }
.program-status { color: var(--teal-dark); background: rgba(255, 255, 255, .72); }
.program-status i { background: var(--teal); }
.program-icon { color: #fff; background: var(--teal); border-radius: 20px 20px 8px 20px; box-shadow: 0 12px 25px rgba(25, 170, 167, .18); }
.program-card:nth-child(2) .program-icon { color: #fff; background: var(--coral); box-shadow: 0 12px 25px rgba(239, 120, 101, .18); }
.program-card h3 { color: var(--navy); }
.program-card > p,
.program-meta span { color: var(--lab-muted); }
.program-card li::before { color: var(--teal-dark); }
.program-meta { border-color: var(--lab-line); }
.program-meta b { color: var(--navy); }
.replaceable span { color: var(--navy); background: rgba(255, 255, 255, .75); }

.group-cta-bar { color: #fff; background: var(--navy); box-shadow: 0 20px 45px rgba(13, 43, 87, .16); }

.individual-service {
  margin-top: 82px;
  overflow: visible;
  background: var(--navy);
  border: 0;
  box-shadow: 0 30px 70px rgba(13, 43, 87, .16);
}
.individual-service::before { height: 7px; background: linear-gradient(90deg, var(--coral), var(--yellow), var(--teal)); }
.individual-copy {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 0 100%, rgba(25, 170, 167, .34), transparent 38%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.individual-copy::before { content: "π"; position: absolute; right: 25px; top: 13px; color: rgba(255, 255, 255, .06); font-family: Georgia, serif; font-size: 9rem; line-height: 1; }
.individual-copy::after { color: rgba(255, 255, 255, .09); }
.individual-copy .eyebrow { color: #92e1d9; }
.individual-copy h3 { color: #fff; }
.individual-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .7); }
.individual-range { color: var(--navy); background: var(--yellow); }
.individual-tags span { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.individual-details { background: var(--lab-cream); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.individual-points > div { border-color: var(--lab-line); }
.individual-points span { color: var(--coral); }
.individual-points strong { color: var(--navy); }
.individual-points p,
.individual-action p { color: var(--lab-muted); }
.individual-action { border-color: var(--lab-line); }
.individual-action p strong { color: var(--coral); }
.button-outline { color: var(--navy); border-color: var(--teal); }
.button-outline:hover { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); }

.method { padding-top: 125px; color: var(--lab-ink); background: #f1f8f6; }
.method .eyebrow { color: var(--teal-dark); }
.method h2 { color: var(--navy); }
.method h2 em { color: var(--teal); }
.method-intro > p:last-child { color: var(--lab-muted); }
.benefit-grid { gap: 16px; overflow: visible; border: 0; background: transparent; }
.benefit-grid article { min-height: 245px; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 14px 35px rgba(13, 43, 87, .06); }
.benefit-grid article:nth-child(1) { background: var(--teal-pale); }
.benefit-grid article:nth-child(2) { background: var(--yellow-pale); }
.benefit-grid article:nth-child(3) { background: var(--coral-pale); }
.benefit-grid article:nth-child(4) { background: #fff; }
.benefit-grid article:hover { background: inherit; transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 22px 44px rgba(13, 43, 87, .1); }
.benefit-grid article > span { color: var(--teal-dark); }
.benefit-grid h3 { margin-top: 62px; color: var(--navy); }
.benefit-grid p { color: var(--lab-muted); }

.coupon-feature {
  grid-template-columns: 1.25fr .8fr;
  gap: 30px 44px;
  margin-top: 34px;
  padding: 56px;
  overflow: visible;
  color: #fff;
  background:
    radial-gradient(circle at 92% 15%, rgba(25, 170, 167, .25), transparent 24%),
    var(--navy-deep);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(7, 29, 62, .18);
}
.coupon-feature > div:not(.coupon-visual) { grid-column: 1; grid-row: 1; }
.coupon-feature .eyebrow { color: #8de0d7; }
.coupon-feature h3 { color: #fff; font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: 1.05; }
.coupon-feature p:not(.eyebrow) { color: rgba(255, 255, 255, .68); }
.coupon-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  justify-content: center;
  min-width: 0;
  min-height: 205px;
  padding: 82px 20px 45px;
  background: var(--lab-cream);
  border-radius: 7px 24px 7px 24px;
  box-shadow: 14px 15px 0 var(--teal), 0 26px 50px rgba(0, 0, 0, .2);
  transform: rotate(2deg);
  animation: couponCardFloat 7s ease-in-out infinite;
}
.coupon-visual::before { content: "KÉSZ\00C9G LABOR • KUPONFÜZET"; position: absolute; left: 24px; top: 27px; color: var(--navy); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .66rem; font-weight: 900; letter-spacing: .12em; }
.coupon-visual::after { content: "HALADÁS"; position: absolute; left: 25px; right: 25px; bottom: 19px; padding-top: 5px; color: var(--teal-dark); border-top: 6px solid var(--teal); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .54rem; font-weight: 800; letter-spacing: .12em; }
.coupon-visual span { width: 45px; height: 45px; color: var(--navy); background: var(--yellow); border-color: var(--lab-cream); }
.coupon-visual span:nth-child(3) { background: var(--coral-pale); }
.coupon-visual span:nth-child(4) { background: var(--teal-pale); }
.coupon-visual span:nth-child(5) { color: #fff; background: var(--coral); }
.coupon-feature ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.coupon-feature li { min-height: 56px; margin: 0; padding: 17px 18px 17px 44px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; }
.coupon-feature li::before { left: 18px; top: 16px; color: var(--yellow); }

.trust-layout { gap: 24px; }
.about-card { color: var(--lab-ink); background: #fff; box-shadow: 0 18px 45px rgba(13, 43, 87, .07); }
.portrait-label { background: rgba(13, 43, 87, .82); }
.about-copy h3 { color: var(--navy); }
.about-copy > p:not(.eyebrow) { color: var(--lab-muted); }
.about-tags span { color: var(--teal-dark); background: var(--teal-pale); }
.results-panel { color: var(--lab-ink); background: var(--navy); border: 0; box-shadow: 0 20px 48px rgba(13, 43, 87, .14); }
.results-heading .eyebrow { color: #8de0d7; }
.results-heading h3 { color: #fff; }
.results-heading > p:not(.eyebrow) { color: rgba(255, 255, 255, .6); }
.results-grid article { background: var(--teal-pale); border: 0; }
.results-grid article:nth-child(2) { background: var(--yellow-pale); }
.results-grid article:nth-child(3) { background: var(--coral-pale); }
.results-grid article:nth-child(4) { background: #fff; }
.results-grid strong { color: var(--navy); }
.results-grid span { color: var(--lab-muted); }

.faq-block { color: var(--lab-ink); background: #fff; border: 1px solid var(--lab-line); box-shadow: 0 16px 45px rgba(13, 43, 87, .06); }
.faq-block h3 { color: var(--navy); }
.faq-intro,
.accordion details p { color: var(--lab-muted); }
.accordion details { border-color: var(--lab-line); }
.accordion summary { color: var(--navy); }
.accordion summary span { color: var(--teal); }
.faq-note { color: var(--lab-muted); background: var(--teal-pale); border-left-color: var(--teal); }
.faq-note a { color: var(--navy); }

.site-footer { background: var(--navy-deep); }
.mobile-booking { background: rgba(7, 29, 62, .98); }
.mobile-booking a { color: var(--navy-deep); background: var(--yellow); }

@keyframes accentDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-12px, 16px, 0); }
}
@keyframes labFloatHybrid {
  0%, 100% { transform: translateY(0) rotate(2.4deg); }
  50% { transform: translateY(-12px) rotate(1.3deg); }
}
@keyframes symbolPulse {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.05); }
}
@keyframes featureFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}
@keyframes couponCardFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@media (max-width: 1020px) {
  .hero-grid { gap: 35px; }
  .feature-band article { padding-inline: 22px; }
  .individual-copy { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .individual-details { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .coupon-feature { padding: 44px 38px; }
}

@media (max-width: 780px) {
  .main-nav { background: var(--navy-deep); }
  .hero { padding: 116px 0 74px; }
  .hero::before { width: 150px; height: 150px; top: 85px; }
  .hero::after { width: 58px; height: 58px; bottom: 34px; }
  .hero-visual { height: 390px; margin-top: 34px; }
  .lab-card-main { inset: 42px 16px 52px 17px; padding: 27px 20px 32px; }
  .lab-card-head { margin-bottom: 18px; }
  .lab-symbol { width: 50px; height: 50px; }
  .lab-symbol svg { width: 28px; }
  .feature-band-grid { grid-template-columns: 1fr; padding-block: 7px; }
  .feature-band article { min-height: 101px; padding: 17px 9px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .feature-band article:first-child { border-top: 0; }
  .section { padding: 86px 0; }
  .program-card { min-height: auto; }
  .individual-service { margin-top: 58px; overflow: hidden; }
  .benefit-grid article { min-height: 195px; }
  .benefit-grid h3 { margin-top: 34px; }
  .coupon-feature { grid-template-columns: 1fr; gap: 28px; padding: 34px 24px; overflow: hidden; }
  .coupon-feature > div:not(.coupon-visual),
  .coupon-visual,
  .coupon-feature ul { grid-column: 1; grid-row: auto; }
  .coupon-visual { width: min(100%, 330px); min-height: 190px; margin-inline: auto; }
  .coupon-feature ul { grid-template-columns: 1fr; }
  .mobile-booking { background: rgba(7, 29, 62, .98); }
}

@media (max-width: 410px) {
  .hero h1 { font-size: clamp(2.8rem, 14.2vw, 4.6rem); }
  .hero-visual { height: 365px; }
  .lab-card-main { inset-inline: 9px; }
  .lab-card-main::before { inset: -10px 9px 9px -9px; }
  .lab-card-main::after { inset: 12px -9px -10px 12px; }
  .coupon-visual span { width: 41px; height: 41px; }
}

/* Refined color rhythm: navy frames the page, the content stays colorful */
.formula { white-space: nowrap; }

.group-cta-bar {
  background: linear-gradient(120deg, var(--wine-dark), #7f2147);
  box-shadow: 0 20px 45px rgba(111, 22, 56, .17);
}

.individual-service {
  background: #fff;
  box-shadow: 0 30px 70px rgba(111, 22, 56, .13);
}

.individual-copy {
  background:
    radial-gradient(circle at 0 100%, rgba(242, 205, 67, .16), transparent 38%),
    linear-gradient(145deg, var(--wine-dark), #7e2147);
}

.individual-copy .eyebrow { color: #ffd96b; }
.individual-copy::before { color: rgba(255, 255, 255, .07); }

.coupon-feature {
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 255, 255, .22), transparent 24%),
    linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 25px 60px rgba(8, 126, 128, .18);
}

.coupon-visual {
  box-shadow: 14px 15px 0 var(--yellow), 0 26px 50px rgba(0, 0, 0, .16);
}

.coupon-visual span:nth-child(1) { color: var(--navy); background: var(--yellow); }
.coupon-visual span:nth-child(2) { color: #fff; background: var(--coral); }
.coupon-visual span:nth-child(3) { color: var(--teal-dark); background: #bfe8dc; }
.coupon-visual span:nth-child(4) { color: #5d367c; background: #dfd0f1; }
.coupon-visual span:nth-child(5) { color: #fff; background: var(--wine); }

.results-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(242, 205, 67, .16), transparent 28%),
    linear-gradient(145deg, var(--wine-dark), #7f2147);
  box-shadow: 0 20px 48px rgba(111, 22, 56, .16);
}

/* Testimonials — a static mosaic instead of a carousel */
.testimonials-panel {
  margin-top: 82px;
  padding: 54px;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(13, 43, 87, .06);
}

.testimonials-heading {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.testimonials-heading h3 {
  max-width: 690px;
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.testimonials-heading > p {
  margin: 0 0 7px;
  color: var(--lab-muted);
  font-size: .92rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 13px;
}

.testimonial-card {
  position: relative;
  grid-column: span 3;
  min-height: 220px;
  padding: 26px;
  overflow: hidden;
  color: var(--lab-ink);
  background: var(--teal-pale);
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:nth-child(3) { background: var(--yellow-pale); }
.testimonial-card:nth-child(4) { background: var(--coral-pale); }
.testimonial-card:nth-child(5) { background: #f2edf8; }
.testimonial-card:nth-child(n+6) { grid-column: span 4; }
.testimonial-card:nth-child(6) { background: #edf7df; }
.testimonial-card:nth-child(7) { color: #fff; background: var(--teal-dark); }
.testimonial-card:nth-child(8) { background: var(--yellow); }

.testimonial-card:hover {
  z-index: 1;
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: 0 18px 35px rgba(13, 43, 87, .12);
}

.testimonial-featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 452px;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 205, 67, .2), transparent 30%),
    var(--wine);
}

.quote-mark {
  position: absolute;
  right: 18px;
  top: 0;
  color: rgba(255, 255, 255, .2);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.testimonial-card:not(.testimonial-featured):not(:nth-child(7)) .quote-mark {
  color: rgba(13, 43, 87, .1);
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 36px 0 24px;
  font-size: 1rem;
  line-height: 1.65;
}

.testimonial-featured blockquote {
  max-width: 630px;
  margin-top: 68px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.08rem, 1.55vw, 1.36rem);
  line-height: 1.65;
}

.testimonial-card cite {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.testimonial-featured cite { left: 38px; bottom: 34px; }
.testimonial-result::after {
  content: "EREDMÉNY";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 5px 8px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, .7);
  border-radius: 6px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.testimonial-result cite { bottom: 52px; }
.faq-block { margin-top: 30px; }

/* Colorful pre-footer finish */
.closing-cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, .66), transparent 18%),
    linear-gradient(120deg, var(--yellow-pale), var(--coral-pale) 55%, var(--teal-pale));
}

.closing-cta::before,
.closing-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.closing-cta::before {
  width: 210px;
  height: 210px;
  left: -85px;
  bottom: -115px;
  background: rgba(25, 170, 167, .28);
}

.closing-cta::after {
  width: 150px;
  height: 150px;
  right: -46px;
  top: -52px;
  background: rgba(242, 205, 67, .58);
}

.closing-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.closing-copy h2 {
  max-width: 630px;
  margin: 0;
  color: var(--wine-dark);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.closing-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 31px;
  color: #665861;
  font-size: 1rem;
}

.closing-button {
  color: #fff;
  background: var(--wine);
  box-shadow: 0 14px 30px rgba(111, 22, 56, .2);
}

.closing-button:hover { background: var(--wine-dark); }
.closing-visual { position: relative; min-height: 390px; }
.closing-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border-radius: 8px 26px 8px 26px;
  box-shadow: 0 24px 50px rgba(75, 13, 39, .14);
}

.closing-note small {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.closing-note strong {
  margin-top: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.closing-note span { margin-top: 6px; font-size: .8rem; opacity: .72; }
.closing-note-main {
  inset: 35px 85px 120px 10px;
  color: #fff;
  background: var(--teal);
  transform: rotate(-3deg);
  animation: closingFloatOne 7s ease-in-out infinite;
}
.closing-note-group {
  inset: 188px 5px 20px 150px;
  color: var(--wine-dark);
  background: var(--yellow);
  transform: rotate(3deg);
  animation: closingFloatTwo 6.5s .7s ease-in-out infinite;
}
.closing-doodle { position: absolute; z-index: 2; color: rgba(111, 22, 56, .28); font-family: Georgia, serif; font-weight: 800; }
.closing-doodle-one { right: 35px; top: 14px; font-size: 4.4rem; transform: rotate(10deg); }
.closing-doodle-two { left: 74px; bottom: 5px; font-size: 2.6rem; transform: rotate(-9deg); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg, var(--teal), var(--yellow), var(--coral), var(--wine)); }
.footer-brand::after { content: ""; display: block; width: 84px; height: 12px; margin-top: 22px; background: radial-gradient(circle at 6px 6px, var(--teal) 0 6px, transparent 6.5px), radial-gradient(circle at 36px 6px, var(--yellow) 0 6px, transparent 6.5px), radial-gradient(circle at 66px 6px, var(--coral) 0 6px, transparent 6.5px); }

@keyframes closingFloatOne {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-9px) rotate(-2deg); }
}

@keyframes closingFloatTwo {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(8px) rotate(2deg); }
}

@media (max-width: 1020px) {
  .testimonials-panel { padding: 42px; }
  .testimonials-heading { grid-template-columns: 1fr 260px; gap: 35px; }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-card,
  .testimonial-card:nth-child(n+6) { grid-column: auto; }
  .testimonial-featured { grid-column: span 2; grid-row: auto; min-height: 390px; }
  .closing-cta-inner { gap: 40px; }
  .closing-note-main { right: 55px; }
  .closing-note-group { left: 105px; }
}

@media (max-width: 780px) {
  .formula { white-space: normal; }
  .testimonials-panel { margin-top: 52px; padding: 32px 24px; }
  .testimonials-heading { display: block; margin-bottom: 26px; }
  .testimonials-heading > p { margin-top: 17px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card,
  .testimonial-featured,
  .testimonial-card:nth-child(n+6) { grid-column: auto; min-height: 235px; padding: 25px; }
  .testimonial-featured { min-height: 500px; }
  .testimonial-featured blockquote { margin-top: 55px; font-size: 1rem; }
  .testimonial-featured cite { left: 25px; bottom: 25px; }
  .closing-cta { padding: 76px 0 88px; }
  .closing-cta-inner { grid-template-columns: 1fr; gap: 34px; }
  .closing-visual { min-height: 355px; }
  .closing-note { padding: 27px; }
  .closing-note-main { inset: 26px 35px 130px 0; }
  .closing-note-group { inset: 185px 0 15px 55px; }
}

@media (max-width: 410px) {
  .testimonial-featured { min-height: 570px; }
  .closing-visual { min-height: 370px; }
  .closing-note-main { right: 18px; }
  .closing-note-group { left: 32px; }
}

/* Complete section navigation */
.header-inner { gap: 20px; }
.brand { width: 210px; }
.main-nav {
  justify-content: flex-end;
  gap: 12px;
  font-size: .72rem;
  white-space: nowrap;
}
.main-nav .button-small { min-height: 40px; padding-inline: 14px; }

/* Compact, continuously moving testimonial row */
.testimonials-panel {
  padding: 40px 0 34px;
  overflow: hidden;
}

.testimonials-heading {
  grid-template-columns: 1fr 300px;
  margin-bottom: 24px;
  padding-inline: 42px;
}

.testimonials-heading h3 {
  font-size: clamp(2rem, 3.7vw, 3.5rem);
}

.testimonial-viewport {
  width: 100%;
  overflow: hidden;
  padding: 6px 0 12px;
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-inline: 0;
  animation: testimonialFlow 66s linear infinite;
  will-change: transform;
}

.testimonial-viewport:hover .testimonial-track,
.testimonial-viewport:focus-within .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card,
.testimonial-featured,
.testimonial-card:nth-child(n+6) {
  grid-column: auto;
  grid-row: auto;
  flex: 0 0 320px;
  width: 320px;
  min-height: 292px;
  padding: 25px;
  border: 1px solid rgba(13, 43, 87, .06);
}

.testimonial-featured {
  flex-basis: 440px;
  width: 440px;
  min-height: 292px;
  padding: 25px;
}

.testimonial-card blockquote,
.testimonial-featured blockquote {
  margin: 34px 0 52px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .88rem;
  line-height: 1.55;
}

.testimonial-featured blockquote { font-size: .92rem; }
.testimonial-card cite,
.testimonial-featured cite { left: 25px; bottom: 22px; }
.testimonial-result cite { bottom: 50px; }
.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-card.tone-teal { background: var(--teal-pale); }
.testimonial-card.tone-yellow { background: var(--yellow-pale); }
.testimonial-card.tone-coral { background: var(--coral-pale); }
.testimonial-card.tone-lilac { background: #f2edf8; }
.testimonial-card.tone-green { background: #edf7df; }
.testimonial-card.tone-teal-dark { color: #fff; background: var(--teal-dark); }
.testimonial-card.tone-gold { color: var(--wine-dark); background: var(--yellow); }
.testimonial-card.tone-teal-dark .quote-mark { color: rgba(255, 255, 255, .2); }

.testimonial-hint {
  display: none;
  margin: 12px 42px 0;
  color: var(--lab-muted);
  font-size: .75rem;
  text-align: right;
}
.hint-touch { display: none; }

@keyframes testimonialFlow {
  to { transform: translateX(calc(-50% - 7px)); }
}

@media (max-width: 1100px) {
  html { scroll-padding-top: 80px; }
  .site-header { height: 72px; }
  .brand { width: 205px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 72px);
    padding: 19px 24px 27px;
    overflow-y: auto;
    color: #fff;
    background: var(--navy-deep);
    box-shadow: 0 20px 40px rgba(7, 29, 62, .24);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .2s ease;
    white-space: normal;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a:not(.button) {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: .92rem;
  }
  .main-nav .button { width: 100%; margin-top: 17px; }
}

@media (max-width: 780px) {
  .testimonials-panel { padding: 31px 0 25px; }
  .testimonials-heading { padding-inline: 24px; }
  .testimonial-viewport { mask-image: none; }
  .testimonial-card,
  .testimonial-featured,
  .testimonial-card:nth-child(n+6) {
    flex-basis: min(82vw, 340px);
    width: min(82vw, 340px);
    min-height: 300px;
  }
  .testimonial-featured { flex-basis: min(90vw, 410px); width: min(90vw, 410px); }
  .testimonial-hint { margin-inline: 24px; }
}

@media (hover: none) {
  .testimonial-viewport { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .testimonial-track { padding-inline: 14px; animation: none; }
  .testimonial-card { scroll-snap-align: start; }
  .testimonial-hint { display: block; }
  .hint-pointer { display: none; }
  .hint-touch { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-viewport { overflow-x: auto; }
  .testimonial-track { animation: none !important; }
}

/* Stronger individual-lesson highlight and three clear learning steps */
.individual-service {
  margin-top: 26px;
  box-shadow: 0 32px 72px rgba(200, 78, 93, .2);
}

.individual-service::before { display: none; }

.individual-copy {
  background:
    radial-gradient(circle at 4% 96%, rgba(242, 205, 67, .28), transparent 34%),
    linear-gradient(140deg, #a52d54 0%, #d94f5c 55%, var(--coral) 100%);
}

.individual-copy .eyebrow { color: #fff; }
.individual-copy .eyebrow span { background: var(--yellow); }
.individual-copy::before { color: rgba(255, 255, 255, .1); }
.individual-details { background: #fff9e9; }

.formula {
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(13, 43, 87, .08);
  border-radius: 16px;
  box-shadow: 0 9px 22px rgba(13, 43, 87, .08);
}

.formula strong {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 4px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
}

.formula span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--coral);
}

@media (max-width: 780px) {
  .individual-service { margin-top: 26px; }
  .formula { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; padding: 10px 8px; }
  .formula strong { min-height: 38px; padding: 0 2px; font-size: .66rem; }
  .formula span { width: 15px; height: 15px; }
}

/* WordPress-managed pages */
.kltk-generic-layout { display: block; }
.kltk-wordpress-content { width: min(100%, 900px); margin: 0 auto; }
.kltk-wordpress-content > *:first-child { margin-top: 0; }
.kltk-wordpress-content img { max-width: 100%; height: auto; }
body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Simplified header with direct booking and social links */
.header-actions,
.header-socials {
  display: flex;
  align-items: center;
}

.header-actions { gap: 14px; }
.header-socials { gap: 8px; }

.social-link {
  position: relative;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  text-decoration: none;
  pointer-events: auto;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.social-link:hover {
  color: var(--navy-deep);
  background: var(--yellow);
  transform: translateY(-2px);
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:last-child svg { fill: currentColor; stroke: none; }
.header-actions .button { position: relative; z-index: 12; margin: 0; pointer-events: auto; }

.header-lab-link {
  position: relative;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  border: 2px solid var(--mint);
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: .84rem;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: auto;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.header-lab-link:hover {
  color: var(--navy-deep);
  background: var(--mint);
  transform: translateY(-2px);
}

/* One-page landing navigation */
.landing-nav {
  position: fixed;
  inset: 82px 0 auto;
  z-index: 90;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--lab-line);
  box-shadow: 0 8px 24px rgba(13, 43, 87, .08);
  backdrop-filter: blur(14px);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.landing-nav-inner::-webkit-scrollbar { display: none; }

.landing-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease;
}

.landing-nav a:hover {
  color: var(--navy-deep);
  background: rgba(25, 170, 167, .14);
}

.landing-page .hero { padding-top: 220px; }
body.admin-bar .landing-nav { top: 114px; }

/* One shared lesson section: individual and group formats are equal choices. */
.lesson-options-grid { align-items: stretch; }
.lesson-option { min-height: 650px; }
.lesson-availability {
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
}
.group-possibilities {
  position: relative;
  z-index: 2;
  margin: 2px 0 20px;
  padding: 18px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(13, 43, 87, .08);
  border-radius: 16px;
}
.group-possibilities > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .78rem;
}
.group-possibilities > div { display: grid; gap: 8px; }
.group-possibilities span {
  position: relative;
  padding-left: 18px;
  color: var(--lab-muted);
  font-size: .76rem;
  line-height: 1.45;
}
.group-possibilities span::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 900;
}
.lesson-option-action { position: relative; z-index: 2; margin-top: 20px; }
.lesson-option-action .button { width: 100%; }
.lesson-option:nth-child(2) .lesson-option-action .button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 25px rgba(239, 120, 101, .2);
}
.lesson-option:nth-child(2) .lesson-option-action .button-primary:hover { background: #d95f50; }

/* Service details stay on the landing page instead of opening subpages. */
.landing-details {
  position: relative;
  z-index: 2;
  margin: 5px 0 20px;
  color: var(--lab-ink);
  border-top: 1px solid var(--lab-line);
  border-bottom: 1px solid var(--lab-line);
}

.landing-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Montserrat", sans-serif;
  font-size: .79rem;
  font-weight: 800;
}

.landing-details summary::-webkit-details-marker { display: none; }
.landing-details summary span { color: var(--teal-dark); font-size: 1.2rem; transition: transform .2s ease; }
.landing-details[open] summary span { transform: rotate(45deg); }
.landing-details p { margin: 0 0 13px; color: var(--lab-muted); font-size: .8rem; line-height: 1.65; }

.individual-inline-details {
  margin: 22px 0 8px;
  color: var(--lab-ink);
  border-color: var(--lab-line);
}
.individual-inline-details summary span { color: var(--coral); }
.individual-inline-details p { color: var(--lab-muted); }

/* Keep every interactive call-to-action above decorative layers. */
.button,
.text-link,
.mobile-booking a {
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.hero-pattern { pointer-events: none; }
.hero-copy,
.group-cta-bar,
.individual-details,
.closing-copy,
.footer-main { position: relative; z-index: 4; }

.group-cta-bar { grid-template-columns: 1fr auto; }
.individual-action { justify-content: flex-end; }

@media (max-width: 780px) {
  html { scroll-padding-top: 122px; }
  .landing-nav { top: 68px; }
  body.admin-bar .landing-nav { top: 114px; }
  .landing-nav-inner { justify-content: flex-start; min-height: 46px; gap: 2px; }
  .landing-nav a { padding: 7px 9px; font-size: .66rem; }
  .landing-page .hero { padding-top: 174px; }
  .lesson-option { min-height: auto; }
  .header-inner { width: min(calc(100% - 24px), var(--container)); gap: 10px; }
  .brand { width: 150px; }
  .header-actions { gap: 8px; }
  .header-socials { gap: 5px; }
  .social-link { width: 34px; height: 34px; }
  .social-link svg { width: 17px; height: 17px; }
  .header-lab-link { min-height: 38px; padding-inline: 12px; font-size: .7rem; }
  .header-actions .button { min-height: 38px; padding-inline: 13px; font-size: .72rem; }
  .group-cta-bar { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .brand { width: 100px; }
  .header-actions { gap: 6px; }
  .social-link { width: 30px; height: 30px; }
  .header-lab-link { min-height: 34px; padding-inline: 9px; font-size: .64rem; }
  .header-actions .button { min-height: 34px; padding-inline: 10px; font-size: .66rem; }
}

/* Search-friendly WordPress blog and article layouts */
.blog-section {
  color: var(--lab-ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(242, 205, 67, .22), transparent 23%),
    linear-gradient(180deg, #fffaf0 0%, #f6fbf9 100%);
}

.blog-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 410px);
  gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}

.blog-heading h2 { color: var(--navy); }
.blog-heading h2 em { color: var(--coral); font-style: normal; }
.blog-heading > p { margin: 0 0 8px; color: var(--lab-muted); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
}

.blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lab-line);
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(13, 43, 87, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(13, 43, 87, .13);
}

.blog-card-media {
  display: block;
  height: 210px;
  overflow: hidden;
  background: var(--teal-pale);
  text-decoration: none;
}

.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--navy); background: linear-gradient(135deg, var(--yellow-pale), var(--teal-pale)); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; letter-spacing: .16em; }
.blog-card-copy { padding: 25px; }
.blog-card time { color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.blog-card h2,
.blog-card h3 { margin: 10px 0 12px; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.25rem; line-height: 1.25; }
.blog-card h2 a,
.blog-card h3 a { text-decoration: none; }
.blog-card p { margin: 0; color: var(--lab-muted); font-size: .9rem; }
.blog-read-link { display: inline-flex; gap: 7px; margin-top: 20px; color: var(--coral); font-size: .82rem; font-weight: 800; text-underline-offset: 4px; }
.blog-all-button { width: fit-content; margin: 34px auto 0; color: #fff; background: var(--teal-dark); }
.blog-all-button:hover { background: var(--navy); }
.blog-empty { grid-column: 1 / -1; padding: 38px; text-align: center; background: #fff; border: 1px dashed var(--lab-line); border-radius: 22px; }
.blog-empty strong { color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.2rem; }
.blog-empty p { margin: 7px 0 0; color: var(--lab-muted); }
.blog-archive-page .section { background: #f8fbfa; }
.blog-grid-archive { align-items: stretch; }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.blog-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; color: var(--navy); background: #fff; border: 1px solid var(--lab-line); border-radius: 999px; text-decoration: none; }
.blog-pagination .current { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); }

.blog-article-hero {
  padding: 145px 0 80px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 205, 67, .18), transparent 25%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.blog-article-heading { width: min(calc(100% - 40px), 920px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 31px; color: rgba(255,255,255,.68); font-size: .82rem; }
.breadcrumbs a { text-underline-offset: 4px; }
.blog-article-hero h1 { max-width: 900px; margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.055em; }
.blog-article-meta { display: flex; gap: 20px; margin-top: 26px; color: rgba(255,255,255,.72); font-size: .85rem; }
.blog-article-layout { width: min(calc(100% - 40px), 920px); padding-top: 64px; padding-bottom: 100px; }
.blog-article-cover { margin: 0 0 46px; overflow: hidden; border-radius: 24px; box-shadow: 0 22px 55px rgba(13,43,87,.14); }
.blog-article-cover img { width: 100%; height: auto; }
.blog-article-content { color: var(--lab-ink); font-size: 1.05rem; line-height: 1.85; }
.blog-article-content > *:first-child { margin-top: 0; }
.blog-article-content h2,
.blog-article-content h3 { color: var(--navy); font-family: "Montserrat", sans-serif; line-height: 1.2; letter-spacing: -.035em; }
.blog-article-content h2 { margin: 52px 0 18px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.blog-article-content h3 { margin: 38px 0 15px; font-size: 1.45rem; }
.blog-article-content a { color: var(--teal-dark); text-underline-offset: 4px; }
.blog-article-content img { height: auto; border-radius: 18px; }
.blog-article-content blockquote { margin: 35px 0; padding: 22px 26px; color: var(--navy); background: var(--yellow-pale); border-left: 5px solid var(--yellow); border-radius: 0 16px 16px 0; }
.blog-article-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 58px; padding: 30px; color: #fff; background: var(--teal-dark); border-radius: 22px; }
.blog-article-cta strong { display: block; font-family: "Montserrat", sans-serif; font-size: 1.25rem; }
.blog-article-cta p { margin: 7px 0 0; color: rgba(255,255,255,.76); }
.blog-article-cta .button { flex: 0 0 auto; color: var(--navy); background: var(--yellow); box-shadow: none; }
.blog-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.blog-post-navigation a { display: flex; flex-direction: column; gap: 5px; min-height: 105px; padding: 20px; color: var(--navy); background: #fff; border: 1px solid var(--lab-line); border-radius: 16px; text-decoration: none; }
.blog-post-navigation a:last-child { text-align: right; }
.blog-post-navigation span { color: var(--teal-dark); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 900px) {
  .blog-heading { grid-template-columns: 1fr; gap: 18px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-media { height: 190px; }
  .blog-article-hero { padding: 125px 0 58px; }
  .blog-article-layout { padding-top: 42px; padding-bottom: 76px; }
  .blog-article-content { font-size: 1rem; }
  .blog-article-cta { align-items: stretch; flex-direction: column; padding: 24px; }
  .blog-post-navigation { grid-template-columns: 1fr; }
  .blog-post-navigation a:last-child { text-align: left; }
}

/* SEO service pages */
.service-more-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.45;
  text-underline-offset: 4px;
}
.program-card .service-more-link { margin: 4px 0 22px; }
.individual-action { align-items: flex-start; flex-direction: column; }

.service-page { background: #f8fbfa; }
.service-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 92px;
  background:
    radial-gradient(circle at 92% 16%, rgba(246,198,75,.42), transparent 22%),
    radial-gradient(circle at 78% 88%, rgba(47,166,154,.26), transparent 25%),
    linear-gradient(135deg, #fffaf0, #eef9f7);
}
.service-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -125px;
  width: 350px;
  height: 350px;
  border: 3px solid rgba(13,43,87,.08);
  border-radius: 50%;
}
.service-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 72px;
  align-items: center;
}
.service-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 29px; color: var(--lab-muted); font-size: .8rem; }
.service-breadcrumbs a { color: var(--teal-dark); text-underline-offset: 4px; }
.service-hero h1 { max-width: 800px; margin: 0; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: clamp(2.8rem, 5.8vw, 5.6rem); line-height: 1.02; letter-spacing: -.055em; }
.service-hero h1 em { color: var(--coral); font-style: normal; }
.service-lead { max-width: 740px; margin: 26px 0 0; color: var(--lab-muted); font-size: 1.08rem; line-height: 1.75; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.service-hero-actions .button-outline { color: var(--navy); border-color: rgba(13,43,87,.22); }
.service-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.service-facts span { padding: 8px 12px; color: var(--navy); background: rgba(255,255,255,.7); border: 1px solid rgba(13,43,87,.1); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.service-visual-card { position: relative; min-height: 390px; padding: 35px 35px 125px; overflow: hidden; color: #fff; background: var(--teal-dark); border-radius: 30px; box-shadow: 0 26px 65px rgba(13,43,87,.16); transform: rotate(2deg); }
.service-visual-card::before { content: ""; position: absolute; width: 230px; height: 230px; right: -80px; bottom: -115px; background: var(--yellow); border-radius: 50%; opacity: .94; }
.service-visual-card::after { content: ""; position: absolute; width: 110px; height: 110px; right: 55px; top: 52px; border: 3px solid rgba(255,255,255,.24); border-radius: 50%; }
.service-visual-card small,
.service-visual-card strong,
.service-visual-card span { position: relative; z-index: 1; display: block; }
.service-visual-card small { font-size: .72rem; font-weight: 900; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; opacity: .78; }
.service-visual-card strong { max-width: 280px; margin-top: 108px; font-family: "Montserrat", sans-serif; font-size: 2rem; line-height: 1.05; }
.service-visual-card span { margin-top: 18px; font-size: .94rem; line-height: 1.6; opacity: .8; }
.service-visual-card b { position: absolute; z-index: 1; right: 29px; bottom: 13px; color: var(--navy); font-family: Georgia, serif; font-size: 4rem; transform: rotate(-5deg); }
.service-visual-card.service-visual-admissions { background: var(--coral); }
.service-visual-card.service-visual-exam { background: var(--navy); }

.service-content-section { padding: 92px 0; }
.service-content-section:nth-of-type(odd) { background: #fff; }
.service-section-heading { max-width: 750px; margin-bottom: 42px; }
.service-section-heading h2 { margin: 0; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.service-section-heading p { margin: 18px 0 0; color: var(--lab-muted); line-height: 1.75; }
.service-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 64px; align-items: start; }
.service-copy { color: var(--lab-ink); font-size: 1rem; line-height: 1.82; }
.service-copy p:first-child { margin-top: 0; }
.service-highlight-box { padding: 34px; color: var(--navy); background: var(--yellow-pale); border: 1px solid rgba(246,198,75,.38); border-radius: 24px; }
.service-highlight-box h2,
.service-highlight-box h3 { margin: 0 0 19px; font-family: "Montserrat", sans-serif; font-size: 1.4rem; line-height: 1.2; }
.service-checklist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.service-checklist li { position: relative; padding-left: 30px; color: var(--lab-ink); line-height: 1.55; }
.service-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-dark); font-weight: 900; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-info-card { min-height: 240px; padding: 29px; background: #fff; border: 1px solid var(--lab-line); border-radius: 22px; box-shadow: 0 16px 40px rgba(13,43,87,.06); }
.service-info-card > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 26px; color: #fff; background: var(--teal-dark); border-radius: 12px; font-weight: 900; }
.service-info-card:nth-child(2) > span { color: var(--navy); background: var(--yellow); }
.service-info-card:nth-child(3) > span { background: var(--coral); }
.service-info-card h3 { margin: 0 0 12px; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.16rem; line-height: 1.25; }
.service-info-card p { margin: 0; color: var(--lab-muted); font-size: .9rem; line-height: 1.65; }
.service-faq { display: grid; gap: 12px; max-width: 880px; }
.service-faq details { padding: 0 23px; background: #fff; border: 1px solid var(--lab-line); border-radius: 16px; }
.service-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; color: var(--navy); cursor: pointer; font-family: "Montserrat", sans-serif; font-weight: 800; }
.service-faq details p { margin: -2px 0 23px; color: var(--lab-muted); line-height: 1.7; }
.service-crosslinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-crosslink { display: flex; justify-content: space-between; gap: 25px; padding: 27px; color: var(--navy); background: #fff; border: 1px solid var(--lab-line); border-radius: 20px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.service-crosslink:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(13,43,87,.08); }
.service-crosslink small { display: block; margin-bottom: 7px; color: var(--teal-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.service-crosslink strong { font-family: "Montserrat", sans-serif; font-size: 1.2rem; }
.service-crosslink > span { color: var(--coral); font-size: 1.5rem; }
.service-page-cta { padding: 72px 0; color: #fff; background: linear-gradient(135deg, var(--wine-dark), var(--wine)); }
.service-page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.service-page-cta h2 { max-width: 680px; margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.service-page-cta p { max-width: 650px; margin: 17px 0 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.service-page-cta .button { flex: 0 0 auto; color: var(--navy); background: var(--yellow); box-shadow: none; }

@media (max-width: 900px) {
  .service-hero-grid,
  .service-intro-grid { grid-template-columns: 1fr; }
  .service-hero-grid { gap: 42px; }
  .service-visual-card { min-height: 310px; }
  .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card-grid .service-info-card:last-child { grid-column: 1 / -1; }
  .service-page-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .service-hero { padding: 120px 0 66px; }
  .service-hero h1 { font-size: clamp(2.55rem, 13vw, 4.25rem); }
  .service-lead { font-size: 1rem; }
  .service-hero-actions { align-items: stretch; flex-direction: column; }
  .service-hero-actions .button { width: 100%; }
  .service-visual-card { min-height: 280px; padding: 27px 27px 120px; }
  .service-visual-card strong { margin-top: 75px; font-size: 1.7rem; }
  .service-content-section { padding: 68px 0; }
  .service-card-grid,
  .service-crosslinks { grid-template-columns: 1fr; }
  .service-card-grid .service-info-card:last-child { grid-column: auto; }
  .service-info-card { min-height: 0; }
  .service-page-cta { padding: 60px 0 85px; }
  .service-page-cta .button { width: 100%; }
  .footer-bottom nav { flex-wrap: wrap; row-gap: 10px; }
}

/* 1.4.10 – egységes matematikaóra-bemutató */
.unified-lessons{padding:clamp(1.5rem,4vw,3rem);max-width:100%;}
.unified-lessons-intro{font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.7;max-width:75ch;}
.unified-lesson-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0;}
.unified-lesson-formats p{margin:0;padding:1.3rem;border:1px solid rgba(24,58,99,.12);border-radius:18px;background:rgba(248,246,242,.75);line-height:1.75;}
.group-start-note{padding:1.25rem 1.5rem;border-radius:18px;background:rgba(113,181,173,.13);border:1px solid rgba(113,181,173,.3);line-height:1.75;}
.group-start-note p{margin:.45rem 0 0;}
.unified-location{margin:1.4rem 0;font-weight:600;}
.unified-lesson-actions{display:flex;gap:.8rem;flex-wrap:wrap;}
@media(max-width:700px){.unified-lesson-formats{grid-template-columns:1fr}.unified-lesson-actions .button{width:100%;justify-content:center;}}

/* 1.4.11 – részletes, jóváhagyott matematikaóra-szöveg */
.unified-lessons > p {line-height:1.75;max-width:95ch;}
.unified-tagline {font-size:clamp(1.2rem,2vw,1.55rem);font-weight:800;color:#183a63;margin:0 0 1rem;}
.unified-lesson-formats .lesson-format {padding:clamp(1.2rem,2.5vw,2rem);border:1px solid rgba(24,58,99,.13);border-radius:18px;background:rgba(248,246,242,.78);min-width:0;}
.unified-lesson-formats .lesson-format p {padding:0;border:0;border-radius:0;background:transparent;margin:.7rem 0 1rem;}
.lesson-format h3,.lesson-audiences h3,.group-start-note h3 {margin:0 0 .8rem;color:#183a63;line-height:1.35;font-size:clamp(1.1rem,1.6vw,1.4rem);}
.lesson-format h3 span {font-size:.86em;font-weight:500;}
.lesson-benefits {padding-left:1.25rem;margin:.6rem 0 0;line-height:1.72;}
.lesson-benefits li+li {margin-top:.7rem;}
.lesson-benefits li::marker {color:#448b83;}
.unified-emphasis {margin:1.25rem 0;padding:1.1rem 1.3rem;border-left:4px solid #71b5ad;background:rgba(113,181,173,.1);border-radius:0 12px 12px 0;}
.lesson-audiences {margin:1.4rem 0 1.7rem;}
.group-start-note h3 {margin-bottom:.4rem;}
@media(max-width:700px){.unified-lesson-formats {gap:1rem;} .unified-lessons {padding:1.25rem;} .unified-lesson-formats .lesson-format {padding:1.2rem;}}

/* 1.4.12 – azonos hosszúságú foglalkozáskártyák, megszüntetett másodlagos navigáció */
.landing-nav{display:none!important;}
.unified-lesson-formats{align-items:stretch;}
.unified-lesson-formats .lesson-format{display:flex;flex-direction:column;height:100%;}
.unified-lesson-formats .lesson-format .lesson-benefits{flex:1;}

/* 1.4.13 – letisztult, ritmusos foglalkozás-bemutató */
.unified-lessons{max-width:1100px;margin-inline:auto;}
.unified-lessons .unified-tagline{margin-bottom:.55rem;}
.unified-lessons .unified-intro{max-width:78ch;margin:.1rem 0 1.65rem;color:#45546a;line-height:1.75;}
.unified-lesson-formats{gap:clamp(1rem,2.4vw,1.7rem);margin:1.35rem 0 1.65rem;}
.unified-lesson-formats .lesson-format{background:#fff;border:1px solid #dbe4e5;box-shadow:0 10px 30px rgba(24,58,99,.045);padding:clamp(1.2rem,2vw,1.85rem);}
.unified-lesson-formats .lesson-format p{color:#475468;line-height:1.6;font-size:.96rem;}
.unified-lesson-formats .lesson-format h3{font-size:clamp(1.1rem,1.55vw,1.35rem);}
.unified-lesson-formats .lesson-format h3 span{display:block;margin-top:.2rem;color:#56706f;}
.unified-lesson-formats .lesson-benefits{padding-left:1.15rem;font-size:.94rem;line-height:1.62;}
.unified-lesson-formats .lesson-benefits li+li{margin-top:.65rem;}
.unified-emphasis{margin:1.5rem 0 1.8rem;line-height:1.7;}
.lesson-audiences{margin:1.2rem 0 1.5rem;}
.lesson-audiences h3{margin-bottom:1rem;}
.audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;}
.audience-item{display:flex;flex-direction:column;gap:.45rem;padding:1.1rem 1.15rem;background:#f8f6f2;border:1px solid #e5e2dc;border-radius:15px;line-height:1.5;}
.audience-item strong{color:#183a63;}
.audience-item span{font-size:.94rem;color:#495965;}
.group-start-note{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin:1.4rem 0 0;background:#eaf4f1;}
.group-start-note>div{flex:1;}
.group-start-note p{max-width:68ch;line-height:1.65;}
.group-start-note .button{flex-shrink:0;white-space:nowrap;}
.unified-location{margin:1.3rem 0 .7rem;}
@media(max-width:850px){.audience-grid{grid-template-columns:1fr;}.group-start-note{flex-direction:column;align-items:stretch;}.group-start-note .button{align-self:flex-start;}}
@media(max-width:700px){.unified-lesson-formats{grid-template-columns:1fr;}.group-start-note .button{width:100%;justify-content:center;}}

/* 1.4.14 – a foglalkozások rész finomhangolása */
.unified-lessons .unified-intro {max-width:none;width:100%;margin:.35rem 0 1.6rem;}
.unified-lesson-formats .lesson-format > p {min-height:7.2em;}
.unified-lessons .unified-emphasis {display:block;width:100%;max-width:none;box-sizing:border-box;margin:1.5rem 0 1.8rem;padding:1.35rem 1.55rem;background:#e6f2ef;border:1px solid #9ac8c0;border-left:5px solid #2e776d;color:#183a63;box-shadow:0 6px 22px rgba(24,58,99,.07);font-size:1.04rem;line-height:1.75;}
.unified-lessons .unified-emphasis strong {color:#143f40;font-weight:800;}
.group-start-note {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.75rem;}
.group-start-note > div {min-width:0;}
.group-start-note .button {align-self:center;}
@media(max-width:850px){.group-start-note{grid-template-columns:1fr;gap:1rem;}.unified-lesson-formats .lesson-format > p{min-height:0;}}

/* 1.4.16 – bevezető sortörés és a foglalkozások függőleges ritmusa */
.unified-lessons .intro-break {display:block;content:"";margin-top:.3rem;}
.unified-lessons .lesson-audiences {margin-top:1.05rem;margin-bottom:1.05rem;}
.unified-lessons .lesson-audiences h3 {margin-bottom:.45rem;}
.unified-lessons .audience-grid {margin-top:0;}
.unified-lessons .unified-lesson-actions {margin-top:1.85rem;padding-top:.15rem;}
@media(max-width:700px) { .unified-lessons .unified-lesson-actions {margin-top:1.4rem;} }

/* 1.4.17 - compact group inquiry heading and paragraph */
.unified-lessons .group-start-note h3 { margin:0 0 .15rem; }
.unified-lessons .group-start-note p { margin:0; }

/* 1.4.18 – nincs térköz a csoportos érdeklődés címe és leírása között */
.unified-lessons .group-start-note > div { display:flex; flex-direction:column; gap:0 !important; row-gap:0 !important; }
.unified-lessons .group-start-note > div > h3 { margin:0 !important; padding:0 !important; }
.unified-lessons .group-start-note > div > p { margin:0 !important; padding:0 !important; }

/* 1.4.19 – kompakt lábléc, egységes kapcsolati tipográfia */
.site-footer:not(.legal-footer) { padding-top:clamp(30px,4vw,46px); padding-bottom:12px; }
.site-footer:not(.legal-footer) .footer-main { gap:clamp(20px,3vw,40px); }
.site-footer:not(.legal-footer) .footer-brand img { width:min(220px,100%); }
.site-footer:not(.legal-footer) .footer-brand p { margin:9px 0 0; }
.site-footer:not(.legal-footer) .footer-main > div:nth-child(2) > p { margin:12px 0 16px; }
.site-footer:not(.legal-footer) .footer-main address { gap:9px; padding-top:3px; }
.site-footer:not(.legal-footer) .footer-main address :is(a,span) { display:block; color:#fff; font-family:"Montserrat",sans-serif; font-size:.9rem; font-weight:600; line-height:1.55; letter-spacing:normal; text-decoration:none; overflow-wrap:anywhere; }
.site-footer:not(.legal-footer) .footer-main address a:hover,
.site-footer:not(.legal-footer) .footer-main address a:focus-visible { text-decoration:underline; text-underline-offset:3px; }
.site-footer:not(.legal-footer) .footer-bottom { margin-top:clamp(22px,3vw,34px); padding-top:13px; }
@media (max-width:700px) {
 .site-footer:not(.legal-footer) .footer-main { gap:24px; }
 .site-footer:not(.legal-footer) .footer-bottom { margin-top:24px; }
}

/* 1.4.20 – unobtrusive contextual SEO links */
.seo-service-links{margin:1.25rem 0;line-height:1.7;font-size:.94rem}.seo-service-links a{text-decoration:underline;text-underline-offset:3px;color:inherit}.seo-service-links a:focus-visible{outline:2px solid currentColor;outline-offset:3px}


/* Nyári előjelentkezés — az eredeti Készség Labor arculat kiegészítése. */
.summer-body { background:var(--cream); }
.summer-main { padding-top:82px; }
.summer-hero { background:linear-gradient(140deg,var(--wine-deep),var(--wine)); color:#fff; padding:82px 0 74px; }
.summer-hero .eyebrow {color:var(--gold);}
.summer-hero h1 {font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.08;letter-spacing:-.04em;max-width:940px;margin:20px 0;}
.summer-hero h1 em {color:var(--gold);font-style:italic;}
.summer-lead {font-size:clamp(1rem,1.8vw,1.28rem);max-width:740px;opacity:.92;margin-bottom:27px;}
.summer-section {padding:80px 0;}
.summer-section-heading {max-width:780px;margin-bottom:30px;}
.summer-section-heading h2 {font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin:0 0 14px;}
.summer-program-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.summer-program {padding:32px;border:1px solid var(--line);background:#fff;border-radius:var(--radius-lg);box-shadow:0 6px 26px rgba(60,15,35,.04);}
.summer-number {display:inline-block;margin-bottom:16px;color:var(--wine);font-weight:700;letter-spacing:.08em;font-size:.8rem;}
.summer-program h3 {font-size:1.55rem;line-height:1.25;margin:0 0 9px;color:var(--wine-deep)}
.summer-program p {margin:0;color:var(--muted)}
.summer-form-wrap {background:var(--wine-soft);}
.summer-form {background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(22px,4vw,46px);box-shadow:var(--shadow);max-width:900px;}
.summer-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.summer-field {display:flex;flex-direction:column;gap:6px;min-width:0;}
.summer-field.wide {grid-column:1/-1;}
.summer-field label,.summer-legend {font-weight:700;color:var(--wine-deep);font-size:.96rem;}
.summer-field input,.summer-field select,.summer-field textarea {border:1px solid #cdbec7;border-radius:10px;background:#fff;min-height:48px;padding:10px 13px;width:100%;color:var(--ink);font:inherit;}
.summer-field textarea {min-height:102px;resize:vertical;}
.summer-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;}
.summer-options label,.summer-consent {display:flex;align-items:flex-start;gap:10px;line-height:1.45;}
.summer-options input,.summer-consent input {accent-color:var(--wine);margin-top:4px;flex-shrink:0;}
.summer-note {color:var(--muted);font-size:.95rem;margin:12px 0 24px;}
.summer-status {padding:16px 20px;background:#f0f8f1;border:1px solid #81a68a;border-radius:12px;margin-bottom:22px;}
.summer-status.error {background:#fff3f2;border-color:#d29e9b;}
.summer-bottom {display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-top:24px;}
.summer-bottom p {flex:1;min-width:220px;color:var(--muted);margin:0;font-size:.9rem;}
.summer-honeypot {position:absolute;left:-10000px;opacity:0;}
@media(max-width:680px){.summer-hero{padding:62px 0}.summer-section{padding:54px 0}.summer-program-grid,.summer-fields,.summer-options{grid-template-columns:1fr}.summer-program{padding:25px}}

/* 1.4.31 – A nyári előjelentkezés a Matform mellett, a főoldal fejlécében */
.header-summer-link{position:relative;z-index:12;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 17px;color:var(--wine-dark,#4b0d27);background:var(--gold,#d9ad5c);border:2px solid var(--gold,#d9ad5c);border-radius:999px;text-decoration:none;font-family:"Montserrat",sans-serif;font-size:.82rem;font-weight:800;white-space:nowrap;transition:transform .2s ease,background .2s ease}
.header-summer-link:hover{transform:translateY(-2px);background:#efcc8e;color:var(--wine-deep,#330719)}
.header-summer-short{display:none}
@media(max-width:1100px){.header-actions{gap:9px}.header-summer-link{padding:0 12px;font-size:.72rem}}
@media(max-width:850px){.header-socials{display:none!important}}
@media(max-width:780px){.header-summer-link{min-height:38px;padding:0 11px;font-size:.7rem}}
@media(max-width:570px){.header-summer-full{display:none}.header-summer-short{display:inline}}
@media(max-width:400px){.header-summer-link{min-height:34px;padding:0 8px;font-size:.66rem}.header-actions>a.button[data-booking-link]{display:none!important}.header-lab-link{padding-inline:8px}}



/* 1.4.41.7 – Az eredeti KLTK embléma önmagában, alatta felirat nélkül. */
.site-header .brand { width: 172px; max-width: 172px; flex: 0 0 auto; }
.site-header .brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.site-footer .footer-brand img,
.site-footer:not(.legal-footer) .footer-brand img { display: block; width: min(225px,100%); height: auto; object-fit: contain; }
@media (max-width: 1100px) { .site-header .brand { width: 146px; max-width: 146px; } }
@media (max-width: 780px) { .site-header .brand { width: 126px; max-width: 126px; } }
@media (max-width: 390px) { .site-header .brand { width: 104px; max-width: 104px; } }


/* ============================================================================
   KLTK 1.4.41.9 – jóváhagyott új nyitóblokk / 2026-10-25
   Referencia: bal oldalon az eredeti címsor, szöveg, gombok; jobb oldalon tanulótér.
   A többi szakasz tartalma, linkjei, HTML-szerkezete változatlan.
   ============================================================================ */
:root {
  --wine: #073936;
  --wine-dark: #073936;
  --wine-deep: #052d2a;
  --wine-soft: #eff6f3;
  --cream: #FAF8F3;
  --ink: #073936;
  --muted: #58706a;
  --gold: #F2C15E;
  --mint: #8FCBC2;
  --mint-dark: #5A9C92;
  --navy: #073936;
  --navy-deep: #052d2a;
  --teal: #5A9C92;
  --teal-dark: #073936;
  --teal-pale: #ecf7f4;
  --yellow: #F2C15E;
  --yellow-pale: #fff4d8;
  --coral: #F2C15E;
  --coral-pale: #fdf0dc;
  --lab-cream: #FAF8F3;
  --lab-ink: #073936;
  --lab-muted: #58706a;
}
body { font-family: "Inter", Arial, sans-serif; }
button, input, select, textarea { font-family: "Inter", Arial, sans-serif; }
:where(h1,h2,h3,h4,h5,h6),
.hero h1, .section h2, .site-footer h2,
.button, .header-summer-link, .header-lab-link,
.unified-lessons h3, .faq-block h3,
.testimonial-featured blockquote,
.footer-main :is(h2,h3) {
  font-family: "Montserrat", Arial, sans-serif;
}
/* Keep decorative mathematical notation serif only when it is an actual formula. */

body.landing-page { background: #FAF8F3; color: #073936; }
body.landing-page .site-header,
body.landing-page .site-header.scrolled {
  height: 100px;
  color: #073936;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(7,57,54,.11);
  box-shadow: 0 6px 26px rgba(7,57,54,.045);
  backdrop-filter: blur(12px);
}
body.landing-page .header-inner { width: min(calc(100% - 52px), 1480px); gap: 20px; }
body.landing-page .site-header .brand { width: clamp(132px,13vw,195px); max-width:195px; flex-shrink:0; }
body.landing-page .site-header .brand img { width:100%; height:auto; }
body.landing-page .header-actions { gap: 11px; align-items:center; margin-left:auto; }
body.landing-page .header-actions > a,
body.landing-page .header-actions > .header-socials { flex-shrink:0; }
body.landing-page .header-lab-link {
  color: #073936; border: 1.5px solid #5A9C92; background: #fff;
  min-height:44px; padding:0 18px; font-size:.79rem; box-shadow:none;
}
body.landing-page .header-lab-link:hover { background: #ecf7f4; color: #073936; }
body.landing-page .header-summer-link {
  color:#fff; background:#073936; border-color:#073936;
  min-height:44px; padding:0 18px; font-size:.77rem; box-shadow:none;
}
body.landing-page .header-summer-link:hover { color:#fff; background:#14534d; }
body.landing-page .header-actions .button-light {
  color: #073936; background:#F2C15E; min-height:44px; padding:0 20px;
  font-size:.79rem; box-shadow:none;
}
body.landing-page .header-actions .button-light:hover { background:#f7cf7a; }
body.landing-page .header-socials { gap:7px; }
body.landing-page .social-link {
  width:39px; height:39px;
  color:#073936; border:1px solid rgba(7,57,54,.24);
  background:#fff;
}
body.landing-page .social-link:hover { background:#ecf7f4; }

/* Full-bleed split hero, without the former rotating card/orbit illustrations. */
body.landing-page .hero {
  min-height: 0;
  margin-top: 100px;
  padding: 0;
  color: #073936;
  background: #FAF8F3;
  overflow:hidden;
}
body.landing-page .hero::before,
body.landing-page .hero::after,
body.landing-page .hero-pattern,
body.landing-page .hero .wave { display:none; }
body.landing-page .hero-grid {
  display:grid;
  grid-template-columns: minmax(0, 51.5%) minmax(0,48.5%);
  align-items: stretch;
  gap:0;
  max-width:none;
  width:100%;
  margin:0;
}
body.landing-page .hero-copy {
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding: clamp(56px,5vw,92px) clamp(28px,4vw,74px) clamp(60px,5vw,90px) max(32px,calc((100vw - 1450px)/2));
}
body.landing-page .hero .eyebrow {
  color:#073936;
  font-family:"Montserrat",Arial,sans-serif;
  font-weight:700;
  font-size:.69rem;
  letter-spacing:.15em;
  gap:12px;
  margin-bottom:26px;
}
body.landing-page .hero .eyebrow span { background:#F2C15E; width:32px; }
body.landing-page .hero h1 {
  max-width:760px;
  color:#073936;
  font-family:"Montserrat",Arial,sans-serif;
  font-weight:800;
  font-size:clamp(3.05rem,4.4vw,5.25rem);
  letter-spacing:-.063em;
  line-height:1.065;
  overflow-wrap:normal;
}
body.landing-page .hero h1 em { color:#5A9C92; font-weight:800; font-style:normal; }
body.landing-page .hero-lead {
  color:#536c68;
  max-width:650px;
  margin:28px 0 0;
  font-size:clamp(.97rem,1.12vw,1.12rem);
  line-height:1.76;
}
body.landing-page .hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px 27px;
  margin-top:34px;
}
body.landing-page .hero-actions .button-primary {
  color:#073936;
  background:#F2C15E;
  box-shadow:0 13px 28px rgba(242,193,94,.19);
  padding:0 26px;
  font-size:.84rem;
}
body.landing-page .hero-actions .button-primary:hover { background:#f7cf7a; }
body.landing-page .hero .text-link {
  color:#073936;
  text-decoration-color:#5A9C92;
  font-size:.88rem;
  font-weight:700;
  text-decoration-thickness:2px;
}
body.landing-page .hero-photo {
  display:block;
  margin:0;
  padding:0;
  position:relative;
  height:auto;
  min-height:690px;
  overflow:hidden;
  background:#eee8de;
}
body.landing-page .hero-photo img {
  display:block;
  height:100%; width:100%;
  min-height:690px;
  object-fit:cover;
  object-position:center 45%;
  position:absolute;
  inset:0;
}
/* Wide, feathered photo-to-cream transition: no visible vertical seam or arc.
   Ease the cream overlay out gradually while leaving the classroom and wall logo clear. */
body.landing-page .hero-photo::after {
  content:"";
  position:absolute;
  z-index:1;
  inset:0 auto 0 0;
  width:clamp(170px, 18vw, 280px);
  background:linear-gradient(90deg,
    #FAF8F3 0%,
    rgba(250,248,243,.97) 12%,
    rgba(250,248,243,.83) 30%,
    rgba(250,248,243,.58) 51%,
    rgba(250,248,243,.27) 72%,
    rgba(250,248,243,.07) 90%,
    rgba(250,248,243,0) 100%);
  pointer-events:none;
}

/* Typography and focus behavior also follow the approved manual below the fold. */
.section h2, .site-footer h2, .about-copy h3, .results-heading h3 { letter-spacing:-.04em; }
.site-footer:not(.legal-footer) .footer-main address :is(a,span) { font-family:"Inter",Arial,sans-serif; }
body.landing-page :is(a,button):focus-visible { outline:3px solid #5A9C92; outline-offset:4px; }

@media(max-width:1300px) {
  body.landing-page .hero h1 { font-size:clamp(3.0rem,4.35vw,4.8rem); }
  body.landing-page .hero-photo,body.landing-page .hero-photo img { min-height:650px; }
  body.landing-page .hero-copy { padding-left:40px; padding-right:34px; }
  body.landing-page .header-actions { gap:8px; }
  body.landing-page .header-actions .button-light,
  body.landing-page .header-summer-link,
  body.landing-page .header-lab-link { padding-inline:12px; }
}
@media(max-width:1030px) {
  body.landing-page .site-header,body.landing-page .site-header.scrolled { height:86px; }
  body.landing-page .hero { margin-top:86px; }
  body.landing-page .hero-grid { grid-template-columns:minmax(0,51%) minmax(0,49%); }
  body.landing-page .hero h1 { font-size:clamp(2.6rem,4.6vw,3.8rem); }
  body.landing-page .hero-lead { font-size:.94rem; }
  body.landing-page .hero-photo,body.landing-page .hero-photo img { min-height:620px; }
  body.landing-page .site-header .brand { width:144px; }
}
@media(max-width:800px) {
  body.landing-page .site-header,body.landing-page .site-header.scrolled { height:76px; }
  body.landing-page .hero { margin-top:76px; }
  body.landing-page .header-inner { width:min(calc(100% - 28px),1480px); }
  body.landing-page .header-actions { gap:7px; }
  body.landing-page .header-socials { display:none !important; }
  body.landing-page .site-header .brand { width:132px; }
  body.landing-page .header-actions .button-light,
  body.landing-page .header-lab-link,
  body.landing-page .header-summer-link { font-size:.71rem; min-height:39px; }
  body.landing-page .hero-grid { grid-template-columns:1fr; }
  body.landing-page .hero-copy {
    padding:58px max(25px,6vw) 52px;
    align-items:flex-start;
  }
  body.landing-page .hero h1 { font-size:clamp(2.75rem,8.6vw,4.8rem); }
  body.landing-page .hero-lead { max-width:700px; font-size:1rem; }
  body.landing-page .hero-photo { min-height:440px; height:440px; }
  body.landing-page .hero-photo img { min-height:440px; object-position:center 40%; }
  /* When the photo moves below the copy, fade vertically instead. */
  body.landing-page .hero-photo::after {
    display:block;
    inset:0 0 auto;
    width:100%;
    height:clamp(70px, 16vw, 105px);
    background:linear-gradient(180deg,
      #FAF8F3 0%,
      rgba(250,248,243,.94) 18%,
      rgba(250,248,243,.65) 45%,
      rgba(250,248,243,.26) 75%,
      rgba(250,248,243,0) 100%);
  }
}
@media(max-width:570px) {
  body.landing-page .site-header .brand { width:103px; }
  body.landing-page .header-actions .button-light,
  body.landing-page .header-lab-link,
  body.landing-page .header-summer-link { padding:0 9px; min-height:35px; font-size:.67rem; }
  body.landing-page .header-inner { gap:8px; }
  body.landing-page .hero-copy { padding:48px 23px 48px; }
  body.landing-page .hero h1 { font-size:clamp(2.55rem,10vw,3.65rem); }
  body.landing-page .hero-lead { font-size:.95rem; margin-top:24px; }
  body.landing-page .hero-actions { align-items:flex-start; flex-direction:column; gap:18px; }
  body.landing-page .hero-photo { height:345px; min-height:345px; }
  body.landing-page .hero-photo img { min-height:345px; object-position:center 42%; }
}
@media(max-width:420px) {
  body.landing-page .site-header .brand { width:88px; }
  body.landing-page .hero h1 { font-size:clamp(2.38rem,10.8vw,3rem); }
  body.landing-page .hero .eyebrow { font-size:.56rem; gap:8px; letter-spacing:.10em; }
  body.landing-page .hero-actions .button-primary { width:100%; padding-inline:13px; }
  body.landing-page .header-actions > a.button[data-booking-link] { display:none!important; }
  body.landing-page .header-summer-full { display:none; }
  body.landing-page .header-summer-short { display:inline; }
}

/* Final optical sizing at desktop widths: emulate the accepted 4-line headline. */
@media (min-width:801px) {
  body.landing-page .hero h1 {
    font-size:clamp(3.2rem,5.35vw,5.55rem);
    line-height:1.035;
    max-width:650px;
  }
}

/* Local SEO block: spacing only; inherits the existing section-heading design. */
.local-seo-block { margin-top: 54px; }
