/* ==========================================================================
   REYKA – Víztisztítás · Vízkezelés
   Statikus weboldal stíluslap (vanilla CSS, build lépés nélkül)
   ========================================================================== */

/* ---------- Betűtípusok (saját hosztolás, GDPR-barát) ---------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-700-normal.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;
}

/* ---------- Design tokenek ---------- */
:root {
  --navy: #0b2545;
  --navy-2: #113463;
  --ink: #10243e;
  --text: #3b4a5e;
  --muted: #5f6e85;
  --blue: #0c74db;        /* gombok, aktív elemek fehér háttéren */
  --blue-text: #0b66c3;   /* kis méretű kék szöveg fehér háttéren (AA kontraszt) */
  --blue-bright: #1e9bf0; /* ikonok, címkék sötét háttéren */
  --sky: #7cd4ff;         /* kiemelt sor a hero címben */
  --cyan: #22c3f5;
  --royal: #0a4fe0;
  --ice: #e8f3fd;
  --mist: #f4f8fc;
  --line: #e3eaf2;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #22c3f5 0%, #0f8def 55%, #0a4fe0 100%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.05), 0 6px 16px -6px rgba(11, 37, 69, 0.12);
  --shadow-md: 0 10px 30px -12px rgba(11, 37, 69, 0.28);
  --shadow-lg: 0 30px 60px -24px rgba(11, 37, 69, 0.45);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sheen-photo: 0.2;   /* a fotók fölötti hover-fényvillanás erőssége (0–1) */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { font-weight: 600; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

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

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke-width: 2;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #5fd3ff 0%, #1aa3f5 35%, #0c74db 65%, #0a4fe0 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 26px -12px rgba(34, 195, 245, 0.9);
}
.btn--primary:hover { color: #fff; filter: brightness(1.06); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.btn--outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue-text); }

.btn--lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn--sm { padding: 0.65em 1.1em; font-size: 0.9rem; }

/* ---------- Fejléc: lebegő "kapszula" menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  pointer-events: none;
}
.site-header__inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  padding: 0 10px 0 26px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.04), 0 18px 40px -18px rgba(11, 37, 69, 0.35);
  transition: box-shadow 0.25s, background-color 0.25s;
}
.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.06), 0 22px 50px -18px rgba(11, 37, 69, 0.45);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand img { height: 32px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.nav a:hover { color: var(--navy); background: #fff; box-shadow: 0 2px 8px -3px rgba(11, 37, 69, 0.25); }
.nav a[aria-current="page"] {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 6px 14px -6px rgba(11, 37, 69, 0.6);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 0.8em 1.3em; font-size: 0.98rem; }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1100px) {
  .nav a { padding: 10px 14px; font-size: 1rem; }
}
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .site-header { padding: 10px 0; }
  .site-header__inner { padding: 0 8px 0 20px; }
  .brand img { height: 26px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 30px 60px -24px rgba(11, 37, 69, 0.5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 20px; font-size: 1.15rem; border-radius: 18px; }
  .nav a:hover { box-shadow: none; background: var(--mist); }
  .nav .btn {
    display: inline-flex;
    margin-top: 6px;
    justify-content: center;
    font-size: 1.05rem;
    padding: 1em 1.4em;
    color: #fff;
    background: var(--blue);
  }
}
@media (min-width: 1024px) {
  .nav .btn { display: none; }
}

/* =====================================================================
   REYKA – címsor-téma (kicker): jel + ritkított felirat + vonal
   A szekciócímek fölötti felirat (korábban lekerekített címke-chip).
   Függ a meglévő tokenektől: --navy, --sky, --font-display.
   ===================================================================== */

/* ---------- Alap: fehér, jeges, fazettás háttéren ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
}

/* A jel: a logó "A" betűje, külön SVG-ben (reyka-a.svg / reyka-a-light.svg).
   Az SVG viewBoxában 5 px fény-margó van a jel körül, ezért a doboz 42×38,
   a negatív margó pedig visszahozza a látható 32×28-as méretet. */
.kicker__mark {
  flex: none;
  display: block;
  width: 42px;
  height: 38px;
  margin: -5px 0 -5px -5px;
}

/* a környező fotószabályok (pl. .split img: width 100%, keret, árnyék) ne hassanak a jelre */
.kicker .kicker__mark {
  width: 42px; height: 38px;
  max-width: none;
  border: 0; border-radius: 0; box-shadow: none;
  aspect-ratio: auto; object-fit: contain;
}

.kicker__text {
  flex: none;
  white-space: nowrap;
}

/* A vonal: pszeudo-elem, nincs hozzá külön HTML. Flex-grow, de legfeljebb 260 px. */
.kicker::after {
  content: "";
  flex: 1 1 24px;
  min-width: 24px;
  max-width: 260px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky) 0%, rgba(124, 212, 255, 0.15) 100%);
}

