/* ==========================================================================
   LANDING SABLON – style.css
   --------------------------------------------------------------------------
   Felépítés:
     1. Betűtípus
     2. Tokenek (színek, betűk, méretek) + TÉMÁK
     3. Alapok (reset, tipográfia)
     4. Elrendezés (container, szekciók)
     5. Gombok, ikonok, segédosztályok
     6. Fejléc + mobil menü
     7. Hero + hívókártya + nyitvatartás-jelző
     8. Motívumcsík
     9. Árlista
    10. Rólunk
    11. Folyamat
    12. Munkáink (galéria)
    13. Vélemények
    14. GYIK
    15. Kapcsolat + űrlap
    16. Lábléc
    17. Mobil hívósáv
    18. Aloldalak (adatkezelés, 404)
    19. Csökkentett mozgás, nyomtatás

   Témaváltás: <html data-theme="...">  →  alap (nincs attribútum),
   "villanyszerelo", "asztalos", "fodrasz". Saját témához másold le
   az egyik [data-theme] blokkot, és írd át a színeket.
   ========================================================================== */


/* 1. BETŰTÍPUS ============================================================= */
/* Archivo (SIL OFL 1.1), 80%-os szélességre rögzítve, 600–800 súly,
   magyar karakterkészletre szűkítve: 15 KB. A "font-display: optional"
   + preload páros miatt soha nincs elrendezés-ugrás (CLS = 0). */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-hu.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: optional;
}


/* 2. TOKENEK ================================================================ */
:root {
  /* --- Színek (alap téma: munkavédelmi narancs + palaszürke) --- */
  --c-paper: #ffffff;          /* oldal háttere */
  --c-plaster: #f1f3f4;        /* váltakozó szekcióháttér */
  --c-ink: #17212e;            /* fő szövegszín */
  --c-muted: #56616e;          /* másodlagos szöveg */
  --c-line: #d7dce1;           /* vonalak, keretek */
  --c-field: #7d8794;          /* űrlapmezők kerete (min. 3:1) */
  --c-accent: #f26a1b;         /* márkaszín, gombháttér */
  --c-accent-hover: #f5843f;
  --c-on-accent: #17212e;      /* szöveg a márkaszínen */
  --c-accent-text: #b4460a;    /* márkaszín szövegként / fókuszkeretként világos háttéren */
  --c-dark: #17212e;           /* sötét felületek (folyamat, lábléc, hívókártya) */
  --c-on-dark: #f1f3f4;
  --c-on-dark-muted: #aab4c0;
  --c-accent-on-dark: #f26a1b; /* márkaszín sötét háttéren */
  --c-accent-on-dark-hover: #f5843f;
  --c-star: #e89b00;
  --c-ok: #1e7f48;
  --c-warn: #b7791f;
  --c-off: #8a94a0;
  --c-error: #b42318;

  /* --- Környezeti tokenek (a sötét felületek felülírják őket) --- */
  --c-text: var(--c-ink);
  --c-bg: var(--c-paper);
  --c-focus: var(--c-accent-text);

  /* --- Betűk --- */
  --f-display: "Archivo", "Arial Narrow", sans-serif-condensed, "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fw-display: 800;
  --fw-display-sub: 700;
  --ls-display: -0.01em;

  /* --- Betűméretek (Bringhurst-skála: 14 · 16 · 18 · 21 · 24 · 36 · 48 · 72) --- */
  --fs-sm: 0.875rem;
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.3125rem, 1.25rem + 0.3vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  /* --- Térközök --- */
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --container: 75rem;
  --section-pad: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --header-h: 4rem;

  /* --- Formák --- */
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-btn: 10px;
  --shadow-float: 0 1px 2px rgb(0 0 0 / 0.08), 0 18px 40px -12px rgb(0 0 0 / 0.35);

  /* --- Motívumcsík: a téma "aláírása" (alap: munkaterület-jelölő szalag) --- */
  --strip-h: 12px;
  --strip: repeating-linear-gradient(-45deg, var(--c-accent) 0 14px, var(--c-ink) 14px 28px);
}

