/* =========================================================
   HeartCore – Landing látványterv (V4)
   Statikus desktop terv, 1440px vászon.
   Rács: 12 hasáb × 64px, 32px köz, 1120px tartalom, 160px margó.
   Minden méret 8px-es egységben.
   ========================================================= */

@font-face { font-family: "Platypi"; src: url("assets/fonts/Platypi-VariableFont_wght.ttf") format("truetype"); font-weight: 300 800; font-style: normal; }
@font-face { font-family: "Platypi"; src: url("assets/fonts/Platypi-Italic-VariableFont_wght.ttf") format("truetype"); font-weight: 300 800; font-style: italic; }
@font-face { font-family: "Sofia Sans"; src: url("assets/fonts/SofiaSans-VariableFont_wght.ttf") format("truetype"); font-weight: 1 1000; font-style: normal; }
@font-face { font-family: "Sofia Sans"; src: url("assets/fonts/SofiaSans-Italic-VariableFont_wght.ttf") format("truetype"); font-weight: 1 1000; font-style: italic; }
@font-face { font-family: "Sofia Sans Condensed"; src: url("assets/fonts/SofiaSansCondensed-VariableFont_wght.ttf") format("truetype"); font-weight: 1 1000; }

:root {
  /* Arculati színek (brandbook 03) */
  --c-green:  #003D43;
  --c-cream:  #FFDC93;
  --c-gold:   #E4A03A;
  --c-orange: #F26531;
  --c-brown:  #624843;
  --c-black:  #333132;
  --c-white:  #FFFFFF;
  --c-cream-light: #FFF0CC; /* krém 40% – világos szekcióháttér */

  /* Rács */
  --canvas: 1440px;
  --content: 1120px;
  --col: 64px;
  --gutter: 32px;
  --margin: 160px;

  /* Térköz-skála */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;

  /* Tipográfia */
  --f-head: "Platypi", Georgia, serif;
  --f-body: "Sofia Sans", Arial, sans-serif;

  --r-card: 16px; /* minden fotó és doboz (kártyák, űrlap) */
  --r-btn: 8px;   /* gombok, címkék, mezők, beágyazott képek */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  width: var(--canvas);
  margin: 0 auto;
  background: var(--c-white);
  color: var(--c-black);
  font-family: var(--f-body);
  font-size: 18px; line-height: 28px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Rács ---------- */
.container { width: var(--content); margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(12, var(--col)); column-gap: var(--gutter); }

/* Rácsfedvény – a "G" billentyűvel kapcsolható (fejlesztői segédlet) */
.grid-overlay {
  position: fixed; inset: 0; width: var(--content); margin: 0 auto; z-index: 9999;
  pointer-events: none; display: none;
  background: repeating-linear-gradient(90deg, rgba(242,101,49,.14) 0 var(--col), transparent var(--col) calc(var(--col) + var(--gutter)));
}
body.show-grid .grid-overlay { display: block; }

/* ---------- Tipográfia ---------- */
.h1 { font-family: var(--f-head); font-weight: 600; font-size: 64px; line-height: 72px; letter-spacing: -0.5px; }
.h2 { font-family: var(--f-head); font-weight: 600; font-size: 40px; line-height: 48px; }
.h3 { font-family: var(--f-head); font-weight: 600; font-size: 24px; line-height: 32px; }
.lead { font-size: 24px; line-height: 32px; }
.small { font-size: 16px; line-height: 24px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 var(--s3);
  border-radius: var(--r-btn);
  font-family: var(--f-body); font-weight: 800; font-size: 14px; line-height: 16px;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; border: 0;
}
.btn--primary { background: var(--c-orange); color: var(--c-white); }
.btn--sm { height: 40px; padding: 0 var(--s2); }
.btn[data-inactive] { cursor: default; } /* funkciót a fejlesztő köti be */

/* ---------- Fejléc ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
}
.nav { background: var(--c-green); height: 80px; }
.nav .container { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 48px; width: auto; }
.nav__menu { display: flex; gap: var(--s4); margin-left: auto; margin-right: var(--s6); }
.nav__menu a {
  color: var(--c-white); font-weight: 600; font-size: 16px; line-height: 24px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: var(--s1) 0; border-bottom: 2px solid transparent;
}
.nav__menu a:hover, .nav__menu a.is-active { border-bottom-color: var(--c-gold); }
.promo-bar {
  background: var(--c-orange); color: var(--c-white);
  height: 40px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; line-height: 24px;
}

/* ---------- Blokk 01 – Hero (videó placeholder) ---------- */
.hero { position: relative; height: 720px; overflow: hidden; background: var(--c-green); }
.hero__video {
  position: absolute; inset: 0;
  background: var(--c-green);
  display: flex; align-items: flex-end; justify-content: flex-end; padding: var(--s4) var(--s6);
}
.hero__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video::after { /* olvashatósági átmenet a szöveg mögött */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,61,67,.9) 0%, rgba(0,61,67,.5) 55%, rgba(0,61,67,0) 85%);
}
.hero__video-label {
  position: relative; z-index: 1;
  font-family: var(--f-body); font-weight: 700; font-size: 14px; line-height: 16px;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(255,220,147,.7);
  border: 1px dashed rgba(255,220,147,.5); border-radius: var(--r-btn); padding: var(--s1) var(--s2);
}
.hero__content { position: relative; z-index: 2; height: 100%; }
.hero__content .grid { height: 100%; align-content: center; }
.hero__text { grid-column: 1 / span 7; color: var(--c-white); }
.hero__text .h1 { color: var(--c-cream); }
.hero__text .lead { margin-top: var(--s3); font-style: italic; font-weight: 400; }
.hero__text .btn { margin-top: var(--s6); }
.hero__down { position: absolute; z-index: 3; left: 50%; bottom: var(--s6); transform: translateX(-50%); }
.hero__down svg { width: 32px; height: 16px; display: block; }

/* ---------- Kép + szöveg blokk (Blokk 02, 03, 06) ---------- */
.split { padding: var(--s12) 0; }
.split--cream { background: var(--c-cream-light); color: var(--c-green); }
.split--brown { background: var(--c-brown); color: var(--c-white); }
.split--white { background: var(--c-white); color: var(--c-green); }
.split .grid { align-items: center; }
.split__media { grid-column: 1 / span 6; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
.split__text { grid-column: 7 / span 6; padding-left: var(--s4); }
.split__text p { font-size: 18px; line-height: 28px; }
.split__text p + p { margin-top: var(--s2); }
.split__text .h2, .split__text .h3 { color: inherit; }
.split__q { margin-top: var(--s4); margin-bottom: var(--s1); }


/* ---------- Közös segédek ---------- */
.center { text-align: center; }
.h2.center { margin-bottom: var(--s6); }
.btn svg { width: 14px; height: 9px; margin-left: var(--s1); }
.btn--ghost { background: transparent; color: var(--c-green); border: 2px solid var(--c-green); height: 40px; }
.btn--ghost-cream { background: transparent; color: var(--c-cream); border: 2px solid var(--c-cream); height: 40px; }
.tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 var(--s2);
  border-radius: var(--r-btn); background: var(--c-green); color: var(--c-white);
  font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase;
}
.tag--soft { background: var(--c-cream); color: var(--c-green); height: 24px; font-size: 12px; margin-left: var(--s1); vertical-align: middle; text-transform: none; letter-spacing: 0; }

/* split variánsok */
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media--portrait { grid-column: 1 / span 5; }
.split__media--portrait img { aspect-ratio: 4 / 5; }
.split__media--portrait + .split__text { grid-column: 7 / span 6; }
.split__title { margin-bottom: var(--s3); }
.split--brown .split__title { color: var(--c-cream); }
.split .btn { margin-top: var(--s4); }
.split--top { align-items: start !important; }

/* ---------- Blokk 04 – pillérek ---------- */
.pillars { background: var(--c-white); color: var(--c-black); padding: var(--s12) 0; }
.pillars__title { color: var(--c-green); text-align: center; max-width: 832px; margin: 0 auto var(--s8); }
.pillars__grid { row-gap: var(--s6); margin-bottom: var(--s8); }
.pillar { grid-column: span 3; text-align: center; }
.pillar__icon { height: 80px; width: auto; margin: 0 auto var(--s3); }
.pillar__name { font-family: var(--f-body); font-weight: 700; font-size: 22px; line-height: 28px; color: var(--c-green); margin-bottom: var(--s2); min-height: 56px; }
.pillar p { font-size: 17px; line-height: 26px; }

/* ---------- Blokk 05 – galéria ---------- */
.gallery { background: var(--c-green); color: var(--c-white); padding: var(--s12) 0; }
.gallery__head { max-width: 736px; margin: 0 auto var(--s8); text-align: center; }
.gallery__head .h2 { color: var(--c-cream); margin-bottom: var(--s3); }
.gallery__head p + p { margin-top: var(--s2); }
.gallery__head .btn { margin-top: var(--s4); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: var(--s2); margin-bottom: var(--s6); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.gallery__grid .g-wide { grid-column: span 2; }

/* ---------- Blokk 06 – opciók ---------- */
.options { list-style: none; }
.options li { padding: var(--s3) 0; border-top: 1px solid rgba(0,61,67,.2); }
.options li:last-child { border-bottom: 1px solid rgba(0,61,67,.2); }
.options__name { font-family: var(--f-body); font-weight: 800; font-size: 20px; line-height: 28px; margin-bottom: var(--s1); }
.options p { font-size: 17px; line-height: 26px; }
.options__link { display: inline-block; margin-top: var(--s1); color: var(--c-orange); font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.options__link span { margin-left: var(--s1); }

/* Blokk 06 – 4 hasábos változat */
.options-block { background: var(--c-white); color: var(--c-green); padding: var(--s12) 0; }
.options-block__title { max-width: 832px; margin-left: auto; margin-right: auto; }
.option { grid-column: span 3; display: flex; flex-direction: column; }
.option__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); margin-bottom: var(--s3); }
.option__media { position: relative; margin-bottom: var(--s3); }
.option__media .option__img { margin-bottom: 0; }
.option__media.is-soon::after { /* 20% fekete tint – szervezés alatt */
  content: ""; position: absolute; inset: 0; border-radius: var(--r-card); background: rgba(0,0,0,.2); }
.soon-label {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  border: 2px solid var(--c-white); border-radius: var(--r-btn); padding: var(--s1) var(--s2);
  color: var(--c-white); font-weight: 800; font-size: 14px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; }
.option p { font-size: 17px; line-height: 26px; color: var(--c-black); }
.option .options__link { margin-top: var(--s3); align-self: flex-start; } /* kb. 1 sor távolság a szöveg alatt */

/* ---------- Blokk 07 – programok ---------- */
.programs { background: var(--c-cream-light); color: var(--c-green); padding: var(--s12) 0; }
.programs__filter { height: 48px; border: 1px solid var(--c-green); border-radius: var(--r-btn); background: var(--c-white);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s2); font-weight: 700; font-size: 18px; }
.programs__filter svg, .contact__select svg { width: 18px; height: 11px; }
.programs__tags { display: flex; gap: var(--s2); margin: var(--s3) 0 var(--s4); }
.programs__tags .tag { background: transparent; color: var(--c-green); border: 2px solid var(--c-green); cursor: pointer; }
.programs__tags .tag.is-active { background: var(--c-green); color: var(--c-white); }
.pcard { display: grid; grid-template-columns: 384px 1fr; gap: var(--s4); background: var(--c-white); border-radius: var(--r-card); padding: var(--s2); margin-bottom: var(--s4); }
.pcard__img { width: 100%; height: 264px; object-fit: cover; border-radius: var(--r-btn); } /* beágyazott kép: 16px kártya – 16px belső margó → 8px */
.pcard__body { padding: var(--s1) var(--s2) var(--s1) 0; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.pcard__host { display: flex; align-items: center; gap: var(--s2); font-family: "Sofia Sans Condensed", var(--f-body); font-weight: 700; font-size: 18px; }
.pcard__host img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.pcard__price { font-weight: 800; font-size: 18px; }
.pcard__title { font-family: var(--f-body); font-weight: 800; font-size: 22px; line-height: 28px; margin-bottom: var(--s1); }
.pcard p { font-size: 17px; line-height: 26px; }
.pcard .btn { margin-top: var(--s3); }

/* ---------- Blokk 09 – vélemények ---------- */
.reviews { background: #D9603B; padding: var(--s12) 0; }
.reviews .h2 { color: var(--c-white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.review { background: var(--c-white); color: var(--c-green); border-radius: var(--r-card); padding: var(--s4) var(--s3); }
.review__who { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.review__who .h3 { font-family: var(--f-body); font-weight: 700; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--c-cream); color: var(--c-green); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.stars { color: #F7C600; font-size: 32px; line-height: 40px; letter-spacing: 6px; margin-bottom: var(--s2); }
.review p { font-size: 16px; line-height: 24px; }

/* ---------- Blokk 10 – kapcsolat ---------- */
.contact { background: var(--c-green); padding: var(--s8) 0; }
.contact__card { background: var(--c-white); color: var(--c-green); border-radius: var(--r-card); padding: var(--s6) var(--s12); }
.contact__card .h2 { margin-bottom: var(--s4); }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-bottom: var(--s2); }
.contact label { display: block; font-weight: 700; font-size: 15px; line-height: 20px; }
.contact input[type=text], .contact input[type=email], .contact input[type=tel], .contact textarea {
  display: block; width: 100%; margin-top: var(--s1); height: 48px; border: 1px solid var(--c-green); border-radius: var(--r-btn); background: var(--c-white); font: inherit; color: var(--c-green); padding: 0 var(--s2); }
.contact textarea { height: 112px; padding: var(--s2); resize: none; }
.contact__select { height: 48px; background: var(--c-white); border: 1px solid var(--c-green); border-radius: var(--r-btn); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s2); font-weight: 700; margin: var(--s4) 0 var(--s3); }
.contact__foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s2); }
.contact__check { display: flex !important; align-items: center; gap: var(--s2); font-size: 17px !important; }
.contact__check input { width: 20px; height: 20px; accent-color: var(--c-green); }
.contact__fb { display: flex; flex-direction: column; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.fb { width: 56px; height: 56px; border-radius: 50%; background: #1877F2; color: #fff; display: inline-flex; align-items: flex-end; justify-content: center; font-family: Arial, sans-serif; font-weight: 700; font-size: 44px; line-height: 50px; overflow: hidden; }
.fb--sm { width: 24px; height: 24px; font-size: 20px; line-height: 22px; margin-right: var(--s1); vertical-align: middle; }

/* ---------- Blokk 11 – GYIK ---------- */
.faq { background: var(--c-white); color: var(--c-green); padding: var(--s12) 0; }
.faq .h2.center { margin-bottom: var(--s4); }
.faq__tools { text-align: right; margin-bottom: var(--s2); }
.faq__all { background: none; border: 0; font: inherit; color: var(--c-orange); font-weight: 700; cursor: pointer; }
.faq__item { border-bottom: 1px solid rgba(0,61,67,.25); }
.faq__q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; color: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0;
  font-family: var(--f-body); font-weight: 700; font-size: 26px; line-height: 32px; }
.faq__q svg { width: 20px; height: 12px; flex: none; transition: transform .25s; }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 var(--s16) var(--s4) 0; }
.faq__item.is-open .faq__a { display: block; }
.faq__a p { font-size: 20px; line-height: 30px; }
.faq__a a { color: var(--c-orange); text-decoration: underline; }

/* ---------- Lábléc ---------- */
.footer { background: var(--c-brown); color: var(--c-white); padding: var(--s8) 0 var(--s12); }
.footer .container { padding-left: var(--s4); }
.footer p { font-size: 17px; line-height: 24px; margin-bottom: var(--s2); }
.footer__fb { display: inline-flex; align-items: center; }

/* ---------- Overlay grafikák ----------
   Arany vonalas overlay: balról belóg az oldal feléig,
   felül-alul ~10%-kal rálóg a szomszéd blokkokra.
   A tartalom (container) mindig az overlay fölött van. */
html, body { overflow-x: hidden; }
main { overflow-x: clip; } /* az overlayek ne lógjanak ki az 1440px-es vászonból (széles képernyőn sem) */
.split--brown, .reviews { position: relative; }
.ov { position: absolute; z-index: 1; pointer-events: none; }
.ov--left { top: -10%; height: 120%; width: auto; right: 50%; }
main .container { position: relative; z-index: 2; }
/* Blokk 03: kör overlay (Overlay-3). A kör közepe a vászon bal szélén túl 72px-szel (~5%), függőlegesen a blokk közepén.
   --ov-size = a kör (SVG-vászon) mérete → ezzel zoomolunk. A szélei felül-alul a krém és a fehér blokkra lógnak. */
.ov--b03 { --ov-size: 1241px; /* +10% a V13-hoz képest */ --ov-shift: 120px; /* a krém blokk fotója alatt ~16px szabadon */
  width: var(--ov-size); height: var(--ov-size); right: auto;
  left: calc(-1 * var(--ov-shift) - var(--ov-size) / 2);
  top: calc(50% - var(--ov-size) / 2); }
/* Blokk 09 (Rólunk mondták): ugyanaz a kör a jobb oldalon – a közepe a vászon jobb szélén túl, tükrözés nélkül */
.ov--b09 { --ov-size: 1241px; --ov-shift: 120px;
  width: var(--ov-size); height: var(--ov-size); left: auto;
  right: calc(-1 * var(--ov-shift) - var(--ov-size) / 2);
  top: calc(50% - var(--ov-size) / 2); }

/* ---------- Nyomtatás / PDF ---------- */
@media print {
  .topbar { position: static; }
  .grid-overlay { display: none !important; }
}
