:root{
  --oldal: #0a2d43;
  --szoveg: #ffffff;
  --gomb: #DAA520;  /* arany */
}

*{ box-sizing: border-box; }
html, body{ height: 100%; overflow-x: hidden; overscroll-behavior-x: none; }

body{
  margin: 0;
  background: var(--oldal);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--szoveg);
  /* Fixált felső menü miatt ne lógjon rá a tartalomra */
  padding-top: 68px;
  /* Kényelmes alsó térköz */
  padding-bottom: 24px;
  /* Mobilon se lehessen "jobbra-balra lapozni" */
  touch-action: pan-y;
}

/* ===== Kapcsolat: sikeres beküldés képernyő ===== */
.success-screen{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}
.success-card{
  width: min(900px, 94vw);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  padding: 26px 20px;
}
.success-title{
  margin: 0 0 12px;
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 950;
  color: #3CFF6A; /* zöld */
  text-align: center;
}
.success-text{
  margin: 0 auto;
  width: min(760px, 92vw);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 650;
  color: rgba(255,255,255,0.92);
  text-align: center;
  white-space: pre-line;
}
.success-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.success-download{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(218,165,32,0.18);
  border: 1px solid rgba(218,165,32,0.65);
  color: #ffd27a;
  text-decoration: none;
  font-weight: 850;
}
.success-download:hover{ filter: brightness(1.06); }
.success-back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.94);
  text-decoration: none;
  font-weight: 800;
}
.success-back:hover{ background: rgba(255,255,255,0.14); }

.confetti-canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 9999;
}

/* ===== Gyors elérhetőségek (a fejlécben, jobb fent) ===== */

/* Régi, lebegő verzió – nem kell, de ha benne marad a HTML-ben, ne látszódjon. */
.floating-contacts{ display:none !important; }

.nav-right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-contacts{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-contacts .icon-link,
.header-contacts .fb-link{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.header-contacts .icon-link:hover,
.header-contacts .fb-link:hover{
  background: rgba(218,165,32,0.22);
  border-color: rgba(218,165,32,0.55);
  color: rgba(255,255,255,0.98);
}

.header-contacts .icon,
.header-contacts .fb-icon{ width: 20px; height: 20px; fill: currentColor; }

/* Mobilon a hamburger mellett legyen, és ha a menü nyitva van, tűnjön el. */
@media (max-width: 860px){
  body.menu-open .header-contacts{ display:none; }
  .header-contacts .icon-link,
  .header-contacts .fb-link{ width: 34px; height: 34px; }
}

/* ===== TOPBAR + SCROLL "FÉLRE" BLUR ===== */
.topbar{
  /* Görgetésnél is maradjon a képernyő tetején */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 68px;
  /* Alapból is legyen látható a menü (ne "tűnjön el") */
  background: rgba(10,45,67,.92);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 20px rgba(0,0,0,.16);
  transition: background .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Ha elkezdesz görgetni: legyen világosabb/kontrasztosabb a sáv */
.topbar.is-scrolled{
  /* Görgetéskor legyen "arany" a sáv */
  background: rgba(218,165,32,.92); /* #DAA520 */
  border-bottom: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topbar::before{
  content:"";
  position: absolute;
  top: 0;
  right: 0;
  height: 68px;
  width: 0px;
  pointer-events: none;
  opacity: 0;
}
.topbar.is-scrolled::before{ opacity: 0; }

.topbar::after{
  content:"";
  position: absolute;
  right: 0;
  top: 68px;
  height: 0px;
  width: 0px;
  pointer-events: none;
  opacity: 0;
}
.topbar.is-scrolled::after{ opacity: 0; }

/* Arany sávon legyenek sötétek a linkek, hoverre fehérek */
.topbar.is-scrolled .nav-link{ color: var(--oldal); }
.topbar.is-scrolled .nav-link:hover,
.topbar.is-scrolled .nav-link:focus-visible,
.topbar.is-scrolled .nav-link:active{ color: #ffffff; }

/* Arany sávon a vonal is fehér legyen hover/active állapotban */
.topbar.is-scrolled .nav-link:hover::after,
.topbar.is-scrolled .nav-link:focus-visible::after,
.topbar.is-scrolled .nav-link:active::after{ background: #ffffff; }

/* Aktív oldalon maradjon sötét (jó kontraszt) */
.topbar.is-scrolled .nav-link.is-active{ color: #f4d03f; }
.topbar.is-scrolled .nav-link.is-active::after{ background: #f4d03f; }

/* Mobil hamburger is olvasható legyen a világos sávon */
.topbar.is-scrolled .menu-toggle{
  color: var(--oldal);
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.18);
}
.topbar.is-scrolled .bars span{ background: var(--oldal); }

/* ===== NAV (DESKTOP) ===== */
.nav{
  position: relative;
  height: 68px;
  width: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link{
  position: relative;
  color: var(--szoveg);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 10px 6px;
  white-space: nowrap;
}

.nav-link::after{
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 2px;
  background: transparent;
  border-radius: 999px;
  transition: background .18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link:active{
  color: var(--gomb);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link:active::after{
  background: var(--gomb);
}

.nav-link.is-active{ color: #f4d03f; }
.nav-link.is-active::after{ background: #f4d03f; }

.nav-link:focus-visible{
  outline: 2px solid rgba(218,165,32,.55);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Hamburger (mobile) */
.menu-toggle{
  display: none;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 38px;
  border-radius: 10px;
  background: rgba(218,165,32,.10);
  border: 1px solid rgba(218,165,32,.55);
  color: var(--szoveg);
  cursor: pointer;
}
.menu-toggle:focus-visible{
  outline: 2px solid rgba(218,165,32,.55);
  outline-offset: 3px;
}
.bars{ width: 18px; height: 12px; margin: 0 auto; position: relative; }
.bars span{
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--szoveg);
  border-radius: 999px;
}
.bars span:nth-child(1){ top: 0; }
.bars span:nth-child(2){ top: 5px; }
.bars span:nth-child(3){ top: 10px; }

/* Mobile menu */
.menu-backdrop{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 80;
}
.menu-backdrop[data-open="true"]{ display: block; }

.mobile-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: rgba(1,1,1,.92);
  border-left: 1px solid rgba(218,165,32,.55);
  transform: translateX(100%);
  transition: transform .2s ease;
  z-index: 90;
  padding: 18px 16px;
  display: grid;
  grid-auto-rows: max-content;
  gap: 10px;
}
.mobile-menu[data-open="true"]{ transform: translateX(0); }

.mobile-menu .mobile-title{ font-weight: 900; letter-spacing: .2px; margin: 6px 0 10px; }
.mobile-menu a{
  color: var(--szoveg);
  text-decoration: none;
  font-weight: 800;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
}
.mobile-menu a:hover,
.mobile-menu a:active{
  color: var(--gomb);
  border-color: rgba(218,165,32,.55);
}
.mobile-menu a.is-active{
  color: var(--gomb);
  border-color: rgba(218,165,32,.55);
}
.mobile-menu .close-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.mobile-menu .close-btn{
  background: transparent;
  color: var(--szoveg);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.mobile-menu .close-btn:hover{ border-color: rgba(218,165,32,.55); color: var(--gomb); }

/* ===== SLOGAN (ONLY TOP) ===== */
.slogan{
  width: 100%;
  padding: 26px 18px 6px;
  display: flex;
  justify-content: center;
}
.slogan .wrap{ width: min(1400px, 96vw); }
.slogan p{
  margin: 0;
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.25;
  font-weight: 900;
  color: var(--szoveg);
  text-align: left;
  white-space: nowrap;      /* 1 sor */
}
.slogan .underline{
  height: 3px;
  width: 50%;
  background: var(--gomb);
  border-radius: 999px;
  margin-top: 14px;
  opacity: .9;
}

/* ===== PAGE / HERO ===== */
.page{
  min-height: 200vh;
  padding: 26px 18px 90px;
  display: flex;
  justify-content: flex-start;
}

/* több hely a középső és jobb oszlop között + jobb oldal kicsit "jobbrább" */
.hero{
  display: inline-grid;
  grid-template-columns: 340px minmax(300px, 520px) minmax(320px, 520px);
  column-gap: 56px;   /* <-- nagyobb rés köztük */
  row-gap: 28px;
  align-items: start;

  width: fit-content;
  max-width: min(1320px, 96vw);

  margin-left: clamp(10px, 4vw, 70px);
  margin-top: 16px;
}

.hero-image{
  width: 340px;
  max-width: 40vw;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .18s ease, filter .18s ease;
}
.hero:hover .hero-image{
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 22px rgba(218,165,32,.38));
}

.hero-text{ text-align: justify; text-justify: inter-word; }

.hero-title{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--szoveg);
}

.hero-p{
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

/* jobb oldali szöveg: csak a két bekezdés marad (szlogen kint van) */
.side{ text-align: justify; text-justify: inter-word; }
.side-image{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 14px;
  object-fit: cover;
  /* nincs kártya/keret, csak tiszta kép */
}

.side p{
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

/* ===== SIMPLE SUBPAGE ===== */
.simple{
  width: min(980px, 92vw);
  margin-left: clamp(10px, 4vw, 70px);
  padding-top: 24px;
}
.simple h1{
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 900;
  color: var(--szoveg);
}
.simple p{
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
  text-align: justify;
  text-justify: inter-word;
  color: rgba(255,255,255,.92);
}

/* ===== START PAGE ===== */
.start{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}
.start-inner{ width: min(980px, 92vw); }
.start-title{
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 950;
  text-align: center;
}
.start-sub{
  margin: 18px auto 0;
  width: min(820px, 92vw);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
  text-align: justify;
  text-justify: inter-word;
  color: rgba(255,255,255,.90);
}
.start-cta{
  display: inline-block;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(218,165,32,.14);
  border: 1px solid rgba(218,165,32,.55);
  color: var(--gomb);
  text-decoration: none;
  font-weight: 800;
}
.start-cta:hover{ filter: brightness(1.05); }
.start-cta:active{ transform: translateY(1px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .slogan p{ white-space: normal; text-align: justify; } /* kisebb kijelzőn törhet */
  .hero{ grid-template-columns: 320px minmax(280px, 1fr); column-gap: 28px; }
  .side{ grid-column: 1 / -1; max-width: 980px; }
}

@media (max-width: 860px){
  .topbar{ height: 64px; }
  .topbar::before{ height: 64px; }
  .topbar::after{ top: 64px; }

  .menu-toggle{ display: inline-flex; align-items:center; justify-content:center; }
  .nav{ justify-content: flex-start; }
  .nav-links{ display: none; }

  .slogan p{ white-space: normal; text-align: justify; font-size: 18.5px; }
  .page{ padding-top: 18px; }

  .hero{
    margin-left: 0;
    display: grid;
    width: 100%;
    max-width: 96vw;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-image{
    width: min(320px, 80vw);
    max-width: none;
    margin: 0 auto;
  }
  .hero-title{ text-align: center; }
  .simple{ margin-left: 0; }
}


/* ===== Banner (gombok alatt, sötétebb blokk) ===== */
.banner{
  background: #082536; /* 2-3 árnyalattal sötétebb */
  padding: 26px 18px 30px;
}

.banner-inner{
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  align-items: center;
}

.banner-slogan{
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  color: var(--szoveg);
}

.banner-underline{
  height: 3px;
  width: 58%;
  background: var(--gomb);
  border-radius: 999px;
  margin: 14px 0 18px;
  opacity: .95;
}

.banner-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 950;
  line-height: 1.05;
  color: var(--szoveg);
}

.banner-p{
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  text-align: justify;
  text-justify: inter-word;
}

.banner-media{
  display: flex;
  justify-content: center;
}

.banner-image{
  width: min(340px, 34vw);
  height: auto;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.35));

  /* Fehér szegély "beleolvasztása" a háttérbe */
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 62%, rgba(0,0,0,.92) 72%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 62%, rgba(0,0,0,.92) 72%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* A régi slogan/hero elemeket nem használjuk itt */
.slogan{ display: none !important; }

@media (max-width: 900px){
  .banner-inner{
    grid-template-columns: 1fr;
  }
  .banner-media{
    order: -1;
  }
  .banner-underline{ width: 70%; }
  .banner-slogan{ text-align: justify; }
}

/* ===== KÉP + HOVER SZÖVEG (3 elem) ===== */
.cards{
  background: var(--oldal);
  padding: 34px 18px 64px;
  overflow-x: hidden;
}

/* A második (alsó) 3-as blokk kerüljön feljebb, de ne csússzon rá az elsőre */
.cards + .cards.cards-secondary{
  margin-top: -24px; /* feljebb húzás, de ne érjen bele */
}

.cards-inner{
  /* Kicsit nagyobb képek: szélesebb konténer */
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* Nincs "kártya" háttér: csak a kép + alatta a szöveg */
.card{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  outline: none;
}

.card-title{
  display: block;
  line-height: 1.2;
  /* Legyen jól látható távolság a cím és a kép között */
  margin: 0 0 24px 0;
  padding: 6px 0 10px 0;
  position: relative;
  z-index: 2;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  /* "Knight Rider" jellegű arany csík a címen */
  background-image: linear-gradient(
    90deg,
    rgba(218,165,32,0.70) 0%,
    rgba(255,231,155,1) 22%,
    rgba(218,165,32,0.70) 44%,
    rgba(218,165,32,0.70) 100%
  );
  background-size: 220% 100%;
  animation: gold-scan 2.6s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes gold-scan{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce){
  .card-title{ animation: none; }
}

.card-media{
  margin-top: 0;

  /* Ne legyen lekerekítve, simuljon a háttérbe */
  border-radius: 0;
  overflow: hidden;
  border: 0;
  transform: translateZ(0);
  transition: border-color .45s ease, box-shadow .45s ease, transform .45s ease;
}

/* Teljes kép látszódjon: nincs vágás */
.card-media img{
  display: block;
  width: 100%;
  height: auto;
}

/* Szöveg alapból rejtve, hoverre szépen/lassan lenyílik */
.card-caption{
  padding-top: 12px;
  /* Fix hely a szövegnek (desktop), így nem ugrál az oldal */
  min-height: 200px;
}

.card-text{
  line-height: 1.7;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  text-align: justify;
  text-justify: inter-word;

  /* A hely maradjon meg -> ne mozduljon a görgetősáv hoverkor */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .85s ease, transform .85s ease;
}

 /* Arany kiemelés hoverre (csak külső kiemelés, nincs sárga keret a képen) */
.card:hover .card-media,
.card:focus-within .card-media{
  margin-top: 0;

  box-shadow:
    0 0 0 8px rgba(218,165,32,0.22),
    0 0 42px rgba(218,165,32,0.30),
    0 22px 56px rgba(0,0,0,0.32);
  transform: scale(1.02);
}

.card:hover .card-text,
.card:focus-within .card-text{
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* "Vibrálás"/finom pulzálás (JS 2 mp-enként ráteszi az osztályt) */
.card-media.is-pulsing img{
  animation: imgVibe .48s ease;
}

@keyframes imgVibe{
  0%{ transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  25%{ transform: translate3d(-1px,0,0) rotate(-0.15deg) scale(1.01); }
  55%{ transform: translate3d(1px,0,0) rotate(0.15deg) scale(1.01); }
  100%{ transform: translate3d(0,0,0) rotate(0deg) scale(1); }
}

@media (max-width: 980px){

  .cards-inner{ grid-template-columns: 1fr; }
  .card-caption{ min-height: auto; }

  /* Mobilon (hover nélkül) legyen látható a szöveg */
  .card-text{ visibility: visible; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce){
  .card-media, .card-text{ transition: none; }
  .card-media.is-pulsing img{ animation: none; }
}


/* ===== Facebook ikon a jobb felső sarokban ===== */
.fb-link{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  z-index: 5;
}
.fb-link:hover{
  background: rgba(218,165,32,0.22);
  border-color: rgba(218,165,32,0.55);
  color: rgba(255,255,255,0.98);
  transform: translateY(-50%) scale(1.04);
}
.topbar.is-scrolled .fb-link{
  background: rgba(255,255,255,0.25);
  border-color: rgba(0,0,0,0.08);
  color: rgba(10,45,67,0.95);
}
.topbar.is-scrolled .fb-link:hover{
  background: rgba(10,45,67,0.12);
  border-color: rgba(10,45,67,0.22);
  color: rgba(10,45,67,0.98);
}
.fb-icon{ width: 18px; height: 18px; fill: currentColor; }

/* ===== Egyedi megerősítő ablak (Facebook) ===== */
.confirm-overlay{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
}
.confirm-overlay[data-open="true"]{ display: grid; }

.confirm-modal{
  width: min(520px, 100%);
  background: rgba(10,45,67,0.96);
  border: 1px solid rgba(218,165,32,0.35);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.confirm-title{
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px;
  margin: 2px 0 10px;
  color: rgba(255,255,255,0.95);
}
.confirm-desc{
  color: rgba(255,255,255,0.86);
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 14px;
}
.confirm-url{
  color: rgba(218,165,32,0.95);
  font-weight: 800;
  word-break: break-all;
}
.confirm-actions{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.confirm-btn{
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}
.confirm-btn:hover{
  border-color: rgba(218,165,32,0.45);
  background: rgba(218,165,32,0.12);
}
.confirm-ok{
  border-color: rgba(218,165,32,0.55);
  background: rgba(218,165,32,0.22);
  color: rgba(255,255,255,0.98);
}
.confirm-ok:hover{
  background: rgba(218,165,32,0.30);
}


/* ===== NAV bal azonosító + jobb ikonok ===== */
.nav{
  justify-content: space-between;
  gap: 14px;
}
.nav-left{
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.topbar.is-scrolled .nav-left{ color: rgba(10,45,67,0.92); }

.nav-links{
  flex: 1 1 auto;
  justify-content: center;
}

.nav-right{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* A nav-right-ben az ikonok legyenek "normál" flow-ban (ne absolute) */
.nav-right .menu-toggle{
  position: static;
  top: auto;
  right: auto;
  transform: none;
}
.nav-right .fb-link{
  position: static;
  top: auto;
  right: auto;
  transform: none;
}
.nav-right .fb-link:hover{ transform: scale(1.04); }

/* Telefon + email ikon */
.icon-link{
  appearance: none;
  cursor: pointer;
  padding: 0;

  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.icon-link:hover{
  background: rgba(218,165,32,0.22);
  border-color: rgba(218,165,32,0.55);
  color: rgba(255,255,255,0.98);
  transform: scale(1.04);
}
.topbar.is-scrolled .icon-link{
  background: rgba(255,255,255,0.25);
  border-color: rgba(0,0,0,0.08);
  color: rgba(10,45,67,0.95);
}
.topbar.is-scrolled .icon-link:hover{
  background: rgba(10,45,67,0.12);
  border-color: rgba(10,45,67,0.22);
  color: rgba(10,45,67,0.98);
}
.icon{ width: 18px; height: 18px; fill: currentColor; }

/* ===== Lábléc: Adatvédelmi link ===== */
.site-footer{
  padding: 22px 16px 30px;
  text-align: center;
  color: rgba(255,255,255,0.70);
}
.privacy-link{
  color: rgba(218,165,32,0.92);
  text-decoration: none;
  font-weight: 800;
}
.privacy-link:hover,
.privacy-link:focus-visible{
  color: rgba(255,255,255,0.96);
  text-decoration: underline;
}


.privacy-link{ display: inline-block; animation: privacy-shake 4s infinite; }
@media (prefers-reduced-motion: reduce){ .privacy-link{ animation: none; } }

/* Figyelemfelkeltő remegés az adatvédelmi linknél (rövid "rázás" időközönként) */
@keyframes privacy-shake{
  0%, 86%, 100%{ transform: translate3d(0,0,0); }
  88%{ transform: translate3d(-1px,0,0); }
  90%{ transform: translate3d(2px,0,0); }
  92%{ transform: translate3d(-2px,0,0); }
  94%{ transform: translate3d(2px,0,0); }
  96%{ transform: translate3d(-1px,0,0); }
  98%{ transform: translate3d(1px,0,0); }
}

@media (max-width: 900px){
  .nav{ justify-content: flex-start; }
  .nav-left{ display: none; }
  .nav-right{ margin-left: auto; }
}


/* --- Adatvédelmi oldal --- */
.privacy-page{max-width: 980px; margin: 0 auto; padding: 110px 20px 48px;}
.privacy-page h1{font-size: clamp(28px, 3vw, 40px); margin: 0 0 18px;}
.privacy-page h2{margin: 28px 0 12px; font-size: 22px;}
.privacy-page h3{margin: 18px 0 10px; font-size: 18px;}
.privacy-page p{line-height: 1.75; text-align: justify;}
.privacy-page ul{margin: 10px 0 10px 22px;}
.privacy-page li{margin: 8px 0; line-height: 1.65; text-align: justify;}
.privacy-page .table-wrap{overflow-x:auto; border: 1px solid rgba(255,255,255,.12);}
.privacy-table{width:100%; border-collapse: collapse; min-width: 620px;}
.privacy-table th, .privacy-table td{padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.12); vertical-align: top;}
.privacy-table thead th{background: rgba(218,165,32,.14);}
.privacy-meta{opacity:.85; margin-bottom: 22px;}
.privacy-back{display:inline-block; margin: 14px 0 0;}


/* ===== Lábléc elérhetőségek ===== */
.site-footer .footer-inner{ width: min(1280px, 100%); margin: 0 auto; padding: 18px; }
.footer-contacts{ list-style: none; padding: 10px 0 0; margin: 0; display: grid; gap: 6px; color: rgba(255,255,255,0.9); font-size: 14px; }
.footer-contacts a{ color: rgba(255,255,255,0.95); text-decoration: underline; text-underline-offset: 3px; }
.footer-contacts a:hover{ color: #ffffff; }

/* ===== Kontakt modal ===== */
.contact-overlay{
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9999;
}
.contact-overlay[data-open="true"]{ opacity: 1; visibility: visible; }
.contact-modal{
  width: min(560px, calc(100% - 28px));
  background: rgba(10,45,67,0.98);
  border: 1px solid rgba(218,165,32,0.45);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  padding: 18px;
  border-radius: 16px;
}
.contact-title{ font-weight: 800; font-size: 18px; margin-bottom: 8px; color: rgba(255,255,255,0.96); }
.contact-desc{ font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.9); word-break: break-word; }
.contact-actions{ display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.contact-btn{
  appearance: none; border: 0; cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
  text-decoration: none;
}
.contact-btn:hover{ background: rgba(255,255,255,0.16); }
.contact-open{ background: var(--gomb); color: #0a2d43; }
.contact-open:hover{ filter: brightness(1.05); }


/* ===== Második (alsó) 3-as blokk finomhangolás ===== */
.cards.cards-secondary{
  padding-top: 0; /* feljebb hozza az egész sort */
}
.cards.cards-secondary .card-title{
  /* Legyen jól látható rés a cím és a kép között */
  margin-bottom: 24px;
}
.cards.cards-secondary .card-media{
  margin-top: 0;
}


.page-empty{min-height: 70vh;}

/* Contact page layout: center content, footer stays bottom */
.page-contact{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-contact main{
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 18px 60px; /* space for fixed topbar */
}
.page-contact .contact-cta{
  padding: 0;
  max-width: 980px;
}
.page-contact .site-footer{
  margin-top: auto;
}
@media (max-width: 720px){
  .page-contact main{ padding: 120px 16px 50px; }
}


/* Contact signup form */

.contact-cta h1{
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #ffffff;
}
.contact-lead{
  margin: 0 auto 22px;
  font-size: 22px;
  line-height: 1.45;
  color: #ffffff;
  text-align: center;
}
.contact-form{
  margin: 34px auto 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form .field{
  text-align: left;
}
.contact-form label{
  display:block;
  margin: 0 0 8px;
  font-weight: 800;
  color: #ffffff;
  font-size: 18px;
}
.contact-form input{
  width: 100%;
  padding: 10px 6px 12px;
  background: transparent;
  border: none;
  border-bottom: 5px solid rgba(255,255,255,.95);
  outline: none;
  color: #ffffff;
  font-size: 18px;
}
.contact-form input::placeholder{ color: rgba(255,255,255,.65); }
.contact-form input:focus{
  border-bottom-color: #ffffff;
  box-shadow: 0 8px 26px rgba(255,255,255,.10);
}
.btn-submit{
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: #2ecc71;
  color: #062033;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.btn-submit:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn-submit:active{ transform: translateY(0px); filter: brightness(.98); }
.form-note{
  margin: 16px auto 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
@media (max-width: 720px){
    .contact-cta h1{ font-size: 34px; }
  .contact-lead{ font-size: 18px; }
}


/* Kapcsolat oldal - középre, fehér szöveg, sötét háttér */
.contact-cta{
  max-width: 980px;
  margin: 0 auto;
  padding: 84px 18px 54px;
  text-align: center;
  color: #fff;
}
.contact-cta h1{
  margin: 0 0 18px;
  font-size: 34px;
  letter-spacing: .3px;
}
.contact-lead{
  margin: 0 auto 22px;
  max-width: 880px;
  font-size: 22px;
  line-height: 1.55;
  color: #fff;
  font-weight: 700;
}
.contact-form{
  margin: 34px auto 0;
  max-width: 720px;
  text-align: left;
}
.contact-form .field{
  margin: 18px 0 22px;
}
.contact-form label{
  display:block;
  color:#fff;
  font-weight:800;
  margin: 0 0 8px;
}

/* --- Kapcsolat oldal (frissített: felirat közvetlenül a sáv alatt + aláhúzott mezők + jobb alsó zöld gomb) --- */
.page-contact main{
  align-items: flex-start;
  justify-content: flex-start;
  padding: 110px 18px 60px; /* közvetlenül a fix topbar alatt */
}
@media (max-width: 720px){
  .page-contact main{ padding: 96px 16px 50px; }
}

.page-contact .contact-cta{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.contact-lead--hero{
  max-width: 980px;
  font-size: 26px;
  line-height: 1.55;
  font-weight: 800;
  color: #ffffff;
}
@media (max-width: 720px){
  .contact-lead--hero{ font-size: 18px; }
}

.page-contact .contact-form{
  margin: 26px auto 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

.page-contact .contact-field label{
  display: block;
  margin: 0 0 8px;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}

.page-contact .contact-field input{
  width: 100%;
  padding: 8px 4px 10px;
  background: transparent;
  border: none;
  /* vonal színe: arany */
  border-bottom: 4px solid #DAA520;
  outline: none;
  color: #ffffff;
  font-size: 18px;
}
.page-contact .contact-field input::placeholder{ color: rgba(255,255,255,.65); }
.page-contact .contact-field input:focus{ border-bottom-color: #DAA520; }

.page-contact .contact-gift{
  margin: 26px auto 0;
  max-width: 980px;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
}

.page-contact .contact-send{
  align-self: center; /* középen */
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: #18a558; /* fix zöld */
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.page-contact .contact-send:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.page-contact .contact-send:active{ transform: translateY(0); filter: brightness(.98); }

/* Ajándék szöveg a bejelentkezés (űrlap) alatt */
.page-contact .contact-gift{
  margin: 22px auto 0;
  max-width: 980px;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
}
@media (max-width: 720px){
  .page-contact .contact-gift{ font-size: 15px; }
}

/* Beúszó (toast) üzenet */
.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 18px);
  min-width: 280px;
  max-width: calc(100vw - 36px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(8, 26, 40, .92);
  border: 1px solid rgba(255,255,255,.18);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.55;
  text-align: justify;
  white-space: pre-line;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 9999;
}
.toast[data-show="true"]{
  opacity: 1;
  transform: translate(-50%, 0);
}
.contact-form input{
  width:100%;
  background: transparent;
  border: none;
  border-bottom: 6px solid rgba(255,255,255,.95); /* vastag fehér csík */
  padding: 10px 6px 10px;
  color:#fff;
  font-size: 18px;
  outline: none;
}
.contact-form input::placeholder{ color: rgba(255,255,255,.65); }
.contact-form input:focus{
  border-bottom-color:#fff;
}
.contact-form .submit-row{
  margin-top: 26px;
  display:flex;
  justify-content:center;
}
.contact-form button{
  background:#18a558; /* zöld */
  color:#fff;
  border:none;
  padding: 14px 22px;
  font-weight:900;
  border-radius: 10px;
  cursor:pointer;
  font-size: 16px;
  letter-spacing:.2px;
  transition: transform .15s ease, filter .2s ease;
}
.contact-form button:hover{ transform: translateY(-1px); filter: brightness(1.05); }

/* --- Blog + Staff (kezelőfelület) --- */
.blog-shell{ max-width: 1100px; margin: 0 auto; padding: 22px 18px 60px; }
.blog-head{ display:flex; align-items:flex-end; justify-content:space-between; gap: 16px; margin: 6px 0 18px; }
.blog-title{ margin: 0; font-size: 28px; color: #fff; }
.admin-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px; border-radius: 999px;
  background: #2dbb5a; color:#0b2a1a; font-weight: 700;
  text-decoration:none;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .15s ease, filter .2s ease;
}
.admin-btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }

/* Blog: Kezelőfelület link (jobb alsó sarok) */
.staff-float{
  position: fixed;
  right: 34px; /* kicsit balrább */
  bottom: 18px;
  z-index: 1200;
  color: #DAA520; /* kiemelő zöld (gomb színe) */
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  background: transparent;
  padding: 0;
}
.staff-float:hover{ text-decoration: underline; }

.staff-float[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: min(320px, calc(100vw - 36px));
  white-space: normal;
  padding: 8px 10px;
  border: 1px solid rgba(45,187,90,.45);
  border-radius: 10px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.staff-float:hover::after,
.staff-float:focus-visible::after{
  opacity: 1;
  transform: translateY(0);
}

.blog-posts{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px){ .blog-posts{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px){ .blog-head{ flex-direction: column; align-items:flex-start; } .blog-posts{ grid-template-columns: 1fr; } }

.blog-empty{ color:#fff; opacity:.85; }

.post-card{ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; overflow:hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.post-img{ width: 100%; height: 180px; object-fit: cover; display:block;; margin-bottom: 12px; }
.post-body{ padding: 14px 14px 16px; }
.post-meta{ color: rgba(255,255,255,.75); font-size: 12px; margin-bottom: 8px; }
.post-title{ margin: 0 0 8px; color:#fff; font-size: 18px; }
.post-excerpt{ margin: 0 0 12px; color: rgba(255,255,255,.88); line-height: 1.35; }
.post-read{ color: #DAA520; text-decoration:none; font-weight: 700; }
.post-read:hover{ text-decoration:underline; }

.post-page{ max-width: 920px; margin: 0 auto; padding: 22px 18px 60px; }
.post-page h1{ color:#fff; margin: 0 0 10px; font-size: 30px; }
.post-page .meta{ color: rgba(255,255,255,.75); margin-bottom: 14px; }
.post-page .hero{ width:100%; max-height: 420px; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.25); margin: 12px 0 18px; }
.post-page .content{ color: rgba(255,255,255,.92); line-height: 1.6; text-align: justify; white-space: pre-wrap; }
.post-page .back{
  display:inline-flex; margin-top: 18px; padding: 10px 14px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  color:#fff; text-decoration:none;
}
.post-page .back:hover{ background: rgba(255,255,255,.07); }

.staff-shell{ max-width: 980px; margin: 0 auto; padding: 22px 18px 70px; }
.staff-card{ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.staff-title{ margin: 0 0 14px; color:#fff; font-size: 26px; }
.staff-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px){ .staff-grid{ grid-template-columns: 1fr; } }
.staff-field label{ display:block; color: rgba(255,255,255,.86); margin-bottom: 6px; font-weight: 700; }
.staff-field input, .staff-field textarea{
  width:100%; padding: 10px 10px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18); color:#fff;
  outline: none;
}
.staff-field textarea{ min-height: 170px; resize: vertical; }
.staff-actions{ display:flex; gap: 10px; justify-content:flex-end; margin-top: 12px; flex-wrap:wrap; }
.staff-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color:#fff; text-decoration:none;
  cursor:pointer;
}
.staff-btn.primary{ background: #2dbb5a; color:#0b2a1a; border-color: transparent; font-weight: 800; }
.staff-btn.primary:hover{ filter: brightness(1.05); }
.staff-note{ color: rgba(255,255,255,.78); margin-top: 10px; font-size: 13px; }
.staff-msg{ margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); color:#fff; display:none; }
.staff-msg[data-open="true"]{ display:block; }


.post-hero-img{ width:100%; max-width: 860px; height: 340px; object-fit: cover; display:block; margin: 0 0 14px; border-radius: 10px; }



