/* ==========================================================================
   BD-TECH — Bobál Dániel · Rendszergazda
   Fő stíluslap · verzió: 1
   --------------------------------------------------------------------------
   Tartalomjegyzék:
   01. Design változók (színek, tipográfia, árnyékok)
   02. Reset / alapstílusok
   03. Segédosztályok (container, gombok, szekciófejlécek, reveal)
   04. Fejléc / navigáció
   05. Hero + rendszergazda fotó
   06. Rólam
   07. Band (komplex rendszerek sáv)
   08. Szolgáltatás kártyák (4)
   09. Csomag kártyák (2) — rendszer- és szerverüzemeltetés
   10. Elérhetőségek / űrlap
   11. Lábléc
   12. Animációk (keyframes)
   13. Akadálymentesség / reduced-motion
   14. Reszponzív töréspontok
   ========================================================================== */

/* ==========================================================================
   01. DESIGN VÁLTOZÓK
   ========================================================================== */
:root {
  /* Színek — alap kék (sötétkék tartomány) */
  --blue-900: #131f39;   /* legmélyebb: lábléc, band */
  --blue-800: #131f39;   /* fő sötét háttér (hero, szerver szekció) */
  --blue-700: #0ec1d9;   /* kártya sötét háttér */
  --blue-600: #0a7cc9;   /* klasszikus kék */
  --blue-500: #0a6cb0;   /* közepes kék */
  --cyan:  #0ec1d9;   /* világos kék akcentus (gradiensek, glow) */

  /* Piros akcentus — csak kiemelésre */
  --red:        #d0282c;
  --red-dark:   #a82024;
  --error:        #d0282c;  /* csak hibajelzésekhez (univerzális piros) */
  --red-soft:   #fdecec;

  /* Semlegesek */
  --white:      #ffffff;
  --bg-soft:    #edf1f5;  /* világos szekciók háttér */
  --ink:        #24322f;  /* fő szöveg világos háttéren */
  --slate:      #52635f;  /* másodlagos szöveg */
  --muted:      #6b7a76;  /* halvány szöveg */
  --line:       #e3e6ea;  /* világos szegélyek */
  --line-dark:  rgba(255, 255, 255, 0.10);

  /* Tipográfia */
  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", Arial, sans-serif;

  /* Méretek / egyebek */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --topbar-h: 40px;
  --header-h: 81px;
  --container-w: 1180px;
  --shadow-card: 0 10px 30px -12px rgba(19, 31, 57, 0.16);
  --shadow-card-hover: 0 22px 44px -16px rgba(19, 31, 57, 0.28);
  --shadow-red: 0 12px 26px -10px rgba(208, 40, 44, 0.4);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   02. RESET / ALAP
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

html {
  font-size: 110%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   03. SEGÉDOSZTÁLYOK
   ========================================================================== */
.container {
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
}

.section { padding: 94px 0; }
.section-white { background: var(--white); }
.section-light { background: var(--bg-soft); }

/* sötét szekció (szerver üzemeltetés) */
.section-dark {
  background: var(--blue-800);
  color: #e8eef7;
  position: relative;
  overflow: hidden;
}
.section-dark h2 { color: var(--white); }
.section-dark .section-lead { color: #c8d9e8; }

/* szekció fejléc */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 span.accent { color: var(--blue-700); }
.section-lead {
  color: var(--slate);
  font-size: 1.12rem;
  margin: 0;
}

/* szemöldök címke */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--red); }

/* --- gombok --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.btn svg { flex-shrink: 0; }

/* piros akcentus CTA — ütős, de csak kiemelésként */
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(208, 40, 44, 0.55);
}
.btn-red:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--blue-800);
  border: 2.5px solid var(--blue-800);
}
.btn-outline-dark:hover {
  background: var(--blue-800);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1.06rem; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* --- scroll-reveal (JS hozzáadja az .is-visible osztályt) --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* lépcsőzetes megjelenés kártyarácsokban */
.plans-2 .reveal:nth-child(2) { transition-delay: 0.12s; }

/* ==========================================================================
   04. FEJLÉC / NAVIGÁCIÓ
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease);
}
/* görgetés után finom árnyék */
.site-header.scrolled {
  box-shadow: 0 10px 30px -18px rgba(19, 31, 57, 0.25);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* logó */
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-logo { height: 61px; width: auto; display: block; }
.brand-footer .brand-logo { height: 144px; }

/* navigáció — minden nézetben hamburger menü (push panel) */
.site-nav {
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h));
  right: 0; bottom: 0;
  width: min(340px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 30px 40px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -20px rgba(19, 31, 57, 0.18);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  z-index: 95;
}
.site-nav.is-open { transform: translateX(0); }
.nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 2px; width: 100%; margin-bottom: 26px; }
.nav-link { display: block; padding: 14px 8px; font-size: 1.22rem; font-weight: 600; color: var(--ink); }
.nav-link::after { display: none; }
.nav-link:hover { color: var(--red); }
.nav-link.is-active { color: var(--red); }
.nav-cta { align-self: flex-start; }

