/* ==========================================================================
   VÁROSJÁTÉK (Á2) — design system (website mockup)
   KÖZÖS DESIGN-DNS az F1/F2-vel: azonos betű-rendszer (Source Serif 4 +
   Atkinson Hyperlegible), azonos komponens-logika, azonos fókusz/mozgás-szabály.
   JELÖLT ELTÉRÉS: a paletta és a skála. A célcsoport itt nem 65+, hanem
   25-55 éves csapatok és turisták — ezért kontrasztosabb, városi, játékosabb.
   Nova, 2026-08-08. Terv-mockup, nem éles implementáció.
   Minden érték indokolt: a célcsoport 65+, ezért az akadálymentesség
   nem opció, hanem a termék lényege.
   ========================================================================== */

/* --- 1. TOKENS ---------------------------------------------------------- */
:root {
  /* colour */
  --ink:        #14202E;   /* főszöveg — 14.8:1 a cream-en */
  --ink-soft:   #4C5764;   /* másodlagos szöveg — 7.4:1 a cream-en */
  --cream:      #FBF7F1;   /* oldal-alap */
  --sand:       #F3ECE1;   /* váltakozó sáv */
  --white:      #FFFFFF;   /* kártya-felület */
  --blue:       #9E2E1A;   /* primer: CTA, link — városi rozsda-piros, 7,3:1 fehéren (mérve) */
  --blue-dark:  #7C2314;   /* hover/aktív */
  --blue-wash:  #F6E7E2;   /* halvány kiemelő felület */
  --terra:      #1F6F7A;   /* meleg akcent — SOHA nem egyedüli jelentés-hordozó */
  --terra-wash: #E2F0F2;
  --terra-text: #175C66;   /* SZOVEGRE hasznalt akcent: a #C9612F csak 3,6:1 a cream-en, kis felkover uppercase-hez keves */
  --green:      #2C6B4F;   /* biztonság / rendben */
  --red:        #A6261D;   /* figyelmeztetés (csalás) */
  --line:       #E5DCD0;

  /* type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Atkinson Hyperlegible", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* rhythm */
  --measure: 34rem;        /* ~62-66 karakter: a hosszú sor a leggyakoribb olvasás-akadály */
  --radius: 14px;
  --radius-lg: 22px;
  --tap: 3.5rem;           /* 56px minimális érinthető magasság */
  --shadow: 0 2px 4px rgba(23,33,43,.04), 0 12px 28px rgba(23,33,43,.07);
  --shadow-lg: 0 4px 8px rgba(23,33,43,.05), 0 24px 56px rgba(23,33,43,.10);
}

