/* =========================================================
   Felhőház Társasházkezelés – stíluslap
   ========================================================= */

/* ---------- Betűtípusok (saját tárhelyről) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/playfairdisplay-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/playfairdisplay-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Változók ---------- */
:root {
  --ink: #12213a;
  --ink-2: #1d3557;
  --ink-soft: #3a4a63;
  --muted: #5b6a80;
  --line: #dfe6ef;
  --paper: #fbfcfe;
  --white: #ffffff;
  --sky-50: #eef4fb;
  --sky-100: #dde9f6;
  --sky-200: #c3d7ee;
  --sky-400: #7ea3d4;
  --brand: #502e87;
  --brand-dark: #382873;
  --brand-soft: #f1ecf9;
  --brand-tint: #8b6cc6;
  --accent: #b8541a;
  --accent-dark: #9a4413;
  --accent-soft: #fdf1e8;
  --success-bg: #ecf6ef;
  --success-ink: #1d5a2e;
  --error: #b3261e;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 76px;
  --section-y: clamp(80px, 10vw, 140px);

  --shadow-sm: 0 1px 2px rgba(18, 33, 58, .05), 0 4px 14px rgba(18, 33, 58, .05);
  --shadow-md: 0 2px 6px rgba(18, 33, 58, .05), 0 18px 40px -12px rgba(18, 33, 58, .16);
  --shadow-lg: 0 4px 10px rgba(18, 33, 58, .05), 0 32px 70px -20px rgba(18, 33, 58, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brand-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.h2--sm { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.h2--card { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

.lead { font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.65; color: var(--ink-soft); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.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: fixed; left: 16px; top: -60px; z-index: 100;
  padding: .7em 1.2em; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1.1rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6;
}
.eyebrow--light { color: #cdbdf0; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Gombok, linkek ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.55em;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-size: .98rem; font-weight: 700; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .7em 1.2em; font-size: .9rem; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(184, 84, 26, .75); }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(80, 46, 135, .7); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .72); border-color: rgba(18, 33, 58, .18); color: var(--ink); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky-50); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; text-decoration: none; color: var(--brand);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--sky-100); }

/* ---------- Fejléc ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(251, 252, 254, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(18, 33, 58, .07), 0 10px 30px -18px rgba(18, 33, 58, .35);
}

.topbar {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  max-height: 40px; overflow: hidden;
  border-bottom: 1px solid rgba(18, 33, 58, .08);
  transition: max-height .35s var(--ease), opacity .35s, border-color .35s;
}
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar__inner { display: flex; align-items: center; gap: 1.25rem; height: 39px; }
.topbar a { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar .icon { width: 1.1em; height: 1.1em; }
.topbar__hours { color: var(--muted); font-weight: 500; }
.topbar__links { margin-left: auto; display: flex; gap: 1.5rem; }

.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 52px; height: 52px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.brand__sub { margin-top: .3em; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__sub { color: #9fb2cc; }
.brand--light .brand__mark { padding: 4px; border-radius: 14px; background: #fff; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.main-nav__list a {
  position: relative; display: block; padding: .55em .8em;
  font-size: .95rem; font-weight: 700; color: var(--ink); text-decoration: none;
  border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.main-nav__list a::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav__list a:hover { color: var(--brand); }
.main-nav__list a, .header__cta { white-space: nowrap; }
.main-nav__list a[aria-current="true"] { color: var(--brand); }
.main-nav__list a[aria-current="true"]::after, .main-nav__list a:hover::after { transform: scaleX(1); }
.main-nav__extra { display: none; }

.nav-toggle {
  display: none; margin-left: .25rem; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 12px; background: rgba(255, 255, 255, .75); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.nav-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Parallax rétegek ---------- */
.layer { position: absolute; left: 0; width: 100%; pointer-events: none; will-change: transform; }
.cloud img { width: 100%; height: auto; }
.drift { animation: drift 38s ease-in-out infinite alternate; }
.drift--slow { animation-duration: 56s; }
.drift--rev { animation-direction: alternate-reverse; animation-duration: 46s; }
@keyframes drift {
  from { transform: translateX(-4%); }
  to { transform: translateX(6%); }
}

/* ---------- Nyitó (hero) ---------- */
.hero {
  position: relative;
  display: flex; align-items: flex-start;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 78% 62%, rgba(255, 228, 196, .7) 0%, rgba(255, 228, 196, 0) 60%),
    linear-gradient(180deg, #b9d0ee 0%, #d4e3f5 34%, #ecf1f6 66%, #f6efe8 84%, var(--paper) 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: 0; }
.hero__sun {
  top: 9%; left: auto; right: 9%;
  width: clamp(240px, 30vw, 440px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 226, 1) 0%, rgba(255, 232, 202, .75) 26%, rgba(255, 226, 190, .25) 52%, rgba(255, 226, 190, 0) 70%);
}
.cloud--1 { top: 13%; left: -7%; width: clamp(280px, 34vw, 560px); opacity: .9; }
.cloud--2 { top: 6%; left: 44%; width: clamp(160px, 17vw, 280px); opacity: .7; }
.cloud--3 { top: 27%; left: auto; right: -4%; width: clamp(220px, 27vw, 440px); opacity: .92; }
.cloud--4 { bottom: 16%; left: 18%; width: clamp(200px, 22vw, 360px); opacity: .85; }

.skyline { object-fit: cover; object-position: center bottom; }
.skyline--far { bottom: 10%; height: 34%; opacity: .95; }
.cloudbank--back { bottom: 3%; height: 24%; object-fit: cover; object-position: center bottom; opacity: .95; }
.skyline--mid { bottom: 4%; height: 27%; }
.skyline--near { bottom: 0; height: 42%; }
.cloudbank--front { bottom: -120px; height: 330px; object-fit: cover; object-position: center top; }

.hero__content {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + 40px + clamp(28px, 6vh, 90px));
  padding-bottom: 300px;
}
.hero__content h1 { max-width: 16ch; margin-bottom: .4em; }
.hero__content .lead { max-width: 37rem; margin-bottom: 2rem; color: var(--ink-2); text-shadow: 0 1px 18px rgba(236, 242, 249, .9); }
.hero__eyebrow { color: var(--brand-dark); }

.hero__eyebrow, .hero__content h1, .hero__content .lead, .hero__content .btn-row {
  animation: rise 1s var(--ease) both;
}
.hero__content h1 { animation-delay: .1s; }
.hero__content .lead { animation-delay: .22s; }
.hero__content .btn-row { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 120px; z-index: 3; translate: -50% 0;
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink-soft);
}
.scroll-cue__mouse { display: block; width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; position: relative; opacity: .7; }
.scroll-cue__mouse span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Számok ---------- */
.stats { position: relative; z-index: 4; margin-top: -170px; }
.stats__card {
  display: grid; grid-template-columns: minmax(0, .9fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.stats__title {
  margin: 0; font-family: var(--font-body); font-size: .82rem; font-weight: 800; line-height: 1.5;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.stat { display: grid; gap: .45rem; padding-left: 1.75rem; border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 600; line-height: 1;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.stat__label { font-size: .95rem; line-height: 1.45; color: var(--muted); }

/* ---------- Kiemelt válaszok ---------- */
.answers__layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.answers__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.answers__intro h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.answers__intro .lead { margin-bottom: 1.75rem; }
.answers__list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.answer {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.4rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.answer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.answer h3 { margin-bottom: .4em; }
.answer p { color: var(--ink-soft); font-size: 1rem; }
.answer__icon, .service__icon, .info-card__icon, .term-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.answer__icon .icon, .service__icon .icon, .info-card__icon .icon, .term-card__icon .icon { width: 26px; height: 26px; }

/* ---------- Dekor felhők szekciókban ---------- */
.deco-cloud { position: absolute; z-index: 0; pointer-events: none; will-change: transform; }
.deco-cloud img { width: 100%; height: auto; }
.deco-cloud--a { top: 4%; right: -6%; width: clamp(260px, 30vw, 480px); opacity: .9; }
.deco-cloud--b { top: 44%; left: -8%; width: clamp(200px, 22vw, 340px); opacity: .8; }
.deco-cloud--c { top: 6%; right: -8%; width: clamp(280px, 34vw, 560px); opacity: .7; }
.deco-cloud--d { top: -4%; left: -6%; width: clamp(240px, 28vw, 440px); opacity: .9; }

/* ---------- Szolgáltatások ---------- */
.services {
  overflow: clip;
  background: linear-gradient(180deg, var(--paper) 0%, var(--sky-50) 16%, var(--sky-50) 84%, var(--paper) 100%);
}
.services .container { position: relative; z-index: 1; }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service {
  display: flex; flex-direction: column; gap: .2rem;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service .service__icon { margin-bottom: 1.1rem; }
.service p { font-size: .98rem; color: var(--ink-soft); }
.service--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3rem; align-items: center;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem);
}
.service--featured .service__head { display: flex; flex-direction: column; gap: 1.1rem; }
.service--featured .service__icon { margin: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.service--featured h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.15; color: #fff; }
.service--featured p { color: rgba(255, 255, 255, .82); font-size: 1.04rem; }

.facility {
  position: relative; overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(9rem, 16vw, 13rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 90% at 85% 110%, rgba(240, 177, 120, .55) 0%, rgba(240, 177, 120, 0) 60%),
    linear-gradient(160deg, #10203a 0%, #1d3f6e 62%, #3a6aa6 100%);
  color: #fff;
}
.facility__skyline {
  position: absolute; left: 0; bottom: -2px; width: 100%; height: 62%;
  object-fit: cover; object-position: center bottom;
  filter: brightness(0) invert(1); opacity: .1;
  pointer-events: none; will-change: transform;
}
.facility__skyline--near { height: 74%; opacity: .16; filter: brightness(0); }
.facility__body { position: relative; z-index: 1; max-width: 660px; }
.facility__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.12; color: #fff; }
.facility__body p { color: rgba(255, 255, 255, .84); }
.facility__body .btn { margin-top: 1rem; }

/* ---------- Így dolgozunk ---------- */
.process__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.process__head { position: sticky; top: calc(var(--header-h) + 48px); }

.steps { position: relative; margin: 0; padding: 0; list-style: none; --progress: 0; }
.steps__track {
  position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.steps__fill {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(var(--progress)); transform-origin: top;
}
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.6rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px;
  border: 2px solid var(--line); border-radius: 50%;
  background: #fff;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--muted);
  transition: background-color .45s, border-color .45s, color .45s, transform .45s var(--ease), box-shadow .45s;
}
.step.is-active .step__num { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); box-shadow: 0 10px 24px -10px rgba(80, 46, 135, .8); }
.step__body { padding-top: .7rem; }
.step__body h3 { font-size: 1.28rem; margin-bottom: .35em; }
.step__body p { color: var(--ink-soft); }

/* ---------- A közösség dönt (sötét parallax sáv) ---------- */
.decide {
  position: relative; overflow: hidden;
  padding-block: clamp(120px, 15vw, 200px) clamp(220px, 26vw, 340px);
  background: linear-gradient(180deg, #0c1a2f 0%, #15305a 45%, #2b5994 78%, #5f86ba 100%);
  color: #fff; text-align: center;
}
.decide__sky { position: absolute; inset: 0; }
.decide__glow {
  top: auto; bottom: 8%; left: 50%; width: 120%; height: 70%; translate: -50% 0;
  background: radial-gradient(50% 55% at 50% 100%, rgba(246, 187, 128, .55) 0%, rgba(246, 187, 128, 0) 100%);
}
.decide__cloud { opacity: .1; }
.decide__cloud--1 { top: 10%; left: -6%; width: clamp(280px, 34vw, 560px); }
.decide__cloud--2 { top: 30%; left: auto; right: -4%; width: clamp(200px, 24vw, 380px); }
.decide__skyline { object-fit: cover; object-position: center bottom; filter: brightness(0); }
.decide__skyline--far { bottom: 16%; height: 46%; opacity: .22; filter: brightness(0) invert(1); }
.decide__skyline--mid { bottom: 9%; height: 38%; opacity: .42; }
.decide__skyline--near { bottom: 2%; height: 44%; opacity: .5; }
.decide__bank { bottom: -150px; height: 330px; object-fit: cover; object-position: center top; }
.decide__content { position: relative; z-index: 2; max-width: 880px; }
.decide h2 { color: #fff; font-size: clamp(2.3rem, 5vw, 4.2rem); margin-bottom: .5em; }
.decide p { max-width: 46rem; margin-inline: auto; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(255, 255, 255, .86); }

/* ---------- Eredményeink ---------- */
.results__intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.results__intro p { color: var(--ink-soft); }
.work-areas {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg);
}
.work-areas h3 { color: #fff; margin-bottom: 1.1rem; }
.check-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .75rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.check-list .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 2.4; }

.results__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(4rem, 8vw, 6rem); }
.info-card { padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.info-card__icon { margin-bottom: 1.25rem; }
.info-card p { color: var(--ink-soft); }

/* ---------- Rólunk ---------- */
.about { overflow: clip; background: linear-gradient(180deg, var(--paper) 0%, var(--sky-50) 18%, var(--sky-50) 100%); }
.about .container { position: relative; z-index: 1; }
.about__intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.about__intro p { color: var(--ink-soft); }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.timeline li {
  position: relative; display: grid; gap: .1rem;
  padding: 1.25rem 1.5rem 1.25rem 1.6rem;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.timeline li::before { content: ""; position: absolute; left: 0; top: 1.25rem; bottom: 1.25rem; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.timeline li:nth-child(2)::before { background: var(--accent); }
.timeline li:nth-child(3)::before { background: var(--ink); }
.timeline__year { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.timeline__label { font-weight: 700; }
.timeline__text { font-size: .92rem; color: var(--muted); }

.team__title { margin: clamp(4rem, 8vw, 6rem) 0 2rem; font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 600; line-height: 1.15; max-width: 24ch; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.person {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.6rem; align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md);
}
.person__avatar {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-tint) 100%);
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: #fff;
}
.person__avatar--warm { background: linear-gradient(135deg, var(--accent) 0%, #e3a06c 100%); }
.person__name { margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; }
.person__role { margin: .25rem 0 1rem; font-size: .9rem; font-weight: 700; color: var(--brand); }
.person p:last-child { color: var(--ink-soft); }

.about__quote {
  position: relative; margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(2rem, 4vw, 3.25rem) clamp(2rem, 4vw, 3.25rem) clamp(4.5rem, 8vw, 6.5rem);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm);
}
.about__quote::before {
  content: "„"; position: absolute; left: clamp(1.25rem, 3vw, 2.25rem); top: clamp(.5rem, 2vw, 1.25rem);
  font-family: var(--font-display); font-size: clamp(4rem, 8vw, 6rem); line-height: 1; color: var(--accent);
}
.about__quote h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; }
.about__quote p { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-soft); max-width: 60rem; }

/* ---------- Átvétel és díj ---------- */
.terms { overflow: clip; }
.terms .container { position: relative; z-index: 1; }
.terms__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.term-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-top: 5px solid var(--brand); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-md);
}
.term-card--warm { border-top-color: var(--accent); }
.term-card--warm .term-card__icon { background: var(--accent-soft); color: var(--accent); }
.term-card__icon { margin-bottom: 1.4rem; }
.term-card p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.term-card .link-arrow { margin-top: auto; }

/* ---------- Tulajdonosoknak ---------- */
.owners { background: var(--sky-50); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.faq__item { padding: 1.75rem 0; border-top: 1px solid var(--sky-200); }
.faq__item h3 { position: relative; padding-left: 2.1rem; }
.faq__item h3::before {
  content: "?"; position: absolute; left: 0; top: .05em;
  display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .82rem; font-weight: 800;
}
.faq__item p { padding-left: 2.1rem; color: var(--ink-soft); font-size: 1rem; }

.owners__tools { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; margin-top: clamp(3.5rem, 7vw, 5rem); align-items: start; }
.portal {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink) 0%, #1f4479 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.portal::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 260px; height: 120px;
  background: url(../img/cloud-b.svg) center / contain no-repeat; opacity: .08;
}
.portal__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem; border-radius: 16px; background: rgba(255, 255, 255, .12); }
.portal__icon .icon { width: 26px; height: 26px; }
.portal h3 { color: #fff; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.portal p { color: rgba(255, 255, 255, .82); }
.portal .btn { margin: .75rem 0 2rem; }
.portal__access { position: relative; z-index: 1; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.portal__access p { margin-bottom: .9rem; }

.report {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md);
}
.report__head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
.report__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.report__icon .icon { width: 26px; height: 26px; }
.report__head h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.15; margin-bottom: .35em; }
.report__head p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Űrlapok ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em;
  border: 1.5px solid #cdd8e6; border-radius: 12px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 3.2em; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312213a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9em center; background-size: 1.1em;
}
.field input::placeholder, .field textarea::placeholder { color: #8c99ab; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9bbd3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(80, 46, 135, .16); }
.field .is-invalid { border-color: var(--error); background: #fffafa; }
.field .is-invalid:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .14); }
.field__error { min-height: 0; font-size: .85rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }

.field input[type="file"] { padding: .55em; border-style: dashed; cursor: pointer; color: var(--muted); font-size: .92rem; }
.field input[type="file"]::file-selector-button {
  margin-right: 1em; padding: .6em 1.15em; border: 0; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font: inherit; font-weight: 700; cursor: pointer;
  transition: background-color .2s;
}
.field input[type="file"]:hover::file-selector-button { background: #e4dbf3; }
.field__hint { font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { display: flex; align-items: center; gap: .6em; margin: 0; font-size: .9rem; color: var(--muted); }
.form__hint .icon { color: var(--brand); }

.form__more { border: 1.5px dashed #cdd8e6; border-radius: 14px; background: var(--paper); }
.form__more summary {
  display: flex; align-items: center; gap: .7em;
  padding: .95em 1.1em; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--brand);
}
.form__more summary::-webkit-details-marker { display: none; }
.form__optional { font-weight: 500; color: var(--muted); }
.form__more-plus { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); flex: none; }
.form__more-plus::before, .form__more-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px;
  border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease);
}
.form__more-plus::after { transform: rotate(90deg); }
.form__more[open] .form__more-plus::after { transform: rotate(0deg); }
.form__more-body { display: grid; gap: 1.1rem; padding: .25rem 1.1rem 1.2rem; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.form__legal { margin: 0; font-size: .85rem; color: var(--muted); }
.form__status {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: 14px;
  background: var(--success-bg); color: var(--success-ink); font-size: .95rem; line-height: 1.55;
}
.form__status[hidden] { display: none; }
.form__status--error { background: #fdeceb; color: #8c1d16; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.form__status .icon { width: 1.4em; height: 1.4em; margin-top: .05em; stroke-width: 2.2; }

/* ---------- Tudástár ---------- */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.article-card {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 1.75rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.article-card__art {
  position: relative; overflow: hidden;
  display: grid; place-items: center; height: 150px; margin-bottom: 1.5rem; border-radius: 18px;
  color: #fff;
}
.article-card__art::before, .article-card__art::after {
  content: ""; position: absolute; background: url(../img/cloud-a.svg) center / contain no-repeat; opacity: .22;
  transition: transform 1.2s var(--ease);
}
.article-card__art::before { width: 70%; height: 60%; left: -14%; bottom: -12%; }
.article-card__art::after { width: 46%; height: 40%; right: -8%; top: 4%; opacity: .14; }
.article-card:hover .article-card__art::before { transform: translateX(10%); }
.article-card:hover .article-card__art::after { transform: translateX(-12%); }
.article-card__art .icon { position: relative; z-index: 1; width: 46px; height: 46px; stroke-width: 1.5; }
.article-card__art--blue { background: linear-gradient(135deg, var(--brand), var(--brand-tint)); }
.article-card__art--warm { background: linear-gradient(135deg, var(--accent), #e4a170); }
.article-card__art--ink { background: linear-gradient(135deg, var(--ink), #3a5d8f); }
.article-card__kicker, .article-card h3, .article-card p, .article-card .link-arrow { margin-inline: .5rem; }
.article-card__kicker { margin-bottom: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.article-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.5rem; }
.article-card .link-arrow { margin-top: auto; }

.article-dialog {
  width: min(780px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 100px -20px rgba(10, 20, 40, .5);
  overflow: hidden;
}
.article-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .45s var(--ease); }

/* A kártya nem görget: a tartalom egy belső rétegben görget, a sáv a kártyán belül marad */
.article-dialog__scroll {
  flex: 1 1 auto; min-height: 0;
  margin: 6px 6px 6px 0;
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.article-dialog__scroll::-webkit-scrollbar { width: 14px; }
.article-dialog__scroll::-webkit-scrollbar-track {
  margin: 22px 0;
  background: linear-gradient(#ece6f5, #ece6f5) center / 2px 100% no-repeat;
}
.article-dialog__scroll::-webkit-scrollbar-thumb {
  border: 4px solid transparent; border-radius: 999px;
  background: #cfc3e4 padding-box;
}
.article-dialog__scroll::-webkit-scrollbar-thumb:hover { background-color: var(--brand-tint); }
.article-dialog__scroll::-webkit-scrollbar-thumb:active { background-color: var(--brand); }
.article-dialog__scroll::-webkit-scrollbar-button { display: none; height: 0; }
@supports not selector(::-webkit-scrollbar) {
  .article-dialog__scroll { scrollbar-width: thin; scrollbar-color: #cfc3e4 transparent; }
}
.article-dialog::backdrop { background: rgba(12, 26, 47, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.article-dialog__inner { position: relative; padding: clamp(1.75rem, 5vw, 3.5rem); }
.article-dialog__close {
  position: sticky; top: 8px; float: right; margin: -.5rem -.5rem 0 1rem; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--sky-50); color: var(--ink); cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.article-dialog__close:hover { background: var(--sky-100); transform: rotate(90deg); }
.article-dialog h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.article-dialog h3 { margin-top: 1.8em; font-size: 1.25rem; }
.article-dialog p { color: var(--ink-soft); }
.article-dialog .lead { color: var(--ink); }
.article-dialog__next {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  margin-top: 2.5rem !important; padding-top: 1.75rem; border-top: 1px solid var(--line);
}

/* ---------- Kapcsolat ---------- */
.contact {
  position: relative; overflow: clip;
  padding: clamp(110px, 12vw, 170px) 0 var(--section-y);
  background: linear-gradient(180deg, var(--paper) 0%, #d9e7f7 26%, #c9dcf2 48%, #e9f0f9 78%, var(--paper) 100%);
}
.contact__sky { position: absolute; inset: 0; }
.contact__cloud--1 { top: 6%; left: -8%; width: clamp(300px, 36vw, 600px); opacity: .95; }
.contact__cloud--2 { top: 16%; left: auto; right: -6%; width: clamp(240px, 28vw, 460px); opacity: .9; }
.contact__cloud--3 { top: 46%; left: 34%; width: clamp(180px, 20vw, 320px); opacity: .7; }
.contact__skyline { top: 20%; height: 34%; object-fit: cover; object-position: center bottom; opacity: .55; }
.contact .container { position: relative; z-index: 1; }
.contact__head { max-width: 860px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.contact__head .eyebrow { justify-content: center; }
.contact__head h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.contact__head .lead { color: var(--ink-2); }

.contact__card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg);
}
.contact__info {
  padding: clamp(2rem, 4vw, 3.25rem);
  background:
    radial-gradient(90% 60% at 100% 100%, rgba(240, 177, 120, .35) 0%, rgba(240, 177, 120, 0) 70%),
    linear-gradient(170deg, var(--ink) 0%, #1d3f6e 100%);
  color: #fff;
}
.contact__info h3 { color: #fff; font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 600; line-height: 1.15; }
.contact__info p { color: rgba(255, 255, 255, .82); font-size: .98rem; }
.contact-list { display: grid; gap: 1.1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; align-items: center; }
.contact-list li[hidden] { display: none; }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.contact-list__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #cdbdf0; }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.emergency {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .8rem;
  margin-top: 1.75rem; padding: 1rem 1.2rem; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .95rem;
}
.emergency[hidden] { display: none; }
.emergency strong { display: block; }
.emergency .icon { width: 26px; height: 26px; color: #f6bb80; }

.contact__form { padding: clamp(2rem, 4vw, 3.25rem); }
.contact__form h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 600; line-height: 1.15; }
.contact__form-intro { color: var(--ink-soft); margin-bottom: 1.6rem; }

/* ---------- Lábléc ---------- */
.site-footer { padding: clamp(4rem, 7vw, 5.5rem) 0 2rem; background: #0d1a2e; color: #b7c4d6; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.footer__companies { font-size: .85rem; color: #8193ab; }
.footer__title { margin-bottom: 1rem; font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__col ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #dce5f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__muted { color: #8193ab; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8193ab;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__legal a[hidden] { display: none; }

/* ---------- Belső oldalak (WordPress) ---------- */
.felhohaz-inner .site-header {
  background: rgba(251, 252, 254, .94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(18, 33, 58, .07), 0 10px 30px -18px rgba(18, 33, 58, .35);
}
.page-shell {
  min-height: 70vh;
  padding: calc(var(--header-h) + 40px + clamp(56px, 8vw, 96px)) 0 var(--section-y);
  background: linear-gradient(180deg, var(--sky-50) 0, var(--paper) 420px);
}
.page-shell__inner { max-width: calc(820px + var(--gutter) * 2); }
.page-shell__head { margin-bottom: 2.5rem; }
.entry + .entry { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.entry__title { font-size: clamp(2.1rem, 4.5vw, 3.3rem); margin-bottom: .5em; }
h2.entry__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.entry__title a { color: inherit; text-decoration: none; }
.entry__title a:hover { color: var(--brand); }
.entry__meta { margin-top: -.5rem; font-size: .9rem; color: var(--muted); }
.entry-content { font-size: 1.06rem; color: var(--ink-soft); }
.entry-content h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { height: auto; border-radius: 14px; }
.entry-content blockquote { margin: 1.5em 0; padding: 1em 1.5em; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--brand-soft); }
.entry-content table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: .6em .8em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption, .wp-caption-text { font-size: .88rem; color: var(--muted); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 1em;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-weight: 700; text-decoration: none; color: var(--ink);
}
.pagination .page-numbers.current { border-color: var(--brand); background: var(--brand); color: #fff; }

/* ---------- Görgetéses megjelenés ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1279px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; gap: 2rem;
    padding: calc(var(--header-h) + 56px) var(--gutter) 2rem;
    background: rgba(251, 252, 254, .98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease); }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav__list a { padding: .55em 0; font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav__list a::after { display: none; }
  .main-nav__extra { display: grid; gap: 1rem; justify-items: start; }
  .main-nav__extra a:not(.btn) { font-weight: 700; color: var(--ink); text-decoration: none; }
  .header__cta { margin-left: auto; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
}

@media (max-width: 1024px) {
  .answers__layout, .process__layout, .results__intro, .about__intro, .owners__tools { grid-template-columns: minmax(0, 1fr); }
  .answers__intro, .process__head { position: static; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service--featured { grid-template-columns: minmax(0, 1fr); }
  .stats__card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats__title { grid-column: 1 / -1; }
  .stats .stat:first-of-type { padding-left: 0; border-left: 0; }
  .contact__card { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .topbar__hours { display: none; }
  .topbar__links { gap: 1rem; }
  .topbar__phone span { display: none; }
  .header__cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.3rem; }

  .hero { min-height: max(700px, 100svh); }
  .hero__content { padding-bottom: 260px; }
  .hero__content .btn-row .btn { width: 100%; }
  .skyline--far { height: 34%; bottom: 18%; }
  .skyline--mid { height: 26%; }
  .skyline--near { height: 34%; }
  .scroll-cue { display: none; }

  .stats { margin-top: -130px; }
  .stats__card { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .stat, .stats .stat:first-of-type { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat__num { min-width: 3.2ch; font-size: 2.5rem; }

  .services__grid, .results__more, .terms__grid, .team, .faq, .articles, .form__row, .timeline { grid-template-columns: minmax(0, 1fr); }
  .answer { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .person { grid-template-columns: minmax(0, 1fr); }
  .person__avatar { width: 72px; height: 72px; border-radius: 22px; font-size: 1.6rem; }
  .step { gap: 1.1rem; }
  .faq__item p { padding-left: 0; }
  .report__head { grid-template-columns: minmax(0, 1fr); }
  .form__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .about__quote { padding-left: clamp(1.5rem, 6vw, 2rem); padding-top: 4.5rem; }
  .contact__info, .contact__form, .report, .portal, .work-areas, .term-card, .person { padding: 1.5rem; }
  .facility { padding: 1.75rem 1.5rem 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__sky, .decide__sky, .contact__sky, .deco-cloud, .scroll-cue, .form, .nav-toggle { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero { min-height: 0; }
  .hero__content { padding: 2rem 0; }
  .stats { margin-top: 0; }
}
