/* =========================================================================
   Hartmann Vill. – fő stíluslap
   Színrendszer a látványtervek alapján
   ========================================================================= */

:root {
  --navy:      #0E2233;
  --navy-700:  #0b1b29;
  --navy-600:  #13314a;
  --navy-500:  #1c3f5c;
  --graphite:  #12171C;
  --amber:     #F5AC29;
  --amber-600: #e29c12;
  --amber-700: #c9880b;
  --offwhite:  #F6F4EF;
  --white:     #FFFFFF;

  --ink:       #0E2233;
  --body:      #33424e;
  --muted:     #667985;
  --line:      #e5e1d8;
  --line-dark: rgba(255,255,255,.14);

  --card-radius: 16px;
  --btn-radius: 12px;
  --shadow-sm: 0 1px 2px rgba(14,34,51,.06), 0 1px 3px rgba(14,34,51,.05);
  --shadow-md: 0 6px 18px rgba(14,34,51,.08), 0 2px 6px rgba(14,34,51,.05);
  --shadow-lg: 0 18px 40px rgba(14,34,51,.14);

  --maxw: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.4,0,.2,1);

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Reset / alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--offwhite);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.icon { width: 20px; height: 20px; flex: none; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--amber-700); }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--amber);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 2000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--navy); }

/* ---------- Layout segédek ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
/* a hero utáni első szekció felül szorosabb */
.section--after-hero { padding-top: clamp(28px, 4vw, 44px); }
.section--light { background: var(--offwhite); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #cdd8e0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-700);
  margin-bottom: 14px;
}
.section--navy .eyebrow,
.hero .eyebrow { color: var(--amber); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: #b9c6d0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Gombok ---------- */
.btn {
  --_bg: var(--amber);
  --_fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--btn-radius);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  background: var(--_bg);
  color: var(--_fg);
  border: 2px solid transparent;
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--amber-600); color: var(--navy); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; flex: none; }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--navy);
  border-color: rgba(14,34,51,.22);
}
.btn--ghost:hover { background: rgba(14,34,51,.06); color: var(--navy); }