@media (min-width: 64rem) {
  :root { --header-h: 4.75rem; }
}

/* --- TÉMA: villanyszerelő – biztonsági sárga, kábelszínek ---------------- */
[data-theme="villanyszerelo"] {
  --c-plaster: #eff2f5;
  --c-ink: #18202e;
  --c-muted: #525c6b;
  --c-line: #d5dbe2;
  --c-field: #7a8494;
  --c-accent: #ffcc1f;
  --c-accent-hover: #ffd84d;
  --c-on-accent: #18202e;
  --c-accent-text: #1f5aa8;
  --c-dark: #18202e;
  --c-on-dark: #eff2f5;
  --c-on-dark-muted: #a9b3c1;
  --c-accent-on-dark: #ffcc1f;
  --c-accent-on-dark-hover: #ffd84d;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;
  --radius-btn: 6px;
  /* Lapos kábel: L1 barna, L2 fekete, L3 szürke, N kék, PE zöld-sárga */
  --strip-h: 20px;
  --strip:
    repeating-linear-gradient(90deg, #2fa24a 0 14px, #f3d21b 14px 28px) 0 100% / 100% 20% no-repeat,
    linear-gradient(#7b4a2b 0 20%, #0e1219 20% 40%, #8c939c 40% 60%, #3d8bdb 60% 80%, transparent 80%);
}

/* --- TÉMA: asztalos – diófa, erdőzöld, colstok ----------------------------- */
[data-theme="asztalos"] {
  --c-plaster: #f4eee6;
  --c-ink: #2a2019;
  --c-muted: #665a4f;
  --c-line: #e2d7ca;
  --c-field: #8e8174;
  --c-accent: #2e5b45;
  --c-accent-hover: #234836;
  --c-on-accent: #ffffff;
  --c-accent-text: #2e5b45;
  --c-dark: #2a2019;
  --c-on-dark: #f4eee6;
  --c-on-dark-muted: #c2b4a5;
  --c-accent-on-dark: #e3b45a;
  --c-accent-on-dark-hover: #eac47a;
  --c-star: #c98a00;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --radius-btn: 10px;
  /* Colstok: sárga mérőléc, beosztással és csuklókkal */
  --strip-h: 16px;
  --strip:
    repeating-linear-gradient(90deg, rgb(42 32 25 / 0.9) 0 2px, transparent 2px 50px) 0 0 / 100% 60% no-repeat,
    repeating-linear-gradient(90deg, rgb(42 32 25 / 0.7) 0 1px, transparent 1px 10px) 0 0 / 100% 32% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 198px, rgb(42 32 25 / 0.35) 198px 200px),
    #e3b45a;
}

/* --- TÉMA: fodrász – padlizsán, málna, rendszer-antikva -------------------- */
/* Ennél a témánál az Archivo nincs használatban: az index.html-ben
   a fonts/archivo-hu.woff2 preload sort nyugodtan törölheted. */
[data-theme="fodrasz"] {
  --c-plaster: #f8eff1;
  --c-ink: #33202c;
  --c-muted: #6b5763;
  --c-line: #ebdce0;
  --c-field: #9a8791;
  --c-accent: #a1355d;
  --c-accent-hover: #86294c;
  --c-on-accent: #ffffff;
  --c-accent-text: #a1355d;
  --c-dark: #33202c;
  --c-on-dark: #f8eff1;
  --c-on-dark-muted: #cdb6c2;
  --c-accent-on-dark: #f0a8c0;
  --c-accent-on-dark-hover: #f5c0d2;
  --c-star: #c77d00;
  --f-display: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P052, "Book Antiqua", Georgia, serif;
  --fw-display: 400;
  --fw-display-sub: 700;
  --ls-display: 0;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-btn: 999px;
  /* Gyöngysor */
  --strip-h: 10px;
  --strip: radial-gradient(circle, var(--c-accent) 0 3px, transparent 3.5px) 0 50% / 16px 100% repeat-x;
}


/* 3. ALAPOK ================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }

ul[role="list"],
ol[role="list"] { list-style: none; padding: 0; }

img, picture, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-display-sub);
  line-height: 1.2;
}

p, li, dd, figcaption { text-wrap: pretty; }

strong { font-weight: 650; }


/* 4. ELRENDEZÉS ============================================================= */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--plaster { --c-bg: var(--c-plaster); background: var(--c-plaster); }

/* Sötét felület – bárhol használható (szekció, kártya, lábléc, mobil menü).
   A tokeneket írja felül, így a benne lévő elemek maguktól igazodnak. */
.on-dark {
  --c-text: var(--c-on-dark);
  --c-bg: var(--c-dark);
  --c-muted: var(--c-on-dark-muted);
  --c-line: rgb(255 255 255 / 0.16);
  --c-focus: var(--c-accent-on-dark);
  --c-accent-text: var(--c-accent-on-dark);
  --c-ok: #46d37f;
  --c-warn: #f2b84b;
  --c-off: #9aa3ae;
  --btn-accent-bg: var(--c-accent-on-dark);
  --btn-accent-bg-hover: var(--c-accent-on-dark-hover);
  --btn-accent-fg: var(--c-dark);
  background: var(--c-dark);
  color: var(--c-on-dark);
}

.section__head {
  display: grid;
  gap: 1rem 4rem;
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
}

.section__title {
  font-size: var(--fs-h2);
  max-width: 20ch;
}

.section__intro {
  color: var(--c-muted);
  max-width: 58ch;
}

.section__note {
  margin-top: 2rem;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

@media (min-width: 56rem) {
  .section__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
}


/* 5. GOMBOK, IKONOK, SEGÉDOSZTÁLYOK ======================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-text);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.7em 1.35em;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn--accent {
  --btn-bg: var(--btn-accent-bg, var(--c-accent));
  --btn-fg: var(--btn-accent-fg, var(--c-on-accent));
}
.btn--accent:hover { --btn-bg: var(--btn-accent-bg-hover, var(--c-accent-hover)); }

.btn--outline { --btn-border: var(--c-text); }
.btn--outline:hover {
  --btn-bg: var(--c-text);
  --btn-fg: var(--c-bg);
}

.btn--lg { min-height: 3.5rem; padding-inline: 1.6em; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

.btn:disabled { opacity: 0.6; cursor: progress; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s);
  background: var(--c-ink);
  color: var(--c-paper);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-star);
}
.stars .icon { width: 1.05rem; height: 1.05rem; }


/* 6. FEJLÉC + MOBIL MENÜ ==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 10px 24px -18px rgb(0 0 0 / 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  min-width: 0;
  margin-right: auto;
  color: var(--c-text);
  text-decoration: none;
}
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__mark-bg { fill: var(--c-dark); }
.brand__mark-fg { fill: var(--c-accent-on-dark); }
.on-dark .brand__mark-bg { fill: var(--c-accent-on-dark); }
.on-dark .brand__mark-fg { fill: var(--c-dark); }
.brand__text { display: grid; min-width: 0; line-height: 1.1; }
.brand__name {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 1.25rem;
  letter-spacing: var(--ls-display);
}
.brand__tagline { font-size: 0.8125rem; color: var(--c-muted); }
.brand__name,
.brand__tagline { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.header-call { min-height: 2.75rem; padding-inline: 1rem; }

.nav__link {
  display: block;
  color: var(--c-text);
  text-decoration: none;
}

/* A "Menü" gomb */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 2px solid var(--c-ink);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--c-ink);
  font-weight: 650;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1);
}
.nav-toggle__icon::before { top: 2px; }
.nav-toggle__icon::after { top: 8px; }
.menu-open .nav-toggle__icon::before { transform: translateY(3px) rotate(45deg); }
.menu-open .nav-toggle__icon::after { transform: translateY(-3px) rotate(-45deg); }
.nav-toggle__label { min-width: 4.4em; text-align: left; }