/* ---------- Világos változat: fotó + sötét átmenet (page-head, cta-panel) ---------- */
.kicker--light { color: #fff; }
.kicker--light::after {
  background: linear-gradient(90deg, rgba(124, 212, 255, 0.95) 0%, rgba(124, 212, 255, 0) 100%);
}

/* ---------- Középre zárt változat (ha később lesz section__head--center) ---------- */
.kicker--center { justify-content: center; }
.kicker--center::before,
.kicker--center::after {
  content: "";
  flex: 0 1 140px;
  min-width: 24px;
  height: 2px;
  border-radius: 2px;
}
.kicker--center::before {
  background: linear-gradient(270deg, var(--sky) 0%, rgba(124, 212, 255, 0.15) 100%);
}

/* ---------- Beágyazás a meglévő elrendezésekbe ---------- */
/* .story__text flex-oszlop, align-items: flex-start – a kicker nyúljon teljes szélességre */
.story__text .kicker { align-self: stretch; }
/* a page-head és a cta-panel h1/h2-je alatt a meglévő térköz marad; a kicker 18 px-t ad fölé */
.page-head .kicker,
.cta-panel .kicker { margin-bottom: 18px; }

/* ---------- Mobil ---------- */
@media (max-width: 700px) {
  .kicker {
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
  }
  .kicker .kicker__mark { width: 37px; height: 34px; margin: -5px 0 -5px -5px; } /* látható: 27×24 */
  .kicker::after { flex-basis: 0; min-width: 0; }   /* ha nem fér ki, a vonal eltűnik */
}
@media (max-width: 380px) {
  .kicker { letter-spacing: 0.14em; }
}

/* ---------- Mozgás ---------- */
/* A kicker a szülő .reveal / [data-stagger] animációját örökli; sajátja nincs,
   így a prefers-reduced-motion szabályokat sem kell bővíteni. */

/* ---------- Új gombváltozatok ---------- */
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); }
.btn--light:hover { background: #fff; color: var(--blue-text); }
.btn--glass {
  background: rgba(2, 18, 60, 0.38);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(2, 18, 60, 0.55); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; }
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin: -6px -10px -6px 2px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: transform 0.25s var(--ease);
}
.btn__arrow .icon { width: 16px; height: 16px; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Hero: havas csúcs, kék ég, gleccsertó ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(640px, 94svh, 940px);
  /* a lebegő fejléc a fotó fölött úszik */
  margin-top: calc(-1 * (var(--header-h) + 28px));
  padding-top: calc(var(--header-h) + 28px);
  color: #fff;
  background: #04205e;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 22% 58%, rgba(2, 18, 60, 0.5), rgba(2, 18, 60, 0) 70%),
    linear-gradient(90deg, rgba(2, 18, 60, 0.55) 0%, rgba(2, 18, 60, 0.22) 40%, rgba(2, 18, 60, 0) 62%),
    linear-gradient(180deg, rgba(2, 18, 60, 0.15) 0%, rgba(2, 18, 60, 0) 25%, rgba(2, 18, 60, 0) 70%, rgba(2, 18, 60, 0.45) 100%);
}
/* tulajdonosi portré: csak asztali nézetben (a <source media> miatt mobilon le sem töltődik) */
.hero__person {
  position: absolute;
  bottom: 0;
  right: max(16px, calc((100% - var(--container)) / 2 - 200px));
  z-index: 0;                 /* a háttér (-2) és a sötétítő átmenet (-1) fölött, a szöveg alatt */
  height: min(34vw, 84%, 820px, calc(100% - 150px));
  width: auto;
  pointer-events: none;
  display: none;
}
.hero__person img { display: block; height: 100%; width: auto; }
@media (min-width: 1024px) { .hero__person { display: block; } }
html.js .hero__person { animation: rise 0.9s var(--ease) both; animation-delay: 0.2s; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: clamp(40px, 8vh, 96px) 0 clamp(150px, 20vh, 200px);
}
.hero__text { max-width: 54rem; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  text-shadow: 0 4px 30px rgba(2, 18, 60, 0.35);
}
.hero h1 .hero__accent { color: var(--sky); }
.hero__lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin-bottom: 36px;
  text-shadow: 0 2px 16px rgba(2, 18, 60, 0.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* csillanások a havon és a vízen */
.hero__sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Csillanások: nagyon kicsik és halványak (méret és erősség egy helyen: --sp-size, --sp-max).
   Ha így sem kellenek: .hero__sparkles { display: none; } */
.hero__sparkles { --sp-size: 7px; --sp-max: 0.45; }
.sp {
  position: absolute;
  width: var(--sp-size); height: var(--sp-size);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
  animation: twinkle 4.8s ease-in-out infinite;
}
.sp--1 { left: 72%; top: 34%; }
.sp--2 { left: 86%; top: 22%; animation-delay: -1.2s; }
.sp--3 { left: 58%; top: 66%; animation-delay: -2.1s; }
.sp--4 { left: 80%; top: 58%; animation-delay: -0.6s; }
.sp--5 { left: 44%; top: 80%; animation-delay: -2.8s; }
.sp--6 { left: 92%; top: 76%; animation-delay: -1.7s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: var(--sp-max); transform: scale(1); }
}


