  /* ==========================================================================
   HelloFény – statikus weboldal
   Világos, letisztult, modern. Bootstrap 5.3 fölé épülő témaréteg.
   ========================================================================== */

:root {
  /* Márkaszínek */
  --hf-gold:        #d4af37;
  --hf-gold-light:  #f2d06b;
  --hf-gold-deep:   #9a7515;   /* fehér háttéren olvasható arany */
  --hf-midnight:    #0a0f1d;

  /* Semleges skála */
  --hf-ink:         #0f172a;
  --hf-ink-soft:    #334155;
  --hf-muted:       #64748b;
  --hf-line:        #e7ebf0;
  --hf-bg:          #ffffff;
  --hf-bg-soft:     #f8fafc;
  --hf-bg-warm:     #fbf6ea;   /* meleg krém – szöveges kártyák, vélemények */

  /* Fejléc magasság – JS a .is-scrolled osztállyal vált */
  --hf-header-tall: 92px;
  --hf-header-slim: 64px;

  --hf-radius:      14px;
  --hf-shadow:      0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --hf-shadow-lg:   0 2px 4px rgba(15,23,42,.05), 0 18px 48px rgba(15,23,42,.12);
}

/* --------------------------------------------------------- Alapok ------- */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--hf-ink);
  background: var(--hf-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--hf-header-tall);
}

h1, h2, h3, h4, .hf-serif {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--hf-ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { color: var(--hf-ink-soft); }

a { color: var(--hf-gold-deep); text-decoration: none; }
a:hover { color: var(--hf-ink); }

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

.hf-section      { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.hf-section--soft{ background: var(--hf-bg-soft); }

/* Szemkiemelő "kalap" a szekciók fölött */
.hf-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hf-gold-deep);
  margin-bottom: .75rem;
}

.hf-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--hf-muted); }

.hf-rule {
  width: 56px; height: 2px; border: 0; opacity: 1;
  background: linear-gradient(90deg, var(--hf-gold), var(--hf-gold-light));
  margin: 1.25rem 0;
}
.hf-rule--center { margin-inline: auto; }

/* Ugrás a tartalomra (billentyűzetes navigáció) */
.hf-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 1100;
  background: var(--hf-ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s;
}
.hf-skip:focus { top: 1rem; color: #fff; }

/* -------------------------------------------------------- Gombok -------- */

.btn { border-radius: 999px; font-weight: 600; letter-spacing: .01em; }

/* Elsődleges gomb: arany alap, hoverre sötét. A Bootstrap-változók miatt
   lenyomott és tiltott állapotban is megmarad a szín. */
.btn-hf {
  --bs-btn-active-bg: var(--hf-gold-deep);
  --bs-btn-active-border-color: var(--hf-gold-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--hf-gold);
  --bs-btn-disabled-border-color: var(--hf-gold);
  --bs-btn-disabled-color: var(--hf-midnight);
  background: var(--hf-gold);
  color: var(--hf-midnight);
  padding: .72rem 1.7rem;
  border: 1px solid var(--hf-gold);
  box-shadow: 0 6px 16px rgba(212,175,55,.28);
  transition: background .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn-hf:hover, .btn-hf:focus {
  background: var(--hf-ink); border-color: var(--hf-ink);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15,23,42,.22);
}

.btn-hf-outline {
  background: transparent; color: var(--hf-ink);
  padding: .72rem 1.7rem; border: 1px solid var(--hf-line);
  transition: border-color .18s, background .18s, transform .18s;
}
.btn-hf-outline:hover, .btn-hf-outline:focus {
  border-color: var(--hf-gold); background: rgba(212,175,55,.08);
  color: var(--hf-ink); transform: translateY(-1px);
}

/* -------------------------------------------------------- Fejléc -------- */

.hf-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  height: var(--hf-header-tall);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height .28s ease, box-shadow .28s ease,
              background .28s ease, border-color .28s ease;
}
.hf-header.is-scrolled {
  height: var(--hf-header-slim);
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--hf-line);
  box-shadow: 0 4px 18px rgba(15,23,42,.06);
}
.hf-header > .container { height: 100%; }