/* --- Mobil és tablet (< 1024 px) --- */
@media (max-width: 63.999rem) {
  .nav-toggle { display: inline-flex; gap: 0.5rem; padding: 0 0.75rem; font-size: 0.9375rem; }
  .nav-toggle__label { min-width: 4.1em; }
  .site-header__inner { gap: 0.75rem; }
  .site-header__actions { gap: 0.375rem; }
  .brand { gap: 0.5rem; }
  .brand__mark { width: 2rem; height: 2rem; }
  .brand__name { font-size: 1.125rem; }
  .brand__tagline { font-size: 0.75rem; }

  .header-call { width: 2.75rem; padding: 0; }
  .header-call__text {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }

  .nav__footer { display: grid; gap: 0.75rem; }

  /* Lenyíló "redőny" panel a fejléc alatt */
  .js .nav {
    /* sötét felület tokenjei (ugyanaz, mint az .on-dark osztályé) */
    --c-text: var(--c-on-dark);
    --c-bg: var(--c-dark);
    --c-muted: var(--c-on-dark-muted);
    --c-line: rgb(255 255 255 / 0.16);
    --c-focus: var(--c-accent-on-dark);
    --c-ok: #46d37f;
    --c-warn: #f2b84b;
    --c-off: #9aa3ae;
    --btn-accent-bg: var(--c-accent-on-dark);
    --btn-accent-bg-hover: var(--c-accent-on-dark-hover);
    --btn-accent-fg: var(--c-dark);
    background: var(--c-dark);
    color: var(--c-on-dark);
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 1.5rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition:
      clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1),
      visibility 0s linear 0.55s;
  }
  .js.menu-open .nav {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition:
      clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1),
      visibility 0s;
  }

  .js .nav::before {
    content: "";
    flex: none;
    height: var(--strip-h);
    margin: -1.5rem calc(var(--gutter) * -1) -1rem;
    background: var(--strip);
  }

  .js .nav__list { border-top: 1px solid var(--c-line); }
  .js .nav__item { border-bottom: 1px solid var(--c-line); }
  .js .nav__link {
    padding: 0.7rem 0;
    font-family: var(--f-display);
    font-weight: var(--fw-display);
    font-size: clamp(1.875rem, 1.2rem + 3.4vw, 2.625rem);
    letter-spacing: var(--ls-display);
    line-height: 1.15;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s;
  }
  .js .nav__link:hover,
  .js .nav__link[aria-current="true"] { color: var(--c-accent-on-dark); }

  .js .nav__footer {
    margin-top: auto;
    opacity: 0;
    transition: opacity 0.4s;
  }

  .js.menu-open .nav__link,
  .js.menu-open .nav__footer { opacity: 1; transform: none; }

  /* Lépcsőzetes belépés */
  .js.menu-open .nav__item:nth-child(1) .nav__link { transition-delay: 0.14s; }
  .js.menu-open .nav__item:nth-child(2) .nav__link { transition-delay: 0.18s; }
  .js.menu-open .nav__item:nth-child(3) .nav__link { transition-delay: 0.22s; }
  .js.menu-open .nav__item:nth-child(4) .nav__link { transition-delay: 0.26s; }
  .js.menu-open .nav__item:nth-child(5) .nav__link { transition-delay: 0.30s; }
  .js.menu-open .nav__item:nth-child(6) .nav__link { transition-delay: 0.34s; }
  .js.menu-open .nav__item:nth-child(7) .nav__link { transition-delay: 0.38s; }
  .js.menu-open .nav__footer { transition-delay: 0.4s; }

  .menu-open,
  .menu-open body { overflow: hidden; }

  /* JavaScript nélkül: egyszerű, görgethető linksor a fejléc alatt */
  .no-js .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 0.5rem; }
  .no-js .nav { order: 3; flex-basis: 100%; }
  .no-js .nav__list { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.25rem; }
  .no-js .nav__link { white-space: nowrap; padding-block: 0.5rem; }
  .no-js .nav__footer,
  .no-js .nav-toggle { display: none; }
}

