/* =========================================================
   AKADÁLYMENTES AUTÓK — stíluslap (2. kör: prémium irány)
   -----------------------------------------------------------
   1. Betűk + változók
   2. Alap / reset
   3. Tipográfia
   4. Segéd-elemek: container, eyebrow (rámpa-motívum), gomb, szekció
   5. Fejléc + navigáció
   6. Lábléc
   7. Blokkok: hero, trust-sáv, idézet, előnyök, idővonal,
      típus-kártyák, autó-kártyák + galéria, callout, CTA-sáv,
      csapat, kapcsolat + űrlap, blog
   8. Scroll-animáció
   9. Reszponzív
   ========================================================= */

/* ---------- 1. Betűk + változók ---------- */
:root {
  /* Meleg, „papír" alapú prémium paletta */
  --ink:        #17181d;   /* fő szöveg */
  --ink-2:      #565961;   /* másodlagos szöveg */
  --paper:      #faf8f5;   /* oldal háttér (meleg törtfehér) */
  --surface:    #ffffff;
  --surface-2:  #f1ede7;   /* meleg semleges panel */
  --line:       #e5e0d7;   /* meleg hajszálvonal */
  --brand:      #24272d;   /* antracit – sötét szekciók */
  --brand-deep: #1a1c21;

  --accent:       #c10e52; /* magenta – AA kontraszt fehéren */
  --accent-bright:#ec0b63; /* élénk magenta – hover / dísz */
  --accent-ink:   #7c0c3a; /* sötét magenta – szöveg világos akcentuson */
  --accent-wash:  #fbe9f0; /* halvány magenta folt */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --container-narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(20,18,15,.06), 0 1px 2px rgba(20,18,15,.04);
  --shadow-md: 0 18px 40px -12px rgba(20,18,15,.18);
  --shadow-lg: 0 40px 80px -24px rgba(20,18,15,.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Alap / reset ---------- */
*, *::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: 1.15rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-bright); }

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

.skip-link {
  position: absolute;
  left: 18px; top: -60px;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  z-index: 300;
  transition: top .18s var(--ease);
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

::selection { background: var(--accent); color: #fff; }

/* ---------- 3. Tipográfia ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); }

.display, h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.021em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
p { margin: 0 0 1.1rem; }
strong { font-weight: 700; }

.lead {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 400;
}

/* Kabátcímke a szekciók fölé + a logó rézsútos „rámpa" motívuma */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 46px;
  height: 12px;
  flex-shrink: 0;
  /* két rézsútos sáv: magenta + fekete – a logó csíkja */
  background:
    linear-gradient(105deg, transparent 0 6px, var(--accent) 6px 100%) 0 0 / 100% 5px no-repeat,
    linear-gradient(105deg, transparent 0 6px, var(--ink) 6px 100%) 0 100% / 100% 5px no-repeat;
}
.eyebrow--light { color: #fff; }
.eyebrow--light::before {
  background:
    linear-gradient(105deg, transparent 0 6px, var(--accent-bright) 6px 100%) 0 0 / 100% 5px no-repeat,
    linear-gradient(105deg, transparent 0 6px, #fff 6px 100%) 0 100% / 100% 5px no-repeat;
}

/* ---------- 4. Segéd-elemek ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.section--paper   { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--warm    { background: var(--surface-2); }
.section--dark    { background: var(--brand); color: #d9dade; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-bottom: 0; color: var(--ink-2); font-size: 1.18rem; }

/* Gombok */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--primary { box-shadow: 0 10px 24px -10px rgba(193,14,82,.6); }
.btn--primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(193,14,82,.65); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(23,24,29,.28); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); transform: translateY(-2px); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); transform: translateY(-2px); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; transform: translateY(-2px); }