/* Logó */
.hf-logo { display: inline-flex; align-items: center; gap: .6rem; }
.hf-logo svg {
  height: 40px; width: auto;
  transition: height .28s ease;
}
.is-scrolled .hf-logo svg { height: 30px; }

/* Menü */
.hf-nav .nav-link {
  color: var(--hf-ink-soft);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .5rem .95rem;
  position: relative;
  transition: color .18s;
}
.hf-nav .nav-link::after {
  content: ''; position: absolute; left: .95rem; right: .95rem; bottom: .15rem;
  height: 2px; background: var(--hf-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.hf-nav .nav-link:hover { color: var(--hf-ink); }
.hf-nav .nav-link:hover::after,
.hf-nav .nav-link.active::after { transform: scaleX(1); }
.hf-nav .nav-link.active { color: var(--hf-ink); }

/* Hamburger */
.hf-toggler {
  border: 1px solid var(--hf-line); border-radius: 10px;
  padding: .35rem .55rem; background: #fff;
}
.hf-toggler:focus { box-shadow: none; }

/* Mobil legördülő menü */
@media (max-width: 991.98px) {
  /* A legördülő menü a fix fejléc alá lóg ki, nem tolja szét a fejlécet. */
  .hf-nav-wrap {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--hf-line);
    box-shadow: var(--hf-shadow);
    padding: .5rem 1.25rem 1.1rem;
    max-height: calc(100vh - var(--hf-header-slim));
    overflow-y: auto;
  }
  .hf-nav .nav-link { padding: .7rem .25rem; letter-spacing: .12em; }
  .hf-nav .nav-link::after { left: .25rem; right: auto; width: 28px; }
}

/* -------------------------------------------------------- Slider -------- */

.hf-slider { background: var(--hf-midnight); }

.hf-slider .carousel-item img {
  width: 100%;
  height: clamp(260px, 52vh, 580px);   /* sosem tölti ki a teljes nézetet */
  object-fit: cover;
  display: block;
}

/* Finom sötétítés, hogy a felirat olvasható legyen */
.hf-slide-link { display: block; position: relative; }
.hf-slide-link::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,29,.62) 0%, rgba(10,15,29,.12) 45%, rgba(10,15,29,0) 75%);
  pointer-events: none;
}

.hf-slide-caption {
  position: absolute; left: 0; right: 0; bottom: clamp(1.25rem, 4vw, 3rem);
  z-index: 2; color: #fff; text-align: left; pointer-events: none;
}
.hf-slide-caption .hf-slide-kicker {
  font-size: .7rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--hf-gold-light); margin-bottom: .35rem;
}
.hf-slide-caption h2 {
  color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.9rem); margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
}
.hf-slide-caption p {
  color: rgba(255,255,255,.88); margin: .35rem 0 0;
  font-size: clamp(.86rem, 1.3vw, 1.05rem);
}

/* Nyilak a kép két oldalán */
.hf-slider .carousel-control-prev,
.hf-slider .carousel-control-next {
  width: auto; opacity: 1; padding: 0 clamp(.5rem, 2vw, 1.5rem);
}
.hf-arrow {
  display: grid; place-items: center;
  width: clamp(38px, 5vw, 52px); height: clamp(38px, 5vw, 52px);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--hf-midnight);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background .18s, transform .18s;
}
.carousel-control-prev:hover .hf-arrow,
.carousel-control-next:hover .hf-arrow {
  background: var(--hf-gold); transform: scale(1.07);
}
.hf-arrow svg { width: 20px; height: 20px; }

.hf-slider .carousel-indicators { margin-bottom: .6rem; }
.hf-slider .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.55); opacity: 1; margin: 0 4px;
}
.hf-slider .carousel-indicators .active { background: var(--hf-gold); width: 22px; border-radius: 4px; }

/* --------------------------------------------------- Kártyák, rács ------ */