/* Keskeny telefonok: előbb a szlogen tűnik el, majd a „Menü” felirat
   (képernyőolvasónak megmarad, csak vizuálisan rejtett). */
@media (max-width: 24.999rem) {
  .brand__tagline { display: none; }
}
@media (max-width: 23.499rem) {
  .nav-toggle { width: 2.75rem; padding: 0; justify-content: center; }
  .nav-toggle__label {
    position: absolute; width: 1px; height: 1px; min-width: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}

/* --- Asztali nézet (≥ 1024 px) --- */
@media (min-width: 64rem) {
  .nav__list { display: flex; gap: 0.25rem; }
  .nav__link {
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-s);
    font-weight: 550;
    font-size: 0.975rem;
    text-underline-offset: 0.45em;
  }
  .nav__link:hover { background: var(--c-plaster); }
  .nav__link[aria-current="true"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--c-accent-text);
  }
  .nav__footer { display: none; }
  .site-header__inner { gap: 1.5rem; }
}


/* 7. HERO + HÍVÓKÁRTYA + NYITVATARTÁS-JELZŐ ================================= */
.hero {
  padding-block: clamp(1.75rem, 0.8rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2.25rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.hero__area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.hero__area .icon { color: var(--c-accent-text); }

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.02;
  max-width: 13ch;
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--c-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: 1.75rem;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.hero__media { position: relative; }

.hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-l);
  background: var(--c-plaster);
}

