/* ==========================================================================
   Darus autómentő – Autómentés 0-24  |  Landing oldal
   Prémium + vészhelyzeti komolyság. Sötét, erős hero; tiszta világos szekciók;
   egyetlen, fegyelmezett akcentszín (signal red) a CTA-khoz.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces — dark */
  --bg-dark:    #0E1116;
  --bg-dark-2:  #161B22;
  --bg-dark-3:  #1F262F;

  /* Surfaces — light */
  --bg-light:   #F5F3EF;
  --surface:    #FFFFFF;
  --surface-2:  #FBFAF7;

  /* Ink */
  --ink:        #15181D;
  --ink-soft:   #4C535E;
  --ink-faint:  #757C87;
  --paper:      #EEF1F5;   /* text on dark */
  --paper-soft: #AEB6C1;   /* muted text on dark */

  /* Lines */
  --line:       rgba(20, 24, 30, 0.10);
  --line-dark:  rgba(255, 255, 255, 0.10);

  /* Accent — signal red (action / emergency) */
  --accent:        #DA2A1F;
  --accent-strong: #B41C13;
  --accent-soft:   rgba(218, 42, 31, 0.10);
  --accent-line:   rgba(218, 42, 31, 0.22);
  --accent-glow:   rgba(218, 42, 31, 0.34);

  /* Amber — beacon / rating / fine accents */
  --amber:      #F4B23E;
  --amber-deep: #DC9322;

  /* Shadows — layered, tinted, low opacity */
  --shadow-sm: 0 1px 2px rgba(14,17,22,.06), 0 3px 8px rgba(14,17,22,.05);
  --shadow-md: 0 4px 14px rgba(14,17,22,.07), 0 14px 32px rgba(14,17,22,.10);
  --shadow-lg: 0 12px 30px rgba(14,17,22,.12), 0 32px 64px rgba(14,17,22,.16);
  --shadow-accent: 0 4px 12px rgba(180,28,19,.18), 0 1px 3px rgba(14,17,22,.16);
  --shadow-dark: 0 18px 48px rgba(0,0,0,.45);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --pad-x: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 124px);

  /* Type */
  --font-display: "Archivo", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Spring easing */
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* Grain / noise texture for depth on dark surfaces */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

p { margin: 0; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow--amber { color: var(--amber-deep); }
.eyebrow--amber::before { background: var(--amber-deep); }
.eyebrow--paper { color: var(--amber); }
.eyebrow--paper::before { background: var(--amber); }

h2.section-title {
  font-size: clamp(1.95rem, 3.8vw, 3rem);
  letter-spacing: -0.028em;
  line-height: 1.05;
}
.section-head .lead {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.on-dark .section-title, .on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark .lead { color: var(--paper-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  padding: 1rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--spring),
              box-shadow .25s var(--ease-out),
              background-color .2s var(--ease-out),
              color .2s var(--ease-out),
              border-color .2s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }

.btn-call {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
  position: relative;
}
.btn-call:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,17,22,.18), 0 2px 5px rgba(180,28,19,.18); }
.btn-call:active { transform: translateY(-1px); }

.btn-call--lg { font-size: 1.18rem; padding: 1.18rem 2.1rem; }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-dark);
}
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* live "available now" marker dot on the primary CTA — gentle ripple */
.beacon {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.55);
  animation: beacon-pulse 2.1s var(--ease-out) infinite;
}
@keyframes beacon-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* attention pulse for the most important CTAs (header + hero + final) —
   an expanding ring drawn with a pseudo-element (transform/opacity only) */