.btn--lg { min-height: 60px; padding: 17px 36px; font-size: 1.1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* szöveges nyíl-link */
.link-arw {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .18s var(--ease);
}
.link-arw .arw { transition: transform .2s var(--ease); }
.link-arw:hover { border-color: currentColor; }
.link-arw:hover .arw { transform: translateX(4px); }

/* ---------- 5. Fejléc + navigáció ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(20,18,15,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding-block: 10px;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-text span { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 3px;
  background: linear-gradient(100deg, var(--accent) 60%, var(--ink) 60%);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
.header-phone svg { width: 19px; height: 19px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 50px; height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav .nav-cta-mobile { display: none; }

/* ---------- 6. Lábléc ---------- */
.site-footer { background: var(--brand-deep); color: #a9abb1; padding-block: 64px 26px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.site-footer h3 { color: #fff; font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand img { height: 54px; margin-bottom: 16px; background: var(--paper); border-radius: 10px; padding: 8px; }
.footer-brand p { color: #a9abb1; max-width: 34ch; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 46px;
  padding-top: 22px;
  font-size: .88rem;
  color: #7e808780;
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
}
.footer-legal, .footer-legal a { color: #808289; }

/* ---------- 7. Blokkok ---------- */

/* --- Hero --- */
.hero { background: var(--paper); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero h1 { margin-bottom: .28em; }
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.hero p { font-size: 1.16rem; color: var(--ink-2); max-width: 46ch; }
.hero .btn-row { margin-top: 2rem; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  /* rézsútos alsó él – a „rámpa" lejtő */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}
/* --- Trust-sáv --- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trustbar ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center;
}
.trustbar li { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: .98rem; color: var(--ink); }
.trustbar svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* --- Nagy idézet --- */
.pquote { max-width: 900px; margin-inline: auto; text-align: center; }
.pquote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: .6;
  color: var(--accent);
  display: block;
  margin-bottom: .1em;
}
.pquote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pquote cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
}
.pquote--side { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; text-align: left; max-width: none; }
.pquote--side img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.pquote--side .pquote-mark { margin-bottom: 0; }
.pquote--side blockquote { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }

/* --- Előnyök rács --- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--accent-wash);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 16px;
}
.feature-icon svg { width: 25px; height: 25px; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; font-size: 1rem; color: var(--ink-2); }

/* --- Idővonal (folyamat) --- */
.timeline { max-width: 780px; margin-inline: auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 31px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--line));
}
.tl-step { position: relative; padding-left: 92px; padding-bottom: 46px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  position: absolute;
  left: 0; top: -6px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--accent);
}
.tl-step h3 { margin-bottom: .3em; font-size: 1.4rem; font-family: var(--font-display); font-weight: 600; }
.tl-step p { color: var(--ink-2); margin-bottom: .6rem; }