/* --- 2. BASE ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.3125rem;      /* 21px — a 16px alapérték 65+ fölött már küzdelem */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.65rem); }
p  { margin: 0 0 1.1em; max-width: var(--measure); }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(76rem, calc(100% - 3rem)); margin-inline: auto; }
.wrap-narrow { width: min(52rem, calc(100% - 3rem)); margin-inline: auto; }
section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.band-sand  { background: var(--sand); }
.band-white { background: var(--white); }
.band-ink   { background: var(--ink); color: var(--cream); }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink p { color: #D9DEE4; }
.band-ink a { color: #A9D2EC; }

.eyebrow {
  font-size: .95rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--terra-text); margin: 0 0 .9rem;
}
.band-ink .eyebrow { color: #E3A47B; }
.lead { font-size: 1.45rem; line-height: 1.6; color: var(--ink-soft); }
.center { text-align: center; }
.center p, .center h2 { margin-inline: auto; }
.sec-head { max-width: 40rem; margin-bottom: 2.75rem; }

/* --- 3. BUTTONS --------------------------------------------------------- */
/* Minden gomb: min 56px magas, felirattal (ikon soha nem áll egyedül). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--tap); padding: .85rem 1.7rem;
  font-family: var(--sans); font-size: 1.2rem; font-weight: 700;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-wash); color: var(--blue-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-lg { font-size: 1.3rem; padding: 1.05rem 2.1rem; }

/* Telefonszám-gomb: az idős látogató elsődleges útja. Szándékosan a
   legnagyobb elem a hajtás fölött, és önmagában is olvasható infó. */
.btn-phone {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: .1rem; background: var(--white); border: 2px solid var(--line);
  border-radius: var(--radius); padding: .9rem 1.5rem; text-decoration: none;
  color: var(--ink); box-shadow: var(--shadow); min-height: var(--tap);
}
.btn-phone:hover { border-color: var(--blue); color: var(--ink); }
.btn-phone .num { font-family: var(--serif); font-size: 1.85rem; font-weight: 700; letter-spacing: .01em; }
.btn-phone .sub { font-size: .98rem; color: var(--ink-soft); line-height: 1.3; }

/* --- 4. HEADER ---------------------------------------------------------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.logo svg { flex: none; }
.logo .word { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: -.015em; }
.logo .desc { display: block; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--sans); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .4rem 1.4rem; flex-wrap: wrap; }
.nav a { font-size: 1.05rem; text-decoration: none; color: var(--ink); padding: .5rem 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--terra); color: var(--ink); }
.header-phone { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--blue); text-decoration: none; white-space: nowrap; }
.lang { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 1rem 1.5rem; z-index: 50; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --- 5. HERO ------------------------------------------------------------ */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--terra); }
.hero .lead { max-width: 30rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: stretch; margin: 2rem 0 1.5rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.hero-badge {
  position: absolute; left: -1.25rem; bottom: 1.75rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .9rem 1.2rem;
  display: flex; align-items: center; gap: .75rem; max-width: 19rem;
}
.hero-badge .dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--green); flex: none; }
.hero-badge span { font-size: 1rem; line-height: 1.35; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; color: var(--ink-soft); }
.chips li::before { content: ""; width: 1.4rem; height: 1.4rem; flex: none; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/.9rem no-repeat; }

/* --- 6. STEPS ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; counter-reset: s; }
.steps > * { min-width: 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem; box-shadow: var(--shadow); }
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%; background: var(--blue-wash);
  color: var(--blue); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem;
}
.step p { margin-bottom: 0; font-size: 1.15rem; color: var(--ink-soft); }

/* --- 7. SERVICE GRID ---------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-3 > *, .grid-2 > * { min-width: 0; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 0; }
.card .ico { width: 2.9rem; height: 2.9rem; border-radius: 12px; background: var(--terra-wash); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.card .ico svg { width: 1.6rem; height: 1.6rem; stroke: var(--terra); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- 8. SPLIT (kép + szöveg) -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split.reverse .split-media { order: 2; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.75rem; max-width: var(--measure); }
.tick-list li { position: relative; padding-left: 2.3rem; margin-bottom: .85rem; font-size: 1.15rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E2E1A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/.95rem no-repeat;
}

/* --- 9. CSALÁS-SÁV ------------------------------------------------------ */
.alert-band { background: #FDF3F2; border-top: 1px solid #F0D6D3; border-bottom: 1px solid #F0D6D3; }
.alert-band .tag {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--red); color: #fff;
  font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem;
}

/* --- 10. EMBEREK -------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.people > * { min-width: 0; }
.person { text-align: left; }
.person img { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 1rem; width: 100%; }
.person h3 { margin-bottom: .15em; }
.person .role { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 .5rem; }
.badge-verified { display: inline-flex; align-items: center; gap: .45rem; font-size: .98rem; color: var(--green); font-weight: 700; }
.badge-verified::before { content: ""; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/.8rem no-repeat; }

/* --- 11. ÁRAK ----------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: start; }
.plans > * { min-width: 0; }
.plan { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; }
.plan.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.plan .flag { position: absolute; top: -.95rem; left: 1.75rem; background: var(--blue); color: #fff; font-size: .95rem; font-weight: 700; padding: .25rem 1rem; border-radius: 999px; }
.plan h3 { margin-bottom: .1em; }
.plan .price { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1.1; margin: .6rem 0 .1rem; }
.plan .per { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.plan li { position: relative; padding-left: 2rem; margin-bottom: .7rem; font-size: 1.08rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E2E1A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/.85rem no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }

/* --- 12. VÉLEMÉNY ------------------------------------------------------- */
.quote { background: var(--white); border-left: 5px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.9rem 1.9rem; box-shadow: var(--shadow); }
.quote p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; font-style: italic; }
.quote cite { font-style: normal; font-size: 1.02rem; color: var(--ink-soft); }