.btn-call--pulse { position: relative; }
.btn-call--pulse::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: cta-ring 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes cta-ring {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.09); opacity: 0; }
  100% { transform: scale(1.09); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(14, 17, 22, .9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--paper); }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), var(--shadow-accent);
}
.brand-mark svg { width: 24px; height: 24px; color: #fff; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
  line-height: 1.05;
  color: var(--paper);
}
.brand-sub {
  display: flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper-soft); font-weight: 600;
}
.dot-amber { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: pulse-amber 2.4s var(--ease-out) infinite; }
@keyframes pulse-amber {
  0%   { box-shadow: 0 0 0 0 rgba(244,178,62,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(244,178,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,178,62,0); }
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Primary nav — sits between the brand and the call CTA */
.header-nav {
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem);
  margin-inline: auto;
}
.header-nav a {
  position: relative;
  font-family: var(--font-display); font-weight: 600;
  font-size: .98rem; letter-spacing: -0.01em;
  color: var(--paper-soft);
  padding: .35rem 0;
  transition: color .2s var(--ease-out);
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.header-nav a:hover,
.header-nav a:focus-visible { color: #fff; }
.header-nav a:hover::after,
.header-nav a:focus-visible::after { transform: scaleX(1); }
/* combined number + call button (single CTA) */
.header-cta {
  padding: .72rem 1.3rem;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-cta svg { width: 1.15em; height: 1.15em; }

/* ---------- Mobile nav: hamburger toggle + overlay menu ---------- */
/* Hidden on desktop; revealed in the responsive section where .header-nav hides. */
.nav-toggle {
  display: none;
  position: relative; z-index: 90;
  flex: none; width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: 12px; cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.nav-toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-toggle-box { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle-line {
  position: absolute; left: 0; width: 100%; height: 2px;
  border-radius: 2px; background: var(--paper);
  transition: transform .33s var(--spring), opacity .18s var(--ease-out), top .33s var(--ease-out);
}
.nav-toggle-line:nth-child(1) { top: 0; }
.nav-toggle-line:nth-child(2) { top: 7px; }
.nav-toggle-line:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Fullscreen overlay sits below the fixed header (z 80) so the toggle stays live as the close (X) button. */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: calc(74px + clamp(28px, 6vh, 52px)) clamp(26px, 8vw, 56px)
           calc(clamp(28px, 6vh, 48px) + env(safe-area-inset-bottom));
  background: var(--bg-dark);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease-out), transform .38s var(--ease-out), visibility 0s linear .38s;
  pointer-events: none; overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .3s var(--ease-out), transform .42s var(--spring), visibility 0s;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 100% 0%, rgba(218,42,31,.12), transparent 58%);
  pointer-events: none;
}
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a {
  display: flex; align-items: center; min-height: 56px; padding: .5rem 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.55rem, 7vw, 2.05rem); letter-spacing: -0.02em;
  color: var(--paper); border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(10px);
  transition: color .2s var(--ease-out), padding-left .25s var(--ease-out),
              opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.mobile-menu.open .mobile-menu-nav a { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu-nav a:nth-child(1) { transition-delay: 0s, 0s, .06s, .06s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(2) { transition-delay: 0s, 0s, .12s, .12s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(3) { transition-delay: 0s, 0s, .18s, .18s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(4) { transition-delay: 0s, 0s, .24s, .24s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(5) { transition-delay: 0s, 0s, .30s, .30s; }
.mobile-menu-nav a:hover, .mobile-menu-nav a:focus-visible { color: var(--accent); padding-left: .45rem; }
.mobile-menu-cta {
  margin-top: clamp(1.5rem, 4vh, 2.25rem); width: 100%; opacity: 0;
  transition: opacity .4s var(--ease-out) .34s,
              transform .25s var(--spring),
              box-shadow .25s var(--ease-out),
              background-color .2s var(--ease-out);
}
.mobile-menu.open .mobile-menu-cta { opacity: 1; }
/* body scroll lock while the overlay is open */
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--paper);
  padding-top: clamp(124px, 18vh, 196px);
  padding-bottom: clamp(64px, 9vw, 116px);
  overflow: hidden;
  isolation: isolate;
}
/* full-bleed background photo */
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 42%; }
.hero::before {
  /* darkening + brand wash so the copy stays legible over the photo */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(9,11,15,.95) 0%, rgba(9,11,15,.88) 36%, rgba(9,11,15,.55) 68%, rgba(9,11,15,.42) 100%),
    linear-gradient(0deg, rgba(9,11,15,.72), transparent 56%),
    radial-gradient(120% 90% at 90% 0%, rgba(218,42,31,.12), transparent 56%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: var(--grain); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-trust-top {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .9rem .5rem .65rem;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: .85rem; color: var(--paper-soft);
  margin-bottom: 1.6rem;
}
.hero-trust-top .stars { color: var(--amber); letter-spacing: 1px; font-size: .9rem; }
.hero-trust-top strong { color: var(--paper); font-weight: 700; }

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .nowrap { white-space: nowrap; }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--paper-soft);
  text-shadow: 0 1px 16px rgba(0,0,0,.4);
}

/* hero quick-points */
.hero-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .65rem; }
.hero-points li { display: flex; align-items: flex-start; gap: .65rem; color: var(--paper); font-size: 1rem; }
.hero-points li::before {
  content: ""; flex: none; margin-top: .2rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(244,178,62,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F4B23E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(244,178,62,.3);
}

/* ---------- Hero dispatch card (number + call combined) ---------- */
.dispatch-card {
  background: linear-gradient(180deg, rgba(22,27,34,.84), rgba(14,17,22,.95));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.7rem 1.5rem;
  position: relative;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.78), inset 0 0 0 1px rgba(218,42,31,.05);
  isolation: isolate;
}
.dispatch-card::before {
  content: ""; position: absolute; top: -1px; left: 22px; right: 22px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  box-shadow: 0 0 22px rgba(218,42,31,.5);
}
.dispatch-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px dashed var(--line-dark);
}
.dispatch-head .live {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper);
}
.dispatch-tag {
  font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .04em;
  color: var(--amber);
  background: rgba(244,178,62,.12); border: 1px solid rgba(244,178,62,.28);
  padding: .2rem .65rem; border-radius: var(--r-pill);
}
.dispatch-label {
  display: block; margin-top: 1.2rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.dispatch-num {
  display: block; margin-top: .35rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.95rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -0.02em;
  color: #fff; white-space: nowrap;
  transition: color .2s var(--ease-out);
}
.dispatch-num:hover { color: var(--amber); }
.dispatch-btn { margin-top: 1.2rem; width: 100%; }
.dispatch-ghost {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--paper-soft);
  transition: color .2s var(--ease-out), gap .2s var(--ease-out);
}
.dispatch-ghost:hover { color: #fff; gap: .7rem; }
.dispatch-meta {
  display: flex; align-items: center; gap: .55rem; margin-top: 1.2rem;
  padding-top: 1rem; border-top: 1px solid var(--line-dark);
  font-size: .82rem; color: var(--paper-soft);
}
.dispatch-meta svg { width: 16px; height: 16px; color: var(--amber); flex: none; }

/* icon chip */
.ic {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}
.ic svg { width: 26px; height: 26px; }
.ic--amber { background: rgba(244,178,62,.14); color: var(--amber-deep); border-color: rgba(244,178,62,.3); }

/* ---------- Generic card grids ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2vw, 1.8rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.2rem; margin-bottom: .55rem; letter-spacing: -0.015em; }
.card p { color: var(--ink-soft); font-size: .98rem; line-height: 1.62; }
.card .ic { margin-bottom: 1.05rem; }

/* ---------- Service cards with photos (section 5) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.svc-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.svc-card:hover .svc-media img { transform: scale(1.045); }
.svc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,15,20,.84) 2%, rgba(12,15,20,.30) 42%, transparent 66%);
}
.svc-title {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1rem; z-index: 2;
  color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 1.22rem; line-height: 1.14; letter-spacing: -0.015em;
  text-shadow: 0 1px 14px rgba(0,0,0,.45);
}
.svc-text { padding: 1.1rem 1.35rem 1.45rem; color: var(--ink-soft); font-size: .96rem; line-height: 1.62; }

/* image-pair used in "when to call" */
.media-pair {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.media-pair .shot { border-radius: var(--r-md); overflow: hidden; position: relative; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.media-pair .shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.media-pair .shot::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(14,17,22,.45), transparent 55%); mix-blend-mode: multiply; }
.media-pair .shot.tall { grid-row: span 2; }

/* ---------- Split (image + text) sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
/* second sub-block inside the same section — vertical breathing room */
.split--stacked { margin-top: clamp(48px, 7vw, 88px); }
.split-media { position: relative; }
.figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.on-dark .figure { border-color: var(--line-dark); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,17,22,.45), transparent 52%),
              linear-gradient(125deg, rgba(218,42,31,.06), transparent 58%);
  mix-blend-mode: multiply;
}
.figure-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(14,17,22,.72); backdrop-filter: blur(6px);
  color: #fff; padding: .5rem .9rem; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; border: 1px solid var(--line-dark);
}
.figure-tag svg { width: 1rem; height: 1rem; color: var(--amber); }

.prose .sub-title {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.prose p { color: var(--ink-soft); margin-top: 1rem; }
.on-dark .prose p { color: var(--paper-soft); }
.prose .lead { color: var(--ink); font-size: clamp(1.05rem,1.4vw,1.2rem); font-weight: 500; }
.on-dark .prose .lead { color: var(--paper); }

/* check list */
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); }
.on-dark .check-list li { color: var(--paper-soft); }
.check-list li::before {
  content: ""; flex: none; margin-top: .28rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23DA2A1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--accent-line);
}
.on-dark .check-list li::before {
  background: rgba(244,178,62,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F4B23E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: rgba(244,178,62,.3);
}

/* ---------- Process (section 6) ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,22px); counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-dark); color: var(--amber); margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.process-aside {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px,4vw,48px); align-items: center;
}
.note-card {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); padding: 1.5rem 1.6rem;
}
.note-card p { color: var(--ink-soft); }
.note-card strong { color: var(--ink); }

/* ---------- Pricing (section 9) ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,56px); align-items: start; }
.price-panel {
  background: var(--bg-dark); color: var(--paper);
  border-radius: var(--r-xl); padding: clamp(1.8rem,3vw,2.6rem);
  box-shadow: var(--shadow-dark); position: relative; overflow: hidden; isolation: isolate;
}
.price-panel::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.5; background-image: var(--grain); }
.price-panel::after {
  content:""; position:absolute; z-index:-1; inset:auto -30% -40% auto; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(218,42,31,.13), transparent 68%);
}
.price-panel h3 { color: #fff; font-size: clamp(1.4rem,2.2vw,1.8rem); }
.quote {
  margin: 1.2rem 0 1.6rem; font-size: 1.1rem; line-height: 1.6; color: var(--paper);
  border-left: 3px solid var(--accent); padding-left: 1.1rem;
}
.factors { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .65rem; }
.factors li { display: flex; gap: .7rem; align-items: flex-start; color: var(--paper); }
.factors li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: .2rem; }

/* ---------- Area & contact ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: stretch;
}
.area-chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.area-chips li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .5rem 1rem;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.area-chips li:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  transform: translateY(-2px);
}
.area-contact {
  list-style: none; padding: 0; margin: clamp(28px, 3.5vw, 40px) 0 0;
  display: grid; gap: 1rem;
}
.area-contact li { display: flex; align-items: center; gap: .85rem; color: var(--ink-soft); }
.area-contact li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.area-contact .area-phone {
  font-weight: 700; color: var(--accent);
  font-size: 1.1rem; letter-spacing: 0;
  transition: color .2s var(--ease-out);
}
.area-contact .area-phone:hover { color: var(--accent-strong); }
.area-contact strong { color: var(--ink); }
.map-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  height: 100%;
  min-height: 400px; /* fallback if there is nothing to match */
}
.map-wrap iframe { display: block; width: 100%; height: 100%; }

/* ---------- FAQ section background (fleet photo, heavily washed out) ---------- */
.faq-section { position: relative; isolation: isolate; background: var(--surface-2); overflow: hidden; }
.faq-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(color-mix(in srgb, var(--surface-2) 62%, transparent),
                    color-mix(in srgb, var(--surface-2) 62%, transparent)),
    url("images/54_jarmu_iveco-sprinter-utcakep-javitott.jpg") center/cover no-repeat;
  /* Paint the photo relative to the viewport so opening a FAQ row (which makes
     the section taller) never re-triggers the cover recompute -> no zoom jump. */
  background-attachment: fixed;
}
/* iOS Safari mis-renders fixed backgrounds; on touch / coarse pointers fall back
   to a width-based size so the image scale stays independent of section height. */
@media (hover: none), (max-width: 768px) {
  .faq-section::before {
    background-attachment: scroll;
    background-size: 100% auto, 100% auto;
  }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-dark); color: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
.reviews::before { content:""; position:absolute; inset:0; z-index:-2; background:
   radial-gradient(80% 70% at 85% 0%, rgba(244,178,62,.06), transparent 62%),
   radial-gradient(70% 70% at 5% 100%, rgba(218,42,31,.05), transparent 62%); }
.reviews::after { content:""; position:absolute; inset:0; z-index:-1; opacity:.5; background-image: var(--grain); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(32px,4vw,52px); }
.google-rating {
  display: inline-flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 1rem 1.3rem;
}
.google-rating .score { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: #fff; }
.google-rating .stars { color: var(--amber); font-size: 1.05rem; letter-spacing: 2px; }
.google-rating .meta { font-size: .82rem; color: var(--paper-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,22px); }
.review {
  background: var(--bg-dark-2); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.review:hover { transform: translateY(-4px); border-color: rgba(244,178,62,.3); }
.review .stars { color: var(--amber); letter-spacing: 2px; font-size: .95rem; }
.review .quote-title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.08rem; letter-spacing: -0.01em; }
.review .body { color: var(--paper-soft); font-size: .96rem; line-height: 1.6; flex: 1; }
.review .author { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--paper); font-weight: 600; }
.review .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--bg-dark-3), var(--accent)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem; }

/* ---------- FAQ (section 11) ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: .8rem; interpolate-size: allow-keywords; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .chev {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
  transition: transform .3s var(--spring);
}
.faq-item .chev svg { width: 16px; height: 16px; }
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); line-height: 1.65; }
/* Smooth open/close of the native <details> answer (progressive enhancement:
   browsers without ::details-content / interpolate-size just toggle instantly). */
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .32s var(--ease-out), content-visibility .32s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none; }
}

/* ---------- Final CTA (section 12) ---------- */
.final-cta { position: relative; color: var(--paper); overflow: hidden; isolation: isolate; }
.final-cta .bg {
  position: absolute; inset: 0; z-index: -2;
}
.final-cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Fallback flat tint first, then depth-radial layered on top (newer browsers honour the radial). */
  background: rgba(8,10,14,.86);
  background:
    radial-gradient(118% 130% at 50% 50%,
       rgba(8,10,14,.94) 0%,
       rgba(8,10,14,.90) 32%,
       rgba(8,10,14,.70) 68%,
       rgba(8,10,14,.50) 100%),
    radial-gradient(70% 60% at 80% 8%, rgba(218,42,31,.14), transparent 60%);
}
.final-cta .inner { text-align: center; max-width: 760px; margin-inline: auto; }
.final-cta h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; }
.final-cta .lead { color: var(--paper-soft); margin-top: 1.1rem; font-size: clamp(1.05rem,1.5vw,1.25rem); }
.final-cta .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; margin-top: .4rem; display: inline-block; }
.final-cta .num:hover { color: var(--amber); }
.final-cta .coverage { color: var(--paper-soft); margin-top: .4rem; }
.final-cta .trust-line {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  color: var(--paper-soft); font-size: .96rem;
}
.final-cta .trust-line .stars { color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer { background: #0A0C10; color: var(--paper-soft); padding-block: clamp(48px,6vw,72px) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
.site-footer .brand { margin-bottom: 1rem; }
.footer-about { font-size: .96rem; line-height: 1.65; max-width: 42ch; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .2rem; }
.footer-contact .num-big { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.25rem; }
.footer-bottom {
  margin-top: clamp(36px,4vw,56px); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem;
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-callbar { display: none; }

/* ---------- Reveal on load (staggered, CSS-only so content is never hidden) ---------- */
.reveal { opacity: 0; transform: translateY(22px); animation: revealUp .7s var(--ease-out) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }
.reveal.d4 { animation-delay: .32s; }
.reveal.d5 { animation-delay: .40s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* hero load animation */
.hero-anim { opacity: 0; transform: translateY(20px); animation: fadeUp .8s var(--ease-out) forwards; }
.hero-anim.a1 { animation-delay: .05s; }
.hero-anim.a2 { animation-delay: .15s; }
.hero-anim.a3 { animation-delay: .27s; }
.hero-anim.a4 { animation-delay: .39s; }
.hero-anim.a5 { animation-delay: .5s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 40px); }
  .dispatch-card { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-aside { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --section-y: clamp(52px, 12vw, 72px); }
  .header-cta { padding: .62rem 1rem; font-size: .95rem; }
  .brand-sub { display: none; }

  .cards { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .map-wrap { height: clamp(320px, 70vw, 380px); min-height: 0; }
  .review-grid { grid-template-columns: 1fr; }
  .media-pair .shot.tall { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 112px; }
  .dispatch-card { max-width: none; }

  /* sticky bottom call bar */
  body { padding-bottom: 74px; }
  .mobile-callbar {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    min-height: 60px;
    padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom));
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em;
    box-shadow: 0 -8px 24px rgba(0,0,0,.30);
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .mobile-callbar:active { background: var(--accent-strong); }
  .mobile-callbar svg { width: 1.3em; height: 1.3em; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.35rem; }
  .google-rating .score { font-size: 2rem; }
}

/* Hamburger appears exactly where the inline nav is hidden, so the menu is its replacement */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
}

/* Mobile: navbar phone CTA -> circular icon-only, and drop the redundant hero call button */
@media (max-width: 760px) {
  .header-cta {
    width: 46px; height: 46px; min-width: 46px;
    padding: 0; gap: 0; border-radius: 50%;
  }
  .header-cta .header-cta-num { display: none; }
  .header-cta .beacon { display: none; }
  .header-cta svg { width: 1.4em; height: 1.4em; }

  /* Hero: hide the big "Hívás most, 0-24" button (navbar icon + sticky bar already cover calling).
     The "Hívj minket most" label and the phone number above it stay. */
  .dispatch-btn { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
}