.callcard {
  position: relative;
  margin: -3.5rem 1rem 0;
  padding: 1.25rem 1.5rem 1.35rem;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-float);
}

.callcard__phone {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--c-accent-on-dark);
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  letter-spacing: var(--ls-display);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.callcard__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.callcard__note {
  margin-top: 0.35rem;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

@media (max-width: 63.999rem) {
  .hero__actions .btn { flex: 1 1 14rem; }
}

@media (min-width: 40rem) and (max-width: 63.999rem) {
  .hero__img { aspect-ratio: 3 / 2; }
  .callcard { width: min(24rem, 100%); margin: -5rem 0 0 1.5rem; }
}

@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero__img { aspect-ratio: 4 / 5; }
  .callcard {
    position: absolute;
    left: -2.5rem;
    bottom: 2.5rem;
    width: min(22rem, 100%);
    margin: 0;
  }
}

/* Nyitvatartás-jelző (a js/main.js tölti ki a kapcsolat szekció órái alapján) */
.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.5em;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}
.status__dot {
  position: relative;
  width: 0.625rem;
  height: 0.625rem;
  flex: none;
  border-radius: 50%;
  background: var(--status-color, var(--c-off));
}
.status[data-state="open"] { --status-color: var(--c-ok); }
.status[data-state="soon"] { --status-color: var(--c-warn); }
.status[data-state="closed"] { --status-color: var(--c-off); }
.status[data-state="open"] .status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: status-pulse 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
@keyframes status-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(2.8); opacity: 0; }
}


/* 8. MOTÍVUMCSÍK ============================================================ */
.strip {
  height: var(--strip-h);
  background: var(--strip);
}


/* 9. ÁRLISTA ================================================================ */
.pricelists {
  display: grid;
  gap: 3rem 4.5rem;
}

.pricelist__title {
  padding-bottom: 0.85rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-text);
}

