/* ============================================================
   BriCsi Hair Therapy - Oktatás oldalpár (preview)
   Brand: Satoshi · ink #131210 · arany #C9922F/#DD9933 · ivory
   ============================================================ */

:root {
  --ink: #161311;
  --ink-soft: #55504a;
  --ivory: #f6f4ef;
  --ivory-deep: #efece4;
  --paper: #fffdf9;
  --gold: #c9922f;
  --gold-bright: #dd9933;
  --gold-deep: #8a5f22;
  --gold-soft: rgba(201, 146, 47, 0.14);
  --line: rgba(22, 19, 17, 0.14);
  --line-soft: rgba(22, 19, 17, 0.08);
  --dark: #191512;
  --dark-2: #221d18;
  --on-dark-soft: rgba(246, 244, 239, 0.66);
  --radius: 10px;
  --radius-lg: 18px;
  --font-sans: "Satoshi", "Lato", Arial, Helvetica, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

::selection { background: var(--gold); color: #fff; }

/* ---------- typography ---------- */

.display {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
}

.display em, .h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold);
}

.h2 {
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.h3 {
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  max-width: 56ch;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(22, 19, 17, 0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand { display: flex; align-items: center; line-height: 1; }

.brand-logo { height: 56px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a { position: relative; padding-block: 6px; }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-dark {
  background: var(--ink);
  color: var(--ivory);
}

.btn-dark:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(201, 146, 47, 0.55);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(22, 19, 17, 0.5);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-sm { padding: 11px 22px; font-size: 0.9rem; }

.header-cta { flex-shrink: 0; }

/* ---------- hero (oktatás) ---------- */

.hero {
  position: relative;
  /* az alsó térköz szándékosan kisebb: alatta a szófüzér saját paddingje
     is hozzáadódik, együtt adják ki a hero és a "Miért?" közti levegőt */
  padding-block: clamp(56px, 9vh, 110px) clamp(36px, 5.5vh, 66px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-copy > * + * { margin-top: 26px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta div strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-meta div span { font-size: 0.85rem; color: var(--ink-soft); }

.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(22, 19, 17, 0.45);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(22, 19, 17, 0.35));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.float-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 18px 40px -18px rgba(22, 19, 17, 0.35);
  animation: float 5s ease-in-out infinite;
}

.float-chip strong { display: block; font-size: 1.15rem; letter-spacing: -0.01em; }

.float-chip span { font-size: 0.76rem; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

.chip-1 { top: 8%; left: -9%; }
.chip-2 { bottom: 12%; right: -7%; animation-delay: -2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* decorative strand curve */
.strand-bg {
  position: absolute;
  top: -40px;
  right: -120px;
  width: clamp(300px, 40vw, 640px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

/* A hajszál-réteg a hero tetejétől a why-grid felső vonaláig tart: a svg
   100% magas, a görbék a viewBox alján érnek véget, így a vonal pontosan
   az elválasztónál áll meg. A nyújtást a non-scaling-stroke ellensúlyozza. */
/* overflow-x: clip (nem hidden), mert a hidden görgetőkonténert csinálna
   és elrontaná a sticky/anchor viselkedést; a dísz-svg jobb széle így a
   viewportnál elvágódik, vízszintes görgetés nélkül. */
.strand-zone { position: relative; overflow-x: clip; }

.strand-zone > .strand-bg {
  top: 0;
  height: 100%;
}

/* A fejléc alsó margóját paddingre váltjuk, különben kicsúszik a rétegből
   (margin collapse), és a hajszál 64px-szel a vonal fölött érne véget. */
.why-intro {
  padding-top: clamp(30px, 4.5vh, 54px);
  padding-bottom: clamp(40px, 6vh, 64px);
}

.why-intro .section-head { margin-bottom: 0; }

.why-section { padding-bottom: clamp(48px, 7vh, 92px); }

/* ---------- lebegő szavak (a korábbi arany futó sáv helyén) ----------
   Folyamelrendezés (flex + wrap), nem abszolút pozicionálás: a szórt
   hatást a szavankénti függőleges eltolás (--dy), a döntés (--r), a
   méret és az áttetszőség adja. Így semmilyen képernyőszélességen nem
   tudnak egymásra csúszni vagy kilógni — a sáv alacsony maradhat. */

.wordfield {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* A sorköznek el kell bírnia a legrosszabb esetet, amikor két szomszédos
     sor egymás felé mozdul: |--dy| max 9px + parallax max 6px, mindkét
     oldalon, plusz ráhagyás. Ezért 38px — egysoros elrendezésnél (asztali)
     ennek nincs látható hatása. */
  gap: 38px clamp(14px, 2.2vw, 30px);
  padding: clamp(12px, 2vh, 22px) var(--gutter);
  overflow: hidden;
}

/* Vékony, áttetsző, meleg barnás-arany szavak. Az áttetszőséget a --o
   adja szavanként, a mélységérzetet a méret + opacitás + parallax együtt. */
/* Ugyanaz a dőlt talpas kiemelés-betű, mint a címekben lévő <em>-eknél. */
.wordfield-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--gold-deep);
  opacity: var(--o, 0.5);
  font-size: clamp(0.88rem, 2.6vw, 1.02rem);
  position: relative;
  top: var(--dy, 0px);
  white-space: nowrap;
  /* a JS a --tx/--ty változókat állítja; a lebegést a belső <i> viszi,
     így a két animáció nem írja felül egymást */
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg));
}

.wordfield-word > i {
  display: inline-block;
  font-style: italic;
  animation: word-float 9s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

.wordfield-word:nth-child(2n) > i { --fd: -1.9s; }
.wordfield-word:nth-child(3n) > i { --fd: -3.7s; }
.wordfield-word:nth-child(5n) > i { --fd: -5.5s; }

@keyframes word-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (min-width: 768px) {
  .wordfield-word { font-size: clamp(0.92rem, 1.1vw, 1.05rem); }

  .wordfield-word.is-lg { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

  .wordfield-word.is-sm { font-size: clamp(0.8rem, 0.95vw, 0.9rem); }
}

/* Szűk kijelzőn a leghosszabb, legkevésbé fontos szavakat elhagyjuk,
   hogy a füzér ne fusson szét túl sok sorba. */
@media (max-width: 560px) {
  .wordfield-word.is-optional { display: none; }
}

/* ---------- sections ---------- */

/* Két egymás utáni szekció térköze összeadódik, ezért itt a felére vágva
   is bőven marad levegő (korábban 2×130 = 260px tudott lenni). */
.section { padding-block: clamp(48px, 7vh, 92px); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 64px); }

.section-head > * + * { margin-top: 20px; }

/* why columns */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.why-card {
  background: var(--ivory);
  padding: clamp(28px, 3.5vw, 48px) clamp(22px, 2.6vw, 38px);
  transition: background 0.35s ease;
}

.why-card:hover { background: var(--paper); }

.why-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}

.why-card h3 { margin-top: 18px; }

.why-card p { margin-top: 12px; color: var(--ink-soft); font-size: 0.99rem; }

/* training cards */
.trainings { display: grid; gap: clamp(28px, 4vw, 44px); }

.training-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -45px rgba(22, 19, 17, 0.4);
}

.training-card.is-flipped { grid-template-columns: 1.1fr 0.9fr; }

.training-card.is-flipped .training-media { order: 2; }

.training-media { position: relative; min-height: 340px; }

.training-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.training-media .tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.training-body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }

.training-body .lead { font-size: 1rem; }

.feature-list { list-style: none; display: grid; gap: 12px; margin-top: 6px; }

/* Blokk + abszolút pipa, nem flex: így a soron belüli <strong> és a
   szöveg egy folyamban marad (flexben külön oszlopba kerülnének). */
.feature-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.6 8.5 2.6' fill='none' stroke='%23c9922f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- dark tech section ---------- */

.tech {
  background: var(--dark);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.tech .eyebrow { color: var(--gold-bright); }

.tech .lead { color: var(--on-dark-soft); }

/* rendszer-kártyák */

/* Négy egymás melletti kártya: a négy technológia egy sorban, egyben
   átlátható. Csak rövid, egymondatos leírással működik — hosszabb
   szövegnél 6-7 soros, keskeny hasábokká esik szét. */
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.system-card {
  background: var(--dark-2);
  border: 1px solid rgba(246, 244, 239, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.system-card:hover { border-color: rgba(221, 153, 51, 0.5); transform: translateY(-4px); }

.system-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.system-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.system-card:hover .system-media img { transform: scale(1.04); }

.system-body {
  padding: clamp(20px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.system-step {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold-bright);
}

.system-body p { color: var(--on-dark-soft); font-size: 0.97rem; }

/* Adatcímkék, nem vezérlők: sima, ponttal elválasztott sor — a pirula
   alakú keret kattinthatónak látszott. */
/* Nincs margin-top:auto: az egyforma magasságú kártyákban az aljára
   rögzített speclista a rövidebb szövegűeknél középen hagyott lyukat
   (a legrosszabb esetben 99px-et). Így a szöveg alatt marad, a maradék
   hely pedig egységesen a kártya aljára kerül. */
.spec-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 9px;
  padding-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.spec-inline li:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: rgba(246, 244, 239, 0.3);
}

/* dokumentáció sor */

.doc-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(30px, 5vh, 56px);
  padding-top: clamp(30px, 5vh, 56px);
  border-top: 1px solid rgba(246, 244, 239, 0.14);
}

.doc-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.doc-media img { width: 100%; height: 100%; object-fit: cover; }

.doc-body > * + * { margin-top: 16px; }

.doc-body p { color: var(--on-dark-soft); }

/* ---------- gép és termékcsalád ---------- */

/* A két packshot eltérő állású (gép: álló, termékek: fekvő), ezért nem
   közös arányú dobozba tesszük őket, hanem fekvő kártyákba, ahol a média
   oszlop tölti ki a kártya magasságát — így egyik sem vágódik rosszul. */
.offer-grid { display: grid; gap: clamp(24px, 4vw, 44px); }

.offer-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -50px rgba(22, 19, 17, 0.4);
}

.offer-card.is-flipped { grid-template-columns: 1.2fr 0.8fr; }

.offer-card.is-flipped .offer-media { order: 2; }

.offer-media {
  position: relative;
  background: var(--ivory-deep);
  min-height: 360px;
  overflow: hidden;
}

.offer-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer-body {
  padding: clamp(26px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.offer-body .lead { font-size: 1rem; }

.offer-body .feature-list li strong { color: var(--ink); font-weight: 700; }

.shelf-strip {
  margin-top: clamp(24px, 4vh, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 6;
}

.shelf-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Felsorolás, nem gomb: korábban pirula alakú, keretes, hover-állapotos
   elemek voltak, amiket kattinthatónak lehetett nézni. */
.system-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: clamp(24px, 3.5vh, 34px);
  color: var(--on-dark-soft);
  font-size: 0.95rem;
}

.system-extras-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- takeaway checklist ---------- */

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}

.takeaway {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.takeaway:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(22, 19, 17, 0.35);
}

.takeaway h4 { font-size: 1.04rem; font-weight: 700; margin-top: 14px; }

.takeaway p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }

.takeaway .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--gold);
}

/* ---------- founders ---------- */

.founders-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.founders-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -45px rgba(22, 19, 17, 0.5);
}

.founders-photo img { width: 100%; height: 100%; object-fit: cover; }

.timeline { list-style: none; margin-top: 34px; display: grid; gap: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding-block: 18px;
  border-top: 1px solid var(--line-soft);
}

.timeline li:last-child { border-bottom: 1px solid var(--line-soft); }

.timeline .year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.2;
}

