/* ==========================================================================
   II. kerület Vízvezeték-szerelés, duguláselhárítás – stíluslap
   A színek és méretek egy helyen, CSS-változóként vannak megadva.
   ========================================================================== */

:root {
  --primary: #b51f2b;
  --primary-dark: #1b2838;
  --primary-light: #fff0f1;
  --primary-foreground: #fff;
  --action: #b51f2b;
  --action-hover: #931823;
  --header: #1b2838;
  --header-foreground: #fff;
  --hero: #131e2a;
  --hero-foreground: #fff;
  --highlight: #f2c94c;
  --background: #fff;
  --foreground: #1b2838;
  --secondary: #f6f7f9;
  --muted: #edf0f3;
  --muted-foreground: #5b6676;
  --border: #dce1e7;
  --input: #cbd2da;
  --card: #fff;
  --radius: .625rem;
  --shadow-soft: 0 6px 20px -12px #1b283833;
  --shadow-card: 0 12px 32px -18px #1b283847;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Montserrat", "Inter", ui-sans-serif, system-ui, sans-serif;
  --container: 80rem;
  --header-h: 72px;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 4.5rem; }
@media (min-width: 640px) { .section { padding-block: 6rem; } }
.bg-secondary { background: var(--secondary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
}
.section-title { margin-top: .75rem; font-size: 1.875rem; color: var(--foreground); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-lead { margin-top: 1rem; max-width: 42rem; color: var(--muted-foreground); line-height: 1.75; }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .75rem 1.25rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: .875rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-action { background: var(--action); color: var(--primary-foreground); }
.btn-action:hover { background: var(--action-hover); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--muted); }
.btn-outline-light { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }
.btn-lg { min-height: 3.25rem; padding: .875rem 1.75rem; font-size: .9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .375rem;
  font-weight: 700; font-size: .875rem; color: var(--primary);
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header); color: var(--header-foreground);
  box-shadow: var(--shadow-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .625rem; min-width: 0; }
.logo img { flex-shrink: 0; }
.main-nav, .header-cta { flex-shrink: 0; }
.nowrap { white-space: nowrap; }
@media (min-width: 1240px) { .logo-text strong { white-space: nowrap; } }
.logo img { width: 2.5rem; height: 2.5rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: .01em; }
.logo-text > span { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .65); }

.main-nav { display: none; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .75rem; border: 0; border-radius: .375rem;
  background: none; color: inherit;
  font-size: .875rem; font-weight: 600; white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { background: rgb(255 255 255 / .1); }
.nav-link .chev { width: .875rem; height: .875rem; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + .5rem); left: 0;
  min-width: 17rem; padding: .5rem;
  background: var(--card); color: var(--foreground);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: .5rem .75rem; border-radius: .375rem; font-size: .875rem; font-weight: 500; }
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown a[aria-current="page"] { color: var(--primary); font-weight: 700; }

/* Többoszlopos lenyíló (mega-menü) */
.dropdown.mega {
  display: grid; grid-template-columns: repeat(var(--cols, 2), 15rem);
  gap: .25rem 1rem; width: max-content; max-width: calc(100vw - 4rem); padding: .75rem;
  max-height: calc(100vh - var(--header-h) - 1.5rem); overflow-y: auto;
}
.dropdown-title {
  display: block; padding: .5rem .75rem .375rem;
  font-family: var(--font-display); font-size: .6875rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground);
}
.dropdown .dropdown-title { font-size: .6875rem; font-weight: 800; }
.dropdown .dropdown-title:hover { background: none; color: var(--primary); }
.dropdown .dropdown-all {
  grid-column: 1 / -1; margin-top: .25rem; padding-top: .75rem;
  border-top: 1px solid var(--border); border-radius: 0;
  font-weight: 700; color: var(--primary);
}
.dropdown .dropdown-all:hover { background: none; text-decoration: underline; }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 1px solid rgb(255 255 255 / .2);
  border-radius: var(--radius); background: none; color: inherit;
}
.menu-toggle .icon { width: 1.375rem; height: 1.375rem; }
.menu-toggle .close-icon { display: none; }
.menu-open .menu-toggle .open-icon { display: none; }
.menu-open .menu-toggle .close-icon { display: block; }

@media (min-width: 1240px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-phone { display: inline-flex; }
}
@media (min-width: 560px) and (max-width: 1239px) {
  .header-phone { display: inline-flex; }
}

