/* ==========================================================================
   DRE Investment – dreinvestment.com
   Az ügyfélkiajánló arculata webre ültetve.
   Elrendezés: egyoldalas, szakaszokra bontott oldal; világos és sötétkék
   szakaszok váltakoznak, a kapcsolatfelvétel a logó kékjén áll.
   ========================================================================== */

:root {
  /* Szín – a DRE Investment logó és a kiajánló palettája */
  --navy: #132251;        /* logó sötétkék: sötét szakaszok, címsorok */
  --navy-deep: #0e1a3f;   /* lábléc, szöveg kék alapon */
  --navy-soft: #1d2f66;   /* kártya és címke sötét alapon */
  --navy-line: #2e417e;   /* elválasztó sötét alapon */
  --navy-rule: #3a4d86;   /* folyamatvonal */
  --blue: #648fed;        /* logó kék: kiemelés sötét alapon, gombok */
  --blue-hover: #7da2f1;
  --blue-ink: #3a62c8;    /* kék kiemelés világos alapon (kontrasztos) */
  --blue-tint: #e8eefa;   /* ikonháttér, címke világos alapon */
  --paper: #f5f7fb;       /* világos szakasz */
  --white: #ffffff;
  --card: #fbfcfe;
  --line: #dce3f1;
  --ink: #132251;
  --text: #4a5470;
  --muted: #5b6580;
  --on-dark: #f4f6fb;
  --on-dark-2: #c5cee6;
  --on-dark-3: #aeb9d9;
  --error-on-dark: #ffb4ab;
  --success-on-dark: #9fe0b8;

  /* Betű */
  --font-head: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Méretek */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --stack: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 76px;

  color-scheme: light;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

strong,
b {
  font-weight: 600;
}

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

::selection {
  background: var(--blue);
  color: var(--navy-deep);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nowrap {
  white-space: nowrap;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Tipográfia ---------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.h2 {
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.h3--lg {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  line-height: 1.2;
}

.lead {
  font-size: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
}

.small {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.source {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.prose {
  display: grid;
  gap: 1.1em;
  max-width: 65ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--blue);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: var(--blue-hover);
}

.btn--ghost {
  border-color: rgba(244, 246, 251, 0.34);
  color: var(--on-dark);
}

.btn--ghost:hover {
  border-color: rgba(244, 246, 251, 0.6);
  background: rgba(244, 246, 251, 0.06);
}

.btn--small {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.9375rem;
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.7;
}

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

.site-header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(19, 34, 81, 0.97);
  box-shadow: 0 1px 0 rgba(244, 246, 251, 0.06), 0 10px 30px rgba(8, 16, 40, 0.18);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.js .site-header.is-top:not(.is-open) {
  background: rgba(19, 34, 81, 0);
  box-shadow: none;
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.brand img {
  width: auto;
  height: 32px;
}

.js .site-header.hide-brand:not(.is-open) .brand {
  opacity: 0;
  visibility: hidden;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav__link {
  position: relative;
  padding-block: 8px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--on-dark);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 26px;
  height: 26px;
}

.nav-toggle .icon--close,
.site-header.is-open .nav-toggle .icon--menu {
  display: none;
}

.site-header.is-open .nav-toggle .icon--close {
  display: block;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--navy);
    border-top: 1px solid var(--navy-line);
    box-shadow: 0 24px 40px rgba(8, 16, 40, 0.35);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav__link {
    padding-block: 16px;
    border-bottom: 1px solid var(--navy-line);
    font-size: 1.0625rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav .btn {
    margin-top: 20px;
    min-height: 52px;
  }
}

/* --- Szakaszok ------------------------------------------------------------ */

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

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--white);
}

.section--navy {
  background: var(--navy);
  color: var(--on-dark-2);
}

.section--navy .eyebrow {
  color: var(--blue);
}

.section--navy h2,
.section--navy h3 {
  color: var(--on-dark);
}

.section--navy .source {
  color: var(--on-dark-3);
}

.section--blue {
  background: var(--blue);
  color: var(--navy-deep);
}

.section--blue .eyebrow,
.section--blue h2 {
  color: var(--navy-deep);
}

.stack {
  display: grid;
  gap: var(--stack);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.section-intro {
  max-width: 62ch;
  margin-top: 6px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Nyitókép (hero) ------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 82% 18%, #1e3576 0%, var(--navy) 60%);
  color: var(--on-dark-2);
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.hero__arrow {
  position: absolute;
  z-index: -1;
  right: max(-80px, calc((100vw - 1440px) / 2));
  bottom: -14%;
  width: clamp(300px, 34vw, 540px);
  opacity: 0.12;
  pointer-events: none;
  animation: arrow-rise 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes arrow-rise {
  from {
    transform: translate(-56px, 72px);
  }
  to {
    transform: none;
  }
}

.hero__content {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  max-width: 760px;
}

.hero__logo {
  width: clamp(200px, 18vw, 272px);
  margin-bottom: clamp(0.75rem, 0.5rem + 1.5vw, 2rem);
}

.hero h1 {
  max-width: 11.5em;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--on-dark);
}

.hero .lead {
  max-width: 40em;
  color: var(--on-dark-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  padding-top: 22px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--font-head);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-dark-3);
}

.hero__note .icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

@media (max-width: 560px) {
  .hero__actions .btn {
    width: 100%;
  }
}

/* --- Bemutatkozás: a három szereplő --------------------------------------- */

.triad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.triad__card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(24px, 2vw + 12px, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.triad__label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.triad__card p:last-child {
  font-size: 1.0625rem;
  line-height: 1.55;
}

.triad__card--focus {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-dark-2);
}

.triad__card--focus .triad__label {
  color: var(--blue);
}

.triad__card--focus h3 {
  color: var(--on-dark);
}

.triad__link {
  display: grid;
  place-items: center;
  color: var(--blue);
}

.triad__link .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

@media (max-width: 900px) {
  .triad {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .triad__link .icon {
    transform: rotate(90deg);
  }
}

/* --- Előnyök ------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 2vw + 14px, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature:hover {
  border-color: #c9d4ec;
  box-shadow: 0 18px 40px -24px rgba(19, 34, 81, 0.35);
  transform: translateY(-2px);
}

.feature__body {
  display: grid;
  gap: 10px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-ink);
}

.icon-badge .icon {
  width: 26px;
  height: 26px;
}

.icon-badge--sm {
  width: 48px;
  height: 48px;
}

.icon-badge--sm .icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* --- Equilor-háttér ------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.stat {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--blue);
}

.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--on-dark-2);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--navy-soft);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--on-dark);
}

.equilor-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Szolgáltatások ------------------------------------------------------ */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.service {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 2.5vw + 12px, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service__head {
  display: grid;
  gap: 12px;
}

.service__label {
  display: inline-flex;
  justify-self: start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.service__list {
  display: grid;
}

.service__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.service__item:last-child {
  border-bottom: 1px solid var(--line);
}

.service__item h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
}

.service__item p {
  margin-top: 4px;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.audience {
  display: grid;
  gap: 12px;
}

.mini-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-tint);
  font-family: var(--font-head);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--navy);
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Termékpaletta ------------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.product:hover {
  border-color: #c9d4ec;
  background: var(--white);
}

.product .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--blue-ink);
}

.product h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

.product p {
  font-size: 1rem;
  line-height: 1.5;
}

.products-note {
  display: grid;
  gap: 8px;
  max-width: 80ch;
}

.products-note p:first-child {
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .products {
    grid-template-columns: minmax(0, 1fr);
  }

  .product {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px;
  }

  .product .icon {
    grid-row: span 2;
    margin: 2px 0 0;
  }
}

/* --- Folyamat ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-right: 28px;
}

.step__marker {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

.step__marker::after {
  content: "";
  flex: 1;
  height: 2px;
  margin-right: -28px;
  background: var(--navy-rule);
}

.step:last-child .step__marker::after {
  display: none;
}

.step h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.step p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--on-dark-2);
}

.callout {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: var(--radius-sm);
  background: var(--navy-soft);
  font-family: var(--font-head);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  line-height: 1.45;
  color: var(--on-dark);
}

.callout .icon {
  color: var(--blue);
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 6px;
    padding: 0 0 32px;
    position: relative;
  }

  .step__marker {
    grid-row: span 2;
    margin: 0;
    align-self: stretch;
    flex-direction: column;
  }

  .step__num {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .step__marker::after {
    width: 2px;
    height: auto;
    margin: 8px 0 -32px;
  }

  .step h3 {
    padding-top: 12px;
  }

  .step:last-child {
    padding-bottom: 0;
  }
}

/* --- Biztonság ----------------------------------------------------------- */

.security {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.security__intro {
  display: grid;
  gap: 28px;
}

.panel-navy {
  display: grid;
  gap: 10px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-dark);
}

.panel-navy .eyebrow {
  color: var(--blue);
}

.checklist {
  display: grid;
}

.checklist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.checklist__item:last-child {
  border-bottom: 1px solid var(--line);
}

.checklist__item h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

.checklist__item p {
  margin-top: 6px;
  font-size: 1.0625rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .security {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Kapcsolat ----------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.contact__intro {
  display: grid;
  gap: 28px;
}

.contact__intro .lead {
  color: var(--navy-deep);
}

.mini-steps {
  display: grid;
  gap: 14px;
}

.mini-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--navy-deep);
}

.mini-steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-dark);
}

.direct {
  display: grid;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(14, 26, 63, 0.22);
}

.direct__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-deep);
}