.btn--on-dark.btn--ghost {
  --_fg: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--on-dark.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: var(--navy-600);
}
.textlink .icon { width: 18px; height: 18px; transition: transform .15s var(--ease); }
.textlink:hover { color: var(--amber-700); }
.textlink:hover .icon { transform: translateX(3px); }
.section--navy .textlink { color: var(--amber); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 12px;
}
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav .mobile-cta { display: none; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: #d7e0e7;
  font-weight: 700;
  font-size: .98rem;
  border-radius: 8px;
  position: relative;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.icon-btn .icon { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1080px) {
  .header-inner { gap: 14px; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 10px 10px; font-size: .92rem; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header-actions .header-cta,
  .header-actions .icon-btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 34px; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--navy);
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
    overflow-y: auto;
    border-top: 1px solid var(--line-dark);
  }
  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear 0s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a {
    padding: 15px 14px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .main-nav a[aria-current="page"]::after { left: 14px; right: auto; width: 22px; bottom: 8px; }
  .main-nav .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    border: 0;
  }
  .main-nav .mobile-cta .btn { width: 100%; }
  .main-nav .mobile-cta .btn { color: var(--navy); }
  .main-nav .mobile-cta .btn--ghost.btn--on-dark { color: #fff; }
}

/* ---------- Mobil rögzített CTA sáv ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
}
.mobile-bar .btn { flex: 1; padding: 13px 12px; }
.mobile-bar .btn--call {
  background: var(--graphite);
  color: #fff;
  border-color: rgba(255,255,255,.16);
}
.mobile-bar .btn--call:hover { background: #1c242c; color:#fff; }
@media (max-width: 900px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #dbe4eb;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
/* a fotót balról a sötétkék háttérbe olvasztó átmenet (látványterv szerint) */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      var(--navy) 30%,
      rgba(14,34,51,.94) 42%,
      rgba(14,34,51,.55) 60%,
      rgba(14,34,51,.12) 82%,
      rgba(14,34,51,.02) 100%),
    linear-gradient(to top, rgba(14,34,51,.55), rgba(14,34,51,0) 45%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(52px, 9vw, 104px);
}
.hero__text { max-width: 620px; }
.hero h1 { color: #fff; }
.hero__sub {
  margin-top: 18px;
  font-size: 1.16rem;
  color: #c4d0d9;
  max-width: 46ch;
}
/* Mobil: a fotó a szövegben, lekerekített képként (asztali nézetben elrejtve) */
.hero__figure { display: none; position: relative; margin: 22px 0 6px; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  display: block;
}
.hero__note {
  font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: .95rem;
  line-height: 1.25;
  color: var(--amber);
  transform: rotate(-2.5deg);
}
.hero__figure .hero__note {
  position: absolute;
  right: 8px; bottom: 8px;
  max-width: 58%;
  text-align: right;
  background: rgba(14,34,51,.72);
  padding: 6px 10px;
  border-radius: 8px;
}
.hero__note--light { color: var(--amber-700); }
@media (max-width: 900px) {
  .hero__figure { display: block; }
  .hero__bg { display: none; }
  .hero { background: var(--navy); }
  .hero__badge { display: none; }
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .95rem;
  color: #d7e0e7;
}
.hero__trust .icon { width: 20px; height: 20px; color: var(--amber); flex: none; }

.hero__badge {
  position: absolute;
  right: 24px; bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,34,51,.6);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.hero__badge .icon { width: 16px; height: 16px; color: var(--amber); }
@media (max-width: 900px) { .hero__badge { display: none; } }

/* Kompakt hero (aloldalak) */
.hero--compact .hero__inner { padding-block: clamp(40px, 7vw, 72px); }
.hero--compact .hero__sub { margin-bottom: 4px; }

/* ---------- Kártyák ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  display: flex;
  flex-direction: column;
}
.card--link:hover,
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dcd6c8;
}
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(14,34,51,.06);
  color: var(--navy);
  margin-bottom: 18px;
}
.card--accent .card__icon { background: rgba(245,172,41,.18); color: var(--amber-700); }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .textlink { margin-top: 16px; }
.card__media {
  margin: 16px -6px 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
/* Fotó a kártyában (látványterv szerint: leírás után) */
.card__photo {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--offwhite);
}
.card__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease);
}
.card:hover .card__photo img { transform: scale(1.03); }
.card .card__photo + .textlink { margin-top: 16px; }
/* Teljes szélességű fotó a kártya tetején (részletező kártyák) */
.card__photo--top {
  margin: -26px -26px 20px;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.card__photo--top img { aspect-ratio: 16 / 9; }

/* Placeholder kép (nincs még valós fotó) */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  background:
    repeating-linear-gradient(-45deg, #eee9dd 0 12px, #f2eee4 12px 24px);
  color: #8a7f68;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.img-placeholder .icon { width: 26px; height: 26px; opacity: .7; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.aspect-3-2 { aspect-ratio: 3 / 2; }

/* ---------- Trust sáv (világos) ---------- */
.trustbar { background: var(--white); border-block: 1px solid var(--line); }
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: center;
  padding-block: 22px;
}
.trustbar li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.trustbar .icon { width: 22px; height: 22px; color: var(--amber-700); }

/* ---------- Kiemelt autótöltő szekció (főoldal) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } }
.feature-split ul.checklist { margin: 20px 0 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; color: var(--amber-700); flex: none; margin-top: 3px; }
.section--navy .checklist .icon { color: var(--amber); }
.feature-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin: 0;
}
.feature-visual .img-placeholder { min-height: 320px; }
.feature-visual > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.section--navy .feature-visual { border-color: var(--line-dark); }
.feature-visual--portrait > img { aspect-ratio: 4 / 5; object-position: top center; }
@media (max-width: 900px) {
  .feature-visual--portrait > img { aspect-ratio: 16 / 11; }
}

/* ---------- Időjárás szerint öltözködő Viktor (outfit.js) ---------- */
[data-outfit] { position: relative; }
[data-outfit].is-outfit { background: #eef0f3; }
[data-outfit].is-outfit > img,
.about-hero__figure.is-outfit img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 4%;
  background: #eef0f3;
}
[data-outfit].is-outfit .hero__note { display: none; }
.outfit-note {
  position: absolute;
  left: 12px; top: 12px;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(14,34,51,.88);
  color: #dbe4eb;
  font-size: .88rem;
  line-height: 1.2;
  backdrop-filter: blur(3px);
}
.outfit-note[hidden] { display: none; }
.outfit-note__icon { width: 26px; height: 26px; flex: none; color: var(--amber); }
.outfit-note__temp { color: #fff; font-weight: 800; font-size: 1.05rem; }
.outfit-note__txt { color: #dbe4eb; font-weight: 600; }
.outfit-note__place { color: #9fb2c0; font-weight: 600; font-size: .8rem; }
.outfit-note__place::before { content: "·"; margin-right: 10px; color: #6f8596; }
@media (max-width: 900px) {
  [data-outfit].is-outfit { max-width: 420px; margin-inline: auto; width: 100%; }
  .feature-visual--portrait.is-outfit > img,
  .about-hero__figure.is-outfit img { aspect-ratio: 3 / 4; }
}

/* Teszt-csúszkák (outfit.js) – élesítés előtt a generate.py-ben OUTFIT_TEST_PANEL = False */
.about-hero__side { min-width: 0; }
.outfit-test {
  margin-top: 16px;
  padding: 16px 18px 18px;
  background: var(--white);
  border: 2px dashed var(--amber);
  border-radius: 14px;
  display: grid;
  gap: 14px;
}
.outfit-test__title {
  margin: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-700);
}
.outfit-test__row { display: grid; gap: 8px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.outfit-test__row output { margin-left: 8px; font-weight: 800; color: var(--navy-600); }
.outfit-test input[type="range"] { width: 100%; height: 28px; accent-color: var(--amber-700); cursor: pointer; }
.outfit-test__reset {
  justify-self: start;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--offwhite);
  font-weight: 800;
  font-size: .88rem;
  color: var(--navy);
}
.outfit-test__reset:hover { border-color: var(--amber); }

/* ---------- Rólam fejléc (világos, portré jobbra) ---------- */
.about-hero { background: var(--offwhite); border-bottom: 1px solid var(--line); }
.about-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 84px);
}
@media (max-width: 900px) { .about-hero__inner { grid-template-columns: 1fr; } }
.about-hero__name {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.1rem;
  margin: 16px 0 10px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--amber);
  display: inline-block;
}
.about-hero__figure {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-hero__figure .hero__note {
  position: absolute;
  right: 14px; bottom: 12px;
  background: rgba(246,244,239,.9);
  padding: 4px 10px;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .about-hero__figure img { aspect-ratio: 16 / 11; }
}

/* ---------- Folyamat lépések ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 22px;
}
.section--navy .step { background: var(--navy-600); border-color: var(--line-dark); color: #cdd8e0; }
.step__n {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 14px;
}
.section--navy .step__n { background: var(--amber); color: var(--navy); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--muted); }
.section--navy .step p { color: #aebcc6; }

/* ---------- CTA blokk ---------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: clamp(32px, 5vw, 56px);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #b9c6d0; margin: 0; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Google-értékelések ---------- */
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; white-space: nowrap; }
.stars .stars__off { color: rgba(14,34,51,.18); }

.reviews__agg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 32px;
}
.reviews__score { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.reviews__count { font-weight: 700; color: var(--muted); }

/* Oldalra mozgó értékelés-sáv (Trustindex-szerű) */
.rc { position: relative; }
.rc__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--card-radius);
  outline-offset: 4px;
}
.rc__viewport::-webkit-scrollbar { display: none; }
.rc__track {
  --per: 4;
  --gap: 18px;
  display: flex;
  gap: var(--gap);
}
.rc__track > .review {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
}
.rc__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 3px;
  transition: background .15s var(--ease), opacity .15s var(--ease);
}
.rc__btn:hover:not(:disabled) { background: var(--amber); border-color: var(--amber); }
.rc__btn:disabled { opacity: .35; cursor: default; }
.rc__btn[hidden] { display: none; }
.rc__btn--prev { left: -18px; }
.rc__btn--next { right: -18px; }
@media (max-width: 640px) {
  .rc__btn--prev { left: -8px; }
  .rc__btn--next { right: -8px; }
}