/* Mobilmenü */
.mobile-nav {
  display: none;
  border-top: 1px solid rgb(255 255 255 / .15);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.menu-open .mobile-nav { display: block; }
.mobile-nav .container { display: block; padding-block: 1rem 1.5rem; min-height: 0; }
.mobile-nav details { border-bottom: 1px solid rgb(255 255 255 / .12); }
.mobile-nav summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: .875rem 0; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] .chev { transform: rotate(180deg); }
.mobile-nav summary .chev { width: 1rem; height: 1rem; transition: transform .2s; }
.mobile-nav details a { display: block; padding: .5rem 0 .5rem 1rem; color: rgb(255 255 255 / .8); font-size: .9375rem; }
.mobile-nav details a:hover { color: #fff; }
.mobile-nav details ul { padding-bottom: .75rem; }
.mobile-nav .mobile-sub {
  padding: .75rem 0 .25rem 1rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgb(255 255 255 / .5);
}
.mobile-nav details .mobile-all { color: var(--highlight); font-weight: 700; }
.mobile-nav .mobile-link { display: block; padding: .875rem 0; font-family: var(--font-display); font-weight: 700; border-bottom: 1px solid rgb(255 255 255 / .12); }
.mobile-nav .btn { width: 100%; margin-top: 1.25rem; }
@media (min-width: 1240px) { .mobile-nav, .menu-open .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
  padding-block: 5rem 9rem;
  color: var(--hero-foreground);
  background-color: var(--hero);
  background-image:
    linear-gradient(115deg, rgb(19 30 42 / .96), rgb(19 30 42 / .72)),
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .025) 14px 15px),
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: auto, 28px 28px, 48px 48px, 48px 48px;
}
.hero::after {
  content: ""; position: absolute; right: -10rem; top: -6rem;
  width: 38rem; height: 38rem; border-radius: 50%;
  background: radial-gradient(circle, rgb(181 31 43 / .35), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero .container { grid-template-columns: 1.35fr 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .875rem; border: 1px solid rgb(255 255 255 / .2);
  border-radius: 999px; background: rgb(255 255 255 / .05);
  font-family: var(--font-display); font-size: .75rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero-badge .dot { width: .5rem; height: .5rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgb(61 220 132 / .2); }
.hero h1 {
  margin-top: 1.5rem; max-width: 48rem;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: .98; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: #ff5a67; background: linear-gradient(#ff5a67, #ff5a67) no-repeat 0 100%; background-size: 100% .08em; padding-bottom: .06em; }
.hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.75; color: rgb(255 255 255 / .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.25rem; color: rgb(255 255 255 / .65); font-size: .875rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .icon { color: var(--highlight); }
.stars { display: inline-flex; gap: 2px; color: var(--highlight); }
.stars .icon { width: .9rem; height: .9rem; fill: currentColor; }

/* Visszahívás-kérő űrlap a hero jobb oldalán */
.hero .form-card { color: var(--foreground); border: 0; border-top: 4px solid var(--primary); box-shadow: 0 30px 60px -20px #0009; }
.hero .form-card .form-grid { gap: .875rem; margin-top: 1.25rem; }
.hero .form-card textarea { min-height: 5.5rem; }

/* „Sürgős a baj?” kártya a Kapcsolat szakaszban */
.stats-card {
  align-self: start;
  padding: 1.75rem; border-radius: calc(var(--radius) + 4px);
  color: #fff;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .03) 14px 15px),
    linear-gradient(135deg, #1b2838, #131e2a);
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .stats-card { padding: 2.25rem; } }
.stats-card h3 { font-size: 1.375rem; }
.stats-card > p { margin-top: .5rem; color: rgb(255 255 255 / .7); font-size: .9375rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.stat { padding: 1rem; border-radius: var(--radius); background: rgb(255 255 255 / .06); }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.stat span { font-size: .8125rem; color: rgb(255 255 255 / .7); }
.stats-card .btn { width: 100%; margin-top: 1.5rem; }
.stats-link { display: block; margin-top: .75rem; text-align: center; font-size: .875rem; color: rgb(255 255 255 / .75); text-decoration: underline; }
.stats-link:hover { color: #fff; }

/* ---------- Kategóriakártyák ---------- */
.categories { padding-bottom: 4rem; }
.categories .grid { display: grid; gap: 1.25rem; margin-top: -5.5rem; position: relative; z-index: 2; }
@media (min-width: 768px) { .categories .grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  padding: 1.75rem; background: var(--card);
  border: 1px solid var(--border); border-top: 4px solid var(--primary);
  border-radius: calc(var(--radius) + 2px); box-shadow: var(--shadow-card);
}
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius);
  background: var(--primary-light); color: var(--primary);
}
.cat-card h2 { margin-top: 1rem; font-size: 1.125rem; }
.cat-card p { margin-top: .5rem; color: var(--muted-foreground); font-size: .9375rem; }
.cat-card ul { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block; padding: .375rem .75rem;
  border: 1px solid var(--border); border-radius: .375rem;
  font-size: .8125rem; font-weight: 600; color: var(--primary-dark);
  transition: all .2s;
}
.chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Szolgáltatásrács ---------- */
.services-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card .ph { aspect-ratio: 16 / 10; }
.service-card .card-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--muted); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.service-body h3 { font-size: 1.0625rem; }
.service-body p { margin-top: .5rem; flex: 1; color: var(--muted-foreground); font-size: .875rem; line-height: 1.7; }
.service-body .link-arrow { margin-top: 1rem; }

/* Képhelykitöltő: cseréld ki <img>-re, ha lesz saját fotó */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  color: rgb(255 255 255 / .9);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .04) 14px 15px),
    linear-gradient(135deg, #26374d, #1b2838 60%, #131e2a);
}
.ph.alt { background: repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .05) 14px 15px), linear-gradient(135deg, #b51f2b, #7d1520); }
.ph svg { width: 3rem; height: 3rem; opacity: .9; }
.ph::after {
  content: "Kép helye"; position: absolute; left: .75rem; bottom: .625rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgb(255 255 255 / .5);
}

/* ---------- Gyorshívó sáv ---------- */
.quick-band { border-block: 1px solid var(--border); background: var(--secondary); padding-block: 2.5rem; }
.quick-band .container { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
@media (min-width: 768px) { .quick-band .container { flex-direction: row; align-items: center; justify-content: space-between; } }
.quick-band h2 { font-size: 1.5rem; }
.quick-band p { margin-top: .25rem; color: var(--muted-foreground); }
.quick-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Váltakozó blokkok ---------- */
.feature { display: grid; gap: 2.5rem; align-items: center; }
.feature + .feature { margin-top: 5rem; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature.reverse .feature-media { order: 2; }
}
.feature-media .ph { aspect-ratio: 4 / 3; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-card); }
.feature-media { position: relative; }
/* Négyzetes fotó 4:3-as keretben: felülről vágva, hogy az arc látszódjon. */
.feature-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-card); background: var(--muted); }
.map-embed {aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-card); background: var(--muted); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-link { margin-top: 1.75rem; }
.feature-media .floating {
  position: absolute; right: 1rem; bottom: -1.25rem;
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1.125rem; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-card);
  font-size: .875rem; font-weight: 600;
}
.feature-media .floating strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); }
.feature-text p { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.8; }
.check-list { margin-top: 1.5rem; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; }
.check-list .icon { margin-top: .25rem; color: var(--primary); }
.feature-text .btn, .feature-text .link-arrow { margin-top: 1.75rem; }