/* hamburger (mobil) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 53px; height: 53px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--blue-800);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ==========================================================================
   05. HERO + RADAR
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--topbar-h) + var(--header-h) + 56px) 0 150px;
  background: linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 78%);
  color: #fff;
  overflow: hidden;
}

/* háttér: parallax fotó + sötét átmenet */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg-image { position: absolute; inset: 0; }
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.66) 45%, rgba(255, 255, 255, 0.58) 100%),
    linear-gradient(to top, rgba(255, 255, 255, 0.65) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  display: block;
}
.hero-content { max-width: 700px; }

.hero-title { margin-bottom: 22px; color: var(--blue-800); }
.hero-title-accent { display: block; color: var(--red); font-size: 0.86em; }
.hero .eyebrow { color: var(--red); }
.hero-sub {
  max-width: 34em;
  font-size: 1.22rem;
  color: #33414e;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

/* scroll-nyíl */

/* ==========================================================================
   06. RÓLAM
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.about-text .lead { font-size: 1.22rem; color: var(--blue-800); font-weight: 500; }

.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate);
  font-weight: 500;
}
.check-list svg { color: var(--red); flex-shrink: 0; }

.about-visual { position: relative; }
.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.about-photo { width: 100%; object-fit: cover; }

/* lebegő stat kártyák */

/* ==========================================================================
   07. BAND — KOMPLEX RENDSZEREK
   ========================================================================== */
.band {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  background: var(--blue-900);
  color: #fff;
  text-align: center;
}
.band .band-inner { position: relative; max-width: 820px; }
.band h2 { color: #fff; margin-bottom: 22px; }
.band-text { color: #d6e4f0; font-size: 1.1rem; margin-bottom: 36px; }

/* ==========================================================================
   08. SZOLGÁLTATÁS KÁRTYÁK (4)
   ========================================================================== */

.card {
  position: relative;
  padding: 30px 26px;
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* piros kiemelő vonal hovernél */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card-hover);
}
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--slate); margin: 0; font-size: 1rem; }

.card-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 10px 22px -10px rgba(19, 31, 57, 0.4);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover .card-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}

/* ==========================================================================
   09. CSOMAG KÁRTYÁK (2) — RENDSZER- ÉS SZERVERÜZEMELTETÉS
   ========================================================================== */
.plans-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.plan-featured {
  box-shadow: 0 20px 46px -18px rgba(19, 31, 57, 0.3);
}
/* a kiemelt kártya felső piros sávja */
.plan-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 30px; right: 30px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}

.plan-tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
  background: var(--red-soft);
  border: 3px solid var(--red);
}
.plan h3 { font-size: 1.6rem; }
.plan-lead { color: var(--slate); margin-bottom: 24px; }

.plan-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 22px;
  margin-bottom: 30px;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.98rem;
  color: var(--ink);
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ec1d9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan-note {
  margin-top: auto;
  margin-bottom: 20px;
  padding: 13px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--blue-800);
  background: var(--bg-soft);
  border: 1px dashed #c6dbe8;
  border-radius: var(--radius-sm);
}