/* Betöltéskor: a fotó lassan "beáll", a szöveg felúszik */
html.js .hero__bg img { animation: settle 2.4s var(--ease) both; }
html.js .hero__text > * { animation: rise 0.9s var(--ease) both; }
html.js .hero__text > :nth-child(2) { animation-delay: 0.08s; }
html.js .hero__text > :nth-child(3) { animation-delay: 0.16s; }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

@media (max-width: 420px) {
  .hero h1 { font-size: 2.55rem; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero::before {
    background: linear-gradient(180deg, rgba(2, 18, 60, 0.3) 0%, rgba(2, 18, 60, 0.6) 45%, rgba(2, 18, 60, 0.15) 72%, rgba(2, 18, 60, 0.4) 100%);
  }
  .hero__bg img { object-position: 50% 30%; }
  .hero__inner { align-items: flex-start; padding: 36px 0 150px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .sp--1 { left: 70%; top: 52%; }
  .sp--3 { left: 30%; top: 74%; }
  .sp--5, .sp--6 { display: none; }
}

/* ---------- Előnykártyák (a hero aljára lógnak) ---------- */
.perks { position: relative; z-index: 2; margin-top: -110px; }
.perks__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.perk {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 28px;
  border-radius: 30px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(236, 247, 255, 0.92)) padding-box,
    linear-gradient(135deg, #ffffff 0%, #8fdcff 30%, #ffffff 50%, #9fb8ff 72%, #22c3f5 100%) border-box;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 34px 60px -28px rgba(4, 40, 110, 0.55),
    0 10px 24px -14px rgba(4, 40, 110, 0.35);
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.perk strong {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
/* fényvillanás: betöltéskor egyszer végigfut, hoverre újra */
.perk::after,
.tile-card::before,
.btn--crystal::after,
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.75) 48%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
html.js .perk::after { animation: sheen 1.4s 0.9s var(--ease) both; }
.perk:nth-child(2)::after { animation-delay: 1.05s; }
.perk:nth-child(3)::after { animation-delay: 1.2s; }
.perk:nth-child(4)::after { animation-delay: 1.35s; }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

@media (max-width: 1023px) {
  .perks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 560px) {
  .perks { margin-top: -120px; }
  .perks__list { gap: 10px; }
  .perk { padding: 18px 16px 20px; border-radius: 24px; font-size: 0.84rem; }
  .perk strong { font-size: 1.02rem; margin-top: 8px; }
}

/* ---------- Drágakő ikon (önálló SVG kristályok: assets/img/gems/) ----------
   Az SVG 248-as viewBoxában a kristály 172 px; a doboz ezért nagyobb a látható
   hatszögnél (60 / 46 px), a negatív margó a különbséget kiegyenlíti. */
.gem {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 86px; height: 86px;
  margin: -13px;
}
.gem.gem img {
  display: block;
  width: 100%; height: 100%;
  /* a környező fotószabályok (pl. .split img) kerete, árnyéka ne kerüljön rá */
  border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; object-fit: contain;
}
/* listák "span" szabályai ne írják felül */
.gem.gem { display: inline-flex; }
.gem--sm { width: 66px; height: 66px; margin: -10px; }
@media (max-width: 560px) {
  .perk .gem { width: 69px; height: 69px; margin: -10px; }
}

/* ---------- Rejtett SVG sprite ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Kristály gomb ---------- */
.btn--crystal {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #5fd3ff 0%, #1aa3f5 35%, #0c74db 65%, #0a4fe0 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 34px -14px rgba(34, 195, 245, 0.9);
}
.btn--crystal:hover { color: #fff; filter: brightness(1.06); }
.btn--crystal .btn__arrow { background: #fff; color: var(--blue); }
.btn--crystal:hover::after,
.btn--primary:hover::after,
.perk:hover::after,
.tile-card:hover::before { animation: sheen 0.9s var(--ease) both; }

/* ---------- Szekciók ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist,
.section--facets {
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(124, 212, 255, 0.25), transparent 70%),
    linear-gradient(rgba(244, 250, 255, 0.55), rgba(244, 250, 255, 0.55)),
    url("../img/facets.svg") center / 800px auto repeat,
    var(--ice);
}
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section__head h2 { margin-bottom: 0; }
.section__head > p { color: var(--muted); font-size: 1.05rem; max-width: 38rem; }
.section__head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section__head--center p { margin-inline: auto; }
@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; align-items: start; }
}

.lead { font-size: 1.12rem; color: var(--muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-text);
}
.text-link .icon { transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }


/* ---------- Szolgáltatások: bento rács ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}
.tile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 28px;
  border-radius: 32px;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.tile-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; max-width: 30rem; }
/* a fényvillanás a szöveg alatt fut; a sötét fotós kártyán halványabb */
.tile-card::before { z-index: 0; }
.tile-card--feature::before { opacity: calc(var(--sheen-photo) * 0.7); }
.tile-card .gem { margin-bottom: auto; }
.tile-card strong {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.tile-card__body > span:last-child { font-size: 0.97rem; line-height: 1.55; color: var(--muted); }
.go {
  position: absolute;
  top: 22px; right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.go .icon { width: 20px; height: 20px; }
.tile-card .go { z-index: 2; }
.tile-card:hover .go { transform: rotate(45deg); background: var(--blue); color: #fff; }

/* kiemelt: teljes fotó, sötét átmenettel */
.tile-card--feature { grid-column: span 2; grid-row: span 2; min-height: 520px; background: var(--navy); border: 0; }
.tile-card--feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.tile-card--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 32, 61, 0) 30%, rgba(8, 32, 61, 0.92) 100%);
}
.tile-card--feature:hover img { transform: scale(1.04); }
.tile-card--feature strong { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.tile-card--feature .tile-card__body > span:last-child { color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }

/* széles: szöveg + fotó egymás mellett */
.tile-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 12px 12px 12px 28px;
  background: #fff;
}
.tile-card--wide .tile-card__body { justify-content: flex-end; padding: 16px 0; }
.tile-card--wide img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.tile-card--wide .go { right: auto; left: calc(50% - 58px); top: 22px; }

/* kék */
.tile-card--blue { background: var(--grad); border: 0; }
.tile-card--blue strong { color: #fff; }
.tile-card--blue .tile-card__body > span:last-child { color: rgba(255, 255, 255, 0.88); }
.tile-card--blue:hover { color: #fff; }

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-card--feature { min-height: 440px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-card--feature, .tile-card--wide { grid-column: auto; grid-row: auto; }
  .tile-card--feature { min-height: 420px; }
  .tile-card--wide { grid-template-columns: 1fr; padding: 12px; }
  .tile-card--wide .tile-card__body { padding: 16px 16px 4px; justify-content: flex-start; }
  .tile-card--wide .gem { margin-bottom: -13px; }
  .tile-card--wide img { order: -1; aspect-ratio: 16 / 10; height: auto; }
  .tile-card--wide .go { left: auto; right: 24px; top: 24px; }
  .tile-card { padding: 24px; border-radius: 28px; }
}

/* ---------- Rólunk ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.story__media { position: relative; margin: 0; z-index: 1; min-height: 420px; }
.story__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
}
.story__media figcaption {
  position: absolute;
  left: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.story__media figcaption .icon { width: 18px; height: 18px; color: var(--blue); }
.story__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 12px 0; }
.story__text h2 { margin-bottom: 20px; }
.story__text .btn { margin-top: 28px; }
.story__text > p:not(.kicker) { font-size: 1.08rem; max-width: 36rem; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(32px, 4vw, 48px) auto 0;
}
.facts li {
  padding: 18px;
  border-radius: 22px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.85)) padding-box,
    linear-gradient(135deg, #ffffff, #a9e3ff 45%, #ffffff 60%, #b9c8ff) border-box;
  box-shadow: 0 16px 32px -22px rgba(4, 40, 110, 0.45);
}
.facts .gem { margin-bottom: 2px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; }
.facts > li > span:last-child { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 1023px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 400px) {
  .facts li { padding: 14px; }
}

/* ---------- Megoldások: termékkártyák ---------- */
.section__head--row { grid-template-columns: minmax(0, 1fr) auto; }
.uses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.use {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
}
.use__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ice);
}
.use__media { box-shadow: 0 0 0 1.5px #bfe8ff, 0 26px 44px -26px rgba(4, 40, 110, 0.55); }
.use__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.6) 48%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
.use:hover .use__media::after { animation: sheen 0.9s var(--ease) both; }
.use__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.use:hover .use__media img { transform: scale(1.05); }
.use strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.use:hover strong { color: var(--blue-text); }
.use > span:last-child { font-size: 0.95rem; }
@media (max-width: 1023px) {
  /* vízszintesen görgethető sor */
  .uses {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 42%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .uses::-webkit-scrollbar { display: none; }
  .use { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .section__head--row { grid-template-columns: 1fr; }
  .uses { grid-auto-columns: 74%; }
}

/* ---------- CTA panel ---------- */
.section--flush { padding-top: 0; }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 32px 48px;
  align-items: end;
  padding: clamp(36px, 6vw, 80px);
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: #fff;
}
.cta-panel__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(6, 26, 52, 0.94) 0%, rgba(6, 26, 52, 0.75) 50%, rgba(10, 79, 224, 0.35) 100%);
}
.cta-panel h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 16px; }
.cta-panel p:not(.kicker) { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 34rem; }
.cta-panel__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) {
  .cta-panel { grid-template-columns: 1fr; border-radius: 32px; }
  .cta-panel__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Galéria rács ---------- */
.shot {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ice);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.shot:hover img { transform: scale(1.04); }
.shot__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.75), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.shot:hover .shot__cap,
.shot:focus-visible .shot__cap { opacity: 1; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue-text); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.grid-gallery .shot { aspect-ratio: 4 / 3; }
.grid-gallery .shot.is-hidden { display: none; }
.gallery-empty { color: var(--muted); padding: 24px 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 40, 0.92);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__fig { margin: 0; max-width: min(1400px, 100%); text-align: center; }
.lightbox__fig img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox__fig figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.98rem;
}
.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__prev { left: 14px; }
  .lightbox__next { right: 14px; }
  .lightbox__fig img { max-height: 70vh; }
}