.direct__role {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  color: var(--navy-deep);
}

.direct__list {
  display: grid;
  gap: 10px;
}

.direct__list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 500;
  color: var(--navy-deep);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.direct__list a:hover {
  text-decoration: underline;
}

.direct__list .icon {
  width: 22px;
  height: 22px;
}

.form-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 2.5vw + 12px, 44px);
  border-radius: 24px;
  background: var(--navy);
  color: var(--on-dark-2);
  box-shadow: 0 30px 60px -30px rgba(14, 26, 63, 0.55);
}

.form-card__head {
  display: grid;
  gap: 6px;
}

.form-card__head h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--on-dark);
}

.form-card__head p {
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-dark-2);
}

.field .req {
  color: var(--blue);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--navy-rule);
  border-radius: 12px;
  background: var(--navy-soft);
  color: var(--on-dark);
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c5cee6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field select option {
  background: var(--navy);
  color: var(--on-dark);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #4d61a0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background-color: #22377a;
  box-shadow: 0 0 0 3px rgba(100, 143, 237, 0.28);
}

.field [aria-invalid="true"] {
  border-color: var(--error-on-dark);
}

.field-error {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--error-on-dark);
}

.field--check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 4px 14px;
}

.field--check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.field--check label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
}

.field--check label a {
  color: var(--on-dark);
}