.hf-card {
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hf-card:hover { transform: translateY(-3px); box-shadow: var(--hf-shadow); border-color: #dde3ea; }

.hf-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(212,175,55,.14); color: var(--hf-gold-deep);
  margin-bottom: 1rem;
}
.hf-icon svg { width: 22px; height: 22px; }

/* Számadatok */
.hf-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700; line-height: 1; color: var(--hf-gold-deep);
}
.hf-stat-label { font-size: .95rem; color: var(--hf-muted); margin-top: .6rem; }

/* Vélemények */
.hf-quote {
  background: #fff; border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius); padding: 2rem; height: 100%;
}
.hf-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem; line-height: .6; color: var(--hf-gold);
  display: block; margin-bottom: .5rem;
}
.hf-quote p { font-size: 1.04rem; font-style: italic; color: var(--hf-ink-soft); }
.hf-quote footer { font-size: .85rem; font-weight: 600; color: var(--hf-muted); margin-top: 1rem; }

/* Vélemény mellette képpel – nagy képernyőn váltakozó oldalon */
.hf-quote-split { display: grid; gap: 1rem; }
.hf-quote-split + .hf-quote-split { margin-top: 1.5rem; }
.hf-quote-split .hf-quote { background: var(--hf-bg-warm); border-color: transparent; }
.hf-quote-split img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--hf-radius); box-shadow: var(--hf-shadow);
}
@media (min-width: 992px) {
  .hf-quote-split { grid-template-columns: 1.6fr 1fr; align-items: center; width: 82%; }
  .hf-quote-split .hf-quote { height: auto; padding: 2.5rem; }
  .hf-quote-split img { aspect-ratio: 1 / 1; }
  .hf-quote-split--reverse { grid-template-columns: 1fr 1.6fr; margin-left: auto; }
  .hf-quote-split--reverse img { order: -1; }
}

/* Bevezető kártyák képekkel váltakozó, lépcsőzött mozaikban */
.hf-features { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.hf-feature  { display: flex; flex-direction: column; gap: 1rem; }
.hf-feature-text {
  background: var(--hf-bg-warm); border-radius: var(--hf-radius);
  padding: 1.6rem 1.5rem;
}
.hf-feature-text h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.hf-feature-text p  { margin: 0; font-size: .92rem; }
.hf-feature-img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--hf-radius); box-shadow: var(--hf-shadow);
}
@media (min-width: 576px) {
  .hf-features { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; align-items: start; }
  .hf-feature:nth-child(even) { margin-top: 2.5rem; }
}
@media (min-width: 992px) {
  .hf-features { grid-template-columns: repeat(4, 1fr); }
  .hf-feature-img { aspect-ratio: 1 / 1; }
}

/* Háttérképes szekció / kártya – a kép: style="--hf-photo:url('/images/…')" */
.hf-photo-bg {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--hf-midnight);
  background-image: linear-gradient(rgba(10,15,29,.7), rgba(10,15,29,.78)), var(--hf-photo, none);
  background-size: cover; background-position: center;
  border-color: transparent;
}
.hf-photo-bg.hf-card:hover { border-color: transparent; box-shadow: var(--hf-shadow-lg); }
.hf-photo-bg h2, .hf-photo-bg .h4 { color: #fff; }
.hf-photo-bg p, .hf-photo-bg .hf-lead { color: rgba(255,255,255,.86); }
.hf-photo-bg .hf-eyebrow { color: var(--hf-gold-light); }
.hf-photo-bg .btn-hf:hover, .hf-photo-bg .btn-hf:focus {
  background: var(--hf-gold-light); border-color: var(--hf-gold-light); color: var(--hf-midnight);
}
.hf-photo-bg .btn-hf-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.hf-photo-bg .btn-hf-outline:hover, .hf-photo-bg .btn-hf-outline:focus {
  color: #fff; border-color: var(--hf-gold-light); background: rgba(255,255,255,.08);
}

/* --------------------------------------------------- Oldalfejléc -------- */

.hf-pagehead {
  background: var(--hf-bg-soft);
  border-bottom: 1px solid var(--hf-line);
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}
.hf-breadcrumb { font-size: .8rem; color: var(--hf-muted); }
.hf-breadcrumb a { color: var(--hf-muted); }
.hf-breadcrumb a:hover { color: var(--hf-gold-deep); }

/* ------------------------------------------------- Katalógus (PDF) ------ */

.hf-pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.hf-pdf-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hf-pdf-card:hover, .hf-pdf-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--hf-shadow-lg); border-color: var(--hf-gold);
}