/* --- sötét változat (szerver üzemeltetés) --- */
.plan-dark {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.plan-dark h3, .plan-dark .plan-lead { color: #fff; }
.plan-dark .plan-lead { color: #c8d9e8; }
.plan-dark .plan-list li { color: #dde9f4; }
.plan-dark .plan-list li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0282c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-dark.plan-featured::before { background: var(--blue-700); }
.plan-dark .plan-tag {
  color: var(--blue-700);
  background: rgba(14, 193, 217, 0.16);
  border: 3px solid var(--blue-700);
}

.server-plans { margin-bottom: 26px; }

.server-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: #c8d9e8;
  font-size: 0.98rem;
  margin: 0;
}
.server-note svg { color: var(--red); flex-shrink: 0; }

/* ==========================================================================
   10. ELÉRHETŐSÉGEK / ŰRLAP
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.contact-info { display: grid; gap: 16px; }

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.contact-card:hover { transform: translateX(6px); }
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--slate); font-size: 1rem; }

.contact-card-icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 0;
  color: #fff;
  background: var(--blue-900);
  box-shadow: 0 8px 18px -8px rgba(19, 31, 57, 0.45);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-card:hover .contact-card-icon {
  background: var(--red);
  transform: translateY(-2px);
}
.contact-link { color: var(--blue-800); font-weight: 600; }
.contact-link:hover { color: var(--red); text-decoration: underline; }

/* --- űrlap --- */
.contact-form-wrap {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: 36px;
}
.contact-form { display: grid; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.req { color: var(--red); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #f4f6f8;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8ba0b0; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(14, 193, 217, 0.22);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fafbfc;
}

.field-error { font-size: 0.87rem; font-weight: 500; color: var(--error); margin: 0; }
.field-error[hidden] { display: none; }

/* honeypot — embereknek láthatatlan, botok kitöltik */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* visszajelző sáv */
.form-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 500;
}
.form-status[hidden] { display: none; }
.form-status.is-success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.form-status.is-error {
  color: #991b1b;
  background: var(--red-soft);
  border: 1px solid #fecaca;
}

.form-legal { font-size: 0.84rem; color: var(--muted); margin: 0; }

/* gomb letiltott állapot (küldés közben) */
.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ==========================================================================
   11. LÁBLÉC
   ========================================================================== */
.site-footer {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #ffe9ea;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-about { font-size: 0.97rem; max-width: 34em; margin: 0; color: #ffe6e8; }

.footer-col h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; font-size: 0.95rem; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a { color: #ffd7d9; }
.footer-col a:hover { color: var(--cyan); }
.footer-col li a { color: inherit; }
.footer-contact li a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 0;
  font-size: 0.9rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}
.footer-bottom p { margin: 0; }
.footer-credit a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); }
.footer-credit a:hover { color: #fff; text-decoration-color: #fff; }

/* ==========================================================================
   12. ANIMÁCIÓK (KEYFRAMES)
   ========================================================================== */

/* ==========================================================================
   13. AKADÁLYMENTESSÉG / REDUCED MOTION
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* menü nyitva: háttérgörgetés tiltása */
/* hamburger push-hatás: a tartalom eltolódik, a menü betolja magát */
#main, .site-footer { transition: transform 0.35s var(--ease); }
body.menu-open #main,
body.menu-open .site-footer { transform: translateX(calc(-1 * min(340px, 88vw))); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   14. RESZPONZÍV TÖRÉSPONTOK
   ========================================================================== */

/* --- laptop / tablet tájolás: 1100px --- */
@media (max-width: 1100px) {
  .hero { padding-top: calc(var(--topbar-h) + var(--header-h) + 40px); }
  .hero-content { text-align: center; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin-inline: auto; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { max-width: 640px; margin-inline: auto; }

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

/* --- tablet álló: 900px --- */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .band { padding: 84px 0; }

  .plans-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- mobil: 640px --- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container-w)); }

  .hero { min-height: auto; padding-bottom: 84px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.8) 100%);
  }
  .hero-bg-image img { object-position: 60% 30%; }

  .section-head { margin-bottom: 42px; }
  .section-lead { font-size: 1rem; }

  .about-visual { max-width: 100%; }

  .plan { padding: 30px 22px; }
  .plan-list { grid-template-columns: 1fr; }

  .contact-info { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ==========================================================================
   15. SZABADIDŐ & ÖNKÉNTESSÉG (VÉRLOVAGOK) + OUTLINE GOMB
   ========================================================================== */
.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-700);
}
.btn-outline:hover {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-2px);
}

.volunteer-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 64px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.volunteer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.volunteer-body { padding: 42px 44px; align-self: center; }
.volunteer-body h3 { font-size: 1.55rem; }
.volunteer-body p { color: var(--slate); }
.volunteer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 900px) {
  .volunteer-card { grid-template-columns: 1fr; }
  .volunteer-media { max-height: 340px; }
  .volunteer-body { padding: 32px 28px; }
}