.field--check .field-error {
  grid-column: 2;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: grid;
  gap: 12px;
}

.form-actions .btn {
  width: 100%;
}

.form-hint {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  color: var(--on-dark-3);
}

.form-status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  background: rgba(159, 224, 184, 0.12);
  color: var(--success-on-dark);
}

.form-status--error {
  background: rgba(255, 180, 171, 0.12);
  color: var(--error-on-dark);
}

.form-status .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.form-done {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 8px 0;
}

.form-done .icon {
  width: 44px;
  height: 44px;
  color: var(--success-on-dark);
}

.form-done h3 {
  font-size: 1.375rem;
  color: var(--on-dark);
}

@media (max-width: 960px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-3);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 32px;
}

.site-footer a {
  color: var(--on-dark-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--navy-line);
}

.footer-brand {
  display: grid;
  gap: 20px;
  align-content: start;
}

.footer-brand img {
  width: 168px;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.55;
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.footer-list {
  display: grid;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.footer-list .icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -1px;
}

.footer-legal {
  display: grid;
  gap: 16px;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--navy-line);
}

.footer-legal h2 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.footer-legal__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 48px;
}

.footer-legal p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-legal strong {
  color: var(--on-dark-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
}

@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-legal__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Aloldalak (jogi információk, adatkezelés, 404) ----------------------- */

.page-hero {
  background: radial-gradient(circle at 85% 0%, #1e3576 0%, var(--navy) 55%);
  color: var(--on-dark-2);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 3vw, 4rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.page-hero__inner {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.page-hero .eyebrow {
  color: var(--blue);
}

.page-hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.page-hero p {
  max-width: 60ch;
}

.doc {
  display: grid;
  gap: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  max-width: 820px;
}

.doc section {
  display: grid;
  gap: 14px;
}

.doc h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: 1.25;
}

.doc h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-top: 6px;
}

.doc p,
.doc li {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.doc ul.bullets {
  display: grid;
  gap: 8px;
  padding-left: 1.25em;
  list-style: disc;
}

.doc ul.bullets li::marker {
  color: var(--blue-ink);
}

.doc a {
  color: var(--blue-ink);
  overflow-wrap: anywhere;
}

.facts {
  display: grid;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}

.facts dd {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--paper);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .data-table {
    min-width: 0;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tbody {
    display: grid;
    gap: 12px;
  }

  .data-table tr {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .data-table td {
    display: grid;
    gap: 2px;
    padding: 0;
    border: 0;
  }

  .data-table td::before {
    content: attr(data-label);
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-ink);
  }

  .data-table td:first-child {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
  }

  .data-table td:first-child::before {
    display: none;
  }
}

.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff1c2;
  color: #6b4e00;
  font-family: var(--font-head);
  font-size: 0.9375rem;
}

.notice-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  background: radial-gradient(circle at 80% 20%, #1e3576 0%, var(--navy) 60%);
  color: var(--on-dark-2);
  text-align: center;
}

.notice-page__box {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 560px;
}

.notice-page__box img {
  width: 180px;
  margin-bottom: 12px;
}

.notice-page h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--on-dark);
}

.notice-page ul {
  display: grid;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  color: var(--error-on-dark);
}

/* --- Mozgás csökkentése --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Nyomtatás ----------------------------------------------------------- */

@media print {
  .site-header,
  .nav-toggle,
  .hero__arrow,
  .form-card,
  .skip-link {
    display: none !important;
  }

  .hero,
  .page-hero,
  .section--navy,
  .section--blue,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .section--navy h2,
  .section--navy h3,
  .stat__value {
    color: #000 !important;
  }
}

/* SVG-ikonkészlet: a dokumentumban van, de nem látszik */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