.pricelist__row {
  display: flex;
  align-items: baseline;
  align-items: last baseline;
  gap: 0.75rem;
  padding-block: 0.7rem;
}
/* pontozott vezetővonal a szolgáltatás és az ár között */
.pricelist__row::after {
  content: "";
  order: 1;
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--c-field);
  transform: translateY(-0.3em);
}
.pricelist__row dt { order: 0; }
.pricelist__row dd {
  order: 2;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 56rem) {
  .pricelists { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}


/* 10. RÓLUNK ================================================================ */
.about {
  display: grid;
  gap: clamp(2.25rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.about__media { max-width: 28rem; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l);
  background: var(--c-line);
}

.about__content > * + * { margin-top: 1.25rem; }
.about__content .section__title { max-width: 22ch; margin-bottom: 0.5rem; }
.about__content p { max-width: 60ch; }

.checklist {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.5rem;
}
.checklist li {
  position: relative;
  padding-left: 2.25rem;
  font-weight: 550;
}
.checklist li::before,
.checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}
.checklist li::before { background: var(--c-accent); }
.checklist li::after {
  background: var(--c-on-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat;
}

@media (min-width: 56rem) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about__media { max-width: none; }
}


/* 11. FOLYAMAT ============================================================== */
.steps {
  display: grid;
  gap: 2.5rem 2rem;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding-top: 4.25rem;
  counter-increment: step;
}
.steps__item::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--c-accent-on-dark);
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: 3.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.steps__title { margin-bottom: 0.6rem; }
.steps__item p { color: var(--c-muted); max-width: 34ch; }

@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
  /* összekötő vonal a lépések között */
  .steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 3.25rem;
    right: -1.5rem;
    height: 2px;
    background: var(--c-line);
  }
}


/* 12. MUNKÁINK (GALÉRIA) ==================================================== */
.gallery {
  display: grid;
  gap: 2rem clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  background: var(--c-plaster);
}

.gallery figcaption {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.8rem;
}
.gallery figcaption span { color: var(--c-muted); font-size: var(--fs-sm); }

@media (min-width: 40rem) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* 13. VÉLEMÉNYEK ============================================================ */
.reviews { display: grid; }

.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--c-line);
}
.review:first-child { padding-top: 0; border-top: 0; }

.review__text { font-size: 1.0625rem; }

.review__author {
  margin-top: auto;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.review__author strong {
  display: block;
  color: var(--c-text);
  font-size: 1rem;
}

@media (min-width: 56rem) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review {
    padding: 0 2rem;
    border-top: 0;
    border-left: 1px solid var(--c-line);
  }
  .review:first-child { padding-left: 0; border-left: 0; }
  .review:last-child { padding-right: 0; }
}


/* 14. GYIK ================================================================== */
.faq {
  display: grid;
  gap: 2.5rem 5rem;
}

.faq__intro > * + * { margin-top: 1rem; }
.faq__intro p { color: var(--c-muted); max-width: 40ch; }

.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item:first-child { border-top: 1px solid var(--c-line); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.25rem;
  font-family: var(--f-display);
  font-weight: var(--fw-display-sub);
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-display);
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--c-plaster);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }

.faq__answer {
  padding-bottom: 1.5rem;
  max-width: 62ch;
  color: var(--c-muted);
}

/* Sima nyitás-zárás ott, ahol a böngésző támogatja (fokozatos fejlesztés) */
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 0.35s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

@media (min-width: 56rem) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}


/* 15. KAPCSOLAT + ŰRLAP ===================================================== */
.contact {
  display: grid;
  gap: 3rem;
}

.contact__lead {
  margin-top: 1rem;
  max-width: 44ch;
  color: var(--c-muted);
  font-size: var(--fs-lead);
}

.contact__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact__list li { display: flex; align-items: center; gap: 1rem; }

.contact__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: var(--c-paper);
}

.contact__label {
  display: block;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.3;
}
.contact__value {
  font-weight: 650;
  font-size: 1.0625rem;
  line-height: 1.4;
  text-decoration: none;
}
a.contact__value:hover { text-decoration: underline; }

.hours {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.hours .status { margin-top: 0.5rem; }
.hours__list {
  display: grid;
  gap: 0.25rem;
  max-width: 22rem;
  margin-top: 1rem;
}
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-s);
}
.hours__row dd { font-variant-numeric: tabular-nums; }
.hours__row.is-today { background: var(--c-paper); font-weight: 650; }