/* ==========================================================================
   16. MEGBÍZÓIM – LOGO CAROUSEL
   ========================================================================== */
.clients {
  padding: 54px 0 60px;
  background: var(--white);
}
.clients-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.clients-track {
  display: flex;
  width: 100%;
}
.clients-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 44px 60px;
  width: 100%;
  padding-right: 0;
}
.clients-group img {
  height: 115px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.clients-group img.logo-drb { height: 70px; }
.clients-group img.logo-egeszsegfarm { height: 88px; }
.clients-group img.logo-lg { height: 130px; }
.clients-group img.logo-ls { height: 80px; }
.clients-group img:hover {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 640px) {
  .clients-group { gap: 28px 36px; }
  .clients-group img { height: 80px; }
  .clients-group img.logo-drb { height: 50px; }
  .clients-group img.logo-egeszsegfarm { height: 62px; }
  .clients-group img.logo-lg { height: 92px; }
  .clients-group img.logo-ls { height: 56px; }
}

/* ==========================================================================
   17. FELSŐ KAPCSOLATI SÁV (menü felett)
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 5px 0;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}
a.topbar-item:hover { text-decoration: underline; }
.topbar-item svg { opacity: 0.95; }

.topbar-sep { color: rgba(255, 255, 255, 0.5); }

@media (max-width: 640px) {
  .topbar { font-size: 0.72rem; }
  .topbar-inner { flex-wrap: nowrap; gap: 8px; }
  .topbar-item { gap: 5px; }
  .topbar-item svg { width: 13px; height: 13px; }
  .topbar-item-hours { display: none; }
}

@keyframes stat-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ==========================================================================
   10/b. STAT IDŐVONAL (a Rólam kép alatt)
   ========================================================================== */
.stat-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  padding: 20px 26px 18px;
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow-card);
}
.stat-timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 10%;
  right: 18%;
  height: 4px;
  background: #000;
}
.stat-timeline::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 11%;
  border-left: 18px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.stat-point {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 54px;
}
.stat-point:first-child { align-items: flex-start; text-align: left; }
.stat-point:last-child { align-items: flex-end; text-align: right; }
.stat-point strong {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-900);
}
.stat-point span {
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--slate);
  max-width: 240px;
}

/* ==========================================================================
   04/b. SZOLGÁLTATÁSOK – KOMPAKT SÁV (logo-sáv felett)
   ========================================================================== */
.services-strip {
  position: relative;
  z-index: 3;
  margin-top: -96px;
  padding: 0 0 8px;
  background: transparent;
}
.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-strip-item {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: 0 18px 40px -14px rgba(19, 31, 57, 0.3);
  overflow: hidden;
}
.service-strip-item h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: var(--blue-900);
}
.svc-mark {
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 0;
  background: var(--red);
}
.service-strip-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
}

@media (max-width: 1024px) {
  .services-strip-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-strip { padding: 34px 0 8px; }
  .services-strip-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-strip { margin-top: -56px; }
  .hero { padding-bottom: 128px; }
}

.form-legal a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-legal a:hover { color: var(--red); }

.footer-legal { margin: 0; font-size: 0.92rem; }
.footer-legal a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 2px; }
.footer-legal a:hover { text-decoration-color: #fff; }

/* magyar szöveg-elválasztás: csak akkor tör, ha a szó nem fér ki a sorba */
p, h1, h2, h3, li, .section-lead, .band-text {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* ===== Sütikezelési tájékoztató (cookie banner) ===== */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: none;
  width: min(560px, calc(100vw - 32px));
  background: var(--blue-900);
  color: #e3edf5;
  box-shadow: 0 18px 48px -12px rgba(0, 0, 0, 0.45);
  z-index: 1200;
  padding: 20px 24px 22px;
  border-top: 3px solid var(--red);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-text { font-size: 0.95rem; line-height: 1.55; margin-bottom: 16px; }
.cookie-banner-text a { color: var(--cyan); }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
}
.cookie-btn-accept { background: var(--red); color: #fff; border-color: var(--red); }
.cookie-btn-accept:hover { background: #b82225; }
.cookie-btn-reject { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.cookie-btn-reject:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* mobil: a popup középre igazítva (egyenlő margók) */
@media (max-width: 640px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    width: auto;
  }
}