.rc__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.rc__dots[hidden] { display: none; }
.rc__dot {
  width: 10px; height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(14,34,51,.2);
  transition: width .2s var(--ease), background .2s var(--ease);
}
.rc__dot[aria-current="true"] { width: 26px; border-radius: 6px; background: var(--amber); }

.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.review__top { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.review__who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.review__who strong { color: var(--ink); font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__who span { color: var(--muted); font-size: .84rem; }
.review__g {
  flex: none;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(14,34,51,.06);
  color: var(--navy-600);
  font-weight: 800;
  font-size: .95rem;
}
.review__stars .stars { font-size: 1.05rem; }
.review__text {
  margin: 0;
  color: var(--body);
  font-size: .95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review.is-open .review__text { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.review__more {
  align-self: flex-start;
  background: none; border: 0; padding: 0;
  color: var(--navy-600);
  font-weight: 800;
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review__more[hidden] { display: none; }

.reviews__cta { text-align: center; margin-top: 32px; }

.reviews__empty {
  border: 1px dashed var(--line);
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 32px;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.reviews__empty .stars { display: block; font-size: 1.3rem; margin-bottom: 8px; }
.reviews__empty p { color: var(--muted); margin: 0 0 16px; }
.reviews__empty .btn { margin-top: 4px; }

/* ---------- Rólam kiemelt mondat ---------- */
.pullquote {
  border-left: 4px solid var(--amber);
  background: rgba(245,172,41,.1);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  font-style: italic;
}
.pullquote .icon {
  width: 24px; height: 24px;
  color: var(--amber-700);
  vertical-align: -4px;
  margin-right: 6px;
}

/* ---------- Referenciák galéria ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-bar button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: .92rem;
  color: var(--body);
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.filter-bar button:hover { border-color: var(--amber); }
.filter-bar button[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}
.gallery { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.project {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project__media { position: relative; aspect-ratio: 4 / 3; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  font-size: .76rem;
  padding: 5px 11px;
  border-radius: 999px;
}
.project__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.project__body h3 { font-size: 1.12rem; }
.project__town {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 700; font-size: .9rem;
}
.project__town .icon { width: 15px; height: 15px; color: var(--amber-700); }
.project__body p { font-size: .95rem; color: var(--muted); }
.project__open {
  margin-top: 10px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--navy-600);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
}
.project__open .icon { width: 16px; height: 16px; }
.project__open:hover { color: var(--amber-700); }
.gallery__empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(9,18,27,.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox__inner {
  background: var(--white);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  overflow: hidden;
}
.lightbox__media { aspect-ratio: 4 / 3; background: #eee9dd; }
.lightbox__media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__body { padding: 22px 24px 26px; }
.lightbox__body h3 { margin-bottom: 6px; }
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close .icon { width: 22px; height: 22px; }
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 0;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav .icon { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- Űrlap ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--amber-700); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--offwhite);
  transition: border-color .15s var(--ease), background .15s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
  background: var(--white);
  outline: none;
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: #c0392b; }
.error-msg { color: #c0392b; font-size: .84rem; font-weight: 600; display: none; }
.field.has-error .error-msg,
.consent.has-error .error-msg { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; }

.consent {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: .92rem;
  color: var(--muted);
}
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--amber-700); }
.consent.has-error { color: #c0392b; }

.form-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(14,34,51,.05);
  font-size: .88rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdecea; color: #a5281b; }
.form-status.is-ok { background: #eaf6ec; color: #1e6b33; }

/* ---------- Kapcsolat elrendezés ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-layout > * { min-width: 0; }

/* ---------- Kapcsolat oldalsáv ---------- */
.contact-aside {
  background: var(--navy);
  color: #cdd8e0;
  border-radius: var(--card-radius);
  padding: clamp(24px, 4vw, 34px);
}
.contact-aside h3 { color: #fff; }
.contact-aside .phone-lg {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  margin-block: 14px 18px;
}
.contact-aside .phone-lg .icon { width: 26px; height: 26px; color: var(--amber); }
.contact-aside .info-row {
  display: flex;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line-dark);
}
.contact-aside .info-row .icon { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }
.contact-aside .info-row strong { color: #fff; display: block; }

.map-embed {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  aspect-ratio: 16 / 9;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--ink);
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.02rem;
}
.faq__q .icon { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); color: var(--amber-700); }
.faq__q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s var(--ease), padding .25s var(--ease);
}
.faq__a p { color: var(--muted); padding-bottom: 20px; }
.faq__item.is-open .faq__a { max-height: 400px; }

/* ---------- Value / list blocks ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }
.value {
  display: flex;
  gap: 14px;
}
.value .icon { width: 34px; height: 34px; color: var(--amber); flex: none; }
.value h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { font-size: .95rem; }
.section--navy .value p { color: #aebcc6; }

/* ---------- Lábléc ---------- */
.site-footer {
  background: var(--graphite);
  color: #9fb0bc;
  padding-block: 52px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .brand img { height: 40px; margin-bottom: 16px; }
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: #b8c6d0; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { display: grid; gap: 9px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 3px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: .86rem;
}
.footer-bottom a { text-decoration: underline; }

/* ---------- Egyéb ---------- */
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* táblás elrendezés a "két csoport" szolgáltatásokhoz */
.svc-group + .svc-group { margin-top: clamp(40px, 6vw, 72px); }
.svc-group__head { margin-bottom: 26px; }

/* wide media scroll guard */
.scroll-x { overflow-x: auto; }

/* World of Volts oldal: álló videók rácsban, kattintásra YouTube (sütik nélkül) */
.wov-vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wov-vid { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  background: #0b172e center / cover no-repeat; cursor: pointer; padding: 0; color: #fff; font: inherit; text-align: left; }
.wov-vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,23,.85), rgba(2,6,23,0) 45%); }
.wov-vid__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(245,172,41,.95); display: flex; align-items: center; justify-content: center; z-index: 1; transition: transform .15s; }
.wov-vid__play::before { content: ''; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #0E2233; }
.wov-vid:hover .wov-vid__play { transform: scale(1.08); }
.wov-vid__t { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.wov-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (max-width: 860px) {
  .wov-vgrid { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .wov-vid { scroll-snap-align: start; }
}

/* Jogi oldalak: táblázatok, hiányzó adat jelölése */
.legal h2 { margin-top: 32px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: .95rem; }
.legal th, .legal td { border: 1px solid #e2e8f0; padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: #f5f7fa; font-weight: 700; }
.legal tr > th:first-child { width: 26%; }
.legal ul { margin: 8px 0 8px 20px; }
.legal mark.todo { background: #fde68a; color: #7c2d12; padding: 0 4px; border-radius: 4px; font-weight: 700; }
@media (max-width: 640px) { .legal table { display: block; overflow-x: auto; } }

/* Ajánlatkérő űrlap: rejtett csapdamező (spam ellen) és sikeres küldés */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-success { background: #e7f6ec; color: #1d6b38; }