.timeline p { font-size: 0.98rem; color: var(--ink-soft); align-self: center; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--dark);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 7vw, 90px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band .h2 { max-width: 20ch; margin-inline: auto; }

.cta-band p { color: var(--on-dark-soft); margin-top: 18px; }

.cta-band .btn { margin-top: 34px; }

.cta-band .strand-bg { top: auto; bottom: -160px; right: -80px; opacity: 0.25; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 46px;
  margin-top: clamp(60px, 9vh, 110px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-contact { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 700; color: var(--ink); }

/* ============================================================
   JELENTKEZÉS OLDAL
   ============================================================ */

.hero-booking {
  padding-block: clamp(52px, 8vh, 96px) clamp(30px, 5vh, 56px);
  text-align: left;
}

.hero-booking .lead { margin-top: 24px; }

/* booking module */

.booking-module {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: start;
}

.date-list { display: grid; gap: 14px; }

.date-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.date-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(22, 19, 17, 0.4); }

.date-card.is-selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 22px 40px -28px rgba(201, 146, 47, 0.5); }

.date-card .cal {
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding-right: 18px;
}

.date-card .cal strong { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }

.date-card .cal span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); }

.date-card .info h4 { font-size: 1.05rem; font-weight: 700; }

.date-card .info p { font-size: 0.86rem; color: var(--ink-soft); margin-top: 3px; }

.date-card .status { text-align: right; font-size: 0.8rem; font-weight: 700; }

.seat-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  letter-spacing: 0.04em;
}

.seat-pill.is-low { background: rgba(178, 58, 44, 0.12); color: #b23a2c; }

.seat-pill.is-full { background: rgba(22, 19, 17, 0.08); color: var(--ink-soft); }

.date-card.is-disabled { opacity: 0.55; cursor: not-allowed; }

.date-card.is-disabled:hover { transform: none; box-shadow: none; }

/* summary card */

.booking-summary {
  position: sticky;
  top: 96px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  box-shadow: 0 40px 80px -40px rgba(22, 19, 17, 0.6);
}

.booking-summary .eyebrow { color: var(--gold-bright); }

.booking-summary h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; margin-top: 16px; }

.summary-rows { list-style: none; margin-top: 24px; display: grid; }

.summary-rows li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 13px;
  border-top: 1px solid rgba(246, 244, 239, 0.14);
  font-size: 0.94rem;
}

.summary-rows li span:first-child { color: var(--on-dark-soft); }

.summary-rows li span:last-child { font-weight: 700; text-align: right; }

.summary-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 244, 239, 0.14);
}

.summary-price strong { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--gold-bright); }

.summary-price span { font-size: 0.85rem; color: var(--on-dark-soft); }