/* ---------- Lábléc ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px) 0 28px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.site-footer__brand img { height: 30px; width: auto; margin-bottom: 14px; }
.site-footer__brand p { font-size: 0.95rem; color: var(--muted); max-width: 28rem; }
.site-footer__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 8px;
}
.info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.info a { color: var(--ink); text-decoration: none; }
.info a:hover { color: var(--blue-text); }
.info span { display: block; font-size: 0.9rem; color: var(--muted); }
.info .info__owner,
.contact-card .info__owner { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--blue-text); margin-bottom: 2px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__bottom a { color: var(--muted); text-decoration: none; }
.site-footer__bottom a:hover { color: var(--blue-text); }
.site-footer__bottom .footer__social { display: inline-flex; align-items: center; gap: 6px; }
.footer__social .icon { width: 16px; height: 16px; }
@media (max-width: 1023px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* ---------- Aloldal fejléc: fotó, csillanások, kristályok ---------- */
.page-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 58svh, 600px);
  color: #fff;
  background: #04205e;
  margin-top: calc(-1 * (var(--header-h) + 28px));
  padding: calc(var(--header-h) + 28px + clamp(40px, 6vw, 80px)) 0 clamp(48px, 7vw, 88px);
  border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}
.page-head__bg { position: absolute; inset: 0; z-index: -2; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-head__bg--falls img { object-position: 50% 45%; }
.page-head__bg--berg img { object-position: 50% 35%; }
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 18, 60, 0.82) 0%, rgba(2, 18, 60, 0.55) 45%, rgba(2, 18, 60, 0.1) 80%),
    linear-gradient(0deg, rgba(2, 18, 60, 0.55) 0%, rgba(2, 18, 60, 0) 45%);
}
.page-head .container { position: relative; }
.page-head h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 16em;
  text-shadow: 0 4px 30px rgba(2, 18, 60, 0.35);
}
.page-head p:not(.kicker) { color: rgba(255, 255, 255, 0.9); max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
html.js .page-head__bg img { animation: settle 2.4s var(--ease) both; }
html.js .page-head .container > * { animation: rise 0.9s var(--ease) both; }
html.js .page-head .container > :nth-child(2) { animation-delay: 0.08s; }
html.js .page-head .container > :nth-child(3) { animation-delay: 0.16s; }
.page-head .hero__sparkles .sp--1 { left: 76%; top: 30%; }
.page-head .hero__sparkles .sp--2 { left: 88%; top: 18%; }
.page-head .hero__sparkles .sp--3 { left: 66%; top: 70%; }
.page-head .hero__sparkles .sp--4 { left: 92%; top: 64%; }
@media (max-width: 860px) {
  .page-head .hero__sparkles .sp--4 { display: none; }
}
@media (max-width: 700px) {
  .page-head { min-height: 400px; }
  .page-head::before { background: linear-gradient(180deg, rgba(2, 18, 60, 0.35) 0%, rgba(2, 18, 60, 0.75) 100%); }
  .page-head__bg img { object-position: 50% 40%; }
}

/* ---------- Kristályfelületek az aloldalakon ---------- */
.contact-card,
.form-card,
.step,
.area-list li,
.area-towns__group,
.area-towns__note,
.callout {
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 255, 0.92)) padding-box,
    linear-gradient(135deg, #ffffff 0%, #a9e3ff 35%, #ffffff 52%, #b9c8ff 75%, #7cd4ff 100%) border-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 44px -28px rgba(4, 40, 110, 0.5);
}
.contact-card { border-radius: 26px; }
.form-card { border-radius: 32px; box-shadow: 0 1px 0 #fff inset, 0 40px 70px -36px rgba(4, 40, 110, 0.55); }
.step { border-radius: 28px; padding: 28px 24px; }
.callout { border-radius: 32px; }
.area-list li { border-radius: 20px; }

/* lépésszám kristályon (assets/img/gems/reyka-gem-blank.svg, szimbólum nélkül).
   A 248-as viewBoxban a kristály 172 px: 52 px látható kristályhoz 75 px-es doboz kell,
   a negatív margó a különbséget kiegyenlíti (a cím távolsága a régi 14 px marad). */
.steps .step::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px; height: 75px;
  margin: -11.5px -11.5px 2.5px;
  padding: 0;
  border-radius: 0;
  background: url("../img/gems/reyka-gem-blank.svg") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(4, 30, 100, 0.55);
}

/* fotók kristálykerettel */
.work__media img,
.split img {
  border: 1.5px solid #cdeeff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.7), 0 34px 60px -30px rgba(4, 40, 110, 0.55);
  border-radius: 32px;
}
.shot {
  border-radius: 22px;
  box-shadow: 0 0 0 1.5px #bfe8ff, 0 22px 40px -26px rgba(4, 40, 110, 0.5);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.6) 48%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
.shot:hover::after { animation: sheen 0.9s var(--ease) both; }

/* szűrő chipek */
.chip { padding: 10px 18px; font-weight: 600; background: #fff; box-shadow: 0 6px 16px -12px rgba(4, 40, 110, 0.5); }
.chip[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #5fd3ff 0%, #1aa3f5 35%, #0c74db 65%, #0a4fe0 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 24px -12px rgba(34, 195, 245, 0.9);
}

/* 404 */
.notfound {}

/* lábléc ikonok */
.site-footer .info .gem { margin-top: -14px; }

/* ---------- Munkáink: szolgáltatás blokkok ---------- */
.work {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.work + .work { border-top: 1px solid var(--line); }
.work:nth-of-type(even) .work__media { order: 2; }
.work__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.work__text .gem { margin-bottom: 8px; }
.work__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.work__text p { color: var(--text); }
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 20px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.checks .icon { width: 22px; height: 22px; color: var(--blue); }
@media (max-width: 860px) {
  .work { grid-template-columns: 1fr; }
  .work:nth-of-type(even) .work__media { order: 0; }
  .checks { grid-template-columns: 1fr; }
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--ice);
  border: 1px solid #d5e8fa;
}
.callout h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 6px; }
.callout p { color: var(--muted); }
@media (max-width: 700px) { .callout { grid-template-columns: 1fr; } }

/* ---------- Rólunk oldal: folyamat ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--blue-text);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ice);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split img {
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.split .portrait { aspect-ratio: 3 / 4; }
.split .landscape { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.values li { display: flex; gap: 12px; align-items: flex-start; }
.values strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.values span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.area {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.area-list { display: grid; gap: 12px; }
.area-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 500;
}
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* Településlista (Szolgáltatásaink, #terulet) – a nevek nem linkek */
/* horgonyra ugráskor a lebegő fejléc ne takarja (mint a .work blokkoknál) */
#terulet, #gyik { scroll-margin-top: calc(var(--header-h) + 28px); }
.area-towns { display: grid; gap: 12px; }
.area-towns__group { border-radius: 20px; padding: 16px 18px 18px; }
.area-towns__group h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}
.area-towns__group ul { columns: 2; column-gap: 24px; margin: 0; padding-left: 60px; }
.area-towns__group li { padding: 3px 0; break-inside: avoid; color: var(--text); }
.area-towns__note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 420px) { .area-towns__group ul { padding-left: 0; } }

