/* ==========================================================================
   Útjel Varázs Kft. – styles.css
   Mobile-first. Sorrend: 1) Betűk és tokenek  2) Alap  3) Elrendezés
   4) Komponensek  5) Szekciók  6) Űrlap  7) Segédosztályok  8) Töréspontok
   ========================================================================== */

/* 1. Betűk és designtokenek
   ------------------------------------------------------------------------ */
/* Barlow – az útjelző táblák betűképére emlékeztető, OFL licencű betűcsalád.
   latin + latin-ext (ő, ű) külön fájlban, unicode-range szerint töltődik. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Színek – a logó pirosa, aszfaltszürke és útjel-sárga */
  --c-red: #d4111b;            /* Logó piros – gombok, kiemelések (5,1:1 fehérrel) */
  --c-red-dark: #a80d15;
  --c-red-soft: #fdecec;
  --c-asphalt: #1d2125;        /* Sötét felületek, fejléc szövege */
  --c-asphalt-2: #2a3036;
  --c-asphalt-3: #3a424a;
  --c-yellow: #ffc61a;         /* Útjel-sárga – csak sötét háttéren vagy felületként */
  --c-yellow-dark: #8a6400;    /* Sárga árnyalat fehér háttérre (szövegnek) */
  --c-ink: #15181b;
  --c-text: #343a40;
  --c-muted: #5b636b;
  --c-bg: #ffffff;
  --c-bg-soft: #f3f4f5;
  --c-border: #dfe2e5;
  --c-on-dark: #cfd5da;
  --c-error: #b42318;
  --c-success: #166534;

  /* Tipográfia */
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.875rem, 1.35rem + 2.1vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.5rem + 3.8vw, 4rem);
  --lh: 1.6;

  /* Térközök */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* Formák */
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 2px rgb(21 24 27 / 0.06);
  --shadow: 0 18px 40px -20px rgb(21 24 27 / 0.35);
  --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / 0.6);
  --container: 74rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
}

/* 2. Alap
   ------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-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;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--c-ink);
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
}
h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p, ul, ol, dl { margin: 0 0 var(--sp-4); }
p { text-wrap: pretty; }

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

a { color: var(--c-red-dark); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-red); text-decoration-thickness: 2px; }

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

strong { color: var(--c-ink); font-weight: 700; }

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

/* 3. Elrendezés
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--c-bg-soft); }
.section--tight { padding-block: var(--sp-7); }
.section--dark { background: var(--c-asphalt); color: var(--c-on-dark); }
.section--dark h2,
.section--dark h3,
.section--dark strong { color: #fff; }
.section--dark .eyebrow { color: var(--c-yellow); }
.section--dark .checklist li::before { background-color: var(--c-yellow); }

.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-4); }
.section-head--row h2 { margin-bottom: 0; }
.section-head p:not(.eyebrow) { font-size: var(--fs-lg); color: var(--c-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
}
/* Kis "útfelező" szaggatott vonal az alcím előtt */
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 0.25rem;
  background: repeating-linear-gradient(90deg, currentColor 0 0.6rem, transparent 0.6rem 0.9rem);
}

.grid { display: grid; gap: var(--sp-5); }
.split { display: grid; gap: var(--sp-7); align-items: center; }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -4rem;
  z-index: 100;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* 4. Komponensek
   ------------------------------------------------------------------------ */

/* Gombok */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 3.125rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-dark); color: #fff; }
.btn--yellow { background: var(--c-yellow); color: var(--c-ink); }
.btn--yellow:hover { background: #ffd54f; color: var(--c-ink); }
.btn--outline { border-color: var(--c-asphalt); color: var(--c-asphalt); background: #fff; }
.btn--outline:hover { background: var(--c-asphalt); color: #fff; }
.btn--ghost { border-color: rgb(255 255 255 / 0.6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; color: #fff; }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1.125rem; font-size: var(--fs-sm); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Fejléc */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: auto; height: 3.5rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.site-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: var(--sp-4) var(--gutter) var(--sp-5);
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
/* JavaScript nélkül a menü mindig látszik (a gomb a .no-js osztállyal rejtve) */
.no-js .site-nav { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 var(--sp-4); }
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--c-red); }
.site-nav .btn { margin-top: var(--sp-4); width: 100%; border-bottom: 0; color: #fff; }
.site-nav .btn:hover,
.site-nav .btn[aria-current="page"] { color: #fff; background: var(--c-red-dark); }

.header-phone { display: none; }

/* Morzsamenü */
.breadcrumbs { padding-top: var(--sp-5); font-size: var(--fs-sm); color: var(--c-on-dark); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: var(--sp-2); opacity: 0.5; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: var(--c-yellow); }

/* Kártyák */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--c-muted); }
.card > :last-child { margin-bottom: 0; }
.card__link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: var(--sp-2); }
.card__link .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s; }
.card--service { border-top: 4px solid var(--c-red); transition: box-shadow 0.15s, transform 0.15s; }
.card--service:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card--service:hover .card__link .icon { transform: translateX(3px); }
/* Az egész kártya kattintható (a link kifeszítve) */
.card--service .card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-sm);
  background: var(--c-red-soft);
  color: var(--c-red);
}
.icon-badge .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.7; }

/* Kis kártya (kapcsolódó szolgáltatások) */
.mini-card {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mini-card:hover { border-color: var(--c-red); box-shadow: var(--shadow); color: var(--c-text); }
.mini-card .icon-badge { margin: 0; flex: none; }
.mini-card strong { display: block; }
.mini-card span span { font-size: var(--fs-sm); color: var(--c-muted); }

/* Személy kártya */
.person h3 { margin-bottom: 0; }
.person__role { margin-bottom: var(--sp-3); }
.person a { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; }
.person p { margin-bottom: var(--sp-2); }

/* Pipás lista */
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--sp-3);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 4px;
  background: var(--c-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
.section--dark .checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2125' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
}

/* Blokk (mit vállalunk) */
.block { padding: var(--sp-6) var(--sp-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.block .checklist { margin-bottom: 0; }
.block .checklist li:last-child { margin-bottom: 0; }

/* Lépések */
.steps { counter-reset: step; list-style: none; padding: 0; }
.step { position: relative; padding: var(--sp-6) var(--sp-5) var(--sp-5); background: #fff; border-radius: var(--radius); border: 1px solid var(--c-border); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-asphalt);
  color: var(--c-yellow);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { margin: 0; color: var(--c-muted); }

/* Kiemelt doboz */
.note {
  padding: var(--sp-5) var(--sp-6);
  border-left: 5px solid var(--c-yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--c-bg-soft);
}
.note > :last-child { margin-bottom: 0; }
.note .checklist li:last-child { margin-bottom: 0; }

/* GYIK (details/summary – JavaScript nélkül is működik) */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
}
.faq details[open] { border-color: #c5cbd1; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--c-red-soft);
  color: var(--c-red);
  font-size: 1.25rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 var(--sp-5) var(--sp-4); }
.faq details > div > :last-child { margin-bottom: 0; }

/* Településlista */
.areas { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; }
.areas li {
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--c-border);
  font-weight: 600;
  color: var(--c-ink);
  font-size: var(--fs-sm);
}
.areas li.is-main { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.areas li:last-child { background: var(--c-asphalt); border-color: var(--c-asphalt); color: var(--c-yellow); }

/* Fotó képaláírással */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 3; }
.photo figcaption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-muted); }
.photo--dark figcaption { color: var(--c-on-dark); }

/* Galéria */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.gallery li { margin: 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { padding-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-muted); }
.gallery figcaption strong { display: block; font-size: 1rem; }
.gallery__link { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery__link img { transition: transform 0.3s; }
.gallery__link:hover img { transform: scale(1.04); }
.gallery--captions { gap: var(--sp-5); }

/* Nagyító (lightbox) – <dialog> */
.lightbox {
  width: min(92vw, 80rem);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
}
.lightbox::backdrop { background: rgb(0 0 0 / 0.85); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox p { margin: 0; padding: var(--sp-3) var(--sp-4); color: #e8ebee; font-size: var(--fs-sm); }
.lightbox__close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  cursor: pointer;
}
.lightbox__close .icon { width: 1.5rem; height: 1.5rem; }

/* Útfelező vonal – dekoratív szaggatott sárga csík a sötét szekciók alján */
.road-line {
  height: 0.5rem;
  background: repeating-linear-gradient(90deg, var(--c-yellow) 0 3rem, transparent 3rem 5rem);
  opacity: 0.9;
}

/* 5. Szekciók
   ------------------------------------------------------------------------ */

/* Hero – fénykép, rajta sötét átmenet */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--c-on-dark);
  background:
    radial-gradient(40rem 26rem at 105% -10%, rgb(212 17 27 / 0.28), transparent 65%),
    linear-gradient(160deg, var(--c-asphalt-2) 0%, var(--c-asphalt) 100%);
}
.hero h1,
.page-hero h1 { color: #fff; }
.hero .hl { color: var(--c-yellow); }
.hero .eyebrow,
.page-hero .eyebrow { color: var(--c-yellow); }
.hero a:not(.btn),
.page-hero a:not(.btn) { color: #fff; }
.hero .road-line,
.page-hero .road-line { position: absolute; left: 0; right: 0; bottom: 1.25rem; }

.hero { min-height: min(44rem, 88vh); display: flex; flex-direction: column; justify-content: center; }
.hero picture { position: absolute; inset: 0; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgb(21 24 27 / 0.94) 0%, rgb(21 24 27 / 0.82) 45%, rgb(21 24 27 / 0.35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: var(--sp-8) calc(var(--sp-8) + 1rem); }
.hero h1 { max-width: 48rem; }
.hero__lead { font-size: var(--fs-lg); max-width: 40rem; }
.hero .btn-row { margin-block: var(--sp-5); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.hero__meta li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__meta .icon { color: var(--c-yellow); }

/* Aloldalak fejléce */
.page-hero { padding-block: 0 calc(var(--sp-8) + 1rem); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 50rem; }
.page-hero .breadcrumbs { margin-bottom: var(--sp-6); }
.page-hero .hero__lead { margin-bottom: var(--sp-5); max-width: 44rem; }
.page-hero .hero__lead:last-child { margin-bottom: 0; }

/* Bizalmi sáv a hero alatt */
.trust { padding-block: var(--sp-5); border-bottom: 1px solid var(--c-border); background: #fff; }
.trust ul { display: grid; gap: var(--sp-3) var(--sp-5); list-style: none; padding: 0; margin: 0; }
.trust li { display: flex; align-items: center; gap: var(--sp-3); font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); }
.trust .icon { color: var(--c-red); width: 1.5rem; height: 1.5rem; }

/* Hosszabb szövegek (adatkezelés) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--sp-7); font-size: 1.875rem; }
.prose h3 { margin-top: var(--sp-5); font-size: 1.125rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--sp-2); }

/* CTA sáv */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--sp-7) var(--sp-5) calc(var(--sp-7) + 0.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgb(212 17 27 / 0.35), transparent 65%),
    var(--c-asphalt);
  color: var(--c-on-dark);
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.375rem;
  background: repeating-linear-gradient(90deg, var(--c-yellow) 0 2.5rem, transparent 2.5rem 4rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 38rem; margin-inline: auto; margin-bottom: var(--sp-5); }
.cta-band .btn-row { justify-content: center; }

/* Lábléc */
.site-footer {
  padding-block: 0 var(--sp-5);
  background: #111417;
  color: #aab3bb;
  font-size: var(--fs-sm);
}
.site-footer > .road-line { margin-bottom: var(--sp-8); }
.site-footer h2 { font-family: var(--font); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: var(--sp-3); }
.site-footer a { color: #e3e7ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer strong { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.logo--footer { margin-bottom: var(--sp-4); }
.logo--footer img { height: 7rem; }
.footer-grid { display: grid; gap: var(--sp-6); }
.footer-contact li { display: flex; align-items: center; gap: var(--sp-2); }
.footer-contact .icon { color: var(--c-yellow); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.footer-bottom p { margin: 0; }

/* 404 és köszönőoldal */
.error-page { text-align: center; padding-block: var(--sp-8); }
.error-page__code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; color: var(--c-red); line-height: 1; margin-bottom: var(--sp-4); }
.error-page .btn-row { justify-content: center; }
.error-page .icon-badge { margin-inline: auto; }

/* 6. Űrlap
   ------------------------------------------------------------------------ */
.form-card {
  padding: var(--sp-6) var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 2rem; }
.form { display: grid; gap: var(--sp-5); }
.form-row { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field label,
.field legend { font-weight: 700; color: var(--c-ink); }
.field .optional { font-weight: 400; color: var(--c-muted); }
.field-hint { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  font: inherit;
  color: var(--c-ink);
  background: #fff;
  border: 1.5px solid #b9c0c7;
  border-radius: var(--radius-sm);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid rgb(212 17 27 / 0.25); outline-offset: 0; border-color: var(--c-red); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.field-error:empty { display: none; }

.consent { display: flex; gap: var(--sp-3); align-items: flex-start; }
.consent input { width: 1.375rem; height: 1.375rem; margin-top: 0.15rem; flex: none; accent-color: var(--c-red); }
.consent label { font-weight: 400; color: var(--c-text); }

/* Honeypot – embernek rejtett, egyszerű spamrobotnak látható */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--success { background: #dcfce7; color: var(--c-success); }
.form-status--error { background: #fee4e2; color: var(--c-error); }

.contact-list { list-style: none; padding: 0; display: grid; gap: var(--sp-4); }
.contact-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 2.75rem; height: 2.75rem; flex: none; }
.contact-list .icon-badge .icon { width: 1.4rem; height: 1.4rem; }
.contact-list strong { display: block; }

/* Táblázat */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { padding: var(--sp-3) var(--sp-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.table thead th { background: var(--c-bg-soft); color: var(--c-ink); }
.table tbody tr:last-child td { border-bottom: 0; }

/* Adatlista (cégadatok, impresszum) */
.facts { display: grid; gap: var(--sp-1) var(--sp-5); }
.facts dt { font-weight: 700; color: var(--c-ink); }
.facts dd { margin: 0 0 var(--sp-3); }

code { font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 4px; background: var(--c-bg-soft); }

/* Süti-sáv */
.cookie-banner {
  position: fixed;
  z-index: 90;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  max-width: 34rem;
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -12px rgb(0 0 0 / 0.45);
  font-size: var(--fs-sm);
}
.cookie-banner__title { font-family: var(--font); font-size: 1.125rem; margin-bottom: var(--sp-2); }
.cookie-banner p { margin-bottom: var(--sp-4); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cookie-banner__actions .btn { flex: 1 1 auto; }
.cookie-settings { margin: 0 0 var(--sp-4); padding: 0; border: 0; display: grid; gap: var(--sp-3); }
.cookie-option { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3); border-radius: var(--radius-sm); background: var(--c-bg-soft); }
.cookie-option input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; accent-color: var(--c-red); }
.cookie-option label strong { display: block; }
.cookie-option label span { color: var(--c-muted); }

/* Linknek látszó gomb (pl. "Süti-beállítások" a láblécben) */
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.site-footer .link-button { color: #e3e7ea; }
.site-footer .link-button:hover { color: #fff; text-decoration: underline; }

/* Mobil: rögzített hívás/ajánlatkérés sáv alul */
.mobile-cta {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3) calc(var(--sp-2) + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.97);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -8px 24px -12px rgb(0 0 0 / 0.25);
}
.mobile-cta .btn { min-height: 2.875rem; padding-inline: var(--sp-3); font-size: var(--fs-sm); }
body { padding-bottom: 4.25rem; }

/* 7. Segédosztályok
   ------------------------------------------------------------------------ */
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
/* h2 szintű címsor h3 kinézettel */
.h3-size { font-family: var(--font); font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }

/* 8. Töréspontok
   ------------------------------------------------------------------------ */
@media (min-width: 40em) {
  :root { --gutter: 1.5rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: var(--sp-7) var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: var(--sp-8) var(--sp-7); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 12rem 1fr; }
  .facts dd { margin: 0; }
}

@media (min-width: 64em) {
  :root { --gutter: 2rem; --header-h: 5.5rem; }
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .logo img { height: 4.25rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr 1fr; gap: var(--sp-8); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--top { align-items: start; }
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  .gallery--preview { grid-template-columns: repeat(4, 1fr); }
  .gallery--captions { gap: var(--sp-6) var(--sp-5); }

  /* Asztali menü */
  .nav-toggle { display: none; }
  .site-nav,
  .no-js .site-nav {
    margin-left: auto;
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .site-nav > ul { display: flex; align-items: center; gap: var(--sp-1); }
  .site-nav a {
    padding: 0.5rem 0.625rem;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    white-space: nowrap;
  }
  .site-nav a:hover { background: var(--c-bg-soft); }
  .site-nav a[aria-current="page"] { background: var(--c-red-soft); color: var(--c-red-dark); }
  .site-nav .btn { width: auto; margin: 0 0 0 var(--sp-3); }
  .site-nav .btn:hover { background: var(--c-red-dark); }
  .no-js .site-header__inner { flex-wrap: nowrap; }
}

@media (min-width: 80em) {
  .header-phone {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-left: var(--sp-2);
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--c-ink);
    text-decoration: none;
    white-space: nowrap;
  }
  .header-phone .icon { color: var(--c-red); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .card--service, .gallery__link img, .card__link .icon { transition: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .mobile-cta, .road-line { display: none; }
  .hero, .page-hero { background: none; color: var(--c-text); min-height: 0; }
  .hero::before, .hero picture { display: none; }
  .hero h1, .page-hero h1 { color: var(--c-ink); }
}