.hf-pdf-thumb {
  position: relative;
  aspect-ratio: 3 / 4;               /* álló, egységes borítóméret */
  background: var(--hf-bg-soft);
  overflow: hidden;
}
.hf-pdf-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .4s ease;
}
.hf-pdf-card:hover .hf-pdf-thumb img { transform: scale(1.04); }

.hf-pdf-badge {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(255,255,255,.94); color: var(--hf-ink);
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
}

.hf-pdf-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(10,15,29,.55);
  opacity: 0; transition: opacity .22s ease;
}
.hf-pdf-card:hover .hf-pdf-overlay,
.hf-pdf-card:focus-visible .hf-pdf-overlay { opacity: 1; }
.hf-pdf-overlay span {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--hf-gold); color: var(--hf-midnight);
  font-size: .82rem; font-weight: 700;
  padding: .55rem 1.1rem; border-radius: 999px;
}

.hf-pdf-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.hf-pdf-title { font-size: 1.1rem; margin-bottom: .3rem; }
.hf-pdf-desc  { font-size: .86rem; color: var(--hf-muted); margin-bottom: .9rem; flex: 1; }
.hf-pdf-meta  {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hf-gold-deep); display: flex; align-items: center; gap: .4rem;
}

/* ---------------------------------------------- Termékek (galéria) ------ */

.hf-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(.85rem, 1.8vw, 1.4rem);
}

.hf-tile {
  display: block; width: 100%; padding: 0; text-align: left;
  background: #fff; border: 1px solid var(--hf-line);
  border-radius: 12px; overflow: hidden; cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hf-tile:hover, .hf-tile:focus-visible {
  transform: translateY(-3px); box-shadow: var(--hf-shadow); border-color: var(--hf-gold);
}

.hf-tile-thumb { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hf-bg-soft); }
.hf-tile-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hf-tile:hover .hf-tile-thumb img { transform: scale(1.06); }

.hf-tile-zoom {
  position: absolute; right: .55rem; bottom: .55rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--hf-ink);
  opacity: 0; transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}
.hf-tile:hover .hf-tile-zoom, .hf-tile:focus-visible .hf-tile-zoom { opacity: 1; transform: translateY(0); }
.hf-tile-zoom svg { width: 16px; height: 16px; }

.hf-tile-body { display: block; padding: .75rem .85rem .9rem; }
.hf-tile-title { font-size: .95rem; font-weight: 600; color: var(--hf-ink); margin: 0 0 .15rem; line-height: 1.3; }
.hf-tile-sub   { font-size: .78rem; color: var(--hf-muted); margin: 0; }

/* Képnézegető (lightbox) */
/* Sötétebb háttér, hogy a nagy kép kiemelkedjen az oldalból. */
.modal-backdrop { --bs-backdrop-opacity: .85; --bs-backdrop-bg: #05070d; }

.hf-lightbox .modal-content {
  background: transparent; border: 0;
}
.hf-lightbox .modal-dialog { max-width: min(1180px, 94vw); }
.hf-lb-stage {
  position: relative;
  display: grid; place-items: center;
  min-height: 40vh;
}
.hf-lb-stage img {
  max-width: 100%; max-height: 78vh;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  background: #000;
}
.hf-lb-caption {
  text-align: center; color: #fff; margin-top: 1rem;
}
.hf-lb-caption strong { display: block; font-size: 1.05rem; font-weight: 600; }
.hf-lb-caption span { font-size: .82rem; color: rgba(255,255,255,.65); }

.hf-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--hf-midnight);
  display: grid; place-items: center; z-index: 5;
  transition: background .18s, transform .18s;
}
.hf-lb-btn:hover { background: var(--hf-gold); transform: translateY(-50%) scale(1.07); }
.hf-lb-prev { left: 8px; }
.hf-lb-next { right: 8px; }
@media (min-width: 992px) { .hf-lb-prev { left: -64px; } .hf-lb-next { right: -64px; } }
.hf-lb-btn svg { width: 20px; height: 20px; }

.hf-lb-close {
  position: absolute; top: -48px; right: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff;
  display: grid; place-items: center; z-index: 5;
}
.hf-lb-close:hover { background: rgba(255,255,255,.3); }

/* Letöltési kapu (felugró ablak a védett PDF-ek előtt) */
.hf-gate .modal-dialog { max-width: 480px; }
.hf-gate .modal-content {
  border: 0; border-radius: var(--hf-radius);
  box-shadow: var(--hf-shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.hf-gate .btn-close { position: absolute; top: 1rem; right: 1rem; }
.hf-gate-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212,175,55,.14); color: var(--hf-gold-deep);
  margin-bottom: 1.1rem;
}
.hf-gate-icon svg { width: 24px; height: 24px; }
.hf-gate-title { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .6rem; }
.hf-gate p { margin-bottom: 1.5rem; }

/* ---------------------------------------------------- Bemutatkozás ------ */

.hf-split-img {
  width: 100%; border-radius: var(--hf-radius);
  box-shadow: var(--hf-shadow); object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hf-split-img--tall { aspect-ratio: 3 / 4; }

.hf-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hf-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.hf-mosaic > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.hf-mosaic > :not(:first-child) { aspect-ratio: 1 / 1; }

.hf-video-wrap {
  position: relative; border-radius: var(--hf-radius); overflow: hidden;
  background: var(--hf-midnight); box-shadow: var(--hf-shadow-lg);
  aspect-ratio: 16 / 9;
}
.hf-video-wrap video,
.hf-video-wrap iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.hf-video-caption { font-size: .85rem; color: var(--hf-muted); text-align: center; margin: .9rem 0 0; }

/* Idővonal */
.hf-timeline { position: relative; padding-left: 2rem; }
.hf-timeline::before {
  content: ''; position: absolute; left: 7px; top: .4rem; bottom: .4rem;
  width: 2px; background: linear-gradient(var(--hf-gold), var(--hf-line));
}
.hf-timeline-item { position: relative; padding-bottom: 1.9rem; }
.hf-timeline-item:last-child { padding-bottom: 0; }
.hf-timeline-item::before {
  content: ''; position: absolute; left: -2rem; top: .45rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--hf-gold);
}
.hf-timeline-item h3 { font-size: 1.22rem; margin-bottom: .25rem; }
.hf-timeline-item p  { margin: 0; font-size: .94rem; }

/* ------------------------------------------------------- Űrlap ---------- */

.hf-form-card {
  background: #fff; border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius); box-shadow: var(--hf-shadow);
  padding: clamp(1.4rem, 3.5vw, 2.75rem);
}

.hf-form-section + .hf-form-section { margin-top: 2.25rem; }

.hf-form-legend {
  font-size: .73rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--hf-gold-deep); padding-bottom: .55rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--hf-line); width: 100%; float: none;
}

