:root {
  --paper: #f7f2e9;
  --paper-bright: #fffaf3;
  --ink: #172c2b;
  --muted: #65716d;
  --teal: #183d3b;
  --teal-soft: #d7e0dc;
  --coral: #d9694f;
  --line: rgba(23, 44, 43, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); }

.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; }
.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; transform: translateY(-150%); padding: 0.75rem 1rem; background: var(--paper-bright); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.concept-bar { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.4rem 1.25rem; background: var(--coral); color: #27120d; font-size: 0.76rem; font-weight: 650; letter-spacing: 0.02em; text-align: center; }
.concept-bar span:first-child { padding-right: 1rem; border-right: 1px solid rgba(39,18,13,.35); text-transform: uppercase; letter-spacing: .12em; }

.site-header { position: sticky; z-index: 30; top: 0; min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw; background: rgba(247,242,233,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--serif); font-size: 1.18rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--paper-bright); font-family: var(--serif); font-size: .84rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.6rem); }
.site-nav a { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.nav-cta):hover { color: var(--coral); }
.nav-cta { padding: .75rem 1rem; border: 1px solid var(--ink); }
.nav-cta:hover { background: var(--ink); color: var(--paper-bright); }
.menu-button { display: none; width: 44px; height: 44px; padding: 12px 9px; background: transparent; border: 0; }
.menu-button > span:not(.sr-only) { display: block; height: 1px; margin: 7px 0; background: currentColor; transition: transform .2s ease; }