/* --- 13. GYIK ----------------------------------------------------------- */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; min-height: var(--tap);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.9rem; color: var(--blue); font-family: var(--sans); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 1.35rem; color: var(--ink-soft); font-size: 1.12rem; }

/* --- 14. ZÁRÓ CTA + FOOTER --------------------------------------------- */
.cta-final { text-align: center; }
.cta-final .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.site-footer { background: var(--ink); color: #C8D0D8; padding: 3.5rem 0 2.5rem; font-size: 1.06rem; }
.site-footer a { color: #A9D2EC; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid > * { min-width: 0; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-note { border-top: 1px solid #2C3742; margin-top: 2.5rem; padding-top: 1.5rem; color: #A7B2BC; font-size: 1rem; }

/* --- 15. MOCKUP-CÍMKE (csak a tervhez, éles oldalon nem lenne) ---------- */
.mock-flag {
  background: #17212B; color: #FBF7F1; font-size: 1rem; text-align: center;
  padding: .55rem 1rem; letter-spacing: .04em;
}
.mock-flag a { color: #A9D2EC; }

/* --- 16. RESPONSIVE ----------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .split, .grid-3, .steps, .people, .plans, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-media { order: -1; }
  /* Mobilon NEM lóg rá a képre: a fedés kis szélességen olvashatatlanná tette. */
  .hero-badge { position: static; margin: .9rem 0 0; max-width: none; }
  .footer-grid { gap: 2.25rem; }
  .nav { width: 100%; margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1.25rem; }
  .wrap, .wrap-narrow { width: calc(100% - 2.25rem); }
  .card, .step, .plan { padding: 1.6rem 1.35rem; }
  .btn { width: 100%; }
  .btn-phone { width: 100%; }
  .hero-cta { flex-direction: column; }
  /* Nincs hamburger: a rejtett menü ennél a korosztálynál elakadás.
     Helyette tömör, két oszlopos, végig látható navigáció. */
  .header-in { gap: .75rem; padding: .75rem 0; }
  .nav { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; }
  .nav a { padding: .35rem 0; font-size: 1rem; }
  .nav a.header-phone {
    grid-column: 1 / -1; background: var(--blue); color: #fff; text-align: center;
    border-radius: 999px; padding: .7rem 1rem; margin-top: .5rem; font-size: 1.25rem;
    min-height: var(--tap); display: flex; align-items: center; justify-content: center;
  }
  .lang { grid-column: 1 / -1; text-align: center; padding-top: .35rem; }
  .hide-sm { display: none; }
}


/* --- Á2-SPECIFIKUS: variáns-választó (a hero fő konverziós eleme) --- */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.modes > * { min-width: 0; }
.mode {
  display: block; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease; min-height: var(--tap);
}
.mode:hover, .mode:focus-visible { border-color: var(--blue); transform: translateY(-3px); color: var(--ink); }
.mode .ico { width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--terra-wash);
  display: flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.mode .ico svg { width: 1.5rem; height: 1.5rem; stroke: var(--terra-text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { font-size: 1.2rem; margin-bottom: .25em; }
.mode p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.mode .pick { display: inline-block; margin-top: .8rem; font-weight: 700; color: var(--blue); font-size: 1rem; }

/* --- pálya-kártya --- */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.routes > * { min-width: 0; }
.route { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.route img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.route .body { padding: 1.4rem 1.35rem; }
.route h3 { margin-bottom: .3em; }
.route .meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: 1rem; color: var(--ink-soft); margin-bottom: .8rem; }
.route .price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }

/* --- frissesség-jelvény --- */
.fresh { display: inline-flex; align-items: center; gap: .5rem; background: var(--terra-wash);
  color: var(--terra-text); font-weight: 700; font-size: 1rem; padding: .4rem 1rem; border-radius: 999px; }

@media (max-width: 900px) { .modes { grid-template-columns: 1fr 1fr; } .routes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }
