/* =========================================================
   ALINDA SALON — közös design rendszer (publikus oldal)
   2026-09-12: vizuális megújítás (modern, letisztult stílus,
   nyugati masszázs/spa szalonok bevált mintái alapján:
   nagyobb légterek, editorial tipográfia, finom hover-animációk,
   letisztultabb kártyák/lábléc) — a színvilág (bézs+puder+
   sötétbarna) NEM változott, csak új árnyalat-változók (shadow/
   radius) kerültek mellé.
   ========================================================= */

:root {
  --color-bg: #F8EEE1;           /* meleg bézs háttér */
  --color-surface: #FFFCF7;
  --color-primary: #4B382C;      /* sötétbarna — a logó vonalrajzának mélyebb tónusa */
  --color-primary-light: #6E5445;
  --color-accent: #D9A9A0;       /* puder rózsaszín */
  --color-accent-dark: #C08D80;  /* mélyebb puder, hover/kontraszthoz */
  --color-text: #3B2E27;         /* sötét, meleg barnásfekete szöveg */
  /* 2026-09-11: az eredeti #8A7565 túl világos volt a világos hátterekhez
     (bézs/krém) képest — a kontrasztaránya csak 3.8:1 volt, ami a WCAG AA
     szabvány szerinti minimum (4.5:1, normál méretű szövegre) ALATT van,
     ezért sokaknak szinte beleolvadt a háttérbe (pl. az alcímek, a
     szolgáltatás-leírások, az űrlap-címkék). Az új érték ugyanazt a meleg,
     visszafogott barnás tónust adja, de minden háttérszínen (bézs, krém,
     hero-színátmenet) jóval 4.5:1 fölötti, tehát jól olvasható kontrasztot ad. */
  --color-text-muted: #6A5343;
  --color-border: #E9D9CC;
  --color-success: #7A9169;
  --color-error: #B3423A;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(75, 56, 44, 0.08);
  --shadow-md: 0 16px 40px rgba(75, 56, 44, 0.14);
  --shadow-lg: 0 28px 70px rgba(75, 56, 44, 0.18);
  /* 2026-10-16, Péter kérésére: szolidabb (visszafogottabb) árnyékolás —
     a korábbi (2026-09-12-i), telített rózsaszín izzás helyett semleges,
     a sötétbarna szövegszínből vett, alacsony opacitású árnyék, ami
     mélységet ad anélkül, hogy színes fényként hatna. */
  --shadow-glow: 0 16px 36px -12px rgba(59, 46, 39, .20);
  --shadow-glow-lg: 0 22px 48px -14px rgba(59, 46, 39, .26);
  /* Gombok "élvastagság"-árnyéka az új, benyomható 3D-hatáshoz (lásd lent
     a "Gombok" szekciót) — a sötétbarna/puder szín egy-egy mélyebb
     árnyalata, hogy a gomb alja szilárd, térbeli élnek hasson. */
  --btn-edge: #2E2119;
  --btn-edge-accent: #AD8176;
  --max-width: 1160px;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
/* Biztosítja, hogy a JS-ből "hidden"-nel rejtett elemek (pl. chat-widget
   panel/form) TÉNYLEG eltűnjenek, még akkor is, ha egy komponens saját
   szabálya explicit display-t ad ugyanarra az elemre (pl. display:flex) —
   enélkül az azonos specificitású author-szabály felülírhatja a böngésző
   alap [hidden] viselkedését. */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h3, h4 { font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--color-accent); color: var(--color-primary); }
:focus-visible { outline: 2px solid var(--color-accent-dark); outline-offset: 2px; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--muted { background: var(--color-surface); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__header::before {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent-dark);
  margin: 0 auto 18px;
}
.section__header p { color: var(--color-text-muted); font-size: 16px; }

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

/* ---------------- Fejléc / navigáció ---------------- */
.site-header {
  background: rgba(255, 252, 247, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 28px rgba(75, 56, 44, .07);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand__logo { width: 40px; height: 40px; border-radius: 50%; display: block; box-shadow: 0 2px 8px rgba(75,56,44,.15); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-primary);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  padding-bottom: 5px;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent-dark);
  transition: right .25s var(--ease);
}
.nav-menu a:hover { color: var(--color-primary); }
.nav-menu a:hover::after { right: 0; }
/* Kétnyelvű blokkok: a másik nyelv már betöltéskor se villanjon fel (2026-10-21) —
   a <html lang> a szerver szerinti, majd a script.js szerinti nyelv. */
html[lang="ro"] [data-lang-block="hu"], html[lang="hu"] [data-lang-block="ro"] { display: none !important; }

/* Nyelvváltó zászlóval, a menün kívül (2026-10-21) — mobilon is a fejlécben marad. */
.site-header__inner { gap: 20px; }
.brand { margin-right: auto; white-space: nowrap; flex-shrink: 0; }
.lang-switch { display: flex; gap: 6px; flex-shrink: 0; }
.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.lang-switch button:hover { border-color: var(--color-accent-dark); color: var(--color-primary); }
.lang-switch button.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.lang-switch__flag {
  display: block; width: 20px; height: 14px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
/* A teljes menü + zászlós nyelvváltó egy sorban kb. 1160 px-től fér el (2026-10-21);
   ez alatt hamburger-menü — a nyelvváltó ilyenkor is a fejlécben marad. */
@media (max-width: 1160px) {
  .site-header__inner { gap: 12px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-surface); flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px; border-bottom: 1px solid var(--color-border);
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
}
@media (max-width: 560px) {
  .site-header__inner { padding: 12px 16px; gap: 8px; }
  .brand { font-size: 19px; gap: 10px; }
  .brand__logo { width: 36px; height: 36px; }
  /* Kis képernyőn csak a zászló látszik (a gomb neve képernyőolvasónak megmarad). */
  .lang-switch__code { display: none; }
  .lang-switch button { padding: 5px 7px; }
  .lang-switch__flag { width: 22px; height: 15px; }
}
@media (max-width: 360px) {
  .brand { font-size: 17px; gap: 8px; }
  .brand__logo { width: 32px; height: 32px; }
  .lang-switch { gap: 4px; }
}

/* ---------------- Gombok ---------------- */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff !important;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(75, 56, 44, .1);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--color-primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(75,56,44,.1); }
.btn--accent { background: var(--color-accent); color: var(--color-primary) !important; }
.btn--accent:hover { background: var(--color-accent-dark); }
.btn--small { padding: 8px 18px; font-size: 13px; }
.btn--outline { background: transparent; color: var(--color-primary) !important; border: 2px solid currentColor; box-shadow: none; }
.btn--outline:hover { background: rgba(75,56,44,.08); }
.btn--secondary { background: var(--color-surface); color: var(--color-text-muted) !important; border: 1px solid var(--color-border); box-shadow: none; }
.btn--secondary:hover { background: var(--color-bg); color: var(--color-text) !important; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #F3E1D8 0%, #ECD2C6 100%);
  color: var(--color-text);
  padding: 128px 0 108px;
  text-align: center;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
}
.hero::before { width: 420px; height: 420px; background: var(--color-accent); opacity: .5; top: -190px; left: -110px; }
.hero::after { width: 340px; height: 340px; background: var(--color-primary-light); opacity: .16; bottom: -190px; right: -70px; }
.hero h1 {
  color: var(--color-primary);
  font-size: clamp(30px, 4.6vw, 50px);
  max-width: 780px;
  margin: 0 auto 22px;
  position: relative;
  padding-bottom: 20px;
}
.hero h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent-dark);
}
.hero p { color: var(--color-text-muted); max-width: 620px; margin: 0 auto 36px; font-size: 18px; }
.hero__cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn--outline { color: var(--color-primary) !important; border-color: var(--color-primary); }

/* 2026-09-19: JAVÍTÁS a vevői visszajelzés alapján — a "nem erotikus
   szalon" egyértelműsítés eddig egy 13px-es, szürkés, halványított
   (opacity:.9) sor volt, ráadásul KIZÁRÓLAG a főoldal hero-jában, a CTA
   gombok alatt — könnyen átsiklott rajta a szem, és ha valaki nem a
   főoldalról, hanem közvetlenül (pl. Google-találatból) az Árak vagy az
   Időpontfoglalás oldalra érkezett, egyáltalán nem is látta. Most egy jól
   látható, ikonos sáv lett belőle, közvetlenül a fejléc alatt — mivel ez a
   partials/header.php-ban van, MINDEN publikus oldalon automatikusan
   megjelenik, nem csak a főoldalon. Szándékosan NEM figyelmeztető
   (piros/sárga) stílusú, hanem megnyugtató, "elismerő" hangvételű (halvány
   zöld + pipa-ikon) — a cél a bizalomépítés, nem a riasztás. */
.trust-banner {
  background: #EAF1E3;
  border-bottom: 1px solid #D2E2C4;
  color: var(--color-primary);
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.trust-banner__icon { flex-shrink: 0; width: 19px; height: 19px; color: var(--color-success); }
@media (max-width: 560px) {
  .trust-banner { font-size: 13px; padding: 10px 16px; gap: 6px; }
  .trust-banner__icon { width: 16px; height: 16px; }
}

/* ---------------- Szolgáltatás kártyák ---------------- */
.service-category { margin-bottom: 52px; }
.service-category__title { border-bottom: 2px solid var(--color-accent); padding-bottom: 10px; margin-bottom: 24px; }
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-top-color .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-accent-dark);
}
.service-card__title { font-size: 18px; margin-bottom: 10px; }
.service-card__summary { color: var(--color-text-muted); font-size: 14px; flex-grow: 1; }
.service-card__meta { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; }
/* "Bővebben" — a szolgáltatás teljes leírása (2026-10-18) */
.service-card__more { margin: 0 0 14px; font-size: 14px; }
.service-card__more summary { cursor: pointer; font-weight: 600; color: var(--color-primary); }
.service-card__more p { margin: 8px 0 0; color: var(--color-text-muted); line-height: 1.6; }

/* Főoldal — előnyök és elérhetőség (2026-10-18) */
.home-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.home-feature { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.home-feature h3 { font-size: 18px; margin: 0 0 10px; }
.home-feature p { margin: 0; color: var(--color-text-muted); font-size: 15px; line-height: 1.6; }
.home-contact { text-align: center; }
.home-contact h2 { margin-bottom: 14px; }
.home-contact__line { color: var(--color-text-muted); margin: 6px 0; }

/* ---------------- Árlista táblázat ---------------- */
.table-scroll { overflow-x: auto; margin-bottom: 32px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--color-border); }
.price-table th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price-table tbody tr { transition: background-color .15s var(--ease); }
.price-table tbody tr:hover { background: var(--color-bg); }
.price-table tr:last-child td { border-bottom: none; }
.badge-soft {
  display: inline-block; background: #F3E2DC; color: #6B4A40;
  font-size: 12px; padding: 3px 10px; border-radius: 20px; margin-top: 6px;
}

/* ---------------- Űrlapok ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 640px; }
.form-grid--full { grid-template-columns: 1fr; }
/* 2026-09-19: JAVÍTÁS — a foglalás-űrlapon (idopontfoglalas.php) mobilon
   (kb. 390px széles kijelzőn) a "select" mező a leghosszabb legördülő
   opciójának szövegéhez igazodva szélesebbre nyúlt, mint a mobil-képernyő
   — ez pontosan ugyanaz a jelenség, mint amikor egy flex/grid-elem alapból
   NEM zsugorodik a tartalma alá (implicit min-width:auto), ezért a
   túlszéles select az EGÉSZ oldalt kifeszítette, vízszintes görgetést
   okozva. Két javítás együtt: (1) min-width:0 a grid-elemen (.form-field),
   hogy egyáltalán zsugorodhasson; (2) explicit width:100% minden
   input/select/textarea mezőn, hogy MINDIG a saját konténerükhöz
   igazodjanak, ne a tartalmukhoz. Ugyanez a minta érinti a Kapcsolat, a
   Fiókom és a kezelés-összeállító oldal űrlapjait is, mivel mind ugyanezt
   az űrlap-osztályt használja. */
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--span2 { grid-column: 1 / -1; }
/* Több kezelés egy alkalomra (2026-10-22) */
.extra-services { display: flex; flex-direction: column; gap: 8px; }
.extra-services:empty { display: none; }
.extra-service-row { display: flex; gap: 8px; align-items: center; }
.extra-service-row select { flex: 1; min-width: 0; }
.extra-service-row button { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border);
  background: var(--color-surface); color: var(--color-text-muted); font-size: 18px; cursor: pointer; }