.hero { position: relative; min-height: min(820px, calc(100svh - 110px)); display: grid; align-items: end; overflow: hidden; background: var(--teal); color: var(--paper-bright); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,38,36,.9) 0%, rgba(9,38,36,.68) 37%, rgba(9,38,36,.09) 70%); }
.hero-copy { position: relative; z-index: 2; width: min(720px, 58vw); padding: clamp(4rem, 9vw, 8.5rem) 4.5vw; }
.eyebrow { margin-bottom: 1.25rem; color: inherit; font-size: .72rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.ink { color: var(--coral); }
.hero h1 { max-width: 770px; margin-bottom: 1.6rem; font-size: clamp(3.2rem, 6.2vw, 6.5rem); }
.hero-lede { max-width: 640px; margin-bottom: 2.1rem; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .9rem 1.35rem; border: 0; text-decoration: none; font-size: .84rem; font-weight: 750; letter-spacing: .035em; cursor: pointer; }
.button-light { background: var(--paper-bright); color: var(--ink); }
.button-light:hover { background: var(--coral); color: #fff; }
.button-dark { background: var(--teal); color: var(--paper-bright); }
.button-dark:hover { background: var(--coral); }
.button-coral { background: var(--coral); color: #fff; }
.button-coral:hover { background: #bf553e; }
.text-link { display: inline-flex; align-items: baseline; gap: .7rem; padding-bottom: .15rem; border-bottom: 1px solid currentColor; text-decoration: none; font-weight: 700; }
.text-link:hover { color: var(--coral); }
.text-link-light { color: var(--paper-bright); }
.concept-tag { position: absolute; z-index: 3; right: 1.5rem; bottom: 1.5rem; padding: .35rem .55rem; background: rgba(16,33,32,.78); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }

.trust-strip { min-height: 82px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 4.5vw; background: var(--paper-bright); border-bottom: 1px solid var(--line); }
.trust-strip span { padding: .6rem 1.4rem; border-left: 1px solid var(--line); font-size: .78rem; font-weight: 720; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.trust-strip span:last-child { border-right: 1px solid var(--line); }

.section { width: min(var(--max), 91vw); margin: 0 auto; padding: clamp(6rem, 11vw, 10rem) 0; }
.section-intro { display: grid; grid-template-columns: 1.4fr .9fr; column-gap: 7vw; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2 { margin-bottom: 0; }
.section-intro > p:last-child { max-width: 480px; margin-bottom: .45rem; color: var(--muted); font-size: 1.08rem; }

.signal-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.signal-card { min-height: 280px; padding: clamp(2rem, 4vw, 3.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-card h3 { max-width: 450px; margin: 2.5rem 0 1rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: 1.05; }
.signal-card p { max-width: 480px; margin-bottom: 0; color: var(--muted); }
.card-index { color: var(--coral); font-size: .75rem; font-weight: 760; letter-spacing: .12em; }
.signal-card-accent { background: var(--teal); color: var(--paper-bright); }
.signal-card-accent p { color: #cad5d1; }

.process-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.editorial-image { position: relative; align-self: stretch; min-height: 660px; margin-bottom: 0; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; }
figcaption { position: absolute; right: .8rem; bottom: .8rem; padding: .35rem .55rem; background: rgba(18,40,38,.78); color: #fff; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.process-copy h2 { margin-bottom: 2.8rem; font-size: clamp(2.7rem, 4.7vw, 5rem); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 45px 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--coral); font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.steps h3 { margin-bottom: .35rem; font-family: var(--sans); font-size: 1rem; letter-spacing: .02em; }
.steps p { margin-bottom: 0; color: var(--muted); }

.room-break { position: relative; width: min(1460px, 100%); height: min(72vw, 780px); margin: 0 auto; overflow: hidden; }
.room-break > img { width: 100%; height: 100%; object-fit: cover; }
.room-caption { position: absolute; right: 3vw; bottom: 3vw; width: min(420px, 80vw); padding: 1.5rem 1.8rem; background: var(--paper-bright); }
.room-caption span { color: var(--coral); font-size: .68rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.room-caption p { margin: .75rem 0 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2.25rem); line-height: 1.08; }

.about-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(4rem, 10vw, 9rem); }
.about-copy h2 { max-width: 780px; margin-bottom: 2.2rem; }
.about-copy > p:not(.eyebrow) { max-width: 720px; font-size: 1.07rem; }
.about-copy .text-link { margin-top: 1rem; }
.credentials { align-self: end; padding: 2rem; background: var(--teal-soft); border-top: 3px solid var(--teal); }
.credentials-kicker { margin-bottom: 2rem; font-size: .72rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.credentials ul { margin: 0; padding: 0; list-style: none; }
.credentials li { padding: 1rem 0; border-top: 1px solid rgba(23,44,43,.22); }
.credentials li span { display: block; margin-bottom: .2rem; color: var(--coral); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.practice-feature { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 720px; background: var(--teal); color: var(--paper-bright); }
.practice-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3.5rem, 7vw, 7rem); }
.practice-copy h2 { margin-bottom: 2rem; font-size: clamp(3rem, 5vw, 5.4rem); }
.practice-copy p:last-child { color: #ced9d5; font-size: 1.08rem; }
.practice-feature figure { position: relative; min-height: 600px; margin-bottom: 0; }
.practice-feature img { width: 100%; height: 100%; object-fit: cover; }

.offers-intro { grid-template-columns: .8fr 1.2fr; }
.offer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; }
.offer-card { min-height: 520px; display: flex; flex-direction: column; padding: clamp(1.7rem, 3vw, 2.6rem); background: var(--paper-bright); border: 1px solid var(--line); }
.offer-primary { background: var(--teal-soft); border-color: transparent; }
.offer-label { color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.offer-card h3 { margin: 1.7rem 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: 1.05; }
.offer-card > p:not(.offer-label) { color: var(--muted); }
.offer-card dl { margin: auto 0 2rem; }
.offer-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.offer-card dl > div:last-child { border-bottom: 1px solid var(--line); }
.offer-card dt { color: var(--muted); }
.offer-card dd { margin: 0; font-weight: 720; text-align: right; }
.offer-card .text-link { align-self: flex-start; }

.safety-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; border-top: 1px solid var(--line); }
.safety-section h2 { margin-bottom: 0; }
.safety-copy { align-self: end; }
.safety-copy p { color: var(--muted); font-size: 1.08rem; }

.signup-section { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; padding: clamp(5rem, 10vw, 9rem) max(4.5vw, calc((100vw - var(--max)) / 2)); background: var(--teal); color: var(--paper-bright); }
.signup-copy h2 { max-width: 700px; margin-bottom: 1.8rem; font-size: clamp(3rem, 5vw, 5.2rem); }
.signup-copy p:last-child { max-width: 500px; color: #ced9d5; }
.signup-form { display: grid; align-content: start; }
.signup-form label { margin: 1.1rem 0 .4rem; font-size: .73rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.signup-form label:first-child { margin-top: 0; }
.signup-form label span { color: #a9bbb5; font-weight: 500; text-transform: none; }
.signup-form input:not([type="checkbox"]), .signup-form select { width: 100%; min-height: 54px; padding: .8rem 1rem; background: rgba(255,255,255,.08); color: var(--paper-bright); border: 1px solid rgba(255,255,255,.4); border-radius: 0; }
.signup-form select option { color: var(--ink); }
.signup-form input:focus, .signup-form select:focus { outline: 3px solid rgba(217,105,79,.65); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; margin: 1.5rem 0 !important; font-size: .78rem !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.45; text-transform: none !important; }
.consent input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--coral); }
.consent a { color: var(--paper-bright); }
.signup-form .button { justify-self: start; }
.form-note, .form-success { margin: .8rem 0 0; color: #b8c9c4; font-size: .76rem; }
.form-success { color: #fff; }

.site-footer { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 5vw; padding: 4rem 4.5vw 2rem; background: #102a29; color: #d8e2df; }
.site-footer > div > p { max-width: 480px; color: #9eb1ab; font-size: .85rem; }
.footer-brand { margin-bottom: 1.2rem; color: #fff; }
.site-footer > div > a:not(.brand) { display: block; margin: .35rem 0; text-decoration: none; font-size: .9rem; }
.site-footer > div > a:hover { color: var(--coral); }
.footer-title { color: #fff !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-disclaimer { grid-column: 1 / -1; margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); color: #8fa49e; font-size: .76rem; }

@media (max-width: 900px) {
  .concept-bar { align-items: flex-start; gap: .55rem; }
  .concept-bar span:first-child { display: none; }
  .site-header { min-height: 68px; padding: 0 5vw; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; padding: 1rem 5vw 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: .6rem; padding: .9rem 1rem; text-align: center; }
  .hero { min-height: 820px; align-items: end; }
  .hero > img { object-position: 65% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(9,38,36,.96) 0%, rgba(9,38,36,.66) 47%, rgba(9,38,36,.04) 78%); }
  .hero-copy { width: 100%; padding: 4rem 5vw 4.5rem; }
  .hero h1 { max-width: 680px; font-size: clamp(3rem, 11vw, 5.4rem); }
  .hero-lede { max-width: 590px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .trust-strip span { padding: 1rem .75rem; border-bottom: 1px solid var(--line); }
  .section-intro, .process-section, .about-section, .safety-section, .signup-section { grid-template-columns: 1fr; }
  .section-intro { gap: 1.8rem; }
  .section-intro .eyebrow { grid-column: auto; }
  .signal-grid { grid-template-columns: 1fr; }
  .editorial-image { min-height: min(122vw, 720px); }
  .process-copy { padding-top: 1rem; }
  .about-section { gap: 3rem; }
  .credentials { align-self: auto; }
  .practice-feature { grid-template-columns: 1fr; }
  .practice-feature figure { min-height: 65vw; order: -1; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 430px; }
  .safety-section { gap: 2rem; }
  .signup-section { gap: 3rem; padding-left: 5vw; padding-right: 5vw; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .concept-bar { min-height: 42px; font-size: .68rem; line-height: 1.35; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { min-height: 760px; }
  .hero > img { object-position: 66% 25%; }
  .hero-copy { padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(2.85rem, 13vw, 4.2rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .concept-tag { top: 1rem; right: 1rem; bottom: auto; }
  .section { width: min(90vw, 680px); padding: 5.5rem 0; }
  .section-intro { margin-bottom: 2.5rem; }
  h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .signal-card { min-height: auto; padding: 2rem 1.5rem 2.3rem; }
  .signal-card h3 { margin-top: 1.8rem; font-size: 2rem; }
  .process-section { gap: 2.5rem; }
  .editorial-image { min-height: 118vw; width: 100vw; margin-left: -5vw; }
  .editorial-image img { object-position: 43% center; }
  .room-break { height: 110vw; }
  .room-caption { right: 5vw; bottom: 5vw; left: 5vw; width: auto; }
  .about-section { gap: 2.6rem; }
  .practice-feature { min-height: auto; }
  .practice-feature figure { min-height: 93vw; }
  .practice-feature img { object-position: 57% center; }
  .practice-copy { padding: 4.5rem 5vw; }
  .offer-card { min-height: auto; padding: 2rem 1.5rem; }
  .offer-card dl { margin-top: 2rem; }
  .signup-section { padding-top: 5rem; padding-bottom: 5rem; }
  .signup-copy h2 { font-size: 3rem; }
  .site-footer { grid-template-columns: 1fr; padding: 3.5rem 5vw 2rem; }
}

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

/* ==========================================================================
   Élesített űrlap — a látványterv mezőinek stílusára építve
   ========================================================================== */

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.signup-form textarea { width: 100%; min-height: 120px; padding: .8rem 1rem; background: rgba(255,255,255,.08); color: var(--paper-bright); border: 1px solid rgba(255,255,255,.4); border-radius: 0; font: inherit; resize: vertical; }
.signup-form textarea:focus { outline: 3px solid rgba(217,105,79,.65); outline-offset: 2px; }

.field-help { margin: 0 0 .5rem; color: #b8c9c4; font-size: .82rem; line-height: 1.45; }

.choice-group { margin: 1.1rem 0 0; padding: 0; border: 0; }
.choice-group legend { margin-bottom: .6rem; padding: 0; font-size: .73rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.choice-group legend span { color: #a9bbb5; font-weight: 500; letter-spacing: 0; text-transform: none; }
.signup-form .choice { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: center; margin: .45rem 0; font-size: .92rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--coral); }

/* A consent négyzetek egymás után ne kapjanak dupla margót. */
.signup-form .consent + .field-error + .consent { margin-top: .4rem !important; }
.consent span { max-width: 60ch; }

/* Hibaüzenet: a sötét háttéren a korall túl sötét lenne, ezért világosított. */
.field-error { margin: .45rem 0 0; color: #ffb39f; font-size: .82rem; font-weight: 600; }
.consent + .field-error { margin: -1rem 0 1.2rem; padding-left: calc(20px + .75rem); }
.signup-form [aria-invalid="true"]:not([type="checkbox"]) { border-color: #ffb39f; border-left-width: 3px; }
.choice-group[aria-invalid="true"] legend, .consent:has(input[aria-invalid="true"]) span { color: #ffd2c6; }

.form-status { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--coral); background: rgba(255,255,255,.07); }
.form-status strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.form-status p { margin: .35rem 0 0; color: #dfe8e5; }
.signup-form button[disabled] { opacity: .7; cursor: progress; }

/* --- Rólam: lenyitható képzéslista ---------------------------------------- */
.trainings { max-width: 720px; margin: 1.8rem 0 1.6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trainings summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .9rem 0; cursor: pointer; list-style: none; font-size: .84rem; font-weight: 750; letter-spacing: .035em; }
.trainings summary::-webkit-details-marker { display: none; }
.trainings summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.trainings[open] summary::after { transform: rotate(45deg); }
.trainings summary:hover { color: var(--coral); }
.trainings summary:focus-visible { outline: 3px solid rgba(217,105,79,.65); outline-offset: 2px; }
.trainings > p { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.trainings ul { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.trainings li { padding: .55rem 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.45; }
.trainings li:first-child { border-top: 0; }


/* --- Alkalmak: négy kártya egy sorban ------------------------------------- */
.offer-grid { grid-template-columns: repeat(4, 1fr); }
.offer-card h3 { font-size: clamp(1.55rem, 2.1vw, 2.1rem); }
.offer-online { border-left: 3px solid var(--coral); }
.offer-online .offer-label { color: var(--coral); }
.offers-note { max-width: 760px; margin: 1.6rem 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 1100px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }
