/* ——— Design tokens ——— */
:root {
  --color-green: #51735e;
  --color-green-dark: #43604d;
  --color-gold: #c3b78e;
  --color-gold-hover: #b0a47c;
  --header-gold: #c3b78e;
  --header-gold-hover: #b0a47c;
  --header-nav-text: #2b523a;
  --header-lang: #2b523a;
  --color-white: #ffffff;
  --color-off-white: #faf9f7;
  --color-text: #2b523a;
  --color-text-muted: rgba(43, 82, 58, 0.72);
  --color-border: rgba(43, 82, 58, 0.18);
  /* Lábléc: ugyanaz a zöld, mint a szekciók (pl. process) háttere */
  --color-footer-bg: var(--color-green);
  --font-serif: "Gilda Display", Georgia, serif;
  --font-sans: "League Spartan", system-ui, sans-serif;
  --font-gold-script: "Dancing Script", cursive;
  /* 16px gyökér: 60px → 3.75rem, 40px → 2.5rem, 16px → 1rem */
  --fs-h1: 3.75rem;
  --fs-h2: 2.5rem; /* 40px @ 16px gyökér */
  /* Bekezdés: 16px @ 16px gyökér; kisebb breakpointokon enyhén csökkentve */
  --fs-p: 1.08rem;
  --fs-btn: 0.95rem;
  --btn-pad-y: 0.62rem;
  --btn-pad-x: 1.3rem;
  /* Navbar CTA */
  --fs-btn-header: 0.9rem;
  /* Navbar linkek, nyelvváltó, logo szöveg */
  --fs-nav-bar: 1.1rem;
  /* Arany színű szekció-alcímek (script / kiemelő sor) */
  --fs-section-gold-accent: 1.7rem;
  --hero-content-max: 42rem;
  --container: 87.5rem; /* 1400px @ 16px */
  /* 180px oldalsó margó a tartalomnak (rem @ 16px gyökér) */
  --section-inline: 11.25rem;
  /* Egységes szekció-függőleges tér (nem a teljes magasságú képoszlopokra) */
  --section-space: clamp(4rem, 6vw, 5.8rem);
  --section-space-half: calc(var(--section-space) * 0.5);
  /* Partnerek sáv: 90px oldalt (5.625rem @ 16px) */
  --partners-gutter: 5.625rem;
  --header-h: 5rem; /* 80px @ 16px */
  --header-outer-h: calc(var(--header-h) + 1px);
  /* 1 képernyő: header + szekció; a legnagyobb viewport-magasság, hogy ne maradjon rés alul */
  --screen-fill: calc(100vh - var(--header-outer-h));
  /* Egységes lekerekítés: kártyák/gombok 6px; nagy tartalmi képek ugyanaz */
  --radius: 6px;
  --radius-sm: var(--radius);
  --radius-card: var(--radius);
  --radius-gallery: var(--radius);
  /* Nagy tartalmi képek (split-info / showcase / galéria) — 6px, figure overflow:hidden-nel */
  --radius-media: 6px;
  /* Referenciák + szolgáltatások: azonos cellaméret (rács + arány) */
  --gallery-grid-gap: 0.9rem;
  --gallery-cell-aspect: 3 / 2;
  --shadow-gallery-ref: 0 4px 18px rgba(43, 74, 66, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-gallery-card: 0 8px 28px rgba(43, 74, 66, 0.12), 0 3px 12px rgba(0, 0, 0, 0.07);
  --shadow-soft: 0 12px 40px rgba(81, 115, 94, 0.1);
  /* Szolgáltatás-accordion: diszkrét arany vonal, prémium panel */
  --service-acc-border: rgba(195, 183, 142, 0.88);
}

@supports (height: 100dvh) {
  :root {
    --screen-fill: calc(max(100vh, 100dvh) - var(--header-outer-h));
  }
}

@supports (height: 100lvh) {
  :root {
    --screen-fill: calc(max(100vh, 100dvh, 100lvh) - var(--header-outer-h));
  }
}

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

html {
  /* Egységes „vászon”: kevesebb fehér villanás újratöltéskor / nyelvváltáskor */
  background-color: var(--color-off-white);
  scroll-behavior: smooth;
  font-size: 16px;
  /* Egységes oldalsó „margó” minden szekcióhoz (container + hero igazítás) */
  --layout-gutter: var(--section-inline);
  /* Minta: .container width: calc(100% - (2 * var(--page-gutter))) */
  --page-gutter: var(--layout-gutter);
  /* Anchor linkek + scrollIntoView: sticky fejléc magassága */
  scroll-padding-top: var(--header-outer-h);
  /* Nyelvváltáskor ne mozduljon az elrendezés a scrollbar megjelenése/eltűnése miatt */
  scrollbar-gutter: stable;
}

/*
 * 125% / 150% kijelző- vagy böngésző-méretezés: gyökér font-size.
 * Nincs min-width kapu — 125% zoomban a CSS viewport gyakran < 1025px.
 * Retina 2dppx+ nem érintett.
 */
@media (min-resolution: 1.2dppx) and (max-resolution: 1.3dppx) {
  html {
    font-size: 14.6px;
  }
}

@media (min-resolution: 1.45dppx) and (max-resolution: 1.55dppx) {
  html {
    font-size: calc(16px / 1.5);
  }
}

@media (max-width: 480px) {
  html {
    --layout-gutter: max(0.75rem, 4vw);
  }
}

/* Tablet / keskeny laptop: arányosabb oldalsó margó — nem marad a 180px-es desktop gutter */
@media (max-width: 1024px) and (min-width: 481px) {
  html {
    --layout-gutter: clamp(1.35rem, 4.2vw, 3.75rem);
  }
}

@media (min-width: 1025px) {
  html {
    --layout-gutter: var(--section-inline);
  }

  .partners {
    --partners-gutter: calc(var(--layout-gutter) / 2);
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  line-height: 1.6; /* Figma 160% */
  color: var(--color-text);
  background: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  /*
   * Közös tartalomszélesség + oldalsó margó (ugyanaz a számítás mindenhol).
   * A % a használat helyén oldódik (container szülője = teljes szélesség).
   */
  --layout-content-width: min(var(--container), calc(100% - (2 * var(--page-gutter))));
  --layout-margin-x: calc((100% - var(--layout-content-width)) / 2);
}

button {
  font-family: inherit;
  font-size: 1rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p {
  font-size: var(--fs-p);
  line-height: 1.6; /* Figma 160% */
  margin: 0 0 1em;
}

/* Bootstrap grid .container felülírása — saját gutter/width rendszer marad */
.container {
  box-sizing: border-box;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: min(var(--container), calc(100% - (2 * var(--page-gutter))));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid rgba(81, 115, 94, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}

.logo img {
  display: block;
  height: clamp(3.1rem, 5.4vw, 3.85rem);
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-green);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(1.15rem, 2.2vw, 1.75rem);
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.65rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.35rem;
  position: relative;
  font-family: var(--font-sans);
  font-size: var(--fs-nav-bar);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--header-nav-text);
  transition: color 0.22s ease;
}

.nav__link:hover {
  color: var(--color-green);
}

.nav__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-top: 0.15em;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid var(--header-nav-text);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav__link:hover .nav__caret {
  border-top-color: var(--color-green);
}

.nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f7 100%);
  border: 1px solid rgba(195, 183, 142, 0.42);
  border-radius: var(--radius-card);
  box-shadow:
    0 16px 34px rgba(43, 74, 66, 0.12),
    0 3px 12px rgba(0, 0, 0, 0.06);
  z-index: 120;
}

/* Láthatatlan híd a link és a lenyíló között — nincs „halálzóna”, ahol leesik a :hover */
.nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.65rem;
}

.nav__sub a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: max(1rem, calc(var(--fs-nav-bar) * 0.92));
  font-weight: 500;
  border-radius: var(--radius-card);
  color: var(--header-nav-text);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav__sub a:hover {
  background: rgba(195, 183, 142, 0.18);
  color: var(--color-green);
  transform: translateX(2px);
}

@media (min-width: 901px) {
  .nav__link {
    padding-block: 0.2rem;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gold) 20%, var(--color-gold) 80%, transparent 100%);
    opacity: 0;
    transform: scaleX(0.75);
    transform-origin: center;
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav__item:hover > .nav__link,
  .nav__item:focus-within > .nav__link {
    color: var(--color-green-dark);
  }

  .nav__item:hover > .nav__link::after,
  .nav__item:focus-within > .nav__link::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav__item--dropdown:hover > .nav__link .nav__caret,
  .nav__item--dropdown:focus-within > .nav__link .nav__caret {
    border-top-color: var(--color-gold-hover);
    transform: translateY(1px);
  }

  .nav__sub {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition:
      opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.4s;
    transition-delay: 0s, 0s, 0.4s;
  }

  .nav__item--dropdown:hover > .nav__sub,
  .nav__item--dropdown:focus-within > .nav__sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition:
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
    transition-delay: 0.08s, 0.08s, 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav__sub {
      transition: none;
      transform: translateX(-50%);
    }

    .nav__item--dropdown:hover > .nav__sub,
    .nav__item--dropdown:focus-within > .nav__sub {
      transition: none;
      transform: translateX(-50%);
    }
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: var(--fs-nav-bar);
  font-weight: 500;
  color: var(--header-lang);
  margin-left: 0.15rem;
}

.lang-switch__sep {
  color: var(--header-lang);
  opacity: 0.55;
  font-weight: 400;
  user-select: none;
}

.lang-switch__link {
  color: var(--header-lang);
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.28s ease,
    opacity 0.28s ease;
}

.lang-switch__link:hover {
  color: var(--color-gold);
}

.lang-switch__link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.lang-switch__link--current {
  color: var(--color-gold);
  cursor: default;
  pointer-events: none;
}

.lang-switch__link--current:hover {
  color: var(--color-gold);
}

/* A Kapcsolat/Kontakt ne legyen az Info/Infó almenüben (a fő navbar CTA marad). */
#nav-sub-info a[href*="kontakt"],
#nav-sub-info a[href*="kapcsolat"] {
  display: none;
}

/*
 * Nyelvváltás — szöveg fade + mid-scroll villanásmentes restore.
 *
 * Mid-scroll: body visibility:hidden, .site-header visibility:visible
 * (CSS: a gyerek visibility:visible kilép a hidden szülőből).
 */
html.lang-enter-pending,
html.lang-scroll-pending,
html.lang-content-pending,
html.lang-exit {
  overflow-anchor: none;
  scroll-behavior: auto !important;
}

html.lang-exit {
  overscroll-behavior: none;
}

html.lang-exit main,
html.lang-exit .site-footer {
  pointer-events: none;
}

html.lang-scroll-pending .site-header,
html.lang-enter-pending .site-header,
html.lang-content-pending .site-header,
html.lang-exit .site-header {
  position: sticky;
  top: 0;
  z-index: 10001;
  opacity: 1 !important;
  visibility: visible !important;
  background: var(--color-white, #fff);
  /* Nyelvváltáskor a navbar soha ne fade-eljen / ne villanjon */
  transition: none !important;
}

html.lang-scroll-pending body {
  visibility: hidden !important;
}

html.lang-scroll-pending .site-header {
  visibility: visible !important;
}

html.lang-content-pending main,
html.lang-content-pending .site-footer {
  opacity: 0 !important;
  /* Ne legyen „üres” flash a tartalom megjelenése előtt */
  pointer-events: none;
}

html.lang-enter-pending main :where(
  h1, h2, h3, h4, h5, h6, p, li, label, th, td, blockquote, cite,
  .hero__tagline, .hero__title, .hero__lead,
  .section-title, .section-subtitle, .subpage-kicker,
  .page-hero__title, .page-hero__lead,
  .stats__label, .stats__value, .stats__suffix,
  .service-card__title, .service-card__text,
  .testimonial-card__quote, .testimonial-card__name,
  .faq-item__question, .faq-item__answer,
  .process-card__title, .process-card__text,
  .split-info__title, .checklist__item span,
  .service-panel__title, .service-panel__panel-inner p, .service-panel__panel-inner li,
  .cta-banner__title, .contact__title, .contact__text,
  .hazirend-rules__title, .hazirend-rules__text,
  .hazirend-hero-panel__title, .hazirend-hero-panel__subtitle, .hazirend-hero-panel__lead,
  .kapcsolat-hero-panel__title, .kapcsolat-hero-panel__lead, .kapcsolat-hero-panel__line,
  .price-table__service, .price-table__price, .form__status, .btn
) {
  opacity: 0;
}

main.lang-text-motion--exit .lang-text-motion__el {
  transition: opacity 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 0;
}

main.lang-text-motion--enter .lang-text-motion__el {
  opacity: 0;
  transition: none;
}

main.lang-text-motion--enter.lang-text-motion--enter-active .lang-text-motion__el {
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.lang-enter-pending main :where(
    h1, h2, h3, h4, h5, h6, p, li, label, th, td, blockquote, cite,
    .hero__tagline, .hero__title, .hero__lead,
    .section-title, .section-subtitle, .subpage-kicker,
    .page-hero__title, .page-hero__lead,
    .stats__label, .stats__value, .stats__suffix,
    .service-card__title, .service-card__text,
    .testimonial-card__quote, .testimonial-card__name,
    .faq-item__question, .faq-item__answer,
    .process-card__title, .process-card__text,
    .split-info__title, .checklist__item span,
    .service-panel__title, .service-panel__panel-inner p, .service-panel__panel-inner li,
    .cta-banner__title, .contact__title, .contact__text,
    .hazirend-rules__title, .hazirend-rules__text,
    .hazirend-hero-panel__title, .hazirend-hero-panel__subtitle, .hazirend-hero-panel__lead,
    .kapcsolat-hero-panel__title, .kapcsolat-hero-panel__lead, .kapcsolat-hero-panel__line,
    .price-table__service, .price-table__price, .form__status, .btn
  ) {
    opacity: 1 !important;
  }

  html.lang-scroll-pending body {
    visibility: visible !important;
  }

  html.lang-content-pending main,
  html.lang-content-pending .site-footer {
    opacity: 1 !important;
  }

  main.lang-text-motion--exit .lang-text-motion__el,
  main.lang-text-motion--enter .lang-text-motion__el,
  main.lang-text-motion--enter.lang-text-motion--enter-active .lang-text-motion__el {
    transition: none !important;
    opacity: 1 !important;
  }
}
/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transform: translateY(0);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: none;
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(4px);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.btn:active {
  transform: translateY(-0.5px);
  box-shadow: none;
  transition-duration: 0.12s;
}

.btn--header-cta {
  font-size: var(--fs-btn-header);
  background: var(--header-gold);
  color: var(--color-white);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
  white-space: nowrap;
}

.btn--header-cta:hover {
  background: var(--color-green);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn--gold:hover {
  background: var(--color-green);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--white-green {
  background: var(--color-white);
  color: var(--color-green);
}

.btn--white-green:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn--white-green:active {
  background: var(--color-gold-hover);
  color: var(--color-white);
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn--block {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .btn:hover,
  .btn:active {
    transform: none;
    box-shadow: none;
  }

  .btn__arrow,
  .btn:hover .btn__arrow,
  .btn:focus-visible .btn__arrow {
    transition: none;
    transform: none;
  }

  .testimonials-carousel__nav,
  .testimonials-carousel__nav:hover,
  .testimonials-carousel__nav:focus-visible {
    transition: color 0.2s ease, opacity 0.2s ease;
    transform: none;
  }

  .page-gallery__nav--prev:hover:not(:disabled) {
    transform: translateY(-50%);
  }

  .page-gallery__nav--next:hover:not(:disabled) {
    transform: translateY(-50%);
  }
}

/* ——— Hero (navbar + hero = 1 képernyő; kép jobb széléig, teljes magasság) ——— */
.hero {
  position: relative;
  min-height: var(--screen-fill);
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--color-white);
  box-sizing: border-box;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  align-content: stretch;
  min-height: 0;
  width: 100%;
  /*
   * Konténer a cqw-hoz: a grid teljes szélessége, nem a bal cella
   * (különben a % / margin a cellához képest számítana és keskeny lenne).
   */
  container-type: inline-size;
  container-name: hero-grid;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  margin-left: var(--layout-margin-x);
  margin-left: calc(
    (
        100cqw - min(var(--container), calc(100cqw - 2 * var(--layout-gutter)))
      ) /
      2
  );
  margin-right: 0;
  padding-block: var(--section-space);
  padding-inline: 0;
  padding-right: clamp(1.25rem, 3.5vw, 2.75rem);
  width: min(var(--hero-content-max), 100%);
  justify-self: start;
  min-width: 0;
  position: relative;
  z-index: 2;
  /* Olvashatóság, amíg a képek a szöveg alá csúsznak */
  background: linear-gradient(
    90deg,
    var(--color-white) 0%,
    var(--color-white) 58%,
    rgba(255, 255, 255, 0.9) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  transition:
    color 0.5s ease,
    background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s ease;
}

.hero__tagline {
  font-family: var(--font-gold-script);
  font-style: normal;
  font-size: var(--fs-section-gold-accent);
  font-weight: 500;
  color: var(--color-gold);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  transition: color 0.5s ease;
}

.eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow--gold {
  font-family: var(--font-gold-script);
  font-size: var(--fs-section-gold-accent);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-gold);
}

.hero__title {
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  transition: color 0.5s ease;
}

.hero__lead {
  color: var(--color-text);
  margin-bottom: 2rem;
  max-width: min(38rem, 100%);
  line-height: 1.6;
  transition: color 0.5s ease;
}

.btn--hero-cta {
  align-self: flex-start;
  box-shadow: none;
}

.hero__media {
  position: relative;
  z-index: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Szűküléskor a szöveg alá csúszik */
  margin-left: clamp(-5.5rem, -9vw, -1.25rem);
  margin-right: 0;
  transition: margin 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--hero-mobile-overlay, #12110dc9);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__image-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  background: transparent;
  transition: border-radius 0.45s ease;
}

/* Háttér: jobb oldalról a szöveg alá tolódik szűküléskor */
.hero__image-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: clamp(24%, 36vw, 42%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Aloldal: jobb oldalról a szöveg alá tolódik szűküléskor (mint a főoldal hero) */
.page-hero__image-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: clamp(24%, 36vw, 42%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__image-bg::after,
.page-hero__image-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.19);
  pointer-events: none;
}

.hero__image-bg img {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero__image-bg img {
  position: absolute;
  top: auto;
  /* Jobb oldalon marad, picit balra + lejjebb */
  right: -0.75rem;
  bottom: -2.25rem;
  left: auto;
  /* Nagyobb látszó méret (arányos szélesség); alul záródik, felfelé/jobbra levágva */
  height: 175%;
  width: auto;
  max-width: none;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Előtér: transzparens PNG, ahol üres, átlátszik a háttér */
.hero__image-figure {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__tagline,
  .hero__title,
  .hero__lead,
  .hero__media,
  .hero__media::after,
  .hero__image-wrap,
  .hero__image-bg,
  .hero__image-bg img,
  .page-hero__content,
  .page-hero__title,
  .page-hero__lead,
  .page-hero__image-bg,
  .page-hero__image-bg img,
  .page-hero__grid::before {
    transition: none;
  }
}

/* Közepes desktop: még jobban a szöveg alá */
@media (max-width: 1200px) and (min-width: 901px) {
  .hero__media {
    margin-left: clamp(-7.5rem, -14vw, -2.75rem);
  }

  .hero__image-bg,
  .page-hero__image-bg {
    left: clamp(14%, 26vw, 34%);
  }
}

/* ——— Partners — seamless infinite logo marquee ——— */
.partners {
  --partners-logo-gap: clamp(2.75rem, 5.5vw, 4.75rem);
  --partners-logo-h: clamp(2.85rem, 4.4vw, 4rem);
  padding: var(--section-space-half) 0;
  background: var(--color-white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.partners__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.partners__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: partners-marquee 48s linear infinite;
}

.partners__sequence {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--partners-logo-gap);
  margin: 0;
  padding: 0;
  /* Ugyanakkora távolság a szekvenciák között, mint a logók között */
  padding-inline-end: var(--partners-logo-gap);
  list-style: none;
}

.partners__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.partners__logo {
  display: block;
  height: var(--partners-logo-h);
  width: auto;
  max-width: min(13rem, 46vw);
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

@keyframes partners-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    /* Pont a duplikált szekvencia fele → varrásmentes loop */
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 640px) {
  .partners {
    --partners-logo-gap: clamp(2rem, 8vw, 3rem);
    --partners-logo-h: clamp(2.4rem, 8vw, 3rem);
  }

  .partners__track {
    animation-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .partners__viewport::-webkit-scrollbar {
    display: none;
  }

  .partners__track {
    animation: none;
    will-change: auto;
  }

  .partners__sequence[aria-hidden="true"] {
    display: none;
  }

  .partners__sequence {
    padding-inline: var(--partners-gutter);
    padding-inline-end: var(--partners-gutter);
  }
}

/* ——— Why me (teljes képernyő, 50/50, mockup) ——— */
.why-me {
  --why-me-bg: #55735b;
  --why-me-extra-h: clamp(3.5rem, 7vw, 6rem);
  min-height: calc(var(--screen-fill) + var(--why-me-extra-h));
  padding: 0;
  margin: 0;
  background: var(--why-me-bg);
  color: var(--color-white);
}

.why-me__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: calc(var(--screen-fill) + var(--why-me-extra-h));
  box-sizing: border-box;
  padding-left: 0;
}

.why-me__media {
  position: relative;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
  background: #e8ebe9;
}

.why-me__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.why-me__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: calc(var(--section-space) * 1.12) clamp(3.75rem, 7vw, 6.75rem) calc(var(--section-space) * 1.12) clamp(3.25rem, 5.5vw, 5.5rem);
  background: var(--why-me-bg);
}

.why-me__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 1.5rem;
}

.why-me__text {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0 0 1.1rem;
}

.why-me__text:last-of-type {
  margin-bottom: 0;
}

.btn--why-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-serif);
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.section-title--on-dark {
  color: var(--color-white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stats__value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--color-gold);
}

.stats__label {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-white);
  text-transform: lowercase;
}

.stats.stats--why {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.75rem;
  border-top-color: rgba(255, 255, 255, 0.25);
}

.stats.stats--why .stats__value {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: var(--color-white);
}

.stats.stats--why .stats__label {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-white);
  text-transform: none;
}

/* ——— Section headers ——— */
.section-head {
  margin-bottom: 2.75rem;
}

.section-head--center {
  text-align: center;
  margin-inline: 0;
  margin-bottom: 2.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  margin: 0;
}

.section-subtitle--on-dark {
  color: var(--color-white);
}

/* ——— References ——— */
.references {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gallery-grid-gap);
}

.ref-grid {
  width: 100%;
  box-sizing: border-box;
}

/* Főoldali referenciák: enyhén tájolt cellák; sorok azonos magasságúak */
.ref-grid .ref-grid__cell,
.ref-grid .gallery-item {
  aspect-ratio: 5 / 4;
}

.ref-grid__cell,
.gallery-item {
  position: relative;
  aspect-ratio: var(--gallery-cell-aspect);
  overflow: hidden;
  border-radius: var(--radius-gallery);
  background: var(--color-white);
  isolation: isolate;
  cursor: pointer;
  box-shadow: var(--shadow-gallery-ref);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item::after,
.rolam-masonry__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: inset 0 0 0 0 transparent;
  opacity: 0;
  transition:
    opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover,
.gallery-item:focus-visible,
.rolam-masonry__cell:hover,
.rolam-masonry__cell:focus-visible {
  /* Nincs erős hover árnyék — csak emelés + arany keret */
  transform: translateY(-3px);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after,
.rolam-masonry__cell:hover::after,
.rolam-masonry__cell:focus-visible::after {
  opacity: 1;
  box-shadow: inset 0 0 0 2px var(--color-gold);
}

/*
 * Nagyobb „doboz” + középre: levágja a PNG széli fehér kereteket és a szubpixel réseket.
 */
.gallery-grid img,
.gallery-item img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-item img {
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: translate(-50%, -50%) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-item img,
  .gallery-item::after,
  .rolam-masonry__cell,
  .rolam-masonry__cell img,
  .rolam-masonry__cell::after {
    transition: none;
  }

  .gallery-item:hover,
  .gallery-item:focus-visible,
  .rolam-masonry__cell:hover,
  .rolam-masonry__cell:focus-visible {
    transform: none;
  }

  .gallery-item:hover img,
  .gallery-item:focus-visible img {
    transform: translate(-50%, -50%);
  }

  .rolam-masonry__cell:hover img,
  .rolam-masonry__cell:focus-visible img {
    transform: translate(-50%, -50%);
  }
}

/* ——— Rólam: drótváz szerinti „masonry” (2×3 rács, szimmetrikus fordított T-rövid / rövid-T) ——— */
.rolam-masonry-section {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.rolam-masonry-section .section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

/*
 * 5 sor: magas cellák 3, rövid cellák 2 sort spanelnek.
 * A rövid sorok kicsit nagyobb fr-t kapnak → alacsonyabb keretek magasabbak,
 * a magasabb keretek kissé rövidebbek.
 */
.rolam-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1.2fr 1.2fr 0.85fr 1.2fr 1.2fr;
  gap: var(--gallery-grid-gap);
  width: 100%;
  box-sizing: border-box;
  min-height: clamp(26rem, 64vw, 46rem);
}

.rolam-masonry__cell {
  position: relative;
  min-height: 0;
  border-radius: var(--radius-gallery);
  overflow: hidden;
  background: #e3eef5;
  isolation: isolate;
  box-shadow: var(--shadow-gallery-ref);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rolam-masonry__cell--tl {
  grid-column: 1;
  grid-row: 1 / 4;
}

.rolam-masonry__cell--tr {
  grid-column: 2;
  grid-row: 1 / 3;
}

.rolam-masonry__cell--bl {
  grid-column: 1;
  grid-row: 4 / 6;
}

.rolam-masonry__cell--br {
  grid-column: 2;
  grid-row: 3 / 6;
}

.rolam-masonry__cell img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rolam-masonry__cell:hover img,
.rolam-masonry__cell:focus-visible img {
  transform: translate(-50%, -50%) scale(1.08);
}

/*
 * Bal alsó: a kép lejjebb a keretben (kevésbé -50% Y), így a fotó felső része látszik.
 * Az általános .rolam-masonry__cell img után kell állnia.
 */
.rolam-masonry__cell--bl img {
  width: 130%;
  height: 130%;
  object-position: center top;
  transform: translate(-56%, -52%);
}

.rolam-masonry__cell--bl:hover img,
.rolam-masonry__cell--bl:focus-visible img {
  transform: translate(-56%, -52%) scale(1.08);
}

@media (max-width: 700px) {
  .rolam-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .rolam-masonry__cell--tl,
  .rolam-masonry__cell--tr,
  .rolam-masonry__cell--bl,
  .rolam-masonry__cell--br {
    grid-column: 1;
    grid-row: auto;
  }

  .rolam-masonry__cell--tl {
    aspect-ratio: 3 / 4;
    min-height: min(72vw, 20rem);
  }

  .rolam-masonry__cell--tr,
  .rolam-masonry__cell--bl {
    aspect-ratio: 5 / 4;
    min-height: min(42vw, 14rem);
  }

  .rolam-masonry__cell--br {
    aspect-ratio: 3 / 4;
    min-height: min(72vw, 20rem);
  }
}

/* ——— Referenciák lightbox (átlátszó háttér, lapozó a képen) ——— */
.ref-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
  /* Bezáró / vezérlők: fix távolság a kép szélétől (frame = kép doboza) */
  --ref-lightbox-ui-gutter: 0.5rem;
}

.ref-lightbox[hidden] {
  display: none !important;
}

.ref-lightbox--single .ref-lightbox__nav {
  display: none !important;
}

.ref-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ref-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}

.ref-lightbox__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: auto;
}

/*
 * Csak a kép méretére zsugorodik (a gombok abszolútak, nem növelik a dobozt).
 * Így a bezáró mindig ugyanakkora távolságra van a látható kép szélétől.
 */
.ref-lightbox__media {
  position: relative;
  display: inline-block;
  line-height: 0;
  width: max-content;
  max-width: min(92vw, 1080px);
  max-height: min(88vh, 920px);
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-sizing: border-box;
  vertical-align: middle;
}

.ref-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(88vh, 920px);
  width: auto;
  height: auto;
  vertical-align: top;
  border-radius: 0;
  box-shadow: none;
}

.ref-lightbox__close {
  position: absolute;
  top: var(--ref-lightbox-ui-gutter);
  right: var(--ref-lightbox-ui-gutter);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(43, 74, 66, 0.55);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.15s ease;
}

.ref-lightbox__close:hover {
  background: rgba(43, 74, 66, 0.75);
}

.ref-lightbox__media .ref-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: rgba(43, 74, 66, 0.55);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.15s ease;
}

.ref-lightbox__media .ref-lightbox__prev {
  left: var(--ref-lightbox-ui-gutter);
}

.ref-lightbox__media .ref-lightbox__next {
  right: var(--ref-lightbox-ui-gutter);
}

.ref-lightbox__media .ref-lightbox__nav:hover {
  background: rgba(43, 74, 66, 0.75);
}

@media (max-width: 480px) {
  .ref-lightbox {
    --ref-lightbox-ui-gutter: 0.35rem;
  }

  .ref-lightbox__media .ref-lightbox__nav {
    width: 2.35rem;
    height: 2.35rem;
  }
}

/* ——— Services (alap; ≥1025px felülírás a media blokkban) ——— */
.services {
  background: var(--color-green);
  padding: var(--section-space) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-grid-gap);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.service-card {
  background: var(--color-white);
  padding: 1.2rem 1rem 1.3rem;
  border-radius: var(--radius-gallery);
  text-align: center;
  box-shadow: var(--shadow-gallery-card);
  aspect-ratio: var(--gallery-cell-aspect);
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid transparent;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0 auto 1.05rem;
}

.service-card__icon img {
  height: clamp(56px, 7vw, 72px);
  width: auto;
  max-width: min(100%, 140px);
  object-fit: contain;
  display: block;
}

.service-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  color: var(--color-green-dark);
  margin-top: 0;
  margin-bottom: 1.25rem;
  overflow-wrap: anywhere;
}

.service-card__text {
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Szolgáltatás-kártyák: kompakt megjelenés tablet fölött (901–1024: 2 oszlop, ugyanaz a belső arány mint desktopon) */
@media (min-width: 901px) {
  .services .section-head {
    margin-bottom: clamp(0.85rem, 1.5vw, 1.35rem);
  }

  .services .service-card {
    width: 100%;
    aspect-ratio: var(--gallery-cell-aspect);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(0.7rem, 1.1vw, 0.95rem) clamp(0.55rem, 0.9vw, 0.8rem);
    border-radius: var(--radius-gallery);
    box-shadow: var(--shadow-gallery-card);
    box-sizing: border-box;
    overflow: visible;
  }

  .services .service-card__icon {
    margin-bottom: clamp(0.75rem, 1.15vw, 1.05rem);
  }

  .services .service-card__icon img {
    height: clamp(48px, 5.2vw, 68px);
  }

  .services .service-card__title {
    font-size: clamp(1.12rem, 1.45vw, 1.4rem);
    margin-bottom: clamp(0.9rem, 1.25vw, 1.2rem);
  }
}

/* Nagy képernyő: why-me + kapcsolat — jobbra --page-gutter (mint .container) */
@media (min-width: 1025px) {
  /*
   * Jobb behúzás = .container középre igazított szélességének fele (nem fix --page-gutter),
   * hogy 1400px fölött is egy vonalban legyen a többi szekció tartalmával.
   */
  .why-me__grid {
    padding-right: calc((100% - min(var(--container), calc(100% - 2 * var(--page-gutter)))) / 2);
  }

  /* Szöveg a jobb oldali margóig (grid padding); bal padding változatlan */
  .why-me__content {
    padding-right: 0;
  }

  .contact__split {
    padding-right: var(--page-gutter);
  }

  .references .section-head {
    margin-bottom: clamp(0.85rem, 1.5vw, 1.35rem);
  }

  .services .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: var(--gallery-grid-gap);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Testimonials (karousel, mockup szerinti kártyák) ——— */
.testimonials {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.testimonials__head {
  text-align: left;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.testimonials__kicker {
  font-family: var(--font-gold-script);
  font-size: var(--fs-section-gold-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.testimonials__head .section-title {
  margin-bottom: 0;
  margin-top: 0;
  color: var(--color-text);
  text-align: left;
}

.testimonials-carousel {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.testimonials-carousel__viewport {
  overflow: hidden;
  width: 100%;
  transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
  cursor: grab;
}

.testimonials-carousel__track {
  display: flex;
  align-items: flex-start;
  /* Rések a diák között; a translateX lépésközt a JS számolja (viewport + gap) */
  gap: clamp(1rem, 2vw, 1.5rem);
  /* Lassú, lágy „siklás” — hosszabb futás + enyhe gyorsulás / hosszú lefékezés */
  transition: transform 2.85s cubic-bezier(0.38, 0.02, 0.12, 0.99);
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel__track {
    transition: none;
  }

  .testimonials-carousel__viewport {
    transition: none;
  }
}

.testimonials-carousel__slide {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  box-sizing: border-box;
  /* width: viewport szélessége — main.js measure() */
}

.testimonials__cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.testimonial-card {
  margin: 0;
  background: #5a7462;
  color: var(--color-white);
  width: 100%;
  height: 100%;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.65rem);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem 1.15rem;
  box-shadow: none;
  text-align: left;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: clamp(56px, 8vw, 72px);
  height: clamp(56px, 8vw, 72px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.testimonial-card__content {
  flex: 1;
  min-width: 0;
}

.testimonial-card__quote {
  font-family: var(--font-sans);
  font-style: normal;
  line-height: 1.65;
  color: var(--color-white);
  margin: 0 0 0.85rem;
}

.testimonial-card__name {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-gold);
  display: block;
}

.testimonials-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
  padding: 0;
}

.testimonials-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: clamp(1.35rem, 2.5vw, 1.85rem);
}

.testimonials-carousel__nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 0.8;
}

.testimonials-carousel__nav:hover,
.testimonials-carousel__nav:focus-visible {
  color: var(--color-gold);
  opacity: 1;
  outline: none;
}

.testimonials-carousel__nav--prev:hover,
.testimonials-carousel__nav--prev:focus-visible {
  transform: translateX(-3px);
}

.testimonials-carousel__nav--next:hover,
.testimonials-carousel__nav--next:focus-visible {
  transform: translateX(3px);
}

.testimonials-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-green-dark);
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.55;
  transition:
    transform 0.55s cubic-bezier(0.38, 0.02, 0.12, 0.99),
    opacity 0.55s ease,
    background 0.55s ease;
}

.testimonials-carousel__dot:hover,
.testimonials-carousel__dot:focus-visible {
  opacity: 0.9;
  outline: none;
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px rgba(81, 115, 94, 0.45);
}

.testimonials-carousel__dot.is-active {
  background: var(--color-gold);
  opacity: 1;
  transform: scale(1.12);
}

.testimonials-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.testimonials-carousel__viewport.is-dragging .testimonials-carousel__track {
  transition: none;
}

@media (max-width: 1024px) {
  .testimonials-carousel__controls--desktop,
  .testimonials-carousel__dots--desktop {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .testimonials-carousel__controls--mobile,
  .testimonials-carousel__dots--mobile {
    display: none !important;
  }
}

/* ——— CTA banner ——— */
.cta-banner {
  background: var(--color-green);
  padding: var(--section-space-half) 0;
  text-align: center;
}

.cta-banner__title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner__text {
  color: var(--color-white);
  margin-bottom: 1.75rem;
}

/* ——— FAQ ——— */
.faq {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.faq__head {
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.faq__title {
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.faq__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Közös sormagasság: a bal/jobb pár mindig egy vonalban indul */
  grid-template-rows: repeat(3, auto);
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: 0;
  align-items: start;
}

.faq__col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / span 3;
  min-width: 0;
}

/* Régebbi böngészők: marad a két független oszlop */
@supports not (grid-template-rows: subgrid) {
  .faq__col {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .faq__columns {
    grid-template-rows: none;
  }
}

.faq-item {
  position: relative;
  border-bottom: 2px solid rgba(81, 115, 94, 0.16);
  overflow-anchor: none;
}

/* Alávonal: balról jobbra színeződik hover / nyitott állapotban */
.faq-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.faq-item:hover::after,
.faq-item:focus-within::after,
.faq-item.is-open::after {
  transform: scaleX(1);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(1.15rem, 2vw, 1.45rem) 0 0.7rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 11px;
  height: 8px;
  margin-top: 0.45em;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.65s cubic-bezier(0.32, 0.72, 0, 1),
    color 0.35s ease;
  will-change: transform;
}

.faq-item__chevron svg {
  display: block;
  width: 11px;
  height: 8px;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__question {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  transition: color 0.35s ease;
}

/* Alap (#2b523a) és zöld hover túl hasonló volt — arany feltűnőbb */
.faq-item__trigger:hover .faq-item__question,
.faq-item__trigger:focus-visible .faq-item__question {
  color: var(--color-gold);
}

.faq-item__trigger:hover .faq-item__chevron,
.faq-item__trigger:focus-visible .faq-item__chevron {
  color: var(--color-gold-hover);
}

.faq-item.is-open .faq-item__question {
  color: var(--color-gold);
}

.faq-item__overflow {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item__overflow {
  grid-template-rows: 1fr;
}

.faq-item__overflow-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item__panel {
  /* A chevron + gap után, a kérdéssel egy vonalban */
  padding: 0.1rem 0 clamp(1.25rem, 2.2vw, 1.6rem) calc(11px + 0.85rem);
}

.faq-item__panel::before {
  content: "";
  display: block;
  width: 2.15rem;
  height: 1px;
  margin: 0 0 0.85rem;
  background: var(--color-gold);
  opacity: 0.72;
}

.faq-item__panel p {
  margin: 0;
  max-width: 42em;
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__overflow {
    transition: none;
  }

  .faq-item__chevron {
    transition: none;
  }

  .faq-item::after {
    transition: none;
  }

  .faq-item:not(.is-open) .faq-item__panel {
    display: none;
  }
}

/* ——— Contact ——— */
.contact {
  padding: 0;
  background: var(--color-white);
  min-height: var(--screen-fill);
}

.contact__split {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: var(--screen-fill);
  width: 100%;
  box-sizing: border-box;
  padding-left: 0;
}

.contact__media {
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 0;
  overflow: hidden;
  background: #e8e4dc;
  position: sticky;
  top: var(--header-outer-h);
  align-self: flex-start;
  height: var(--screen-fill);
  max-height: var(--screen-fill);
  border-top-right-radius: var(--radius-media);
}

.contact__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-top-right-radius: var(--radius-media);
}

.contact__form-wrap {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--screen-fill);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) clamp(1.5rem, 12vw, 6rem);
}

.contact__form-inner {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

.contact__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.contact__intro {
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  line-height: 1.65;
  color: rgba(43, 82, 58, 0.55);
  margin: 0 0 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form .field__label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  border: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(43, 82, 58, 0.55);
  letter-spacing: 0.02em;
}

.contact-form .field input,
.contact-form .field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(195, 183, 142, 0.55);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  width: 100%;
}

.contact-form .field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: rgba(43, 82, 58, 0.32);
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: 2px solid rgba(81, 115, 94, 0.28);
  outline-offset: 1px;
  border-color: rgba(195, 183, 142, 0.85);
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.15rem;
  cursor: pointer;
  font-family: var(--font-sans);
  line-height: 1.55;
  color: rgba(43, 82, 58, 0.62);
}

.contact-form__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.12rem 0 0;
  box-sizing: border-box;
  border: 1px solid rgba(195, 183, 142, 0.85);
  border-radius: var(--radius-sm);
  background-color: #f3f0e8;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem 0.85rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.contact-form__consent input[type="checkbox"]:hover {
  border-color: var(--color-gold);
  background-color: #efe9dc;
}

.contact-form__consent input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(81, 115, 94, 0.28);
  outline-offset: 1px;
  border-color: rgba(195, 183, 142, 0.85);
}

.contact-form__consent input[type="checkbox"]:checked {
  background-color: var(--color-green);
  border-color: var(--color-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 8.2 6.4 11.6 13.2 4.4'/%3E%3C/svg%3E");
}

.contact-form__consent input[type="checkbox"]:checked:hover {
  background-color: var(--color-green-dark);
  border-color: var(--color-green-dark);
}

.contact-form__consent-text {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-p);
}

.contact-form__policy-link {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.contact-form__policy-link:hover {
  color: var(--color-gold-hover);
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__status {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 1.4em;
}

.form__status:empty {
  display: none;
}

.form__status--ok {
  color: var(--color-green);
}

.form__status--error {
  color: #9b3b3b;
}

.contact-form.is-sending .btn--contact-send {
  opacity: 0.72;
  pointer-events: none;
}

/* Sikeres kapcsolatküldés modal */
.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0.35s;
}

.contact-success-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
}

.contact-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 82, 58, 0.45);
}

.contact-success-modal__panel {
  position: relative;
  width: min(92vw, 26rem);
  padding: clamp(1.75rem, 4vw, 2.35rem) clamp(1.5rem, 3.5vw, 2rem);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(43, 82, 58, 0.22);
  border-top: 3px solid var(--color-gold);
  text-align: center;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
}

.contact-success-modal.is-visible .contact-success-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-success-modal__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.35;
}

.contact-success-modal__text {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .contact-success-modal,
  .contact-success-modal__panel {
    transition: none;
  }

  .contact-success-modal__panel {
    transform: none;
  }
}

.btn--contact-send {
  margin-top: 0.35rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  background: #5a735e;
  color: var(--color-white);
  border: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn--contact-send:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn--contact-send:focus-visible {
  outline: 2px solid #5a735e;
  outline-offset: 3px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: clamp(2.75rem, 5vw, 3.75rem) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.footer__logo {
  margin: 0 0 1.15rem;
  line-height: 0;
}

.footer__logo img {
  display: block;
  height: clamp(3.35rem, 6vw, 4.25rem);
  width: auto;
}

.footer__about {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--color-white);
  margin: 0;
  max-width: min(100%, 38rem);
  opacity: 0.95;
}

.footer__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.03em;
  color: var(--color-white);
  margin: 0 0 1.15rem;
}

.footer__contact,
.footer__social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer__contact li:last-child {
  margin-bottom: 0;
}

.footer__contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  color: var(--color-white);
  margin-top: 0.12rem;
}

.footer__contact-icon svg {
  display: block;
}

.footer__contact-text,
.footer__contact-link {
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.95;
}

.footer__contact-link {
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__contact-link:hover {
  color: var(--color-gold);
  opacity: 1;
}

.footer__social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.footer__social-icons li {
  margin: 0;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  line-height: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__social-btn:hover {
  color: var(--color-gold);
  transform: translateY(-2px);
}

.footer__social-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  color: var(--color-gold);
}

.footer__social-btn .social-icon,
.kapcsolat-hero-panel__social-btn .social-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__bar-inner {
  padding: 1.2rem 0 1.35rem;
  text-align: center;
}

.footer__legal {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--color-gold);
  opacity: 0.92;
}

.footer__legal-sep {
  margin: 0 0.4rem;
  opacity: 0.75;
}

.footer__legal-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(195, 183, 142, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__legal-link:hover {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ——— Aloldal: Kozmetikai kezelések ——— */
.subpage-kicker {
  font-family: var(--font-gold-script);
  font-size: var(--fs-section-gold-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.section-head--center .subpage-kicker {
  text-align: center;
}

/* Aloldal hero: egységes magasság + szöveg kicsit lejjebb a tetejétől */
.page-hero {
  --page-hero-pad-y: clamp(2.75rem, 4vw, 3.75rem);
  /* ~36% viewport — kicsit magasabb hero */
  --page-hero-h: max(calc(var(--screen-fill) * 0.36), calc(var(--page-hero-pad-y) * 2 + 15rem));
  position: relative;
  padding: 0;
  overflow: hidden;
  height: var(--page-hero-h);
  min-height: var(--page-hero-h);
  max-height: var(--page-hero-h);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: var(--color-white);
  container-type: inline-size;
  container-name: page-hero-grid;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
  width: 100%;
  /* Enyhe lefelé tolás — egységes minden aloldalon */
  padding-top: clamp(0.85rem, 2.2vh, 1.75rem);
  box-sizing: border-box;
}

/* Mobil overlay: desktopon átlátszó, váltáskor lágyan erősödik */
.page-hero__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--hero-mobile-overlay, #12110dc9);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  margin-left: calc(
    (100cqw - min(var(--container), calc(100cqw - 2 * var(--layout-gutter)))) / 2
  );
  margin-right: 0;
  padding-block: var(--page-hero-pad-y);
  padding-inline: 0;
  padding-right: clamp(1.25rem, 3.5vw, 2.75rem);
  width: min(var(--hero-content-max), 100%);
  min-width: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--color-white) 0%,
    var(--color-white) 58%,
    rgba(255, 255, 255, 0.9) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  transition:
    background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s ease;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-text);
  margin: 0 0 1.35rem;
  letter-spacing: -0.02em;
  transition: color 0.5s ease;
}

.page-hero__lead {
  color: var(--color-text-muted);
  margin: 0 0 1.85rem;
  line-height: 1.7;
  max-width: min(36rem, 100%);
  transition: color 0.5s ease;
}

.page-hero__cta {
  align-self: flex-start;
}

.page-hero__cta--uppercase {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/*
 * Árlista / házirend: nincs átmenetes hero-overlay (se desktop, se mobil).
 * A többi aloldalhoz hasonlóan tiszta fehér + jobb oldali kép.
 */
.page-hazirend .page-hero__grid::before,
.page-arlista .page-hero__grid::before,
.page-kapcsolat .page-hero__grid::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.page-hazirend .page-hero.page-hero--hazirend,
.page-arlista .page-hero.page-hero--hazirend,
.page-kapcsolat .page-hero.page-hero--hazirend {
  background-color: var(--color-white);
  background-image: none;
}

@media (min-width: 1025px) {
  .page-rolam .page-hero__content {
    position: relative;
    z-index: 2;
  }
}

a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.service-card:hover,
a.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-gold) 55%, transparent);
  background-color: color-mix(in srgb, var(--color-gold) 8%, var(--color-white));
  box-shadow:
    0 14px 34px rgba(43, 74, 66, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.06);
}

a.service-card:hover .service-card__title,
a.service-card:focus-visible .service-card__title {
  color: var(--color-gold);
}

a.service-card:hover .service-card__icon img,
a.service-card:focus-visible .service-card__icon img {
  transform: scale(1.06);
}

a.service-card .service-card__title,
a.service-card .service-card__icon img {
  transition:
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

a.service-card:focus-visible {
  outline: 2px solid var(--color-gold, #b8a06e);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  a.service-card .service-card__title,
  a.service-card .service-card__icon img {
    transition: none;
  }

  a.service-card:hover,
  a.service-card:focus-visible {
    transform: none;
  }
}

/* Házirend / árlista / kapcsolat:
 * - a panel felülről fix helyen marad
 * - a képáv fix magas (nem nő a panellel)
 * - a következő szekció a panel UTÁN jön a flow-ban → mindig van rés */
.page-hazirend,
.page-kapcsolat,
.page-arlista {
  --hazirend-panel-gap: clamp(2rem, 4.5vw, 3rem);
  background: var(--color-white);
}

.page-hero--hazirend {
  height: auto;
  min-height: var(--page-hero-h);
  max-height: none;
  overflow: visible;
  position: relative;
  z-index: 2;
  background-color: var(--color-white);
}

/* Kép csak a fix hero-ávon — ne nyúljon a panel alá, ne tolja a vizuális pozíciót */
.page-hero--hazirend > .page-hero__image-bg {
  bottom: auto;
  height: var(--page-hero-h);
}

.page-hero--hazirend .page-hero__grid {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  min-height: var(--page-hero-h);
  /* Felülről azonos távolság — a többi aloldal hero szövegével egy vonalban, kicsit lejjebb */
  padding-top: clamp(4.25rem, 8.5vh, 5.75rem);
  padding-bottom: 0;
  box-sizing: border-box;
}

/* Kapcsolat: rövidebb panel — a képáv aljához, mint az árlista / házirend blokk */
.page-kapcsolat .page-hero--hazirend .page-hero__grid {
  justify-content: flex-end;
  align-items: stretch;
}

/* Ne legyen width: 100% — felülírná a .container szélességét */
.hazirend-hero__panel-row {
  position: relative;
  z-index: 2;
  max-width: 100%;
  /* A rés a panel alatt: a következő szekció ettől lejjebb kezdődik */
  margin-bottom: var(--hazirend-panel-gap);
}

.hazirend-hero-panel {
  width: 100%;
  margin-inline: 0;
  margin-bottom: 0;
  padding: clamp(1.85rem, 3.8vw, 2.85rem) clamp(1.35rem, 3.5vw, 2.25rem);
  border-radius: var(--radius-card);
  background: var(--color-green);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  text-align: center;
  box-sizing: border-box;
  transform: none;
}

.hazirend-hero-panel__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-white);
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.hazirend-hero-panel__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.96);
  margin: -0.35rem 0 1rem;
}

.hazirend-hero-panel__lead {
  margin: 10px auto;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.94);
  max-width: 1100px;
}

/* Kapcsolat aloldal: ugyanaz a lebegő panel, balra szöveg, jobbra két oszlop elérhetőség */
.hazirend-hero-panel.kapcsolat-hero-panel {
  text-align: left;
}

/* Cím | három soros szöveg | elérhetőség (képernyőképes vízszintes elrendezés) */
.kapcsolat-hero-panel__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 3.2vw, 2.75rem);
  align-items: center;
}

.kapcsolat-hero-panel__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-white);
  margin: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.kapcsolat-hero-panel__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.45vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.kapcsolat-hero-panel__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.kapcsolat-hero-panel__col {
  min-width: 0;
}

.kapcsolat-hero-panel__row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.kapcsolat-hero-panel__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.08rem;
  color: rgba(255, 255, 255, 0.95);
}

.kapcsolat-hero-panel__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.kapcsolat-hero-panel__link {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.kapcsolat-hero-panel__link:hover {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.kapcsolat-hero-panel__row--social {
  gap: 0.85rem;
  align-items: center;
  /* Ugyanott kezdődik, mint az e-mail szövege (ikon + rés a fenti sorokkal) */
  padding-left: calc(20px + 0.6rem);
}

/* Csak a jelképek, keret / kör nélkül */
.kapcsolat-hero-panel__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.12rem;
  border: 0;
  background: none;
  color: var(--color-white);
  line-height: 0;
  opacity: 0.88;
  transform: translateY(0);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.kapcsolat-hero-panel__social-btn:hover {
  color: var(--color-gold);
  opacity: 1;
  transform: translateY(-1px);
}

.kapcsolat-hero-panel__social-btn:focus-visible {
  outline: none;
  color: var(--color-gold);
  opacity: 1;
  transform: translateY(-1px);
}

.kapcsolat-hero-panel__social-btn svg,
.kapcsolat-hero-panel__social-btn .social-icon {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 900px) {
  .kapcsolat-hero-panel__inner {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
  }

  .kapcsolat-hero-panel__title {
    white-space: normal;
    text-align: center;
  }

  .kapcsolat-hero-panel__lead {
    text-align: center;
  }

  .kapcsolat-hero-panel__details {
    grid-template-columns: 1fr;
    justify-items: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .kapcsolat-hero-panel__col {
    width: 100%;
    max-width: 100%;
  }

  .kapcsolat-hero-panel__row {
    display: grid;
    grid-template-columns: 20px auto;
    column-gap: 0.6rem;
    align-items: start;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .kapcsolat-hero-panel__icon {
    margin-top: 0;
  }

  .kapcsolat-hero-panel__row--social {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    width: 100%;
  }

}

/* Kapcsolat / házirend / árlista: következő szekció — nincs negatív margin, nem takarja a panel */
.contact.contact--after-overlap-hero {
  margin-top: 0;
  padding-top: var(--section-space);
  min-height: auto;
}

@media (max-width: 900px) {
  .page-hero--hazirend .page-hero__grid {
    padding-top: clamp(3.25rem, 7vh, 4.25rem);
    padding-bottom: 0;
  }

  .page-kapcsolat .page-hero--hazirend .page-hero__grid {
    justify-content: flex-end;
    padding-top: clamp(1.5rem, 3vh, 2.25rem);
  }

  .hazirend-hero__panel-row {
    margin-bottom: clamp(2.25rem, 5vw, 3rem);
  }

  .hazirend-rules-section,
  .contact.contact--after-overlap-hero,
  .arlista-content {
    margin-top: 0;
    padding-top: var(--section-space);
  }
}

.contact.contact--after-overlap-hero .contact__split {
  min-height: auto;
}

.contact.contact--after-overlap-hero .contact__media {
  height: auto;
  min-height: min(68vh, 680px);
  max-height: min(82vh, 820px);
  position: relative;
  top: auto;
  align-self: stretch;
}

.contact.contact--after-overlap-hero .contact__form-wrap {
  min-height: auto;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

/* Házirend: fehér szabályszekció a panel alatt, tiszta réssel */
.hazirend-rules-section {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: var(--color-white);
}

.hazirend-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.hazirend-rules__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.15rem;
  align-items: start;
  margin-bottom: clamp(1.65rem, 3vw, 2.35rem);
}

.hazirend-rules__item:last-of-type {
  margin-bottom: 0;
}

.hazirend-rules__mark {
  color: var(--color-gold);
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 500;
  margin-top: 0.12rem;
}

.hazirend-rules__stack {
  min-width: 0;
}

.hazirend-rules-section .hazirend-rules__title {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 0.45rem;
  line-height: 1.35;
}

.hazirend-rules-section .hazirend-rules__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  line-height: 1.72;
  color: var(--color-text-muted);
}

.hazirend-rules__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  padding-top: 0.25rem;
}

.hazirend-rules__back {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
}

/* ——— Adatkezelési / Datenschutzerklärung ——— */
.legal-doc {
  position: relative;
  z-index: 1;
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.legal-doc__inner {
  max-width: 48rem;
}

.legal-doc__meta {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.35rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-doc__meta p {
  margin: 0 0 0.2rem;
}

.legal-doc__meta a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-doc__meta a:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.legal-doc__brand {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  color: var(--color-text);
  margin-bottom: 0.55rem !important;
}

.legal-doc__section {
  margin-bottom: clamp(1.75rem, 3.2vw, 2.35rem);
}

.legal-doc__section:last-child {
  margin-bottom: 0;
}

.legal-doc__section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.55vw, 1.15rem);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.legal-doc__text {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-doc__text:last-child {
  margin-bottom: 0;
}

.legal-doc__text a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold);
  transition: color 0.2s ease;
}

.legal-doc__text a:hover {
  color: var(--color-gold);
}

.legal-doc__list {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-doc__list li {
  margin-bottom: 0.2rem;
}

@media (prefers-reduced-motion: reduce) {
  .hazirend-hero-panel {
    transform: none;
  }

  .hazirend-rules-section,
  .arlista-content,
  .contact.contact--after-overlap-hero {
    margin-top: 0;
    padding-top: var(--section-space);
  }
}

/* ——— Árlista aloldal ——— */
.arlista-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: var(--color-white);
  /* 100vw-s full-bleed vonal ne okozzon vízszintes görgetősávot (scrollbar vs. vw) */
  overflow-x: hidden;
  overflow-x: clip;
}

.price-nav-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1rem);
  margin: 0 0 clamp(2.25rem, 4vw, 3.25rem);
  padding: 0;
  list-style: none;
}

.price-nav-cards__item {
  margin: 0;
  padding: 0;
  display: flex;
  min-height: 0;
}

.price-nav-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 9.25rem;
  width: 100%;
  padding: 1rem 0.5rem 0.85rem;
  box-sizing: border-box;
  border: 1px solid rgba(43, 74, 66, 0.15);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: var(--color-text);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

.price-nav-card:hover,
.price-nav-card:focus-visible {
  border-color: rgba(195, 183, 142, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), inset 0 -3px 0 0 var(--color-gold);
  transform: translateY(-5px);
}

.price-nav-card:hover .price-nav-card__label,
.price-nav-card:focus-visible .price-nav-card__label {
  color: var(--color-gold);
}

.price-nav-card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .price-nav-card {
    transition-duration: 0.01ms;
  }

  .price-nav-card:hover,
  .price-nav-card:focus-visible {
    transform: none;
  }
}

.price-nav-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-bottom: 0.65rem;
  color: var(--color-gold);
}

.price-nav-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.price-nav-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price-nav-card__label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.28;
  font-weight: 400;
  padding: 0 0.15rem;
  transition: color 0.22s ease;
}

.price-block {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h, 80px) + 1.25rem);
}

.arlista-content .price-block + .price-block {
  position: relative;
  margin-top: clamp(2rem, 3.8vw, 2.85rem);
  padding-top: clamp(2rem, 3.8vw, 2.85rem);
  border-top: none;
}

.arlista-content .price-block + .price-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--color-gold) 42%, transparent) 18%,
    color-mix(in srgb, var(--color-gold) 42%, transparent) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.price-block:last-child {
  margin-bottom: 0;
}

.price-block__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 400;
  color: var(--color-gold);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.arlista-content .price-block__title {
  color: var(--color-green-dark);
  text-align: center;
  margin-bottom: clamp(1.35rem, 2.6vw, 1.9rem);
}

.price-block__group-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 1.5rem 0 0.65rem;
}

.price-block__group-title:first-child {
  margin-top: 0;
}

.arlista-content .price-table thead th.price-table__th--group,
.arlista-content .price-table thead th.price-table__th--category {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.75vw, 1.35rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
  padding: 0.88rem 1rem;
  line-height: 1.35;
}

.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.35rem;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-card);
  border: 1px solid rgba(43, 74, 66, 0.08);
  background: #fcfcfb;
  box-shadow: 0 3px 14px rgba(43, 74, 66, 0.05);
}

.price-table-wrap:last-child {
  margin-bottom: 0;
}

.price-table {
  width: 100%;
  min-width: min(100%, 520px);
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-text);
}

/* Beljebb húzott szélek: 2 oszlopos + többoszlopos bal oszlop egy vonalban */
.arlista-content .price-table {
  --price-inset-x: 2.75rem;
}

.arlista-content .price-table thead tr.price-table__head-row--cols th:first-child,
.arlista-content .price-table tbody td.price-table__service {
  padding-left: var(--price-inset-x);
  padding-right: 0.85rem;
}

/* 2–3 oszlopos kártyákon az árak mindig ugyanott legyenek */
.arlista-content .price-table thead tr.price-table__head-row--cols th:not(:first-child),
.arlista-content .price-table tbody td.price-table__price,
.arlista-content .price-table tbody td.price-table__dash {
  width: 6.75rem;
  text-align: right;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.arlista-content .price-table--sizes thead tr.price-table__head-row--cols th:not(:first-child),
.arlista-content .price-table--sizes tbody td.price-table__price,
.arlista-content .price-table--sizes tbody td.price-table__dash {
  width: auto;
  min-width: 4.25rem;
  text-align: center;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.arlista-content .price-table--sizes {
  min-width: min(100%, 640px);
}

/* Külső szélek beljebb — 2 oszlopos ár + többoszlopos utolsó oszlop */
.arlista-content .price-table thead tr.price-table__head-row--cols th:last-child,
.arlista-content .price-table tbody td:last-child {
  padding-right: var(--price-inset-x);
}

.price-table thead th {
  background: var(--color-green);
  color: var(--color-white);
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: center;
  padding: 0.7rem 0.8rem;
  border: none;
}

.price-table thead th.price-table__th--category {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  letter-spacing: 0.02em;
  padding-top: 0.78rem;
  padding-bottom: 0.78rem;
}

.price-table thead tr.price-table__head-row--cols th:first-child {
  text-align: left;
}

.price-table thead th:first-child:not(.price-table__th--category):not(.price-table__th--group) {
  text-align: left;
}

.price-table tbody td {
  padding: 0.65rem 0.8rem;
  border: none;
  vertical-align: middle;
}

.arlista-content .price-table tbody tr td {
  background: var(--color-white);
}

.price-table__desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92em;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.price-table td.price-table__service {
  text-align: left;
}

.price-table td.price-table__price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.arlista-content .price-table td.price-table__price,
.arlista-content .price-table td.price-table__dash {
  text-align: right;
}

.arlista-content .price-table td.price-table__price {
  white-space: nowrap;
}

.price-table td.price-table__price--center,
.arlista-content .price-table--sizes td.price-table__price,
.arlista-content .price-table--sizes td.price-table__dash,
.arlista-content .price-table--sizes thead tr.price-table__head-row--cols th:not(:first-child) {
  text-align: center;
}

.price-table .price-table__na {
  text-align: center;
  color: var(--color-text-muted);
}

.price-table .price-table__dash {
  text-align: center;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .price-nav-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .price-nav-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-nav-card {
    min-height: 8.5rem;
  }
}

/* Árlista: mobil / keskeny képernyő — nincs vízszintes görgetés, sorok kártyaként */
@media (max-width: 900px) {
  .arlista-content .price-table {
    --price-inset-x: 1.1rem;
  }

  .arlista-content .price-table-wrap {
    overflow-x: visible;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: auto;
  }

  .arlista-content .price-table {
    min-width: 0;
    width: 100%;
    display: block;
    border-collapse: separate;
    border-spacing: 0;
  }

  /* Csoportcím a táblában: látható, nagyobb; oszlopfejlécek csak képernyőolvasónak */
  .arlista-content .price-table thead {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0.65rem;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    display: block;
  }

  .arlista-content .price-table thead tr.price-table__head-row--cols {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .arlista-content .price-table thead tr.price-table__head-row--group {
    display: block;
  }

  .arlista-content .price-table thead tr.price-table__head-row--group th {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-card);
    font-family: var(--font-serif);
    font-size: clamp(1.12rem, 4.2vw, 1.35rem);
    font-weight: 400;
    padding: 0.75rem 0.9rem;
    line-height: 1.35;
  }

  .arlista-content .price-table tbody {
    display: block;
  }

  .arlista-content .price-table tbody tr {
    display: block;
    margin-bottom: 0.7rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(43, 74, 66, 0.08);
    border-radius: var(--radius-card);
    background: #fcfcfb;
    box-shadow: 0 2px 10px rgba(43, 74, 66, 0.04);
    overflow: hidden;
  }

  .arlista-content .price-table tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0;
    border: none;
    border-bottom: 1px solid rgba(43, 74, 66, 0.1);
    background: transparent !important;
  }

  .arlista-content .price-table tbody tr td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .arlista-content .price-table tbody td.price-table__service {
    font-weight: 600;
    margin: -0.65rem -0.8rem 0.55rem;
    padding: 0.65rem 0.8rem;
    width: auto;
    border-bottom: none;
    text-align: left;
    color: var(--color-white);
    background: var(--color-green) !important;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
  }

  /* Leírás zöld háttéren: ne maradjon zöld szöveg */
  .arlista-content .price-table tbody td.price-table__service .price-table__desc {
    color: rgba(255, 255, 255, 0.88);
  }

  .arlista-content .price-table tbody td:not(.price-table__service) {
    display: block;
    text-align: left;
  }

  .arlista-content .price-table tbody td:not(.price-table__service)::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
    text-align: left;
  }

  .arlista-content .price-table tbody td.price-table__price,
  .arlista-content .price-table tbody td.price-table__dash {
    text-align: left;
    white-space: normal;
    font-variant-numeric: tabular-nums;
  }

  /* Méretes mátrixok: kártyán belül méret→ár rács (nem összenyomott tábla) */
  .arlista-content .price-table-wrap:has(.price-table--sizes) {
    overflow-x: visible;
  }

  .arlista-content .price-table--sizes {
    display: block;
    min-width: 0;
    width: 100%;
    table-layout: auto;
  }

  .arlista-content .price-table--sizes thead {
    display: block;
  }

  .arlista-content .price-table--sizes thead tr.price-table__head-row--group {
    display: block;
  }

  .arlista-content .price-table--sizes thead tr.price-table__head-row--group th {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-card);
    font-family: var(--font-serif);
    font-size: clamp(1.12rem, 4.2vw, 1.35rem);
    font-weight: 400;
    padding: 0.75rem 0.9rem;
    line-height: 1.35;
  }

  .arlista-content .price-table--sizes thead tr.price-table__head-row--cols {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .arlista-content .price-table--sizes tbody {
    display: block;
  }

  .arlista-content .price-table--sizes tbody tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.25rem, 1fr));
    gap: 0.55rem 0.45rem;
    align-items: stretch;
    margin-bottom: 0.7rem;
    padding: 0.65rem 0.8rem 0.85rem;
    border: 1px solid rgba(43, 74, 66, 0.08);
    border-radius: var(--radius-card);
    background: #fcfcfb;
    box-shadow: 0 2px 10px rgba(43, 74, 66, 0.04);
    overflow: hidden;
  }

  .arlista-content .price-table--sizes tbody td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0.55rem 0.35rem;
    border: 1px solid rgba(43, 74, 66, 0.1);
    border-radius: var(--radius-card);
    background: var(--color-white) !important;
    text-align: center;
    box-sizing: border-box;
  }

  .arlista-content .price-table--sizes tbody tr td:last-child {
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(43, 74, 66, 0.1);
  }

  .arlista-content .price-table--sizes tbody td.price-table__service {
    grid-column: 1 / -1;
    display: block;
    font-weight: 600;
    margin: -0.65rem -0.8rem 0.15rem;
    padding: 0.65rem 0.8rem;
    width: auto;
    border: none;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    text-align: left;
    color: var(--color-white);
    background: var(--color-green) !important;
  }

  .arlista-content .price-table--sizes tbody td:not(.price-table__service)::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    text-align: center;
  }

  .arlista-content .price-table--sizes tbody td.price-table__price,
  .arlista-content .price-table--sizes tbody td.price-table__dash {
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
}

.split-info {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.split-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: start;
}

.split-info__media {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  /* Álló képkeret — enyhén alacsonyabb, mint 4/5 */
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-media);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  line-height: 0;
  background: transparent;
  box-shadow: none;
}

.split-info__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  /* PNG beégetett keret + árnyék levágása */
  transform: scale(1.18);
  transform-origin: center center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

/* Kereten belül felfelé igazítva: a kép teteje látszik, alul vágódik */
.split-info__img--focus-top {
  object-position: center 18%;
}

/* Piercing: a kép picivel lejjebb a keretben */
.page-piercing .split-info__img {
  object-position: center 22%;
}

.split-info__body .subpage-kicker {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin-bottom: 0.5rem;
  color: var(--color-gold);
}

.split-info__title.section-title {
  font-weight: 400;
  line-height: 1.22;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.split-info__body p:not(.subpage-kicker) {
  margin-bottom: 1em;
  color: var(--color-text-muted);
  line-height: 1.72;
  max-width: 38rem;
}

.split-info__body p:last-of-type {
  margin-bottom: 1.35rem;
}

.split-info .checklist {
  gap: 0.85rem;
}

.split-info .checklist__item {
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.55;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
}

/* Pipa helyett arany pont — közép a szöveg első sorának középvonalán */
.checklist__mark {
  --checklist-dot: 0.42em;
  flex-shrink: 0;
  align-self: flex-start;
  box-sizing: border-box;
  width: var(--checklist-dot);
  height: var(--checklist-dot);
  min-width: var(--checklist-dot);
  /* em a checklist__item fontjához igazodik */
  font-size: 1em;
  line-height: 1;
  /* Első sor line-box közepe − pont sugara */
  margin-top: calc((1.55em - var(--checklist-dot)) / 2);
  color: transparent;
  overflow: hidden;
  display: block;
  background: var(--color-gold);
  border-radius: 50%;
}

.process-section {
  padding: var(--section-space) 0;
  background: var(--color-green);
}

.process-section__head.section-head {
  margin-bottom: clamp(2rem, 3.8vw, 3rem);
}

.process-section__title.section-title {
  color: var(--color-white);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.process-section__intro.section-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  max-width: 36rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.95);
}

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

.process-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-gallery-ref);
  padding: clamp(1.35rem, 2.4vw, 1.75rem) clamp(1.1rem, 2vw, 1.45rem);
  text-align: center;
  box-sizing: border-box;
}

.process-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0 auto 1.05rem;
}

.process-card__icon img {
  display: block;
  height: clamp(56px, 7vw, 72px);
  width: auto;
  max-width: min(100%, 140px);
  object-fit: contain;
}

.process-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--color-green-dark);
  margin-top: 0;
  margin-bottom: 1.25rem;
  overflow-wrap: anywhere;
}

.process-card__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-p);
  line-height: 1.6;
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
}

@media (min-width: 901px) {
  .process-section .process-card__icon {
    margin-bottom: clamp(0.75rem, 1.15vw, 1.05rem);
  }

  .process-section .process-card__icon img {
    height: clamp(48px, 5.2vw, 68px);
  }

  .process-section .process-card__title {
    font-size: clamp(1.12rem, 1.45vw, 1.4rem);
    margin-bottom: clamp(0.9rem, 1.25vw, 1.2rem);
  }
}

.service-showcase {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.service-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.service-showcase--media-right .service-showcase__media {
  order: 2;
}

.service-showcase--media-right .service-showcase__body {
  order: 1;
}

.service-showcase__media {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-media);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  line-height: 0;
  background: transparent;
  box-shadow: none;
}

.service-showcase__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  /* Valódi fotóknál ne zoomoljon rá — a keret mérete (aspect-ratio) megmarad */
  transform: none;
  /* Lekerekítés az img-en is — sticky overflow:visible esetén is megmarad */
  border-radius: var(--radius-media);
  box-shadow: none;
}


/* Kozmetikai oldal: négyzetes kép */
.page-kozmetikai .service-showcase__media {
  aspect-ratio: 1 / 1;
}

/* Manikűr oldal: enyhén álló kép (magasság kicsit > szélesség) + középre igazított szöveg */
.page-manikur .service-showcase__media {
  aspect-ratio: 14 / 15;
}

.page-kozmetikai .service-showcase__grid {
  align-items: start;
}

.page-manikur .service-showcase__grid {
  align-items: center;
}

.page-manikur .service-showcase__body {
  align-self: center;
  justify-self: center;
  width: min(100%, 42rem);
}

@media (min-width: 1025px) {
  .page-kozmetikai .service-showcase__media,
  .page-manikur .service-showcase__media {
    align-self: start;
    position: sticky;
    top: calc(var(--header-outer-h) + 1.25rem);
  }
}

/* Aloldal: szolgáltatás-blokk csak cím + szöveg (accordion nélkül) */
.page-manikur .service-showcase__body > p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.72;
  max-width: 38rem;
}

.service-showcase__title {
  margin: 0 0 1.25rem;
}

.service-panels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-panels--accordion {
  gap: 0;
  border: 1px solid var(--service-acc-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.service-panels--accordion .service-panel {
  background: var(--color-white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  box-sizing: border-box;
}

.service-panels--accordion > li + li .service-panel {
  border-top: 1px solid var(--service-acc-border);
}

.service-panel__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.3rem);
  background-color: var(--color-white);
  background-image: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
  transition: background-color 0.35s ease;
}

.service-panel__trigger:hover {
  background-color: color-mix(in srgb, var(--color-gold) 16%, var(--color-white));
  background-image: none;
}

.service-panel.is-open .service-panel__trigger {
  border-bottom: none;
}

.service-panel__trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.service-panels--accordion .service-panel__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  order: 1;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.service-panel__expand {
  flex-shrink: 0;
  width: 1.35rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  order: -1;
  opacity: 0.92;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.service-panel__trigger:hover .service-panel__expand {
  opacity: 1;
  color: var(--color-gold-hover);
}

.service-panel__expand::before {
  content: "+";
}

.service-panel.is-open .service-panel__expand::before {
  content: "−";
}

/* Nincs magasság-animáció: a keret egyszerre jelenik meg, nem „rajzolódik” lefelé */
.service-panel__overflow {
  display: grid;
  grid-template-rows: 0fr;
  transition: none;
}

.service-panel.is-open .service-panel__overflow {
  grid-template-rows: 1fr;
}

.service-panel__overflow-inner {
  overflow: hidden;
  min-height: 0;
}

.service-panel__panel {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.service-panel.is-open .service-panel__panel {
  border-top: 1px solid var(--service-acc-border);
  background: linear-gradient(165deg, var(--color-off-white) 0%, var(--color-white) 42%, #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.service-panel__panel-inner {
  padding: clamp(1.05rem, 2.2vw, 1.35rem) clamp(1.15rem, 2.2vw, 1.45rem) clamp(1.1rem, 2.2vw, 1.4rem);
  text-align: left;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-panel.is-open .service-panel__panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.service-panel__panel-inner p {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
}

.service-panel__panel-inner p:last-child {
  margin-bottom: 0;
}

.service-panel__list {
  margin: 0.35rem 0 0;
  padding: 0 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.service-panel__list li {
  margin-bottom: 0.35rem;
}

.service-panel__list li:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .service-panel__overflow {
    transition: none;
  }

  .service-panel__panel-inner {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .service-panel:not(.is-open) .service-panel__panel {
    display: none;
  }
}

.cta-banner--tight {
  padding: var(--section-space) 0;
}

.cta-banner--tight .cta-banner__title {
  margin-bottom: 1.35rem;
}

/* Aloldal-galéria képek: assets/imgs/page-gallery/<kozmetikai|manikur|callux|lifting>/01.png … 12.png (lásd HTML megjegyzés az adott oldalon). */
.page-gallery-section {
  padding: var(--section-space) 0;
  background: var(--color-white);
}

.page-gallery-section__head.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-gallery-section__title.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.page-gallery-section__intro.section-subtitle {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.page-gallery {
  max-width: 100%;
  min-width: 0;
}

.page-gallery__stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.page-gallery__carousel {
  position: relative;
  width: 100%;
}

.page-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-gold);
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(43, 74, 66, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.page-gallery__nav--prev {
  left: 0.35rem;
  transform: translateY(-50%);
}

.page-gallery__nav--next {
  right: 0.35rem;
  transform: translateY(-50%);
}

.page-gallery__nav:hover:not(:disabled) {
  background: var(--color-green);
  color: var(--color-gold);
  box-shadow: 0 4px 22px rgba(43, 74, 66, 0.14), 0 2px 8px rgba(0, 0, 0, 0.07);
}

.page-gallery__nav--prev:hover:not(:disabled) {
  transform: translateY(-50%) translateX(-3px);
}

.page-gallery__nav--next:hover:not(:disabled) {
  transform: translateY(-50%) translateX(3px);
}

.page-gallery__nav:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}

.page-gallery__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: 0 1px 8px rgba(43, 74, 66, 0.08);
}

.page-gallery__nav:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Görgető = CQ konténer: 100cqi = látható sáv szélessége → 4 oszlop */
.page-gallery__viewport {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  container-type: inline-size;
  container-name: pg;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-gallery__viewport::-webkit-scrollbar {
  display: none;
}

/* JS animáció közben a snap ne üssön össze a frame-enkénti scrollLeft-tel */
.page-gallery__viewport--animating {
  scroll-snap-type: none;
}

.page-gallery__track {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem 0 0.15rem;
  align-items: stretch;
  box-sizing: border-box;
}

.page-gallery__slide {
  position: relative;
  scroll-snap-align: start;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 0;
  /* 3:4 — közelebb a tipikus fotókhoz, kevesebb cover-kropp / „zoom” */
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-media);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  line-height: 0;
  background: transparent;
  cursor: pointer;
}

.page-gallery__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 transparent;
  opacity: 0;
  transition:
    opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.page-gallery__slide:hover::after,
.page-gallery__slide:focus-visible::after {
  opacity: 1;
  box-shadow: inset 0 0 0 2px var(--color-gold);
}

.page-gallery__slide:focus-visible {
  outline: none;
}

/* Böngészők container query nélkül: keskeny cellák, görgetés */
@supports not (container-type: inline-size) {
  .page-gallery__track {
    width: max-content;
    min-width: 100%;
  }

  .page-gallery__slide {
    flex: 0 0 clamp(140px, 22vw, 220px);
  }
}

/* Széles sáv: egyszerre pontosan 4 kép látszik (1/4 + 3 rés), a többi lapozással */
@container pg (min-width: 960px) {
  .page-gallery__track {
    width: max-content;
    min-width: 100%;
  }

  .page-gallery__slide {
    flex: 0 0 calc((100cqi - 1.5rem) / 4);
  }
}

/* Közép: kb. 2 kép látszik, lapozható */
@container pg (min-width: 480px) and (max-width: 959px) {
  .page-gallery__track {
    width: max-content;
    min-width: 100%;
  }

  .page-gallery__slide {
    flex: 0 0 calc((100cqi - 0.5rem) / 2);
  }
}

/* Keskeny: 1 kép oldalanként */
@container pg (max-width: 479px) {
  .page-gallery__track {
    width: max-content;
    min-width: 100%;
  }

  .page-gallery__slide {
    flex: 0 0 100cqi;
  }
}

.page-gallery__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: none;
  border-radius: var(--radius-media);
  box-shadow: none;
}

.page-gallery__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0;
  flex-wrap: wrap;
  width: 100%;
}

.page-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(43, 74, 66, 0.22);
  cursor: pointer;
  transition:
    background 0.45s ease,
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-gallery__dot:hover {
  background: rgba(43, 74, 66, 0.35);
}

.page-gallery__dot.is-active {
  background: var(--color-gold);
  transform: scale(1.2);
}

.page-gallery__dot:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ——— Responsive ——— */

/*
 * ≤1024: tablet + mobil közös rácsok (2 oszlop), nem stackelünk —
 * a teljes mobilos overlay / 1 oszlopos layout a 900-as blokkban van.
 */
@media (max-width: 1024px) {
  .page-hazirend,
  .page-kapcsolat,
  .page-arlista {
    --hazirend-panel-gap: clamp(2.25rem, 5vw, 3rem);
  }

  .hazirend-rules-section,
  .contact.contact--after-overlap-hero,
  .arlista-content {
    margin-top: 0;
    padding-top: var(--section-space);
  }

  .process-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services .service-card {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
  }

  /* Vélemények: mobil karusel vezérlők (desktop kontrollok elrejtve) */
  .testimonials__head,
  .testimonials__head .section-title,
  .testimonials__kicker {
    text-align: center;
  }

  .testimonials__cards-row {
    grid-template-columns: 1fr;
  }
}

/*
 * Tablet / iPad (901–1024): desktop layout lényege megmarad,
 * szűkebb tipográfia, gutter és panelek — professzionális mid-range.
 */
@media (min-width: 901px) and (max-width: 1024px) {
  :root {
    --section-space: clamp(3.25rem, 4.5vw, 4.75rem);
    --fs-nav-bar: 1rem;
    --fs-btn-header: 0.9rem;
    --header-h: 72px;
    --fs-h2: 2.25rem; /* tablet: enyhén kisebb, mint a 40px desktop */
    --fs-section-gold-accent: 1.5rem;
    --fs-p: 1rem;
  }

  .nav {
    gap: clamp(0.55rem, 1.3vw, 1rem);
  }

  .nav__list {
    gap: clamp(0.45rem, 1.1vw, 0.9rem);
  }

  .btn--header-cta {
    padding: 0.45rem 0.95rem;
  }

  /* Főoldal hero: képek erősebben a szöveg alá csúsznak */
  .hero__grid {
    gap: 0;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .hero__content {
    width: min(34rem, 100%);
    padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  }

  .hero__media {
    margin-left: clamp(-8rem, -16vw, -3.5rem);
  }

  .hero__image-bg,
  .page-hero__image-bg {
    left: clamp(10%, 18vw, 26%);
  }

  .hero .hero__title {
    font-size: clamp(2.05rem, 3.6vw, 2.75rem);
    line-height: 1.16;
  }

  .hero .hero__lead {
    font-size: var(--fs-p);
    line-height: 1.6;
    max-width: 32rem;
  }

  /* Aloldal hero: split layout, arányos magasság */
  .page-hero {
    --page-hero-pad-y: clamp(1.85rem, 3.2vw, 2.65rem);
    --page-hero-h: max(min(36vh, 400px), calc(var(--page-hero-pad-y) * 2 + 12rem));
  }

  .page-hero__title {
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  }

  /* Why-me: oldalsó elrendezés, sűrűbb padding */
  .why-me__grid {
    padding-right: var(--layout-gutter);
  }

  .why-me__content {
    padding: calc(var(--section-space) * 0.9) clamp(1.65rem, 3.2vw, 2.75rem)
      calc(var(--section-space) * 0.9) clamp(1.5rem, 2.8vw, 2.35rem);
  }

  /* Kapcsolat form: keskenyebb kép-oszlop */
  .contact__media {
    flex: 0 0 36%;
    max-width: 36%;
  }

  .contact__form-wrap {
    padding: var(--section-space) clamp(1.35rem, 3.5vw, 2.75rem);
  }

  .split-info__grid {
    gap: clamp(1.35rem, 3vw, 2.35rem);
  }

  .service-showcase__grid {
    gap: clamp(1.25rem, 2.8vw, 2.15rem);
  }

  .faq__columns {
    gap: 0 clamp(1.15rem, 2.4vw, 1.85rem);
  }

  .footer__grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
    gap: clamp(1.35rem, 2.8vw, 2.15rem);
  }

  .footer__about {
    max-width: 100%;
  }

  /* Kapcsolat lebegő panel: 3 oszlop sűrítve */
  .kapcsolat-hero-panel__inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(0.9rem, 2vw, 1.65rem);
  }

  .kapcsolat-hero-panel__title {
    white-space: normal;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  }

  .kapcsolat-hero-panel__lead {
    font-size: 1rem;
  }

  .kapcsolat-hero-panel__details {
    gap: 0.85rem 1rem;
  }

  .hazirend-hero-panel {
    padding: clamp(1.55rem, 3vw, 2.25rem) clamp(1.2rem, 2.8vw, 1.85rem);
  }

  .hazirend-hero-panel__title {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  }

  /* Árlista navigáció: 3×2 tablet-en */
  .price-nav-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-nav-card {
    min-height: 8.75rem;
    padding: 1rem 0.75rem;
  }

  .page-gallery__nav {
    width: 2.55rem;
    height: 2.55rem;
  }

  .page-gallery__viewport {
    scroll-padding-inline: 0.35rem;
  }

  .process-card {
    padding: clamp(1.15rem, 2vw, 1.45rem) clamp(0.9rem, 1.6vw, 1.2rem);
  }

  .header__inner {
    gap: 1rem;
  }
}

/* Tablet (901–1024) kapcsolat panel: kapcsolat panel 2×2 */
@media (min-width: 901px) and (max-width: 1024px) /* was 769-900 */ {
  .kapcsolat-hero-panel__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas:
      "title details"
      "lead details";
    align-items: start;
    gap: 0.85rem 1.35rem;
  }

  .kapcsolat-hero-panel__title {
    grid-area: title;
    align-self: end;
  }

  .kapcsolat-hero-panel__lead {
    grid-area: lead;
    align-self: start;
  }

  .kapcsolat-hero-panel__details {
    grid-area: details;
    align-self: center;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem 0.65rem;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  /*
   * Mobil: hero kép a tartalom mögött, teljes felületű overlay.
   * Breakpoint: 900px — korábbi váltás + lágy opacity/szín átmenet.
   */
  .hero,
  .page-hero {
    --hero-mobile-overlay: #12110dc9;
  }

  .hero {
    min-height: var(--screen-fill);
  }

  .hero__image-bg {
    left: 0;
    right: 0;
    width: 100%;
  }

  .hero__image-bg img {
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(min(30vh, 300px), auto);
    align-items: stretch;
    position: relative;
    z-index: 1;
    isolation: isolate;
  }

  .hero__media {
    grid-row: 1;
    grid-column: 1;
    order: 0;
    position: absolute;
    inset: 0;
    margin-left: 0;
    min-height: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero__media::after {
    opacity: 1;
  }

  .hero__image-wrap {
    border-radius: 0;
    min-height: 100%;
    height: 100%;
  }

  .hero__image-figure {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero__content {
    grid-row: 1;
    grid-column: 1;
    margin-left: calc(
      (
          100cqw - min(var(--container), calc(100cqw - 2 * var(--layout-gutter)))
        ) /
        2
    );
    margin-right: calc(
      (
          100cqw - min(var(--container), calc(100cqw - 2 * var(--layout-gutter)))
        ) /
        2
    );
    width: min(var(--container), calc(100cqw - 2 * var(--layout-gutter)));
    max-width: 100%;
    justify-self: stretch;
    position: relative;
    z-index: 2;
    padding-block: clamp(2rem, 6vw, 3rem);
    padding-right: 0;
    background: transparent;
  }

  .hero .hero__tagline {
    font-size: max(1rem, calc(var(--fs-section-gold-accent) * 0.92));
  }

  .hero__title {
    color: var(--color-white);
  }

  .hero .hero__title {
    font-size: clamp(2.1rem, 5.4vw, 3.05rem);
    line-height: 1.14;
  }

  .hero__lead {
    color: rgba(255, 255, 255, 0.92);
  }

  .hero .hero__lead {
    font-size: var(--fs-p);
    line-height: 1.6;
  }

  .page-hero__image-bg {
    left: 0;
    right: 0;
    width: 100%;
  }

  .page-hero__image-bg img {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }

  .page-hero {
    --page-hero-pad-y: clamp(2.25rem, 5vw, 3.25rem);
    --page-hero-h: max(min(38vh, 420px), calc(var(--page-hero-pad-y) * 2 + 13.5rem));
  }

  .page-hero__grid {
    position: relative;
    isolation: isolate;
    height: 100%;
    min-height: 0;
    padding-top: clamp(0.65rem, 2vh, 1.25rem);
  }

  .page-hero__grid::before {
    opacity: 1;
  }

  .page-hero__content {
    position: relative;
    z-index: 2;
    margin-left: calc(
      (100cqw - min(var(--container), calc(100cqw - 2 * var(--layout-gutter)))) / 2
    );
    margin-right: calc(
      (100cqw - min(var(--container), calc(100cqw - 2 * var(--layout-gutter)))) / 2
    );
    width: min(var(--container), calc(100cqw - 2 * var(--layout-gutter)));
    max-width: 100%;
    justify-self: stretch;
    padding-block: var(--page-hero-pad-y);
    padding-right: 0;
    background: transparent;
  }

  .page-hero__title {
    color: var(--color-white);
  }

  .page-hero__lead {
    color: rgba(255, 255, 255, 0.9);
  }

  .page-hero__content .subpage-kicker {
    color: var(--color-gold);
  }

  .why-me {
    min-height: auto;
    overflow-x: hidden;
  }

  .why-me__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .why-me__media {
    order: -1;
    width: 100vw;
    min-width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    position: relative;
    min-height: min(52vh, 480px);
    max-height: 65vh;
    aspect-ratio: 4 / 5;
    justify-self: stretch;
    overflow: hidden;
  }

  .why-me__content {
    padding: var(--section-space) clamp(1.5rem, 5vw, 2rem);
    align-items: center;
    text-align: center;
  }

  .why-me__content .stats,
  .why-me__content .stats.stats--why {
    justify-items: center;
    text-align: center;
  }

  .why-me__content .btn--why-cta {
    align-self: center;
  }

  .split-info__grid {
    grid-template-columns: 1fr;
  }

  .split-info__grid--media-right .split-info__media {
    order: -1;
  }

  .service-showcase__grid {
    grid-template-columns: 1fr;
  }

  .page-kozmetikai .service-showcase__grid,
  .page-manikur .service-showcase__grid {
    align-items: start;
  }

  .service-showcase--media-right .service-showcase__media {
    order: -1;
  }

  .service-showcase--media-right .service-showcase__body {
    order: 0;
  }

  .contact {
    min-height: auto;
  }

  .contact__split {
    flex-direction: column;
    min-height: auto;
  }

  .contact__media {
    flex: none;
    max-width: none;
    width: 100%;
    position: relative;
    top: auto;
    align-self: stretch;
    height: auto;
    max-height: none;
    min-height: min(42vh, 420px);
    aspect-ratio: 4 / 3;
  }

  .contact__form-wrap {
    flex: none;
    max-width: none;
    width: 100%;
    padding: var(--section-space) clamp(1.25rem, 5vw, 2rem);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 24px 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 34px rgba(43, 74, 66, 0.08);
    transform-origin: top center;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Zárt állapot: nincs transition — breakpoint váltáskor ne villanjon fel */
    transition: none;
  }

  .site-header.is-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.5s ease,
      visibility 0s;
  }

  /* Bezárás animáció csak manuális záráskor */
  .site-header.is-nav-closing .nav {
    transition:
      transform 0.52s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.42s ease,
      visibility 0s linear 0.52s;
  }

  .site-header.nav-mq-lock .nav,
  .site-header.nav-mq-lock .nav__list > .nav__item,
  .site-header.nav-mq-lock .nav .btn--header-cta,
  .site-header.nav-mq-lock .lang-switch {
    transition: none !important;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav__list > .nav__item,
  .nav .btn--header-cta,
  .lang-switch {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.42s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header.is-open .nav__list > .nav__item,
  .site-header.is-open .nav .btn--header-cta,
  .site-header.is-open .lang-switch {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-open .nav__list > .nav__item:nth-child(1) { transition-delay: 0.08s; }
  .site-header.is-open .nav__list > .nav__item:nth-child(2) { transition-delay: 0.14s; }
  .site-header.is-open .nav__list > .nav__item:nth-child(3) { transition-delay: 0.2s; }
  .site-header.is-open .nav__list > .nav__item:nth-child(4) { transition-delay: 0.26s; }
  .site-header.is-open .nav__list > .nav__item:nth-child(5) { transition-delay: 0.32s; }
  .site-header.is-open .nav .btn--header-cta { transition-delay: 0.38s; }
  .site-header.is-open .lang-switch { transition-delay: 0.44s; }

  .nav .btn--header-cta {
    margin-top: 0.5rem;
    width: 100%;
    align-self: stretch;
    text-align: center;
  }

  .lang-switch {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .nav__sub {
    display: block;
    position: static;
    left: auto;
    top: auto;
    margin: 0.35rem 0 0.15rem 0.5rem;
    padding: 0;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    transition:
      max-height 0.52s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.36s ease,
      visibility 0s linear 0.52s;
  }

  .nav__item--dropdown.is-submenu-open .nav__sub {
    max-height: min(70vh, 22rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      max-height 0.52s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s ease,
      visibility 0s;
  }

  .nav__item--dropdown.is-submenu-open > .nav__link .nav__caret {
    transform: rotate(180deg);
    transform-origin: 50% 35%;
  }

  .nav__sub a {
    padding: 0.4rem 0;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav__item--dropdown > .nav__link .nav__caret {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @media (prefers-reduced-motion: reduce) {
    .nav,
    .nav__sub,
    .nav__sub a,
    .nav__list > .nav__item,
    .nav .btn--header-cta,
    .lang-switch {
      transition: none;
      transform: none;
    }
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__columns {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .faq__col {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .process-section__cards {
    grid-template-columns: 1fr;
  }

  .page-gallery__nav {
    width: 2.4rem;
    height: 2.4rem;
  }

  .page-gallery__nav--prev {
    left: 0.2rem;
  }

  .page-gallery__nav--next {
    right: 0.2rem;
  }
}

/* ——— Welcome coupon popup ——— */

.coupon-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.78s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.78s;
}

.coupon-popup--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.78s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
}

.coupon-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 28, 26, 0.72);
  opacity: 0;
  transition: opacity 0.84s ease;
}

.coupon-popup--visible .coupon-popup__backdrop {
  opacity: 1;
}

.coupon-popup__panel {
  position: relative;
  width: min(92vw, 360px);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #f0efec;
  box-shadow: 0 20px 60px rgba(19, 28, 25, 0.35);
  opacity: 0;
  transform: translateY(22px) scale(0.975);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.78s ease;
  will-change: transform, opacity;
}

.coupon-popup--visible .coupon-popup__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.coupon-popup__title,
.coupon-popup__text,
.coupon-popup__form,
.coupon-popup__close {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.68s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.coupon-popup--visible .coupon-popup__title,
.coupon-popup--visible .coupon-popup__text,
.coupon-popup--visible .coupon-popup__form,
.coupon-popup--visible .coupon-popup__close {
  opacity: 1;
  transform: translateY(0);
}

.coupon-popup--visible .coupon-popup__close {
  transition-delay: 0.18s;
}

.coupon-popup--visible .coupon-popup__title {
  transition-delay: 0.28s;
}

.coupon-popup--visible .coupon-popup__text {
  transition-delay: 0.38s;
}

.coupon-popup--visible .coupon-popup__form {
  transition-delay: 0.5s;
}

.coupon-popup__close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: #223f36;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  opacity: 0.9;
}

.coupon-popup__close:hover {
  opacity: 1;
}

.coupon-popup__image {
  width: 100%;
  height: auto;
  display: block;
}

.coupon-popup__content {
  background: #efefef;
  padding: 1.2rem 1.35rem 1.35rem;
}

.coupon-popup__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4.2vw, 1.95rem);
  letter-spacing: 0.01em;
  color: #3a5c4e;
}

.coupon-popup__text {
  margin: 0.85rem 0 1rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(43, 82, 58, 0.85);
}

.coupon-popup__form {
  display: grid;
  gap: 0.5rem;
}

.coupon-popup__input {
  width: 100%;
  height: 2rem;
  border: 1px solid rgba(195, 183, 142, 0.95);
  border-radius: var(--radius-card);
  background: #f3f3f3;
  padding: 0 0.62rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
}

.coupon-popup__input::placeholder {
  color: rgba(43, 82, 58, 0.56);
}

.coupon-popup__check {
  margin-top: 0.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 1rem;
  line-height: 1.3;
  color: rgba(43, 82, 58, 0.8);
}

.coupon-popup__check-input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.1rem 0 0;
  box-sizing: border-box;
  border: 1px solid rgba(195, 183, 142, 0.85);
  border-radius: var(--radius-sm);
  background-color: #f3f0e8;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem 0.85rem;
  cursor: pointer;
}

.coupon-popup__check-input:checked {
  background-color: var(--color-green);
  border-color: var(--color-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 8.2 6.4 11.6 13.2 4.4'/%3E%3C/svg%3E");
}

.coupon-popup__check a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.coupon-popup__submit {
  margin-top: 0.25rem;
  height: 2.05rem;
  border: none;
  border-radius: var(--radius-card);
  background: var(--color-gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.coupon-popup__submit:hover {
  background: var(--color-gold-hover);
}

@media (max-width: 420px) {
  .coupon-popup__content {
    padding: 1rem 1rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coupon-popup,
  .coupon-popup__backdrop,
  .coupon-popup__panel,
  .coupon-popup__title,
  .coupon-popup__text,
  .coupon-popup__form,
  .coupon-popup__close {
    transition: none;
    transform: none;
  }
}