.extra-service-row button:hover { color: var(--color-primary); border-color: var(--color-accent-dark); }
.add-service-btn { align-self: flex-start; background: none; border: 1px dashed var(--color-accent-dark); border-radius: 999px;
  padding: 7px 16px; color: var(--color-primary); font-size: 14px; font-weight: 600; cursor: pointer; }
.add-service-btn:hover { background: var(--color-accent); }
.add-service-btn[hidden] { display: none; }
label { font-size: 13px; font-weight: 600; color: var(--color-text-muted); }
input, select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-accent-dark); box-shadow: 0 0 0 3px rgba(217,169,160,.3); }
/* 2026-10-22: display:none — a böngésző automatikus kitöltése így nem látja (korábban a
   képernyőn kívülre tolt mezőt kitöltötte, és egy valódi foglalás robotnak minősült). */
.form-honeypot { display: none !important; }
.form-status { margin-top: 14px; font-size: 14px; }
.form-status--ok { color: var(--color-success); }
.form-status--error { color: var(--color-error); }

/* Elfogadó jelölőnégyzet, űrlap-megjegyzés, adatvédelmi oldal (2026-10-18) */
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent-row input { width: auto; margin-top: 3px; flex: none; }
.form-hint { font-size: 13px; color: var(--color-text-muted); margin: 8px 0 0; }
.chat-widget__privacy { flex-basis: 100%; font-size: 11px; color: var(--color-text-muted); margin: 6px 0 0; }
.privacy h2 { font-size: 20px; margin: 32px 0 10px; }
.privacy__meta { color: var(--color-text-muted); font-size: 14px; }
.privacy__table td, .privacy__table th { vertical-align: top; font-size: 14px; }
.privacy ul { padding-left: 20px; }
.privacy li { margin-bottom: 6px; }

/* Áthelyezési ajánlat (idopont-modositas.php, 2026-10-18) */
.reschedule-offers { display: grid; gap: 10px; margin-top: 14px; }
.reschedule-offer { text-align: left; font: inherit; font-size: 16px; font-weight: 600; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--color-border); background: #fff; color: var(--color-text); cursor: pointer; }
.reschedule-offer:hover:not(:disabled) { border-color: var(--color-accent-dark); }
.reschedule-offer--selected { border-color: var(--color-accent-dark); background: #FBEFEA; }
.reschedule-offer:disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }

/* Fiókom → Foglalásaim (2026-10-18) */
.account-bookings { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.account-bookings__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border: 1px solid rgba(75, 56, 44, .14); border-radius: 12px; background: #fff; }
.account-bookings__when { font-weight: 600; }
.account-bookings__what { grid-column: 1; font-size: 14px; color: var(--color-text-muted); }
.account-bookings__status { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(75, 56, 44, .08); white-space: nowrap; }
.account-bookings__item--visszaigazolt .account-bookings__status { background: #DCEFE1; color: #2F7D4F; }
.account-bookings__item--lemondott { opacity: .65; }
.account-bookings__item--lemondott .account-bookings__status { background: #F6E0DE; color: #9B3B32; }
.account-bookings__empty { color: var(--color-text-muted); font-size: 14px; }
.demo-notice {
  background: #F6E4DE;
  border: 1px solid var(--color-accent);
  color: #5C4238;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
}

/* ---------------- Kapcsolat oldal ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info dt { font-weight: 600; color: var(--color-text-muted); font-size: 13px; margin-top: 18px; }
.contact-info dd { margin: 4px 0 0; font-size: 16px; }
.contact-notice {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px 22px; margin-top: 24px;
  box-shadow: var(--shadow);
}
.contact-notice h3 { margin-top: 0; font-size: 16px; }
.contact-notice p { margin: 0; font-size: 14px; color: var(--color-text-muted); }

/* ---------------- Kapcsolat oldal — Google Térkép (2026-09-11) ---------------- */
.contact-map { grid-column: 1 / -1; }
.contact-map h3 { margin-bottom: 12px; font-size: 18px; }
.contact-map__frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  /* Fix, kényelmesen olvasható magasság mobilon is — nem a viewport
     szélességétől függő arány, hogy keskeny képernyőn se legyen túl
     alacsony a térkép. */
  height: 320px;
}
.contact-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Hozzájárulás előtti helyőrző (2026-10-18) */
.contact-map__consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: #F8EEE1; }
.contact-map__consent p { margin: 0; max-width: 420px; font-size: 14px; color: var(--color-text-muted); }
.contact-map__link {
  display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600;
}

/* ---------------- "Állítsd össze a kezelésed" — egyedi csomagépítő ---------------- */
.builder-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.builder-list { display: flex; flex-direction: column; gap: 32px; }
.builder-category__title { border-bottom: 2px solid var(--color-accent); padding-bottom: 10px; margin-bottom: 20px; }
.builder-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.builder-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column;
  gap: 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.builder-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.builder-card--added { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(217,169,160,.35); }
.builder-card--disabled { opacity: .55; }
.builder-card__title { font-size: 16px; margin: 0; color: var(--color-primary); font-family: var(--font-heading); }
.builder-card__meta { font-size: 13px; color: var(--color-text-muted); margin: 0; }
.builder-card__btn {
  align-self: flex-start; border: none; border-radius: 20px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--color-primary); color: #fff;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.builder-card__btn:hover:not(:disabled) { background: var(--color-primary-light); transform: translateY(-1px); }
.builder-card__btn--added { background: var(--color-error); }
.builder-card__btn:disabled { opacity: .5; cursor: not-allowed; }
.builder-not-combinable {
  font-size: 13px; color: var(--color-text-muted); background: #F6E4DE;
  border: 1px solid var(--color-accent); border-radius: 10px; padding: 12px 16px; margin-top: 8px;
}

.builder-summary {
  position: sticky; top: 96px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-md);
}
.builder-summary h3 { margin-top: 0; font-size: 17px; }
.builder-summary__empty { font-size: 14px; color: var(--color-text-muted); }
.builder-summary__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.builder-summary__item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 13px; border-bottom: 1px dashed var(--color-border); padding-bottom: 8px;
}
.builder-summary__item-name { flex-grow: 1; }
.builder-summary__item-meta { color: var(--color-text-muted); white-space: nowrap; }
.builder-summary__remove {
  background: none; border: none; color: var(--color-error); cursor: pointer; font-size: 16px; line-height: 1;
}
.builder-time-bar {
  height: 8px; border-radius: 6px; background: var(--color-border); overflow: hidden; margin: 4px 0 4px;
}
.builder-time-bar__fill { height: 100%; background: var(--color-accent); transition: width .2s ease, background .2s ease; }
.builder-time-bar__fill--full { background: var(--color-error); }
.builder-summary__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-text-muted); margin: 2px 0; }
.builder-summary__total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; color: var(--color-primary); margin: 14px 0; }
.builder-cap-warning {
  font-size: 13px; color: #8C4A38; background: #F5D9CE; border-radius: 8px; padding: 10px 12px; margin: 10px 0;
}

/* ---------------- Lábléc ---------------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.82);
  padding: 60px 0 0;
  margin-top: 96px;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer__brand {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.site-footer__col p { margin: 0 0 .6em; }
.site-footer__heading {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  margin: 0 0 18px;
}
.site-footer__meta-list, .site-footer__links-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  color: rgba(255,255,255,.78);
}
.site-footer__meta-list a, .site-footer__links-list a {
  color: rgba(255,255,255,.85); text-decoration: none;
}
.site-footer__meta-list a:hover, .site-footer__links-list a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: rgba(255,255,255,.75); }
/* Jogi linkek a láblécben (2026-10-19) */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__anpc { border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 1px 8px; font-weight: 600; }
/* Készítői hivatkozás (Telesam, 2026-10-19) */
.site-footer__credit { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; opacity: .8; transition: opacity .2s; }
.site-footer__credit:hover { opacity: 1; }
.site-footer__credit img { display: block; height: 20px; width: auto; }
/* Impresszum / ÁSZF (2026-10-19) */
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; line-height: 1.6; }
.legal-dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 6px 18px; margin: 0 0 12px; }
.legal-dl dt { font-weight: 600; color: var(--color-text-muted); }
.legal-dl dd { margin: 0; }
.legal-badges { margin-top: 12px; }
.legal-badge { display: inline-block; border: 2px solid var(--color-text); border-radius: 8px; padding: 8px 14px; font-weight: 700; text-decoration: none; color: var(--color-text); line-height: 1.3; }
.legal-badge small { font-weight: 500; }
.legal-links { margin-top: 32px; }
@media (max-width: 560px) { .legal-dl { grid-template-columns: 1fr; gap: 2px; } .legal-dl dd { margin-bottom: 8px; } }
.site-footer__bottom a:hover { color: #fff; }

/* ---------------- Chat widget ---------------- */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 100; font-family: var(--font-body); }
.chat-widget__button {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-primary); color: #fff; border: none;
  font-size: 24px; cursor: pointer; box-shadow: var(--shadow-md);
  position: relative;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.chat-widget__button:hover { transform: translateY(-2px) scale(1.04); background: var(--color-primary-light); }