/* ---------- Helyi információs blokk ---------- */
.local-box {
  display: grid; gap: 2rem;
  padding: 2rem; border-radius: calc(var(--radius) + 6px);
  background: var(--primary-dark); color: #fff;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .03) 14px 15px),
    linear-gradient(135deg, #1b2838, #131e2a);
}
@media (min-width: 900px) { .local-box { grid-template-columns: 1fr 1.2fr; padding: 3.5rem; gap: 3.5rem; } }
.local-box .eyebrow { color: var(--highlight); }
.local-box h2 { margin-top: .75rem; font-size: 1.875rem; }
.local-box > div > p { margin-top: 1rem; color: rgb(255 255 255 / .75); line-height: 1.8; }
.local-items { display: grid; gap: 1rem; }
.local-item { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.local-item .icon-box { background: rgb(242 201 76 / .15); color: var(--highlight); flex-shrink: 0; }
.local-item h3 { font-size: 1rem; }
.local-item p { margin-top: .25rem; color: rgb(255 255 255 / .7); font-size: .9rem; }

/* ---------- Tudástár ---------- */
.guides { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .guides { grid-template-columns: repeat(2, 1fr); } }
.guide {
  padding: 1.75rem; background: var(--card);
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px);
}
.guide-num { font-family: var(--font-display); font-weight: 800; font-size: .8125rem; letter-spacing: .14em; color: var(--primary); }
.guide h3 { margin-top: .5rem; font-size: 1.25rem; }
.guide p { margin-top: .75rem; color: var(--muted-foreground); line-height: 1.8; font-size: .9375rem; }
.guide ul { margin-top: 1rem; display: grid; gap: .5rem; }
.guide li { position: relative; padding-left: 1.25rem; font-size: .9375rem; }
.guide li::before { content: ""; position: absolute; left: 0; top: .6rem; width: .5rem; height: .5rem; border-radius: 2px; background: var(--primary); }

/* ---------- Márkák ---------- */
.brands { padding-block: 3rem; border-top: 1px solid var(--border); }
.brands p { text-align: center; font-family: var(--font-display); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; margin-top: 1.25rem; }
.brand-list li { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #9aa4b1; letter-spacing: .02em; }

/* ---------- Piros CTA sáv ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--primary); color: var(--primary-foreground); padding-block: 4rem; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / .05) 14px 15px);
}
.cta-band .container { position: relative; display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 900px) { .cta-band .container { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band .eyebrow { color: rgb(255 255 255 / .8); }
.cta-band h2 { margin-top: .75rem; max-width: 48rem; font-size: 1.875rem; }
@media (min-width: 640px) { .cta-band h2 { font-size: 2.25rem; } }
.cta-band p { margin-top: .75rem; color: rgb(255 255 255 / .85); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Űrlap és kapcsolat ---------- */
.request-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .request-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }
.contact-list a, .contact-list span.value { font-weight: 700; font-size: 1.0625rem; }
.contact-list a:hover { color: var(--primary); }

.form-card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.form-card h2, .form-card h3 { font-size: 1.375rem; }
.form-card > p { margin-top: .375rem; color: var(--muted-foreground); font-size: .9375rem; }
.form-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .375rem; font-size: .875rem; font-weight: 600; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .875rem;
  border: 1px solid var(--input); border-radius: .5rem;
  background: #fff; color: var(--foreground);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(181 31 43 / .15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--primary); }
.field .error { display: none; margin-top: .375rem; font-size: .8125rem; color: var(--primary); font-weight: 600; }
.field.invalid .error { display: block; }
.form-card .form-note { margin-top: .75rem; text-align: center; font-size: .8125rem; color: var(--muted-foreground); }
.form-note a { color: var(--foreground); text-decoration: underline; }
.form-note a:hover { color: var(--primary); }
.form-card .btn { width: 100%; margin-top: 1.25rem; }
.form-success { display: none; margin-top: 1rem; padding: 1rem; border-radius: .5rem; background: #e8f7ee; color: #1d6b3d; font-weight: 600; font-size: .9375rem; }
.form-success.show { display: block; }

/* ---------- GYIK ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.25rem; border: 0; background: none; text-align: left; color: var(--foreground);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.faq-q:hover { color: var(--primary); }
.faq-q .icon { transition: transform .2s; color: var(--primary); }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.25rem 1.25rem; color: var(--muted-foreground); line-height: 1.8; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--header); color: rgb(255 255 255 / .75); padding-top: 4rem; font-size: .9375rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-about p { margin-top: 1rem; max-width: 22rem; line-height: 1.8; }
.footer-about .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin-top: 1rem; display: grid; gap: .5rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .625rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .3rem; color: var(--highlight); }
.footer-bottom {
  margin-top: 3rem; padding-block: 2rem;
  border-top: 1px solid rgb(255 255 255 / .12);
  text-align: center;
}
.footer-copy { font-size: 1rem; color: rgb(255 255 255 / .8); }
.footer-disclaimer { margin: 1.25rem auto 0; max-width: 64rem; font-size: .8125rem; line-height: 1.75; color: rgb(255 255 255 / .5); }

/* ---------- Aloldalak ---------- */
.hero.hero-sub { min-height: 0; padding-block: 3.5rem 4.5rem; }
@media (min-width: 1024px) { .hero.hero-sub { padding-block: 4.5rem 5.5rem; } }
.hero-sub h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .8125rem; color: rgb(255 255 255 / .6); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: rgb(255 255 255 / .9); }

.article-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; align-items: start; }
  .article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.article-aside { display: grid; gap: 1.25rem; }

.prose { max-width: 48rem; }
.prose > * + * { margin-top: 1rem; }
.prose > h2 { margin-top: 3rem; font-size: 1.5rem; }
@media (min-width: 640px) { .prose > h2 { font-size: 1.75rem; } }
.prose > p { color: var(--muted-foreground); line-height: 1.8; }
.prose > p.intro { font-size: 1.125rem; color: var(--foreground); }
.prose .check-list { margin-top: 1.25rem; }
.prose .guide { margin-top: 2.5rem; background: var(--secondary); }
.prose .faq { margin: 1.25rem 0 0; }

.cause-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .cause-list { grid-template-columns: repeat(2, 1fr); } }
.cause { padding: 1.25rem; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: calc(var(--radius) + 2px); background: var(--card); }
.cause h3 { font-size: 1rem; }
.cause p { margin-top: .375rem; color: var(--muted-foreground); font-size: .9375rem; line-height: 1.7; }

.steps { display: grid; gap: 1.25rem; margin: 1.25rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 3.5rem; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  background: var(--primary-light); color: var(--primary);
  font-family: var(--font-display); font-weight: 800; font-size: .875rem;
}
.steps h3 { padding-top: .5rem; font-size: 1rem; }
.steps p { margin-top: .25rem; color: var(--muted-foreground); font-size: .9375rem; line-height: 1.7; }

.note { display: flex; gap: 1rem; padding: 1.5rem; border-radius: calc(var(--radius) + 2px); background: var(--primary-dark); color: #fff; }
.note .icon-box { flex-shrink: 0; background: rgb(242 201 76 / .15); color: var(--highlight); }
.note p { color: rgb(255 255 255 / .8); line-height: 1.8; }

.aside-card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); }
.aside-card h3 { font-size: 1rem; }
.aside-card ul { margin-top: .75rem; display: grid; gap: .125rem; }
.aside-card a { display: block; padding: .375rem .5rem; margin-inline: -.5rem; border-radius: .375rem; font-size: .9375rem; }
.aside-card a:hover { background: var(--primary-light); color: var(--primary); }
.aside-card a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.aside-card .link-arrow { margin-top: .75rem; padding: 0; margin-inline: 0; }
.aside-card .link-arrow:hover { background: none; }

.service-card h3 a:hover { color: var(--primary); }

/* Összes szolgáltatás listája */
.service-index { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .service-index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-index { grid-template-columns: repeat(3, 1fr); } }
.service-index .guide h3 a:hover { color: var(--primary); }
.service-index .guide a:hover { color: var(--primary); text-decoration: underline; }

/* Szövegközi belső linkek */
.tl { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tl:hover { color: var(--primary); }
.hero .tl:hover, .local-box .tl:hover { color: var(--highlight); }

/* Szolgáltatások részletesen */
.svc-group + .svc-group { margin-top: 3.5rem; }
.svc-group-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.svc-group-head .icon-box { flex-shrink: 0; }
.svc-group-head h3 { font-size: 1.375rem; }
.svc-group-head p { margin-top: .5rem; max-width: 48rem; color: var(--muted-foreground); line-height: 1.75; }
.svc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  display: flex; flex-direction: column;
  padding: 1.5rem; background: var(--card);
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px);
}
.svc:target { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light), var(--shadow-card); }
.svc h4 { font-size: 1.0625rem; }
.svc p { margin-top: .625rem; flex: 1; color: var(--muted-foreground); font-size: .9375rem; line-height: 1.75; }
.svc-rel { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin-top: 1rem; }
.svc-rel span { font-size: .8125rem; font-weight: 600; color: var(--muted-foreground); margin-right: .125rem; }
.svc-rel .chip { padding: .25rem .625rem; font-size: .75rem; }
.svc .link-arrow { margin-top: 1rem; }

/* Lábléc: minden szolgáltatás linkje */
.footer-links { display: grid; gap: 1.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgb(255 255 255 / .12); }
@media (min-width: 768px) { .footer-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
.footer-links p { margin-top: .625rem; font-size: .8125rem; line-height: 1.9; }

/* ---------- Mobil ragadós alsó sáv ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .5rem .75rem max(env(safe-area-inset-bottom), .5rem);
  background: var(--header); box-shadow: 0 -8px 24px -12px #0006;
}
.mobile-bar .btn { min-height: 3rem; font-size: .8125rem; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 4.25rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