.seat-meter { margin-top: 20px; }

.seat-meter .meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--on-dark-soft);
  margin-bottom: 8px;
}

.seat-meter .meter-label strong { color: var(--gold-bright); }

.meter-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.15);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.booking-summary .btn { width: 100%; margin-top: 26px; }

.pay-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--on-dark-soft);
  text-align: center;
}

.preview-flag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.4);
  border: 1px dashed rgba(246, 244, 239, 0.25);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ---------- agenda ---------- */

.agenda { max-width: 780px; }

.agenda-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-block: 24px;
  border-top: 1px solid var(--line-soft);
}

.agenda-item:last-child { border-bottom: 1px solid var(--line-soft); }

.agenda-item .time {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1.4;
}

.agenda-item h4 { font-size: 1.08rem; font-weight: 700; }

.agenda-item p { font-size: 0.94rem; color: var(--ink-soft); margin-top: 5px; }

/* ---------- venue ---------- */

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.venue-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.venue-card .h3 { margin-bottom: 10px; }

.venue-card p { color: var(--ink-soft); }

.venue-card .venue-addr { font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

.venue-contact { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

.venue-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  position: relative;
}

.venue-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.step h4 { font-size: 1.05rem; font-weight: 700; margin-top: 16px; }

.step p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }

.faq-item { border-top: 1px solid var(--line-soft); }

.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-a p { padding-bottom: 24px; color: var(--ink-soft); font-size: 0.97rem; max-width: 62ch; }

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   Töréspontok: 1024 (tablet fekvő), 860 (tablet álló), 640 (mobil),
   420 (kis mobil), plusz külön szabály alacsony, fekvő képernyőkre.
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid, .founders-grid, .doc-row { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .chip-1 { left: -2%; }
  .chip-2 { right: -1%; }
  .training-card, .training-card.is-flipped,
  .offer-card, .offer-card.is-flipped { grid-template-columns: 1fr; }
  .training-card.is-flipped .training-media,
  .offer-card.is-flipped .offer-media { order: 0; }
  .offer-media { min-height: 0; aspect-ratio: 16 / 10; }
  .booking-module { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .why-grid, .takeaway-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .venue-grid { grid-template-columns: 1fr; }
  .shelf-strip { aspect-ratio: 16 / 7; }
}

/* 4 → 2 → 1 hasáb: keskenyebb ablakban a négy kártya már túl szűk lenne */
@media (max-width: 1180px) {
  .system-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .system-grid { grid-template-columns: 1fr; }
  /* a gép álló képe fekvő dobozban túl sokat vágna: adjunk neki magasabb arányt */
  .offer-card:not(.is-flipped) .offer-media { aspect-ratio: 4 / 3; }
}

/* A fejléc két sorba tördelése: márka + CTA felül, navigáció alatta.
   Így a menü mobilon is elérhető marad, hamburger nélkül. */
/* A fejléc sticky, ezért mobilon a magassága közvetlenül elvesz a
   képernyőből: minden elemet a lehető legalacsonyabbra húzunk. */
@media (max-width: 780px) {
  .header-inner { flex-wrap: wrap; gap: 6px 14px; padding-block: 7px; }
  .brand { order: 1; }
  .header-cta { order: 2; }
  .main-nav {
    order: 3;
    width: 100%;
    gap: 16px;
    padding-top: 0;
    font-size: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; padding-block: 3px; }
  .brand-logo { height: 32px; }
  .header-cta.btn-sm { padding: 9px 16px; font-size: 0.83rem; }
}

@media (max-width: 640px) {
  .why-grid, .takeaway-grid, .steps-grid { grid-template-columns: 1fr; }
  .date-card { grid-template-columns: 56px 1fr; row-gap: 10px; padding: 18px; }
  .date-card .status { grid-column: 2; text-align: left; }
  .date-card .cal { padding-right: 12px; }
  .date-card .cal strong { font-size: 1.6rem; }
  .hero-meta { gap: 16px 22px; }
  .hero-meta div strong { font-size: 1.15rem; }
  .agenda-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .agenda-item .time { font-size: 1.05rem; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 14px; }
  .timeline .year { font-size: 1.2rem; }
  /* a lebegő kártyák ne lógjanak ki a képernyőről */
  .chip-1 { top: 4%; left: 2%; }
  .chip-2 { bottom: 6%; right: 2%; }
  .float-chip { padding: 9px 13px; }
  .float-chip strong { font-size: 0.98rem; }
  .float-chip span { font-size: 0.66rem; }
  .hero-visual::before { inset: 14px -14px -14px 14px; }
  .shelf-strip { aspect-ratio: 3 / 2; }
  /* a szófüzér körüli térköz mobilon aránytalanul nagy volt */
  .hero { padding-bottom: 34px; }
  .wordfield { padding-block: 10px; }
  .why-intro { padding-top: 24px; }
  .system-extras {
    margin-top: 18px;
    gap: 2px 10px;
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .system-extras-label { font-size: 0.68rem; letter-spacing: 0.14em; }
  .btn { padding: 14px 24px; font-size: 0.94rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .summary-rows li { font-size: 0.9rem; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .agenda-item { grid-template-columns: 1fr; gap: 4px; }
  .agenda-item .time { font-size: 0.95rem; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .venue-contact .btn { flex: 1 1 100%; }
  .footer-inner { gap: 16px; }
  .footer-contact { gap: 12px; flex-direction: column; }
}

/* Alacsony, fekvő képernyő (pl. telefon fektetve): a nagy függőleges
   térközök itt aránytalanul sok helyet vinnének el. */
@media (max-height: 560px) and (orientation: landscape) {
  .section, .why-section { padding-block: clamp(38px, 8vh, 60px); }
  .hero { padding-block: 40px 44px; }
  .why-intro { padding-top: 48px; padding-bottom: 32px; }
  .wordfield { height: 120px; }
}

/* ---------- mozgáscsökkentés ---------- */

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