/* Űrlap */
.form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: var(--c-paper);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 28px 48px -36px rgb(0 0 0 / 0.35);
}

.form__hint {
  margin-bottom: 1.5rem;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.form__grid { display: grid; gap: 1.25rem; }

.field { display: grid; gap: 0.4rem; align-content: start; }

.field__label { font-weight: 650; font-size: 0.9375rem; }
.field__req { color: var(--c-error); }

.field__input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--c-field);
  border-radius: var(--radius-s);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: 1rem; /* 16 px: iOS-en nem nagyít rá */
  line-height: 1.4;
  transition: border-color 0.15s;
}
.field__input::placeholder { color: var(--c-muted); opacity: 1; }
.field__input:hover { border-color: var(--c-ink); }
.field__input:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 1px;
  border-color: var(--c-ink);
  border-radius: var(--radius-s);
}
.field__input[aria-invalid="true"] { border-color: var(--c-error); }

textarea.field__input { min-height: 8rem; resize: vertical; }

select.field__input {
  appearance: none;
  padding-right: 2.75rem;
  background: var(--c-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356616e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1.1rem no-repeat;
}

.field--check { gap: 0.5rem; }
.field__check-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.field__check-row input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.05rem 0 0;
  flex: none;
  accent-color: var(--c-accent-text);
}
.field__check-row label { font-size: 0.9375rem; }

.field__error {
  color: var(--c-error);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.form__submit { width: 100%; margin-top: 1.75rem; }

.form__status { margin-top: 1rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status[data-state="success"] { color: var(--c-ok); }
.form__status[data-state="error"] { color: var(--c-error); }

.form__small {
  margin-top: 1rem;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

@media (min-width: 36rem) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

@media (min-width: 60rem) {
  .contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4.5rem;
    align-items: start;
  }
}


/* 16. LÁBLÉC ================================================================ */
.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem;
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__about { margin-top: 1rem; color: var(--c-muted); max-width: 32ch; }

.site-footer__title {
  margin-bottom: 0.9rem;
  color: var(--c-muted);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0;
}

.site-footer__links { display: grid; gap: 0.35rem; }
.site-footer__links a { display: inline-block; padding-block: 0.2rem; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }

.site-footer__company { color: var(--c-muted); font-style: normal; }
.site-footer__company p + p { margin-top: 0.35rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer--compact { padding-block: 1.75rem; }
.site-footer--compact .site-footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }

.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-text);
  transition: border-color 0.2s;
}
.social a:hover { border-color: var(--c-text); }

@media (min-width: 40rem) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
}


/* 17. MOBIL HÍVÓSÁV ========================================================= */
.callbar { display: none; }

@media (max-width: 63.999rem) {
  .js .callbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.625rem var(--gutter) max(0.625rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--c-line);
    background: var(--c-paper);
    box-shadow: 0 -12px 28px -18px rgb(0 0 0 / 0.35);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s;
  }
  .js .callbar.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s;
  }
  .menu-open .callbar { visibility: hidden; }

  /* hogy a sáv ne takarja el a lábléc alját */
  .js .site-footer { padding-bottom: 6rem; }
}


/* 18. ALOLDALAK (adatkezelés, 404) ========================================== */
.page { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section-pad); }
.page__title { font-size: var(--fs-h2); max-width: 22ch; }
.page__lead { margin-top: 1rem; color: var(--c-muted); font-size: var(--fs-lead); max-width: 52ch; }

.prose { max-width: 68ch; margin-top: 2.5rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.75rem; font-size: 1.75rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose .todo {
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--c-accent);
  background: var(--c-plaster);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: var(--fs-sm);
}

.notfound { display: grid; gap: 1.5rem; justify-items: start; }
.notfound .hero__actions { margin-top: 0.5rem; }


/* 19. CSÖKKENTETT MOZGÁS, NYOMTATÁS ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .strip, .callbar, .nav, .form, .social { display: none !important; }
  .on-dark { background: none !important; color: #000 !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