/* --- Típus-kártyák / általános kártyarács --- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-media { position: relative; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
a.card:hover .card-media img, .card--link:hover .card-media img { transform: scale(1.045); }
.card--link { text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { font-size: 1rem; color: var(--ink-2); }
.card-body .link-arw { margin-top: auto; padding-top: 10px; color: var(--accent); }

/* --- Autó-kártya (Autóink lista) --- */
.autocard { position: relative; }
.autocard .card-media img { aspect-ratio: 16 / 10; }
.autocard .card-body { gap: 4px; }
.autocard h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: .1em; }
.autocard .price { font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: .5rem; }
.autocard .mini-specs { list-style: none; margin: .2rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.autocard .mini-specs li { font-size: .95rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.autocard .mini-specs svg { width: 16px; height: 16px; color: var(--accent); }

.badge {
  position: absolute; top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.badge--available { background: var(--accent); color: #fff; }
.badge--sold { background: rgba(23,24,29,.82); color: #fff; }
.card--sold .card-media img { filter: grayscale(.72); opacity: .72; }

/* --- Autó részletező oldal --- */
.auto-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.auto-detail__main { min-width: 0; }   /* hogy a galéria ne feszítse szét a rácsot */
.auto-detail__aside { min-width: 0; }
.auto-detail__aside {
  position: sticky; top: 104px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.auto-detail__aside h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .15em; }
.auto-detail__price { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--ink); margin-bottom: .2em; }
.auto-detail__status { margin-bottom: 1.2rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.status-pill--available { background: var(--accent-wash); color: var(--accent-ink); }
.status-pill--sold { background: var(--surface-2); color: var(--ink-2); }

.spec-table { width: 100%; border-collapse: collapse; margin: 4px 0 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--ink-2); width: 45%; }
.spec-table td { font-weight: 700; color: var(--ink); }

.auto-detail__body h2 { margin-top: 2.2rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.auto-detail__body h2:first-child { margin-top: 0; }
.auto-detail__body ul { padding-left: 1.3em; }
.auto-detail__body li { margin-bottom: .5rem; }
.provisional-note {
  margin-top: 28px;
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .96rem;
  color: var(--accent-ink);
}

/* --- Galéria --- */
.gallery { position: relative; }
.gallery-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}
.gallery-stage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.gallery-illus {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(23,24,29,.78);
  color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  display: none;
}
.gallery-stage[data-illus="true"] .gallery-illus { display: block; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(250,248,245,.92);
  border: none; border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-nav svg { width: 22px; height: 22px; color: var(--ink); }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-count {
  position: absolute; right: 14px; top: 14px;
  background: rgba(23,24,29,.72);
  color: #fff;
  font-size: .82rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
}
.gallery-zoom {
  position: absolute; left: 14px; top: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(23,24,29,.72);
  border: none; border-radius: 50%;
  cursor: pointer;
}
.gallery-zoom svg { width: 19px; height: 19px; color: #fff; }
.gallery { min-width: 0; }
.gallery-thumbs {
  display: flex; gap: 10px; margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  min-width: 0;
}
.gallery-thumbs button {
  flex: 0 0 92px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: .62;
  transition: opacity .15s var(--ease), border-color .15s var(--ease);
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover { opacity: .9; }
.gallery-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--accent); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,18,15,.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 400;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  background: rgba(255,255,255,.12);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-nav--prev { left: 20px; }
.lightbox-nav--next { right: 20px; }

/* --- Callout doboz --- */
.callout {
  background: var(--brand);
  color: #d9dade;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.callout::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(236,11,99,.28), transparent 70%);
}
.callout h2 { color: #fff; margin-bottom: .3em; }
.callout p { margin: 0; position: relative; }

/* --- Záró magenta CTA-sáv --- */
.cta-band {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding-block: clamp(56px, 8vw, 92px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, transparent 42%, rgba(255,255,255,.06) 42% 44%, transparent 44%),
    linear-gradient(110deg, transparent 52%, rgba(0,0,0,.06) 52% 54%, transparent 54%);
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.18rem; color: #ffe1ec; margin-bottom: 1.6rem; }
.cta-band .band-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.3rem;
}
.cta-band .band-phone:hover { color: #fff; text-decoration: underline; }

/* --- Belső oldalfejléc --- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px); }
.page-hero .lead { max-width: 640px; margin: 0; }

/* --- Csapat --- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; }
.team-card img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.team-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-bottom: .1em; }
.team-card .role { color: var(--accent); font-weight: 600; font-size: .92rem; margin-bottom: .7em; }
.team-card p { font-size: 1rem; color: var(--ink-2); margin: 0; }

/* --- Kapcsolat --- */
.contact-layout { display: grid; grid-template-columns: 370px 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info { background: var(--surface-2); border-radius: var(--radius); padding: 32px; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.5rem; }
.contact-info dl { margin: 0; }
.contact-info dt { font-weight: 700; color: var(--ink); margin-top: 18px; font-size: .95rem; }
.contact-info dd { margin: 0; }
.contact-info .big-phone { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.contact-info .big-phone:hover { text-decoration: underline; }
.biz-data { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.biz-data p { margin: .2rem 0; }

/* Űrlap */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-family: var(--font-display); font-weight: 600; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-2); margin-bottom: 8px; }
.field .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1.05rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: #c62828; }
.field .error-text { display: none; color: #c62828; font-size: .95rem; font-weight: 600; margin-top: 6px; }
.field.has-error .error-text { display: block; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.field--check label { font-weight: 400; margin: 0; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f4ea; color: #1e6b34; border: 1px solid #b7dfc4; }
.form-status.is-error { display: block; background: #fdecea; color: #b71c1c; border: 1px solid #f5c6c2; }

/* --- Blog --- */
.post { max-width: var(--container-narrow); margin-inline: auto; }
.post .post-meta { color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; }
.post .post-meta a { color: var(--accent); text-decoration: none; }
.post > img { border-radius: var(--radius); margin-block: 28px; box-shadow: var(--shadow-md); }
.post h2 { margin-top: 44px; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.post ul { padding-left: 1.4em; }
.post li { margin-bottom: .45rem; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 600; }
.post-nav a { text-decoration: none; }

.blog-hero-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.blog-hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.blog-hero-card .bhc-body { padding: 8px 40px 8px 0; }
.blog-hero-card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* apró segédek */
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- 8. Scroll-animáció ----------
   Fontos: a tartalom alapból LÁTHATÓ. Csak akkor rejtjük el a belépő
   animációhoz, ha a JS lefutott és hozzáadta a .reveal-ready osztályt
   a <html>-hez. Így JS nélkül (vagy hiba esetén) minden olvasható marad. */
.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
.reveal-ready .reveal-d1 { transition-delay: .08s; }
.reveal-ready .reveal-d2 { transition-delay: .16s; }
.reveal-ready .reveal-d3 { transition-delay: .24s; }

/* ---------- 9. Reszponzív ---------- */
@media (max-width: 1040px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 560px; }
  .hero p { max-width: none; }
  .auto-detail { grid-template-columns: 1fr; }
  .auto-detail__aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .blog-hero-card { grid-template-columns: 1fr; }
  .blog-hero-card img { aspect-ratio: 16/9; }
  .blog-hero-card .bhc-body { padding: 4px 32px 32px; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 82px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-125%);
    transition: transform .28s var(--ease);
    margin: 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav ul { flex-direction: column; padding: 14px; gap: 2px; }
  .nav a { padding: 14px 16px; font-size: 1.1rem; }
  .nav a[aria-current="page"]::after { left: 16px; right: auto; width: 22px; bottom: 8px; }
  .header-cta .header-phone span { display: none; }
  .header-cta .btn { display: none; }
  .nav .nav-cta-mobile { display: block; margin-top: 8px; text-align: center; }
}

@media (max-width: 860px) {
  .pquote--side { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .pquote--side img { width: 200px; margin-inline: auto; aspect-ratio: 1/1; }
  .pquote--side blockquote { font-size: 1.3rem; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .tl-step { padding-left: 76px; }
  .timeline::before { left: 25px; }
  .tl-num { width: 52px; height: 52px; font-size: 1.4rem; }
  .trustbar ul { gap: 10px 24px; padding: 18px 0; }
}

@media (max-width: 460px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .post-nav { flex-direction: column; }
}

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