/* Impresszum és adatkezelési tájékoztató */
.legal { max-width: 48rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 18px; }
.legal h2 + .legal__list, .legal h2 + p { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal__list { display: grid; gap: 8px; margin: 0 0 56px; }
.legal__list strong { font-family: var(--font-display); }

/* ---------- Kapcsolat ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-card strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 2px; }
.contact-card a { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--blue-text); }
/* „Települések listája →” – kisebb, mint a telefonszám / e-mail link */
.contact-card .contact-card__more { display: inline-block; margin-top: 6px; font-size: 0.92rem; color: var(--blue-text); }
.contact-card span { display: block; font-size: 0.9rem; color: var(--muted); }

.form-card {
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field label .optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(12, 116, 219, 0.15);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #d14343; }
.field .error { display: none; font-size: 0.85rem; color: #b32d2d; }
.field.has-error .error { display: block; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; padding: 0; flex: none; accent-color: var(--blue); }
.field--check label { font-weight: 400; font-family: var(--font-body); font-size: 0.92rem; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status.is-success { display: block; background: #e6f7ee; color: #14532d; border: 1px solid #b7e4c7; }
.form-status.is-error { display: block; background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }
.form-status.is-info { display: block; background: var(--ice); color: var(--navy); border: 1px solid #cfe4f8; }
.form-note { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); }
.notfound .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

/* ---------- Fotók fölötti hover-fényvillanás: visszafogottabb ---------- */
.tile-card--wide::before,
.use__media::after,
.shot::after { opacity: var(--sheen-photo); }

/* ---------- Megjelenés görgetésre ---------- */
main { overflow-x: clip; }
/* Görgetéskor az elemek eleve láthatók; csak egy finom, pár pixeles felúszást kapnak.
   (A hero és az aloldali fejlécek betöltéskori animációi ettől függetlenek.) */
html.js .reveal {
  transform: translate3d(0, 14px, 0);
  transition: transform 0.6s var(--ease);
}
html.js .reveal.is-in { transform: none; }
/* nagy képernyőn (Full HD) jobban látható, de az elem ekkor is látszik */
@media (min-width: 1200px) {
  html.js .reveal {
    opacity: 0.35;
    transform: translate3d(0, 40px, 0) scale(0.98);
    transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
/* mobilon nincs görgetéses animáció */
@media (max-width: 700px) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
.tile-card--feature img, .use__media img, .story__media img, .tile-card--wide img { transition: transform 0.8s var(--ease); }
.cta-panel__bg { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile-card, .go, .shot img, .use__media img, .tile-card--feature img, .text-link .icon, .btn__arrow { transition: none; }
  html.js .hero__bg img, html.js .hero__text > *, html.js .hero__person, .sp, html.js .perk::after,
  .btn--crystal:hover::after, .perk:hover::after, .tile-card:hover::before, .use:hover .use__media::after { animation: none; }
  .sp { opacity: 0.3; }
  html.js .page-head__bg img, html.js .page-head .container > *, .shot:hover::after, .btn--primary:hover::after { animation: none; }
}

/* ---------- Nyomtatás ---------- */
@media print {
  .site-header, .site-footer__bottom, .cta-panel, .nav-toggle, .lightbox { display: none !important; }
  body { color: #000; }
}

/* =====================================================================
   „A tulajdonos” szekció (rolunk.html) – a style.css végére, a .split / .values
   blokk után. Függ a meglévő tokenektől: --ice, --navy, --muted, --font-hand,
   --shadow-md, és a facets.svg textúrára (ugyanaz, mint a section--facets).
   ===================================================================== */

.founder {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #d3e6f9;
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(124, 212, 255, 0.25), transparent 70%),
    linear-gradient(rgba(244, 250, 255, 0.55), rgba(244, 250, 255, 0.55)),
    url("../img/facets.svg") center / 800px auto repeat,
    var(--ice);
  box-shadow: var(--shadow-md);
}

/* bal oszlop: a kivágott portré a panel aljára „áll” – ugyanúgy, mint a főoldali hero-ban */
.founder__media {
  margin: 0;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 56px clamp(16px, 3vw, 40px) 0;
}
/* a <picture> (mobilon nem töltődő forrás) a portré szélességét viszi */
.founder__media picture { display: block; width: min(100%, 440px); }
.founder__media img {
  display: block;
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(4, 40, 110, 0.28));
}

/* jobb oszlop: szöveg */
.founder__text {
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 64px) 0;
}
.founder__text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 20px;
}
.founder__text p { max-width: 36rem; }
.founder__text p + p { margin-top: 1em; }

/* aláírás: Caveat (már betöltött, eddig nem használt betű) */
.founder__sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 28px 0 18px;
}
.founder__name {
  font-family: var(--font-hand);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--navy);
}
.founder__role {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* a kerek avatar csak mobilon él */
.founder__avatar { display: none; }
.founder__head .kicker { margin-bottom: 18px; }

@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 0; border-radius: 28px; }
  .founder__media { display: none; }                 /* az álló portré helyett kerek arckép */
  .founder__text { padding: 28px 24px 32px; }
  .founder__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .founder__head .kicker { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
  .founder__avatar {
    display: block;
    flex: none;
    width: 76px; height: 76px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 10px 20px -10px rgba(4, 40, 110, 0.4);
  }
  .founder__name { font-size: 2.2rem; }
}

/* átmenetileg portré nélkül – a valódi fotóig; a fotóval együtt törlendő */
.founder--text-only { grid-template-columns: 1fr; }
.founder--text-only .founder__text { padding-left: clamp(24px, 5vw, 64px); max-width: 48rem; margin-inline: auto; }

/* ---------- SEO-kör: alcímek a szolgáltatás-blokkokban, GYIK ---------- */
.work__text h3 { font-size: 1.15rem; margin: 18px 0 6px; }
.faq { display: grid; gap: 12px; max-width: 52rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq details[open] summary { padding-bottom: 8px; }
.faq details p { margin: 0 0 18px; color: var(--text); max-width: 46rem; }