.chat-widget__badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--color-error); color: #fff;
  border-radius: 50%; font-size: 11px; padding: 2px 6px;
}
.chat-widget__panel {
  position: absolute; bottom: 72px; right: 0;
  width: 300px; max-height: 420px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--color-border);
}
.chat-widget__header { background: var(--color-primary); color: #fff; padding: 14px 16px; font-weight: 600; }
.chat-widget__body { padding: 12px; overflow-y: auto; flex-grow: 1; }
.chat-widget__email-gate { display: flex; flex-direction: column; gap: 8px; }
.chat-widget__messages { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.chat-msg { padding: 8px 12px; border-radius: 12px; font-size: 13px; max-width: 85%; }
.chat-msg--client { background: var(--color-accent); color: var(--color-text); align-self: flex-end; }
.chat-msg--admin { background: #F1E6DA; align-self: flex-start; }
.chat-widget__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--color-border); }
.chat-widget__input { flex-grow: 1; }

/* ---------------- Reszponzív ---------------- */
/* FONTOS (2026-09-24-i teljes audit során derült ki): a töréspont korábban
   760px volt, de a fejléc navigációja (6 menüpont + fiók-hivatkozás +
   nyelvváltó, 30px hézaggal) valójában csak kb. 900px szélességtől fér el
   egy sorban töréssel/lefolyással — 761–899px között (ide esik pl. a
   legtöbb táblagép ÁLLÓ tájolása, köztük az iPad 768px-es szélessége!) az
   oldal vízszintesen túlfolyt, mert a menü szélesebb volt a képernyőnél.
   920px-re emelve a hamburger-menü ezt a teljes tartományt is lefedi. */
@media (max-width: 920px) {
  .section { padding: 60px 0; }
  .hero { padding: 88px 0 72px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .chat-widget__panel { width: calc(100vw - 40px); }
  .builder-layout { grid-template-columns: 1fr; }
  .builder-summary { position: static; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------- Fiók / bejelentkezés (2026-09-10) ---------------- */
.nav-account-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; background: var(--color-accent);
  color: var(--color-primary) !important; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s var(--ease);
}
.nav-account-link:hover { background: var(--color-accent-dark); }
.nav-account-link--plain { background: transparent; border: 1px solid var(--color-border); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border); }
.tabs a {
  padding: 10px 18px; text-decoration: none; color: var(--color-text-muted);
  font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.tabs a.active { color: var(--color-primary); border-bottom-color: var(--color-accent-dark); }

/* Kiemelt, jól látható kedvezmény-sáv — regisztrált/bejelentkezett ügyfélnek
   szóló, ill. regisztrációra buzdító üzenet (kifejezett kérésre: "jól fel
   legyen tüntetve"). */
.discount-banner {
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px;
  font-size: 14px; line-height: 1.5;
}
.discount-banner--active { background: #EAF3E4; border: 1px solid var(--color-success); color: #3F5C33; }
.discount-banner--promo { background: #FBEFE6; border: 1px dashed var(--color-accent-dark); color: var(--color-text); }
.discount-banner a { color: var(--color-primary); font-weight: 700; }
.price-line { display: flex; justify-content: space-between; font-size: 14px; margin: 4px 0; }
.price-line--total { font-size: 17px; font-weight: 700; color: var(--color-primary); margin-top: 8px; }
.price-strike { text-decoration: line-through; color: var(--color-text-muted); margin-right: 8px; }

/* ---------------- Kattintható időpont-naptár ---------------- */
.calendar-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px; margin: 16px 0 24px; box-shadow: var(--shadow); }
.calendar-box__date-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.calendar-box__date-row input[type="date"] { max-width: 220px; }
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.calendar-slot {
  padding: 9px 6px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: var(--color-surface); font-size: 13px; text-align: center; cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.calendar-slot:hover:not(:disabled) { border-color: var(--color-accent-dark); transform: translateY(-1px); }
.calendar-slot--selected { background: var(--color-accent); border-color: var(--color-accent-dark); color: var(--color-primary); font-weight: 700; }
.calendar-slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.calendar-legend { display: flex; gap: 16px; font-size: 12px; color: var(--color-text-muted); margin-top: 12px; flex-wrap: wrap; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--color-border); }
.calendar-legend i.free { background: var(--color-surface); }
.calendar-legend i.busy { background: var(--color-border); }
.calendar-legend i.selected { background: var(--color-accent); }
.calendar-empty-hint { color: var(--color-text-muted); font-size: 14px; }
.calendar-selected-line { font-size: 14px; margin-top: 12px; }

@media (max-width: 760px) {
  .calendar-grid { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); }
}

/* =========================================================
   2026-09-12 v2 — fiatalosabb, dinamikusabb, figyelemfelhívóbb
   megjelenés (kifejezett kérésre): erősebb, színes izzású
   árnyékolás, élénkebb kiemelések, folyamatos, finom mozgó
   grafikai elemek. A színvilág (bézs+puder+sötétbarna) TOVÁBBRA
   SEM változott — kizárólag a MEGLÉVŐ szín-változókból épülő
   színátmenetek, izzó (glow) árnyékok és tisztán CSS-animációk
   kerültek hozzá. Egyetlen HTML-elem, ID, osztálynév (mint
   szelektor-célpont), script vagy szöveg sem változott/lett
   eltávolítva — csak ez a kiegészítő CSS-blokk került a végére,
   ami a meglévő szelektorokra épül rá.
   Minden animáció leáll a "prefers-reduced-motion" beállításnál
   (lásd a fájl elején lévő globális szabályt).
   ========================================================= */

@keyframes fh-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.06); }
}
@keyframes fh-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 18px) scale(0.94); }
}
@keyframes fh-gradient-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fh-pulse-ring {
  /* 2026-10-16: szolidabb lüktetés — a korábbi, telített rózsaszín gyűrű
     helyett jóval alacsonyabb opacitású, visszafogottabb verzió. */
  0% { box-shadow: 0 0 0 0 rgba(192, 141, 128, .28); }
  70% { box-shadow: 0 0 0 12px rgba(192, 141, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 141, 128, 0); }
}
@keyframes fh-shimmer {
  0% { transform: translateX(-130%) skewX(-12deg); }
  100% { transform: translateX(230%) skewX(-12deg); }
}
@keyframes fh-bob {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-3px) scaleX(1.12); }
}

/* Fejléc / brand — kis, játékos billenés hoverre */
.brand__logo { transition: transform .3s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.08); }
.nav-menu a::after { height: 3px; background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent)); }

/* Hero — élénkebb, lassan vándorló háttér és nagyobb, mozgó fényfoltok */
.hero {
  background: linear-gradient(120deg, #F3E1D8 0%, #ECD2C6 45%, #F3E1D8 100%);
  background-size: 220% 220%;
  animation: fh-gradient-pan 16s ease-in-out infinite;
}
.hero::before {
  width: 460px; height: 460px; opacity: .55;
  animation: fh-float-a 11s ease-in-out infinite;
}
.hero::after {
  width: 380px; height: 380px; opacity: .22;
  animation: fh-float-b 13s ease-in-out infinite;
}
.hero h1 { text-shadow: 0 10px 30px rgba(75, 56, 44, .12); }
.hero .btn--outline { background: rgba(255, 255, 255, .35); }

/* Gombok — szolid, semleges árnyék + fény-csillanás hoverre; a fő
   (accent) gomb finoman, folyamatosan lüktet, hogy jobban felhívja
   magára a figyelmet.
   2026-10-16, Péter kérésére: a gombok emellett valódi, "fizikai"
   3D-mélységet is kapnak — egy szolid (nem blur-ös) "élvastagság"-
   árnyék a gomb alján, ami hoverre kiemelkedik, kattintásra/érintésre
   pedig (lefelé mozdulás + csökkenő élvastagság) benyomódik, mintha
   valódi, térbeli gomb lenne. Ez :active-on (tehát touch-eszközön is)
   működik, nem igényel JS-t. */
.btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  box-shadow: 0 3px 0 var(--btn-edge), 0 6px 14px -4px rgba(43, 32, 25, .3);
  transform: translateY(0);
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-130%) skewX(-12deg);
  pointer-events: none;
}
.btn:hover::before { animation: fh-shimmer .85s ease; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--btn-edge), 0 12px 22px -6px rgba(43, 32, 25, .34), var(--shadow-md);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--btn-edge), 0 2px 6px -2px rgba(43, 32, 25, .3);
  transition-duration: .05s;
}
.btn--accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  box-shadow: 0 3px 0 var(--btn-edge-accent), var(--shadow-glow);
  animation: fh-pulse-ring 2.8s ease-in-out infinite;
}
.btn--accent:hover {
  box-shadow: 0 5px 0 var(--btn-edge-accent), var(--shadow-glow-lg);
  animation: none;
}
.btn--accent:active { box-shadow: 0 1px 0 var(--btn-edge-accent), var(--shadow-glow); }
.btn--outline, .btn--secondary { background: transparent; box-shadow: none; }
.btn--outline:hover, .btn--secondary:hover { transform: translateY(-1px); }
.btn--outline:active, .btn--secondary:active { transform: translateY(1px); }
.btn--outline::before, .btn--secondary::before { display: none; }

/* Kártyák — szolid, semleges emelkedés + fény-csillanás hoverre.
   2026-10-16, Péter kérésére: finomabb lett a hover-árnyék (nem színes
   izzás), ÉS a kártyák valódi 3D-dőlést is kapnak az egér pozíciója
   alapján (lásd js/script.js initCardTilt()) — ha a JS bármiért nem fut,
   vagy a kijelző nem egér-alapú (pl. érintőképernyő), ez az egyszerű,
   dőlés nélküli emelkedés marad a viselkedés, tehát nincs funkcióvesztés. */
.service-card, .builder-card { position: relative; overflow: hidden; }
.service-card::after, .builder-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-160%) skewX(-12deg);
  pointer-events: none;
}
.service-card:hover::after, .builder-card:hover::after { animation: fh-shimmer 1s ease; }
.service-card:hover { box-shadow: var(--shadow-glow), var(--shadow-md); transform: translateY(-8px) scale(1.015); }
.builder-card:hover { box-shadow: var(--shadow-glow), var(--shadow); transform: translateY(-4px) scale(1.01); }

/* Szekció-fejléc kiemelő csík — élénkebb, finoman "lélegző" kiemelés */
.section__header::before {
  width: 56px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  box-shadow: 0 0 10px rgba(192, 141, 128, .35);
  animation: fh-bob 3.4s ease-in-out infinite;
}

/* Kiemelő jelvények / kedvezmény-sáv / fiók-gomb — csillanó,
   figyelemfelkeltő elemek (a bejelentkezés/fiók gomb és a chat
   gomb folyamatosan is lüktet, mint valódi cselekvésre hívó elem). */
.badge-soft, .discount-banner--promo, .nav-account-link {
  position: relative;
  overflow: hidden;
}
.badge-soft::after, .discount-banner--promo::after, .nav-account-link::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(-160%) skewX(-12deg);
  pointer-events: none;
}
.badge-soft:hover::after, .discount-banner--promo:hover::after { animation: fh-shimmer 1s ease; }
.nav-account-link { animation: fh-pulse-ring 3.2s ease-in-out infinite; }
.nav-account-link:hover { animation: none; box-shadow: var(--shadow-glow); }

/* Chat-widget gomb — lüktető gyűrű, hogy jobban kitűnjön */
.chat-widget__button { animation: fh-pulse-ring 2.6s ease-in-out infinite; }
.chat-widget__button:hover { animation: none; }

/* Árlista fejléc — lapos barna helyett finom, meleg színátmenet */
.price-table th { background: linear-gradient(120deg, var(--color-primary), var(--color-primary-light)); }

/* Lábléc — halvány, lassan vándorló fényfolt a mélyebb háttérben */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--color-accent);
  opacity: .12; filter: blur(90px);
  top: -120px; right: -60px;
  animation: fh-float-a 15s ease-in-out infinite;
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
