/* =========================================================
   GLS XXL Landing (ecsoma?gfutar.hu) – gls-xxl.css
   Namespaced under body.landing-xxl to avoid site-wide impact
   ========================================================= */

/* ===== ALAPOK / TOKENS ===== */
body.landing-xxl {
  --primary: #0057b8;
  --secondary: #00a8e8;
  --accent: #ffb703;

  --text: #1f2933;
  --muted: #5b6773;
  --bg0: #ffffff;
  --bg1: #eef4ff;

  --card: #ffffff;
  --border: rgba(31, 41, 51, 0.12);
  --shadow: 0 10px 30px rgba(31, 41, 51, 0.10);

  --radius: 16px;
  --radius-sm: 12px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 40px;
  --space-7: 56px;

  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  color: var(--text);
  line-height: 1.7;
}

body.landing-xxl * { box-sizing: border-box; }
body.landing-xxl img { max-width: 100%; height: auto; }
body.landing-xxl a { color: var(--primary); text-decoration: none; }
body.landing-xxl a:hover { text-decoration: underline; }
body.landing-xxl :focus-visible { outline: 3px solid rgba(0, 87, 184, 0.35); outline-offset: 3px; }

/* ===== SEGÉD OSZTÁLYOK ===== */
body.landing-xxl .muted { color: var(--muted); }
body.landing-xxl .note { color: var(--muted); font-size: 0.95rem; }
body.landing-xxl .kicker {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(0, 87, 184, 0.85);
  background: rgba(0, 87, 184, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 0 var(--space-3);
}

/* ===== SKIP LINK ===== */
body.landing-xxl .skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
body.landing-xxl .skip-link:focus { left: 12px; }

/* ===== LAYOUT ===== */
body.landing-xxl .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
body.landing-xxl .main { padding: var(--space-6) 0 var(--space-7); }

/* ===== TYPO ===== */
body.landing-xxl h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 var(--space-3);
}
body.landing-xxl h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 var(--space-2);
}
body.landing-xxl h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0 0 var(--space-2);
}
body.landing-xxl p { margin: 0 0 var(--space-3); }
body.landing-xxl ul, body.landing-xxl ol { margin: 0 0 var(--space-3); padding-left: 20px; }
body.landing-xxl li { margin: 6px 0; }

/* ===== HERO ===== */
body.landing-xxl .hero {
  padding: var(--space-7) 0 var(--space-6);
}
body.landing-xxl .hero__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: var(--space-6);
  align-items: start;
}
body.landing-xxl .lead {
  font-size: 1.05rem;
  color: rgba(31, 41, 51, 0.92);
  max-width: 58ch;
}

body.landing-xxl .hero__bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  gap: 10px;
}
body.landing-xxl .hero__bullets li {
  background: rgba(0, 87, 184, 0.06);
  border: 1px solid rgba(0, 87, 184, 0.10);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

body.landing-xxl .panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-5);
}
body.landing-xxl .panel__title { margin: 0 0 var(--space-3); }
body.landing-xxl .panel__list { margin: 0 0 var(--space-3); }
body.landing-xxl .panel__note { margin: 0; color: var(--muted); }

/* ===== BUTTONS ===== */
body.landing-xxl .hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

body.landing-xxl .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  user-select: none;
}
body.landing-xxl .btn:active { transform: translateY(1px); }
body.landing-xxl .btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(0, 87, 184, 0.22);
}
body.landing-xxl .btn--primary:hover { text-decoration: none; box-shadow: 0 14px 22px rgba(0, 87, 184, 0.28); }

body.landing-xxl .btn--ghost {
  background: rgba(0, 87, 184, 0.06);
  border-color: rgba(0, 87, 184, 0.20);
  color: var(--primary);
}
body.landing-xxl .btn--ghost:hover { text-decoration: none; background: rgba(0, 87, 184, 0.10); }

/* ===== CARDS NAV ===== */
body.landing-xxl .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 var(--space-6);
}
body.landing-xxl .card {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08);
  padding: 16px 16px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
body.landing-xxl .card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 87, 184, 0.25);
  box-shadow: 0 14px 28px rgba(31, 41, 51, 0.12);
}
body.landing-xxl .card__title { display: block; font-weight: 800; color: var(--text); margin-bottom: 4px; }
body.landing-xxl .card__desc { display: block; color: var(--muted); font-size: 0.95rem; }

/* kártya aktív állapot (aria-expanded=true) */
body.landing-xxl .card[aria-expanded="true"] {
  border-color: rgba(0, 87, 184, 0.35);
  box-shadow: 0 18px 34px rgba(0, 87, 184, 0.12);
}

/* ===== SECTIONS ===== */
body.landing-xxl .section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  margin: 0 0 var(--space-5);
}

body.landing-xxl .section__header { margin-bottom: var(--space-3); }

/* Collapsible behavior */
body.landing-xxl .section[data-collapsible="true"] .section__body { display: none; }
body.landing-xxl .section[data-collapsible="true"].is-open .section__body { display: block; }
body.landing-xxl .section[data-collapsible="true"] .section__header {
  position: relative;
  padding-right: 44px;
}
body.landing-xxl .section[data-collapsible="true"] .section__header::after {
  content: "?";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(0, 87, 184, 0.08);
  border: 1px solid rgba(0, 87, 184, 0.14);
}
body.landing-xxl .section[data-collapsible="true"].is-open .section__header::after { content: "?"; }

/* ===== GRID / BOXES ===== */
body.landing-xxl .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: var(--space-3);
}
body.landing-xxl .box {
  background: rgba(31, 41, 51, 0.03);
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
}

/* ===== CALLOUT ===== */
body.landing-xxl .callout {
  margin-top: var(--space-4);
  border-radius: var(--radius);
  padding: 16px 16px;
  border: 1px solid rgba(255, 183, 3, 0.35);
  background: rgba(255, 183, 3, 0.10);
}

/* ===== STEPS ===== */
body.landing-xxl .steps {
  margin-top: var(--space-4);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 168, 232, 0.25);
  background: rgba(0, 168, 232, 0.08);
}
body.landing-xxl .steps ol { margin: 0; padding-left: 20px; }

/* ===== FAQ (details/summary) ===== */
body.landing-xxl .faq { display: grid; gap: 10px; }
body.landing-xxl .faq__item {
  border: 1px solid rgba(31, 41, 51, 0.10);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
body.landing-xxl .faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 14px;
  font-weight: 700;
  color: var(--text);
}
body.landing-xxl .faq__item summary::-webkit-details-marker { display: none; }
body.landing-xxl .faq__answer {
  padding: 0 14px 14px;
  color: var(--muted);
}

/* ===== CTA ROW ===== */
body.landing-xxl .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

/* ===== FOOTER ===== */
body.landing-xxl .footer {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(31, 41, 51, 0.10);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  body.landing-xxl .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  body.landing-xxl .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  body.landing-xxl .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.landing-xxl .cards {
    grid-template-columns: 1fr;
  }
  body.landing-xxl .panel { padding: 18px; }
  body.landing-xxl .section { padding: 18px; }
  body.landing-xxl .btn { width: 100%; }
}
