/* ==========================================================================
   BENO gitaros kursai — design system
   Rebuilt from the WordPress/Elementor original.
   Palette + type extracted from the old site's rendered CSS.
   ========================================================================== */

:root {
  --amber: #ffab00;
  --amber-dark: #e09600;
  --magenta: #ef15c4;
  --dark: #14161f;
  --dark-2: #1e2130;
  --bg: #f5f7fa;
  --white: #fff;
  --text: #333;
  --muted: #666;
  --line: #e6e8ee;
  --ok: #22a06b;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .07);
  --wrap: 1140px;
  --font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  background: var(--dark);
  color: #fff;
  position: relative;
  /* Must sit above .nav-backdrop. The drawer is a child of this element, so its
     own z-index is confined to this stacking context — leaving the header
     below the backdrop made every drawer link unclickable. */
  z-index: 60;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

/* Logo is sized to sit on the same optical line as the nav — not bigger than
   the rest of the bar. */
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 112px; height: auto; display: block; }

/* social icons in the desktop bar (mirrored inside the drawer on mobile) */
.head-socials { display: flex; gap: 8px; flex: 0 0 auto; }
.head-socials a {
  width: 30px; height: 30px; border-radius: 7px;
  display: grid; place-items: center;
}
.head-socials .fb { background: #1877f2; }
.head-socials .yt { background: #ff0000; }
.head-socials svg { width: 15px; height: 15px; fill: #fff; }


.head-contact {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 18px;
  margin-left: 2px;
  border-left: 1px solid #2a2e40;
  font-size: 12.5px;
  line-height: 1.35;
}
.head-contact a { color: #aab0c2; }
.head-contact a:first-child { color: #fff; font-weight: 500; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__link { color: #fff; font-size: 15px; font-weight: 500; }
.nav__link:hover { color: var(--amber); text-decoration: none; }

/* drawer-only pieces — hidden on desktop */
.nav__socials,
.nav__contact,
.nav__link--more { display: none; }

.lang { display: flex; gap: 6px; font-size: 13px; }
.lang a { color: #9aa0b5; }
.lang a.on { color: #fff; font-weight: 600; }

/* ---------- hamburger ---------- */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid #333850;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 21px; height: 2px;
  margin: 2.5px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s ease, opacity .16s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 14, .55);
  z-index: 55;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 15px 30px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background .15s ease;
}
.btn:hover { background: var(--amber-dark); text-decoration: none; }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber-dark);
  border-radius: 30px;
  padding: 13px 34px;
}
.btn--ghost:hover { background: var(--amber); color: #1a1a1a; }
.btn--block { display: block; width: 100%; font-size: 17px; padding: 18px 30px; }

/* On touch devices :hover sticks after a tap and leaves the element greyed out.
   Kill the UA tap highlight and give a short, self-clearing :active instead. */
.btn, .county__trigger, .city, .nav-toggle, .modal__close {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.county__trigger:active, .city:active { background: #eceff5; }
/* ---------- hero ---------- */
.hero {
  position: relative;
  background: #0d0f16 center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 96px 20px 104px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,18,.72), rgba(10,12,18,.86));
}
.hero > * { position: relative; z-index: 1; }
.hero .kicker {
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(30px, 6vw, 62px);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.hero .sub { font-size: clamp(17px, 2.4vw, 22px); color: rgba(255,255,255,.86); margin: 0 0 30px; }

/* ---------- generic sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg); }
.section__title {
  text-align: center;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section__lead { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 640px; }

.quote-strip {
  border-left: 3px solid var(--line);
  padding-left: 18px;
  font-style: italic;
  color: var(--muted);
  margin: 34px 0;
}

/* Grids are mobile-first with explicit breakpoints. Deliberately NOT using
   minmax(min(...px, 100%), 1fr) — percentage tracks can resolve against the
   viewport and overflow the container on narrow phones. */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid--3, .grid--2 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- group cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.card .meta { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.card .when { color: var(--amber-dark); font-weight: 700; }
.card .spots { font-size: 14px; color: var(--muted); }

/* ---------- carousel ---------- */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); }
.carousel__track { display: flex; transition: transform .4s ease; }
.carousel__track img { min-width: 100%; }
.carousel__nav { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: #c9ced9; cursor: pointer;
}
.carousel__dot.on { background: var(--amber); }

/* ---------- before-you-start list ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }
.checks li.star::before { content: "★"; color: var(--amber); }

.note {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--muted);
  font-style: italic;
  margin: 22px 0;
}

/* ---------- price ----------
   One calm block: label, the number at scale, the terms under it, contact
   pinned right. Previously the number was inline in a bold sentence, which
   wrapped mid-phrase and left the contact floating under a broken line. */
.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 26px;
}
.price__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.price__sum {
  display: block;
  font-size: 36px;
  line-height: 1.05;
  color: var(--amber-dark);
  letter-spacing: -.01em;
}
.price__sub { display: block; font-size: 14.5px; color: var(--muted); margin-top: 6px; }

.contact-mini { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.contact-mini a { color: var(--text); font-weight: 600; }

@media (min-width: 560px) {
  .price-row { grid-template-columns: auto 1fr; }
  .contact-mini { text-align: right; }
}

/* ---------- form ---------- */
.form { max-width: 680px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 15px; }
.field .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #cfd4e0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.field .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }

.form__status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
}
.form__status.ok { display: block; background: #e8f7f0; color: #14624a; }
.form__status.err { display: block; background: #fdecec; color: #a01f1f; }

/* ---------- steps ---------- */
.step-card { text-align: center; }
.step-card .num {
  width: 46px; height: 46px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; margin: 0 auto 14px;
  font-weight: 700; font-size: 20px;
}
.step-card:nth-child(1) .num { background: #4a7cf7; }
.step-card:nth-child(2) .num { background: var(--amber); }
.step-card:nth-child(3) .num { background: var(--ok); }

.guarantee {
  border: 2px solid var(--ok);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 34px auto 0;
  max-width: 680px;
  text-align: center;
}
.guarantee h3 { margin: 0 0 8px; color: #14624a; }

/* ---------- city directory ----------
   Buttons size to their text rather than stretching: a short county name gets
   a short button, "Marijampolės apskritis" gets a longer one. */
.directory {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.county {
  width: fit-content;
  min-width: min(260px, 100%);
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.county__trigger {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 18px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}
@media (hover: hover) {
  .county__trigger:hover { background: var(--bg); }
}
.county__trigger .plus { color: var(--amber-dark); font-weight: 700; transition: transform .2s; }
.county.open .county__trigger .plus { transform: rotate(45deg); }
.county__body { display: none; padding: 0 26px 18px; }
.county.open .county__body { display: block; }

.city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: auto;                 /* hug the city name */
  min-width: 150px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  background: #fff;
  padding: 13px 20px;
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
@media (hover: hover) {
  .city:hover { background: var(--bg); }
}
.city.full { border-left-color: #c9ced9; color: var(--muted); }
.city .plus { color: var(--amber-dark); }
.city.full .plus { color: #b9bec9; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 20px; padding: 3px 10px; }
.badge.open { background: #e8f7f0; color: #14624a; }
.badge.few  { background: #fff5e0; color: #8a5a00; }
.badge.full { background: #f0f1f5; color: #6b7280; }

.dir-notes { margin-top: 28px; font-size: 14px; color: var(--muted); }
.dir-notes li { margin-bottom: 6px; }

/* modal */
.modal {
  position: fixed; inset: 0; background: rgba(10,12,18,.6);
  display: none; place-items: center; padding: 20px; z-index: 100;
}
.modal.on { display: grid; }
.modal__panel {
  background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%;
  padding: 30px 32px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal__close {
  position: absolute; top: 10px; right: 14px; border: 0; background: none;
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted);
}
.modal h3 { margin: 0 0 16px; font-size: 24px; }
.modal dl { margin: 0; font-size: 15px; }
.modal dt { font-weight: 600; margin-top: 12px; }
.modal dd { margin: 2px 0 0; color: var(--muted); }

/* ---------- image lightbox ----------
   Full-viewport viewer for content photos. The backdrop carries the blur; the
   picture sits sharp on top of it. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(12px, 4vw, 48px);
  background: rgba(10, 12, 18, .82);
  -webkit-backdrop-filter: blur(16px) saturate(.9);
  backdrop-filter: blur(16px) saturate(.9);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .22s ease;
}
.lightbox.on { display: grid; }
.lightbox.in { opacity: 1; }

.lightbox__img {
  max-width: min(94vw, 1600px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  cursor: default;
  transform: scale(.97);
  transition: transform .22s cubic-bezier(.22, .61, .36, 1);
}
.lightbox.in .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: fixed;
  top: clamp(10px, 2.5vw, 26px);
  right: clamp(10px, 2.5vw, 26px);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .18s, transform .18s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.lightbox__close:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.lightbox__cap {
  position: fixed;
  left: 0; right: 0;
  bottom: clamp(12px, 3vw, 28px);
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  padding: 0 60px;
  pointer-events: none;
}

img.is-zoomable { cursor: zoom-in; }
body.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none; }
  .lightbox__img { transform: none; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #9aa0b5; padding: 46px 0 30px; font-size: 14.5px; }
.site-footer a { color: #cfd3e0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 26px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-bottom {
  border-top: 1px solid #2a2e40; margin-top: 34px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px;
}

/* ============================================================
   Responsive — tuned from 320px (iPhone SE / older Androids)
   up through current iPhones and tablets.
   ============================================================ */

/* ============================================================
   Header switches to a slide-out drawer on tablet and below.
   The bar itself keeps only the logo and the hamburger.
   ============================================================ */
@media (max-width: 900px) {
  .site-header__bar { gap: 12px; padding: 12px 0; }
  .head-contact { display: none; }              /* lives in the drawer */
  .nav-toggle { display: grid; }
  .head-socials { display: none; }             /* the drawer carries them */

  .brand img { width: 112px; }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 330px);
    margin: 0;
    padding: 76px 22px 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark-2);
    box-shadow: -14px 0 40px rgba(0, 0, 0, .35);
    transform: translateX(102%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 60;
  }
  .nav.open { transform: none; }

  .nav__socials { display: flex; gap: 10px; margin: 0 0 20px; }
  .nav__socials a {
    width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center;
  }
  .nav__socials .fb { background: #1877f2; }
  .nav__socials .yt { background: #ff0000; }
  .nav__socials svg { width: 18px; height: 18px; fill: #fff; }

  .nav__link,
  .nav__link--more {
    display: block;
    padding: 15px 2px;
    font-size: 17px;
    border-bottom: 1px solid #2c3145;
  }
  .nav__link--more { font-size: 16px; color: #c3c8d8; }

  .nav__contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 22px;
    font-size: 15px;
  }
  .nav__contact a { color: #cfd3e0; }

  .nav__cta { margin-top: 24px; text-align: center; }
  .lang { margin-top: 20px; font-size: 14px; }

  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .field--row { grid-template-columns: 1fr; }
}

/* phones */
@media (max-width: 600px) {
  body { font-size: 16px; }
  body.nav-open { overflow: hidden; }
  .wrap { padding: 0 16px; }
  .section { padding: 46px 0; }
  .section__lead { margin-bottom: 30px; }

  /* Logo keeps its size; the bar gains vertical breathing room around it so the
     logo no longer touches the top and bottom edges. 7px each side on a 110px
     logo lands the bar ~20% taller than before. */
  .site-header__bar { padding-block: 7px; }
  .brand img { width: 110px; }
  .nav-toggle { width: 36px; height: 36px; border-radius: 8px; }
  .nav-toggle span { width: 17px; height: 2px; margin: 2px auto; }

  .hero { padding: 62px 18px 68px; }
  .hero h1 { letter-spacing: -.01em; }
  .section__title { margin-bottom: 8px; }

  .card { padding: 18px 18px; }
  .btn { padding: 14px 24px; }

  /* 80vw cards stay centred on phones — on a narrow single column a
     left-hugging 80vw row reads as a mistake, not as alignment. */
  .directory { max-width: none; align-items: center; }
  .county { min-width: 80vw; }
  .county__body { padding: 0 16px 16px; }
  .city-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .city { flex: 1 1 130px; min-width: 0; padding: 13px 16px; }
  .modal__panel { padding: 24px 20px; }

  /* Footer: centred, two columns instead of a ragged left stack */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 18px;
    text-align: center;
  }
  .site-footer h4 { margin-bottom: 8px; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

/* very small / low-res (≈4") */
@media (max-width: 380px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 13px; }
  .brand img { width: 100px; }
  .site-header__bar { padding-block: 8px; }
  .hero { padding: 52px 14px 58px; }
  .hero h1 { font-size: clamp(26px, 9vw, 38px); }
  .btn { width: 100%; text-align: center; }
  .btn--ghost { width: auto; }
  .city { font-size: 14.5px; }
  .footer-grid { gap: 20px; }
}

/* landscape phones — don't waste vertical space */
@media (max-height: 460px) and (orientation: landscape) {
  .hero { padding: 44px 18px 50px; }
  .hero h1 { font-size: clamp(24px, 6vw, 34px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__track { transition: none; }
}

@media print {
  .site-header, .site-footer, .carousel__nav, .btn { display: none !important; }
  body { font-size: 12pt; }
}

/* closing CTA block (registration page) */
.cta-box {
  max-width: 680px;
  margin: 42px auto 0;
  padding: 32px 30px;
  text-align: center;
  border: 2px solid var(--ok);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f1fbf6 0%, #ffffff 70%);
}
.cta-box h3 {
  margin: 0 0 12px;
  color: #14624a;
  font-size: clamp(20px, 3.2vw, 27px);
  line-height: 1.25;
}
.cta-box p { margin: 0 0 16px; }
.cta-points {
  list-style: none;
  margin: 0 auto 22px;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.cta-points li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.cta-points li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--ok); font-weight: 700;
}
.cta-box .hint { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

@media (max-width: 600px) {
  .cta-box { padding: 24px 18px; }
  .cta-points { display: block; }
}

/* ---------- city modal: closed group + phone ---------- */
.modal__closed {
  display: inline-block;
  margin: 0 0 4px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fdecec;
  color: #b3261e;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.modal__phone {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.modal__phone a { color: var(--text); font-weight: 600; text-decoration: none; }
.modal__phone a:hover { text-decoration: underline; }
.checks li.italic { font-style: italic; color: var(--muted); }


/* ==========================================================================
   REGISTRATION — horizontal 4-step flow + book block
   Colour-coded: each step owns one accent so the row never reads as one wall.
   ========================================================================== */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto 40px;
  counter-reset: flowstep;
}
.flow__step {
  --c: var(--amber);
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .045);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.flow__step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--c);
}
/* Quiet echo of the colour bar at the foot of each card — same accent, a third
   of the thickness and mostly transparent, so the row reads as framed without
   adding another loud element. */
.flow__step::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1.33px;
  background: var(--c);
  opacity: .15;
}
.flow__step:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .09); }
.flow__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  color: #fff;
  background: var(--c);
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 38%, transparent);
}
.flow__step { display: flex; flex-direction: column; text-align: center; }
.flow__step h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.flow__step p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.flow__step b, .flow__step strong { color: var(--text); }

.flow__step:nth-child(1) { --c: #4a7cf7; }
.flow__step:nth-child(2) { --c: var(--amber); }
.flow__step:nth-child(3) { --c: var(--ok); }
.flow__step:nth-child(4) { --c: var(--magenta); }

@media (min-width: 620px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .flow__step { padding: 26px 18px 22px; }
}

/* ---------- prices strip ---------- */
.money {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 780px;
  margin: 0 auto 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.money__cell { padding: 24px 26px; }
.money__cell + .money__cell { border-top: 1px solid var(--line); }
.money__cell:first-child { background: linear-gradient(135deg, #fff7e6 0%, #fffdf8 100%); }
.money__label {
  display: block;
  font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 2px;
}
.money__sum { display: block; font-size: 40px; line-height: 1.05; color: var(--amber-dark); letter-spacing: -.01em; }
.money__cell:last-child .money__sum { color: var(--text); }
.money__note { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.money__note b { color: var(--text); }

@media (min-width: 640px) {
  .money { grid-template-columns: 1fr 1fr; }
  .money__cell + .money__cell { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- the book / platform block ---------- */
.included {
  max-width: 780px;
  margin: 0 auto 46px;
  background: var(--dark);
  border-radius: 16px;
  padding: 30px 28px;
  display: grid;
  gap: 24px;
  align-items: center;
  color: #e8eaf2;
}
.included__img {
  justify-self: center;
  display: block;
  border-radius: 10px;
  /* transform is animated on both hover and the phone pulse, so it needs its
     own transition; the shadow rides along so growth reads as lift. */
  transition: transform .35s cubic-bezier(.22, .61, .36, 1),
              filter .35s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.included__img img {
  width: clamp(150px, 26vw, 190px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .45));
  transform: rotate(-2deg);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}

/* mouse: a small 5% lift, no layout shift */
@media (hover: hover) and (pointer: fine) {
  .included__img:hover,
  .included__img:focus-visible { transform: scale(1.05); }
  .included__img:hover img,
  .included__img:focus-visible img {
    transform: rotate(-1deg);
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .55));
  }
}
/* keyboard users get a visible ring on the dark card */
.included__img:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 6px;
}

/* phone: one guided pulse as the book scrolls into view. Class is added by
   main.js via IntersectionObserver, so it fires once per page load rather
   than on every scroll tick. */
.included__img.pulse { animation: bookPulse 1.15s cubic-bezier(.22, .61, .36, 1); }
@keyframes bookPulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.10); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .included__img.pulse { animation: none; }
  .included__img, .included__img img { transition: none; }
}
.included h3 { margin: 0 0 10px; color: #fff; font-size: 21px; line-height: 1.3; }
.included p { margin: 0 0 12px; font-size: 15px; color: #b9bed0; }
.included ul { list-style: none; margin: 0; padding: 0; }
.included li { position: relative; padding-left: 24px; margin-bottom: 7px; font-size: 14.5px; color: #d5d9e6; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.included a:not(.included__img) {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 171, 0, .4);
}
.included a:not(.included__img):hover { border-bottom-color: var(--amber); }

@media (min-width: 720px) {
  .included { grid-template-columns: 200px 1fr; padding: 34px 36px; gap: 34px; }
}

/* ---------- registration FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 56px auto 0;
  padding-top: 8px;
  /* Menu links jump to #duk; keep the heading clear of the sticky top edge. */
  scroll-margin-top: 24px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: #ffd98a; box-shadow: 0 6px 20px rgba(255, 171, 0, .1); }
.faq__item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 46px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--amber-dark);
  transition: transform .2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ---------- rich answers inside DUK ---------- */
.faq__rich { padding: 0 20px 20px; }
.faq__rich > p { padding: 0; margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.faq__rich .faq__closing { margin: 14px 0 0; color: var(--text); font-weight: 500; }
.faq__lede { color: var(--muted); font-size: 15px; margin: 0 0 16px; }

/* six doubts, each crossed out in amber and answered in the same line — the
   doubt is the label, the answer is what the reader actually takes away */
.doubts { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; }
.doubts li {
  position: relative;
  padding: 11px 16px 11px 42px;
  border-left: 3px solid var(--amber);
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  font-size: 15.5px;
  color: var(--text);
}
.doubts li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--amber-dark);
  font-weight: 700;
}

.perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.perks li {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-areas: "ic title" "ic text";
  column-gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.perks__ic {
  grid-area: ic;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #fff5e0;
}
.perks__ic svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--amber-dark);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.perks b { grid-area: title; font-size: 15.5px; line-height: 1.35; }
.perks li > span:last-child { grid-area: text; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

@media (min-width: 680px) {
  .perks { grid-template-columns: 1fr 1fr; }
}

/* ---------- three pillars ---------- */
.pillars {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}
.pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 24px;
}
.pillar__n {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}
.pillar h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; }
.pillar p { margin: 0 0 10px; font-size: 15px; color: var(--muted); line-height: 1.65; }
.pillar p:last-child { margin-bottom: 0; }
.pillar a { border-bottom: 1px solid rgba(224, 150, 0, .45); }
.pillars__note {
  max-width: 700px;
  margin: 30px auto 0;
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
}
@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- photo pair ---------- */
.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.gallery__cap {
  max-width: 660px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: 1.55fr 1fr; align-items: stretch; }
}

/* ---------- split rows: text one side, photos the other ----------
   DOM order is source order (text first, media second), so a screen reader
   still hears the copy before the pictures. `.split--flip` reverses only the
   visual columns above the phone breakpoint. */
.split {
  display: grid;
  gap: 34px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
.split__text > :first-child { margin-top: 0; }
.split__text > :last-child { margin-bottom: 0; }
.split__lede { font-size: 19px; color: var(--text); }
.split__title { font-size: clamp(21px, 2.6vw, 26px); margin: 0 0 14px; line-height: 1.3; }
.split__cta { margin-top: 24px; }
.split__media .quote-strip { margin-bottom: 0; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 52px; }
  .split--flip .split__media { order: -1; }
}

/* ---------- price highlight ----------
   Dark card against an amber panel: the number and the four inclusions sit on
   the dark half, the claim and the button on the warm half. */
.pricecard {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 22, 31, .16);
}
.pricecard__left {
  background: var(--dark);
  color: #fff;
  padding: 40px 30px;
}
.pricecard__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.pricecard__eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--amber);
}
.pricecard__title {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.16;
  font-weight: 800;
}
.pricecard__amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.pricecard__sum { font-size: clamp(44px, 6vw, 64px); font-weight: 800; line-height: 1; }
.pricecard__per { color: #a9aebd; font-size: 15px; line-height: 1.45; }
.pricecard__list { list-style: none; margin: 0; padding: 0; }
.pricecard__list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  color: #d6d9e2;
  font-size: 15.5px;
  line-height: 1.55;
}
.pricecard__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgba(255, 171, 0, .16);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.pricecard__list .worth { color: var(--amber); font-weight: 600; white-space: nowrap; }

.pricecard__right {
  background: var(--amber);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricecard__claim {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.3;
  font-weight: 800;
  color: #14161f;
}
.pricecard__calc { margin: 0 0 26px; font-size: 17px; color: #3d2c00; }
.pricecard__calc strong { font-size: 24px; font-weight: 800; color: #14161f; }
.pricecard__btn {
  display: block;
  text-align: center;
  background: #14161f;
  color: #fff;
  font-weight: 700;
  padding: 18px 26px;
  border-radius: 999px;
  font-size: 16px;
  transition: transform .18s, box-shadow .18s;
}
.pricecard__btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 22, 31, .35);
}
.pricecard__foot { margin: 18px 0 0; font-size: 14px; color: #3d2c00; }

@media (min-width: 860px) {
  .pricecard { grid-template-columns: 1.15fr 1fr; }
  .pricecard__left { padding: 48px 46px; }
  .pricecard__right { padding: 48px 42px; }
}
