/* Bács-Alarm – egyoldalas bemutatkozó oldal
   Színek: a márkaszín a régi bacsalarm.hu piros színe (#D90A13).
   Kontraszt (WCAG AA): #D90A13 fehéren 5,3:1 · #474C55 fehéren 8,6:1 · #FF6B72 a #121418 háttéren 6,6:1 */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.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-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.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-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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 Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700-normal.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 Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand: #D90A13;
  --brand-dark: #A9070F;
  --brand-soft: #FDECEC;
  --brand-on-dark: #FF6B72;
  --ink: #16181D;
  --ink-2: #474C55;
  --muted: #5F6570;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F3;
  --line: #E3E3E0;
  --dark: #121418;
  --dark-2: #1C1F25;
  --dark-line: #2C3038;
  --on-dark: #F3F4F6;
  --on-dark-2: #B8BDC6;
  --focus: #1D6FE0;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 20, 24, .05), 0 8px 24px rgba(18, 20, 24, .06);
  --header-h: 88px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Címekben a kötőjeles kifejezések egyben maradnak */
.nowrap { white-space: nowrap; }
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.75rem); }
h3 { font-size: 1.3125rem; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* [KITÖLTENDŐ] jelölések – szándékosan feltűnő */
.todo {
  display: inline-block;
  background: #FFE45C;
  color: #3A2E00;
  border: 2px dashed #B38F00;
  border-radius: 6px;
  padding: 0 .4em;
  font-weight: 700;
  font-size: .9em;
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.15em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .8em 1.5em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--brand); border-color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-soft); }

/* ---------- Fejléc és menü (logó középen) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
}
.brand {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: block; line-height: 0;
}
.brand img { width: 88px; height: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--ink); }

.site-nav {
  position: absolute; top: var(--header-h); left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(18, 20, 24, .12);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: 8px var(--gutter) 16px;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav a {
  display: block; padding: 12px 4px; min-height: 44px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-right li:last-child a { border-bottom: 0; }
.site-nav a:hover { color: var(--brand); }

/* Script nélkül a lenyíló gomb nem működne – ilyenkor elrejtjük (a tartalom görgetéssel elérhető) */
.no-js .nav-toggle { display: none; }

.header-call { display: none; }

@media (max-width: 379px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0 12px; }
}

/* Asztali nézet: menüpontok a logó két oldalán */
@media (min-width: 1240px) {
  .header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center; column-gap: 24px;
  }
  .nav-toggle { display: none; }
  .site-nav { display: contents; }
  .site-nav ul { display: flex; gap: 2px; grid-row: 1; }
  .nav-left { grid-column: 1; justify-content: flex-end; }
  .nav-right { grid-column: 3; justify-content: flex-start; padding-right: 64px; }
  .brand { grid-column: 2; grid-row: 1; position: static; transform: none; }
  .header-call { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
  .site-nav a {
    border: 0; padding: 8px 8px; border-radius: 8px; white-space: nowrap; min-height: 0;
    font-size: 1rem;
  }
  .site-nav a:hover { background: var(--bg-soft); }
  .header-call { display: inline-flex; width: 44px; height: 44px; min-height: 0; padding: 0; flex: none; }
}
@media (min-width: 1600px) {
  .site-nav a { padding: 8px 10px; }
}

/* ---------- Köszönő sáv (#koszonjuk) ---------- */
.thanks { display: none; }
.thanks:target {
  display: block;
  margin-top: var(--header-h);
  background: #E8F6EE; border-bottom: 1px solid #B7E0C7; color: #0E4B2A;
}
.thanks:target + .hero { padding-top: clamp(40px, 6vw, 72px); }
.thanks-inner { display: flex; align-items: flex-start; gap: 12px; padding-block: 16px; }
.thanks-inner p { margin: 0; flex: 1; }
.thanks-inner .ico { color: #16804A; margin-top: 2px; }
.thanks-close { color: #0E4B2A; display: inline-flex; padding: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(32px, 5vw, 64px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(217, 10, 19, .35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(217, 10, 19, .12), transparent 70%);
}
.hero-grid {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.hero h1 {
  font-size: clamp(2rem, 3.4vw + .6rem, 3.5rem);
  letter-spacing: -.025em; margin-bottom: .45em;
}
.hero .lead { font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem); color: var(--on-dark-2); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
/* A két telefonszám (tulajdonos, kolléga) az ajánlatkérő gomb alatti sorban, egymás mellett */
.hero-phones { display: flex; flex-wrap: wrap; gap: 12px; flex-basis: 100%; }
.hero a:not(.btn) { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  margin: 0 0 12px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow-light { color: var(--brand-on-dark); }

.hero-visual { display: none; }
.detector { width: 100%; max-width: 460px; margin-inline: auto; }
.detector .ring { fill: none; stroke: #FF3B44; stroke-width: 1.5; opacity: .35; transform-origin: 200px 200px; animation: pulse 3.2s ease-out infinite; }
.detector .r2 { animation-delay: .5s; opacity: .22; }
.detector .r3 { animation-delay: 1s; opacity: .12; }
.detector .led, .detector .led-glow { animation: blink 1.6s steps(1) infinite; }
@keyframes pulse { 0% { transform: scale(.9); } 60% { transform: scale(1.04); } 100% { transform: scale(.9); } }
@keyframes blink { 50% { opacity: .25; } }


@media (min-width: 880px) {
  /* A cím két sorban, teljes szélességben fut ("…döntenek:" / "tűzjelzés, … kompromisszumok nélkül").
     A második sor nem törhet, ezért a betűméret a konténer szélességéhez igazodik (kb. 8% tartalékkal).
     Az érzékelő a cím alatt kezdődik, jobbra úszik, a bevezető szöveg kör alakban körbefutja. */
  .hero-title h1 { font-size: min(3.5rem, calc((min(100vw, 1200px) - 2 * var(--gutter)) / 25)); }
  .hero-h1-line { white-space: nowrap; }
  .hero-grid { display: flow-root; }
  .hero-visual {
    display: block; float: right;
    width: clamp(320px, 32vw, 440px); margin: -8px -24px -48px 24px;
    shape-outside: circle(40% at 50% 50%) content-box; shape-margin: 18px;
  }
  .facts { position: relative; }
  .hero-title h1 { margin-bottom: .85em; }
  .hero-copy .lead { max-width: none; }
}

.facts {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  margin-top: clamp(32px, 5vw, 64px);
  background: var(--dark-line);
  border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden;
}
.facts li { background: var(--dark-2); padding: 18px 20px; display: flex; flex-direction: column; }
.facts strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; color: #fff; }
.facts span { color: var(--on-dark-2); font-size: .9375rem; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Forgalmazott márkák – futószalag ---------- */
.brands-band { padding-block: 28px 32px; border-bottom: 1px solid var(--line); background: #fff; }
.brands-title {
  font-family: var(--font); font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  text-align: center; margin-bottom: 20px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group li {
  flex: none; display: flex; align-items: center;
  gap: clamp(22px, 2.6vw, 44px); padding-right: clamp(22px, 2.6vw, 44px);
}
.marquee-group li::after {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6;
}
.brand-word {
  font-family: var(--font-head); font-weight: 700; white-space: nowrap;
  font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase;
  color: #3A3F47;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- Háttérikonok (dekoráció) ---------- */
symbol path, symbol circle, symbol rect { vector-effect: non-scaling-stroke; }
.section, .hero { position: relative; isolation: isolate; overflow: hidden; }
.deco {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(240px, 34vw, 560px); height: auto; aspect-ratio: 1;
  fill: none; stroke: var(--brand); stroke-width: 2px;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .13;
}
.section-soft .deco { opacity: .15; }
.section-dark .deco, .hero .deco { stroke: #fff; opacity: .08; }
.deco-tr { top: 4%; right: 2%; transform: rotate(10deg); }
.deco-tl { top: 4%; left: 2%; transform: rotate(-10deg); }
.deco-bl { bottom: 2%; left: 1%; transform: rotate(-12deg); }
.deco-br { bottom: 2%; right: 1%; transform: rotate(10deg); }
.deco-hero { width: clamp(420px, 46vw, 900px); top: 50%; left: 0; transform: translate(-38%, -50%) rotate(-10deg); opacity: .07; }
@media (max-width: 699px) {
  .deco { width: 240px; opacity: .09; }
  .deco-tr, .deco-tl { top: 1%; }
  .deco-tr { right: -40px; }
  .deco-tl { left: -40px; }
  .deco-bl, .deco-br, .deco-hero { display: none; }
}

/* ---------- Szekciók ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark a { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-lead { color: var(--ink-2); font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem); margin: 0; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
/* Kártyák szövege sorkizárt (elválasztással, hogy ne legyenek nagy szóközök) */
.card p, .reasons p, .part p, .svc-card p {
  text-align: justify; text-justify: inter-word;
  hyphens: auto; -webkit-hyphens: auto;
}
/* Rövid, adatjellegű kártyák (telefonszám, nyitvatartás, térkép, űrlap) balra zárva maradnak */
.contact p, .map p, .quote-form p, .quote-aside p { text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.card-soft { background: var(--bg-soft); box-shadow: none; }

.ico-badge {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 16px;
  color: var(--brand); background: var(--brand-soft); border-radius: 12px;
}

/* Tűzjelzés lépések */
.steps {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  counter-reset: none;
}
.step { position: relative; }
.step p { color: var(--ink-2); }
.step-no {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-head); font-size: 2.25rem; font-weight: 700; color: var(--line); line-height: 1;
}
.split {
  display: grid; gap: 16px; margin-top: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}
.split p { color: var(--ink-2); }
.h-icon { display: flex; align-items: center; gap: 10px; }
.h-icon .ico { color: var(--brand); width: 1.5em; height: 1.5em; }
.tick-list li { position: relative; padding-left: 26px; margin-top: 6px; color: var(--ink-2); }
.tick-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 10px; height: 6px; border: 2px solid var(--brand); border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}

/* További szolgáltatások */
.services {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.service p { color: var(--ink-2); }

/* Miért minket */
.reasons {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden;
}
.reasons li { display: flex; gap: 16px; padding: clamp(20px, 2.4vw, 28px); background: var(--dark); }
.reasons .ico { width: 28px; height: 28px; color: var(--brand-on-dark); margin-top: 2px; }
.reasons h3 { color: #fff; margin-bottom: .35em; }
.reasons p { color: var(--on-dark-2); margin: 0; }
.section-dark h2 { color: #fff; }
.reasons li.reason-cta { background: linear-gradient(135deg, #2A0D10, var(--dark-2)); align-items: center; }
.reason-cta p { margin-bottom: 14px !important; }
.reasons .reason-cta a.btn { color: #fff; }
.reasons .reason-cta .btn .ico { width: 1.25em; height: 1.25em; margin: 0; color: currentColor; }
/* Az ajánlatkérő doboz alatti sor: a két telefonszám és az e-mail-cím egymás mellett */
.reason-contacts {
  display: grid; gap: 1px; margin-top: 12px;
  grid-template-columns: minmax(0, 1fr);
  background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 860px) { .reason-contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reason-contacts li { display: flex; align-items: center; gap: 16px; padding: 18px clamp(20px, 2.4vw, 28px); background: var(--dark); }
.reason-contacts .ico { flex: none; width: 28px; height: 28px; color: var(--brand-on-dark); }
.reason-contacts h3 {
  margin: 0 0 2px; font-family: var(--font); font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2);
}
.reason-contacts p { margin: 0; }
.reason-contacts a {
  font-family: var(--font-head); font-size: clamp(1.25rem, .5vw + 1rem, 1.5rem); font-weight: 700;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.reason-contacts a:hover { color: var(--brand-on-dark); text-decoration: underline; }

/* Referenciák */
.segments { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.segments li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--brand-soft); color: #8E0610; font-weight: 600;
}
.ref-list {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.ref { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 22px; box-shadow: none; border-left: 3px solid var(--brand); }
.ref-name { font-family: var(--font-head); font-size: 1.1875rem; line-height: 1.25; }
.ref-meta { color: var(--muted); font-size: .9375rem; }
.ref-stats {
  display: grid; gap: 12px; margin-bottom: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.ref-stats li { padding: 18px 20px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark-2); }
.ref-stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.75rem, 1.5vw + 1.2rem, 2.5rem); line-height: 1.1; color: #fff; }
.ref-stats li:first-child strong { color: var(--brand-on-dark); }
/* ---------- Szolgáltatás-kártyák (linkelnek az aloldalakra) ---------- */
.subhead {
  margin: clamp(40px, 5vw, 56px) 0 16px;
  font-size: .8125rem; font-family: var(--font); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.svc-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
@media (min-width: 600px) { .svc-grid-fire { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Asztalon 2×2: szélesebb kártyák, így a sorkizárt szöveg nem lyukas */
@media (min-width: 760px) { .svc-grid:not(.svc-grid-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tervezés + Karbantartás blokkok (tulajdonosi szöveg) */
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.pillar { display: flex; flex-direction: column; }
.pillar h3 { font-size: 1.5rem; }
.pillar p { color: var(--ink-2); }
.pillar-stat {
  margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px; color: var(--ink) !important;
}
.pillar-stat strong { font-family: var(--font-head); font-size: 2.25rem; line-height: 1; color: var(--brand); }
.pillar-stat span { font-weight: 600; }

/* Gyártók az aloldalakon */
.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chips li {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #3A3F47;
}
@media (min-width: 900px) { .svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card h3 { margin-bottom: .4em; }
.svc-card p { color: var(--ink-2); flex: 1; margin-bottom: 18px; }
.svc-link { color: inherit; text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.svc-link:hover { color: inherit; }
.svc-link:focus-visible { outline: none; }
.svc-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-weight: 600;
}
.svc-more .ico { transition: transform .2s ease; }
.svc-card:hover {
  transform: translateY(-4px);
  border-color: #F1B7BA;
  box-shadow: 0 2px 4px rgba(18, 20, 24, .05), 0 18px 40px rgba(217, 10, 19, .12);
}
.svc-card:hover .svc-more .ico { transform: translateX(4px); }
.svc-featured {
  background: linear-gradient(145deg, #1E2127 0%, var(--dark) 55%, #3A0A0E 100%);
  border-color: var(--dark-line); color: #fff;
}
.svc-featured p { color: var(--on-dark-2); }
.svc-featured .ico-badge { background: rgba(255, 107, 114, .14); color: var(--brand-on-dark); }
.svc-featured .svc-more { color: var(--brand-on-dark); }
.svc-featured:hover { border-color: var(--brand); }

/* ---------- Aloldalak ---------- */
.page-hero { padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(1.75rem, 3.2vw + .8rem, 3.5rem); max-width: 18em; }
.page-hero .lead { max-width: 44em; }
.deco-page {
  width: clamp(300px, 42vw, 680px); top: 50%; right: 0;
  transform: translate(28%, -50%) rotate(8deg);
}
.hero .deco-page { opacity: .09; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 20px; font-size: .9375rem; color: var(--on-dark-2); }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: #6F7682; }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

.svc-layout { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.prose { min-width: 0; }
.prose > h2 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.125rem); margin-top: clamp(40px, 5vw, 56px); }
.prose > h2:first-child { margin-top: 0; }
.prose > p { color: var(--ink-2); font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem); max-width: 42em; }
.steps-compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tick-list-lg li { font-size: 1.0625rem; margin-top: 10px; }
.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 20px;
  background: #FFF6E0; border: 1px solid #F0D68C; border-left: 4px solid #D29A00; border-radius: var(--radius-sm);
}
.note .ico { color: #8A6100; margin-top: 3px; }
.note p { margin: 0; color: #4A3A10; }
.parts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.part {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm);
}
.part .ico { color: var(--brand); width: 22px; height: 22px; margin-top: 2px; }
.part h3 { font-size: 1.125rem; margin-bottom: 2px; }
.part p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 44px; padding: 12px 0; }
.brand-row .brand-word { font-size: 1.25rem; }
.brand-row img { max-width: 100%; height: auto; }

.quote-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.quote-aside h2 { font-size: 1.625rem; }
.quote-aside > p { color: var(--ink-2); }
.aside-contacts { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.aside-contacts p { margin-bottom: 4px; }
.aside-contacts .big-phone { font-size: 1.5rem; margin-bottom: 4px; }
.aside-urgent { display: flex; gap: 8px; align-items: center; margin-top: 12px !important; font-weight: 600; }
.aside-urgent .ico { color: var(--brand); }
.aside-urgent a { color: var(--ink); }
@media (max-width: 999px) { .quote-aside { position: static; } }

.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-inner p { color: var(--on-dark-2); margin: 0; font-size: 1.125rem; max-width: 36em; }
.cta-inner .hero-actions { margin: 0; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1fr auto; } }

/* ---------- Jogi oldalak (impresszum, adatkezelés) ---------- */
.page-hero-sm { padding-bottom: clamp(32px, 4vw, 56px); }
.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); margin: clamp(32px, 4vw, 44px) 0 12px; }
.legal h2:first-child, .legal .legal-meta + h2 { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal .tick-list { margin-bottom: 16px; }
.legal-meta { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }
.legal-dl {
  display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 10px 24px;
  margin: 0 0 16px; padding: 18px 22px; background: var(--bg-soft); border-radius: var(--radius-sm);
}
.legal-dl dt { font-weight: 600; color: var(--ink); }
.legal-dl dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .legal-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal-dl dd { margin-bottom: 10px; }
}

/* Térkép: csak kattintásra töltődik be (adatvédelem) */
.map-consent {
  height: 100%; min-height: 320px; padding: 28px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
  background: var(--bg-soft);
}
.map-consent .ico { width: 36px; height: 36px; color: var(--brand); }
.map-consent p { margin: 0; max-width: 34em; }

/* Ajánlatkérés */
.quote-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) { .quote-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.quote-intro p { color: var(--ink-2); }
.quote-direct {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.quote-direct p { margin-bottom: 6px; }
.big-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.big-phone .ico { color: var(--brand); }
.big-phone:hover { color: var(--brand); }
/* Ajánlatkérés: a tulajdonos és a kolléga száma két külön dobozban, egymás mellett (keskeny helyen egymás alatt) */
.phone-boxes {
  display: grid; gap: 12px; margin: 10px 0 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
}
.phone-box {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em; white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.phone-box .ico { flex: none; color: var(--brand); }
.phone-box:hover { color: var(--brand); border-color: #F3B9BC; }
.muted { color: var(--muted) !important; font-size: .9375rem; }

.quote-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field label { font-weight: 600; font-size: .9375rem; }
.req { color: var(--brand); }
.field input, .field textarea {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1.5px solid #B9BDC4; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field textarea:hover { border-color: #8E939C; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29, 111, 224, .25);
}
.field input:user-invalid { border-color: var(--brand); }
.field textarea::placeholder { color: #767B84; }
.form-note { font-size: .875rem; color: var(--muted); margin: 0; }
.form-error {
  margin: 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #FDECEC; border: 1px solid #F3B9BC; color: #7A0610; font-size: .9375rem;
}
.form-error a { color: #7A0610; font-weight: 600; }
/* Spamcsapda – képernyőn kívül, de a DOM-ban marad */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kapcsolat */
.contact-grid {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-cards {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.contact { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; box-shadow: none; }
.contact .ico-badge { margin: 0; width: 44px; height: 44px; padding: 10px; }
.contact h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.contact p { margin: 0 0 2px; font-weight: 600; overflow-wrap: anywhere; }
.contact a { color: var(--ink); text-decoration-color: rgba(217, 10, 19, .4); }
.contact a:hover { color: var(--brand); }
.contact-urgent { border-color: #F3B9BC; background: #FFF7F7; }
.contact-wide { grid-column: 1 / -1; }
.link-arrow { font-weight: 600; }
.map { padding: 0; overflow: hidden; min-height: 320px; box-shadow: none; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Lábléc */
.site-footer {
  background: var(--dark); color: var(--on-dark-2);
  padding-top: clamp(48px, 6vw, 72px);
  font-size: .9375rem;
}
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer-brand img { margin-bottom: 14px; width: 64px; height: auto; }
.footer-h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.company { margin: 0; display: grid; gap: 2px; }
.company dt { color: #8D939D; font-size: .8125rem; margin-top: 8px; }
.company dt:first-child { margin-top: 0; }
.company dd { margin: 0; color: var(--on-dark); }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-block: 20px;
  border-top: 1px solid var(--dark-line);
}
.footer-bottom p { margin: 0; }

/* Alsó hívássáv – csak mobilon/tableten */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(18, 20, 24, .08);
}
.callbar .btn { width: 100%; }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 1240px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}


/* ---------- Hero: piros blokk (jóváhagyva 2026-10-08) ---------- */
.hf { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #121418;
  padding: calc(var(--header-h) + clamp(40px, 5vw, 72px)) 0 clamp(36px, 4vw, 56px); }
.thanks:target + .hf { padding-top: clamp(32px, 4vw, 64px); }
/* Szélesebb sáv: a tartalom közelebb a képernyő széleihez */
.hf .container { max-width: 1440px; }
/* Rétegek: gyűrűk (0) < piros mező (1) < szöveg, gombok, érzékelő (2) */
.hf-red { position: absolute; inset: 0 auto 0 0; z-index: 1; width: 60%;
  background: linear-gradient(135deg, #E0101A 0%, #B0070F 100%); clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
.hf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; }
.hf-copy { position: relative; z-index: 2; padding-top: 8px; }
.hf-eyebrow { color: #fff; opacity: .85; }
.hf-title { margin: 8px 0 18px; text-transform: uppercase; line-height: .9; letter-spacing: -.03em; }
.hf-title span { display: block; font-size: clamp(3rem, 6vw, 7rem); }
.hf-title .l2 { padding-left: 5.5vw; color: #121418; }
.hf-title .l3 { padding-left: 3vw; }
.hf-tag { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 1.2vw + .8rem, 1.95rem); line-height: 1.25; margin: 0; max-width: 20em; }
.hf-cta { margin-top: 32px; min-height: 58px; padding: 0 28px; font-size: 1.125rem; background: #fff; color: var(--brand); }
.hf-cta:hover { background: #FDECEC; color: var(--brand-dark); }
.hf-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; max-width: 540px; }
.hf-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 22px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.7); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.0625rem; white-space: nowrap; }
.hf-pill:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }
.hf-pill .ico { width: 1.15em; height: 1.15em; }
.hf-right { display: grid; justify-items: center; }
.hf-stage { position: relative; width: 100%; max-width: 390px; aspect-ratio: 1; }
.hf-det { position: relative; z-index: 2; width: 100%; aspect-ratio: 1; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.hf-det img { width: 100%; height: 100%; }
.hf-led { position: absolute; left: 68.2%; top: 67.3%; width: 3.6%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 35%, #FF9CA0, #FF1822 45%, #8A050A); box-shadow: 0 0 22px 8px rgba(255,30,40,.75);
  animation: blink 1.6s steps(1) infinite; }
.hf-ring { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,59,68,.6);
  transform: translate(-50%, -50%); animation: hfring 4s ease-out infinite; pointer-events: none; z-index: 0; }
.hf-ring.r2 { animation-delay: 1.33s; } .hf-ring.r3 { animation-delay: 2.66s; }
@keyframes hfring { 0% { opacity: .9; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); } }
.hf-lead { position: relative; z-index: 2; margin: 64px 0 0; font-size: 1.4375rem; line-height: 1.55; }
/* Asztalon szélesebb, balra kinyúló, sorkizárt bevezető (3–4 sor) */
@media (min-width: 960px) {
  .hf-lead { justify-self: stretch; width: calc(100% + 170px); margin-left: -170px; margin-top: 88px; font-size: 1.3125rem;
    text-align: justify; text-justify: inter-word; hyphens: manual; }
}
.hf-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin-top: clamp(40px, 5vw, 64px); }
.hf-facts strong { display: block; font-family: var(--font-head); font-size: 1.75rem; line-height: 1.15; }
.hf-facts span { opacity: .9; font-size: .9375rem; }
.hf-facts a { color: #fff; }

/* Tablet és mobil: felül teljes szélességű piros blokk, alatta sötét háttéren az érzékelő */
@media (max-width: 959px) {
  .hf { padding-top: var(--header-h); }
  .hf-red { display: none; }
  .hf-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hf-copy { margin-inline: calc(-1 * var(--gutter)); padding: 40px var(--gutter) 64px;
    background: linear-gradient(135deg, #E0101A 0%, #B0070F 100%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
  .hf-title span { font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .hf-title .l2 { padding-left: 7vw; }
  .hf-title .l3 { padding-left: 3.5vw; }
  .hf-right { padding-top: 28px; }
  .hf-stage { max-width: 300px; }
  .hf-lead { margin-top: 32px; font-size: 1.1875rem; max-width: 36em; }
  .hf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
}
@media (max-width: 420px) {
  .hf-pill { padding: 0 16px; font-size: 1rem; }
  .hf-cta { width: 100%; justify-content: center; }
  .hf-facts strong { font-size: 1.4rem; }
}

@media print {
  .site-header, .callbar, .hero-visual, .hf-right, .hf-red, .map, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; padding-top: 0; }
  body { padding: 0; }
}