.form-label { font-size: .85rem; font-weight: 600; color: var(--hf-ink-soft); margin-bottom: .35rem; }
.hf-req { color: #c2410c; }

.form-control, .form-select {
  border-radius: 10px; border-color: var(--hf-line);
  padding: .65rem .85rem; font-size: .95rem; color: var(--hf-ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--hf-gold);
  box-shadow: 0 0 0 .2rem rgba(212,175,55,.2);
}

/* Cél-jelölőnégyzetek kártyás megjelenítése */
.hf-purpose { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: .6rem; }
.hf-purpose .form-check {
  margin: 0; padding: .7rem .8rem .7rem 2.45rem;
  border: 1px solid var(--hf-line); border-radius: 10px;
  background: var(--hf-bg-soft);
  transition: border-color .18s, background .18s;
}
.hf-purpose .form-check:hover { border-color: var(--hf-gold); background: #fff; }
.hf-purpose .form-check-input { margin-left: -1.65rem; margin-top: .22rem; }
.hf-purpose .form-check-label { font-size: .9rem; color: var(--hf-ink-soft); cursor: pointer; }

.form-check-input:checked { background-color: var(--hf-gold-deep); border-color: var(--hf-gold-deep); }
.form-check-input:focus { border-color: var(--hf-gold); box-shadow: 0 0 0 .2rem rgba(212,175,55,.2); }

/* GDPR blokk */
.hf-gdpr {
  border: 1px solid var(--hf-line); border-radius: var(--hf-radius);
  background: var(--hf-bg-soft); padding: 1.35rem;
}
.hf-gdpr.is-unlocked { border-color: rgba(22,163,74,.45); background: rgba(22,163,74,.05); }

.hf-gdpr-dl {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--hf-line); border-radius: 10px;
  padding: .7rem 1.05rem; font-size: .92rem; font-weight: 600; color: var(--hf-ink);
  transition: border-color .18s, box-shadow .18s;
}
.hf-gdpr-dl:hover { border-color: var(--hf-gold); color: var(--hf-ink); box-shadow: var(--hf-shadow); }
.hf-gdpr-dl svg { width: 18px; height: 18px; color: var(--hf-gold-deep); flex: none; }

.hf-gdpr-hint { font-size: .83rem; color: var(--hf-muted); margin: .85rem 0 0; }
.hf-gdpr-hint.is-ok { color: #15803d; font-weight: 600; }

.form-check-input:disabled ~ .form-check-label { opacity: .55; cursor: not-allowed; }

.hf-form-status { display: none; border-radius: 10px; padding: 1rem 1.15rem; margin-top: 1.25rem; font-size: .93rem; }
.hf-form-status.is-visible { display: block; }
.hf-form-status.is-ok   { background: rgba(22,163,74,.08);  border: 1px solid rgba(22,163,74,.35);  color: #15803d; }
.hf-form-status.is-err  { background: rgba(220,38,38,.07);  border: 1px solid rgba(220,38,38,.3);   color: #b91c1c; }

/* Kapcsolati adatok sáv */
.hf-contact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.hf-contact-item { display: flex; gap: .85rem; align-items: flex-start; }
.hf-contact-item .hf-icon { margin-bottom: 0; width: 40px; height: 40px; flex: none; }
.hf-contact-item .hf-icon svg { width: 18px; height: 18px; }
.hf-contact-item strong { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hf-muted); font-weight: 700; }
.hf-contact-item a, .hf-contact-item span { font-size: .98rem; color: var(--hf-ink); font-weight: 500; }

/* ------------------------------------------------------- Lábléc --------- */

.hf-footer {
  background: var(--hf-midnight);
  color: rgba(255,255,255,.72);
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.75rem;
}
.hf-footer h4 {
  color: #fff; font-size: 1.05rem; font-family: 'Inter', sans-serif;
  font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem;
}
.hf-footer p, .hf-footer li { color: rgba(255,255,255,.66); font-size: .92rem; }
.hf-footer a { color: rgba(255,255,255,.78); }
.hf-footer a:hover { color: var(--hf-gold-light); }
.hf-footer ul { list-style: none; padding: 0; margin: 0; }
.hf-footer li + li { margin-top: .5rem; }
.hf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: .83rem; color: rgba(255,255,255,.5);
}

/* Közösségi ikonok (lábléc és kapcsolati sáv) – a .hf-footer a szabályai után,
   hogy a hover színe felülírja őket. */
.hf-social { display: flex; gap: .6rem; }
.hf-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  transition: color .18s, border-color .18s, background .18s;
}
.hf-social a:hover, .hf-social a:focus-visible {
  color: var(--hf-midnight); background: var(--hf-gold); border-color: var(--hf-gold);
}
.hf-social svg { width: 17px; height: 17px; }
.hf-contact-item .hf-social { margin-top: .35rem; }
.hf-contact-item .hf-social a { color: var(--hf-ink); border-color: var(--hf-line); }
.hf-contact-item .hf-social a:hover, .hf-contact-item .hf-social a:focus-visible {
  color: var(--hf-midnight); border-color: var(--hf-gold);
}

/* --------------------------------------------- Mozgáscsökkentés --------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
