/* ============================================
   GSolution - Common Stylesheet
   Brand colors from Elementor Global Kit
   ============================================ */

/* Self-hosted fonts (League Spartan + Roboto) — no external Google call, GDPR-friendly */
@import url('fonts.css');

:root {
  --c-primary: #0F70B7;
  --c-primary-dark: #0a578f;
  --c-primary-light: #e8f3fb;
  --c-text: #191919;
  --c-text-muted: #555;
  --c-bg: #FAFAFA;
  --c-surface: #FFFFFF;
  --c-grey: #F6F6F6;
  --c-border: #e6e6e6;

  --font-display: 'League Spartan', system-ui, sans-serif;
  --font-body: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Roboto', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(15,112,183,.06);
  --shadow-md: 0 8px 30px rgba(15,112,183,.10);
  --shadow-hover: 0 12px 40px rgba(15,112,183,.18);

  --container: 1180px;
  --header-h: 76px;

  --transition: .25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Global focus-visible */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-text);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
a  { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary-dark); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Service links styled as clearly-clickable outline buttons */
.main-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--c-primary);
  background: var(--c-surface);
  padding: 9px 18px;
  border: 1.5px solid var(--c-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.main-nav a:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.main-nav a.active {
  background: var(--c-primary);
  color: #fff;
}

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

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: .98rem;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--c-text);
}
.btn-ghost:hover { color: var(--c-primary); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(15,112,183,.08), transparent 60%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--c-primary); }
.hero h1 .hero-subtitle {
  display: block;
  font-size: .55em;
  font-weight: 500;
  color: var(--c-text);
  margin-top: .35em;
  line-height: 1.25;
  text-wrap: balance;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual .placeholder-figure {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 460px;
  background: linear-gradient(135deg, var(--c-primary-light), #fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  color: var(--c-primary);
  font-size: 6rem;
}
.hero-visual .hero-image {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Hero with background image */
.hero.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0 114px;   /* match the index hero (.hub-hero) height */
  display: flex;
  align-items: center;
}
.hero.hero-bg::before { display: none; }
.hero.hero-bg .container {
  display: block;
}
.hero.hero-bg .hero-content {
  max-width: 640px;
}
.hero.hero-bg h1,
.hero.hero-bg h1 .hero-subtitle {
  color: #fff;
}
.hero.hero-bg h1 .accent { color: var(--c-primary); }
.hero.hero-bg .lead {
  color: rgba(255,255,255,.92);
}
.hero.hero-bg .btn-outline {
  color: #fff;
  border-color: #fff;
}
.hero.hero-bg .btn-outline:hover {
  background: #fff;
  color: var(--c-primary);
}
@media (max-width: 720px) {
  .hero.hero-bg {
    padding: 70px 0;
    background-position: 70% center;
  }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
section { padding: 90px 0; }
section.alt { background: var(--c-grey); }
section.compact { padding: 80px 0; }
.section-head.compact { margin: 0 auto 64px; max-width: 820px; }
.section-head.compact:last-child { margin-bottom: 0; }
.section-head.compact .eyebrow { margin-bottom: 28px; padding: 5px 14px; font-size: .88rem; }
#kapcsolat .section-head.compact .eyebrow { margin-bottom: 28px; }
.section-head.compact h2 { font-size: 1.85rem; margin-bottom: 14px; line-height: 1.25; color: var(--c-primary); }
.section-head.compact p { font-size: 1.1rem; margin: 0; line-height: 1.6; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 28px; }
.section-head p {
  color: var(--c-text-muted);
  font-size: 1.05rem;
}

/* ============================================
   CARDS — Problem topics / Services
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-light);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}
.card .icon svg,
.hub-card .icon svg,
.info-icon svg {
  width: 56%;
  height: 56%;
  display: block;
}
.hub-card .icon svg { width: 52%; height: 52%; }
.card h3 { margin-bottom: 10px; }
.card p {
  color: var(--c-text-muted);
  font-size: .96rem;
  flex: 1;
}
.card .card-cta {
  margin-top: 14px;
  color: var(--c-primary);
  font-weight: 500;
  font-family: var(--font-accent);
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid .figure {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-grey));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-family: var(--font-accent);
  font-size: 4rem;
}
.about-grid ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}
.about-grid li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--c-text-muted);
}
.about-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: bold;
}

/* Centered figure (Kinek ajánljuk) */
.centered-figure {
  width: 220px;
  height: 220px;
  margin: 0 auto 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-grey));
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--c-primary);
}
.centered-figure-img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Centered checklist (Kinek ajánljuk) */
.checklist {
  list-style: none;
  padding: 0;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px 32px;
}
.checklist li {
  padding: 10px 0 10px 36px;
  position: relative;
  color: var(--c-text);
  text-align: left;
  line-height: 1.5;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: bold;
}

/* ============================================
   PROCESS — Hogyan dolgozunk
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.process-step {
  background: var(--c-surface);
  padding: 26px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  position: relative;
  transition: box-shadow var(--transition);
}
.process-step:hover { box-shadow: var(--shadow-md); }
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--c-text-muted); font-size: .92rem; margin: 0; }

/* ============================================
   CONTACT / FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info p { color: var(--c-text-muted); }
.contact-info .info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .info-icon {
  width: 42px;
  height: 42px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info .info-row a { color: var(--c-text); font-weight: 500; }
.contact-info .info-row a:hover { color: var(--c-primary); }
.contact-info .info-row a[href^="tel:"],
.contact-info .info-row a[href^="mailto:"] {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -.01em;
}
.contact-info .info-row a[href^="tel:"]:hover,
.contact-info .info-row a[href^="mailto:"]:hover {
  color: var(--c-primary-dark);
}

.contact-form {
  background: var(--c-surface);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--c-text);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--c-bg);
  transition: border-color var(--transition), background var(--transition);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* Required field marker */
.form-row label .req {
  color: #d63838;
  margin-left: 2px;
  font-weight: 600;
}

/* Split-button Cég/Magánszemély toggle */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--c-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.segmented input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segmented label {
  margin: 0;
  text-align: center;
  padding: 14px 18px;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-primary);
  background: #fff;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  user-select: none;
  position: relative;
}
.segmented label + input[type="radio"] + label,
.segmented input[type="radio"]:first-of-type + label {
  /* osztóvonal a két fele között */
}
.segmented label:first-of-type {
  border-right: 1.5px solid var(--c-primary);
}
.segmented label:hover {
  background: var(--c-primary-light);
}
.segmented input[type="radio"]:checked + label {
  background: var(--c-primary);
  color: #fff;
}
.segmented input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--c-primary-dark);
  outline-offset: -4px;
}

/* Conditional company fields */
.biz-only {
  display: none;
}
.biz-only.show {
  display: block;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--c-text-muted);
}
.consent input { width: 18px; height: 18px; margin-top: 3px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #d0cfcf;
  color: var(--c-text);
  padding: 64px 0 0;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.site-footer::before { display: none; }
.site-footer .footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  align-items: stretch;
}
.site-footer .footer-col {
  display: flex;
  flex-direction: column;
}
.site-footer h4 {
  color: var(--c-text);
  font-size: .92rem;
  margin-bottom: 18px;
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: var(--c-text); font-size: .94rem; transition: color var(--transition), padding-left var(--transition); }
.site-footer a:hover { color: var(--c-primary); }
.site-footer .footer-col ul a:hover { padding-left: 4px; }
.site-footer .logo {
  display: inline-block;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.site-footer .logo img { height: 36px; display: block; }
.footer-brand p {
  margin: 14px 0 18px;
  font-size: .92rem;
  color: var(--c-text-muted);
  max-width: 320px;
  line-height: 1.55;
}
.footer-brand .logo { margin-top: -9px; }
.footer-meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .94rem;
  color: var(--c-text);
  line-height: 1.5;
}
.footer-meta strong { font-weight: 600; }
.footer-meta span { color: var(--c-text-muted); font-size: .88rem; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 0;
}
.footer-contact a:hover { color: var(--c-primary); }
.footer-contact a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-bottom {
  background: var(--c-primary);
  color: rgba(255,255,255,.92);
  text-align: center;
  padding: 18px 0;
  margin-top: 44px;
  font-size: .85rem;
  position: relative;
}

@media (max-width: 880px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 460px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 50px rgba(8,17,29,.22);
  padding: 22px 24px;
  z-index: 100;
  display: none;
  animation: cookieIn .35s ease-out;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-banner h4 svg {
  width: 22px;
  height: 22px;
  color: var(--c-primary);
}
.cookie-banner p {
  margin: 0 0 16px;
  font-size: .9rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.cookie-banner p a { color: var(--c-primary); text-decoration: underline; }
.cookie-banner .cookie-state { font-size: .82rem; opacity: .8; margin-top: -4px; }
.cookie-banner .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .actions .btn { padding: 9px 18px; font-size: .9rem; font-weight: 600; }
/* EDPB cookie-banner taskforce: "reject" must be as prominent as "accept".
   Both are equal-size, solid (filled) buttons — no low-emphasis ghost styling. */
.cookie-banner .cookie-reject {
  background: var(--c-text);
  color: #fff;
  border: 1.5px solid var(--c-text);
}
.cookie-banner .cookie-reject:hover {
  background: #1a2433;
  color: #fff;
}

/* ---- Contact form result modal ---- */
.gs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8,17,29,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.gs-modal-overlay.show { opacity: 1; }
.gs-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 380px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: translateY(8px) scale(.98);
  transition: transform .2s ease;
}
.gs-modal-overlay.show .gs-modal { transform: none; }
.gs-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.gs-modal-icon svg { width: 34px; height: 34px; }
.gs-modal-icon.success { background: #e6f6ec; color: #1e9e54; }
.gs-modal-icon.error { background: #fdeaea; color: #c0392b; }
.gs-modal-msg {
  font-size: 1.05rem;
  color: var(--c-text);
  margin: 0 0 22px;
  line-height: 1.5;
}
.gs-modal .gs-modal-close { min-width: 120px; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LEGAL PAGES (impresszum, adatvédelem, süti)
   ============================================ */
.legal-hero {
  background: var(--c-grey);
  padding: 50px 0 36px;
  border-bottom: 1px solid var(--c-border);
}
.legal-hero h1 {
  font-size: 2rem;
  margin: 0;
  color: var(--c-text);
}
.legal-hero .breadcrumb {
  font-family: var(--font-accent);
  font-size: .85rem;
  color: var(--c-text-muted);
  margin-bottom: 8px;
}
.legal-hero .breadcrumb a { color: var(--c-primary); }
.legal-content {
  padding: 56px 0 80px;
}
.legal-content .container { max-width: 820px; }
.legal-content h2 {
  font-size: 1.35rem;
  color: var(--c-primary);
  margin-top: 36px;
  margin-bottom: 14px;
}
.legal-content h3 {
  font-size: 1.1rem;
  color: var(--c-text);
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-content p {
  margin-bottom: 14px;
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 6px; line-height: 1.6; }
.legal-content a { color: var(--c-primary); text-decoration: underline; }
.legal-content .meta-card {
  background: var(--c-primary-light);
  border-left: 4px solid var(--c-primary);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
.legal-content .meta-card p { margin: 0; font-size: .95rem; }
.legal-content .meta-card p + p { margin-top: 6px; }

/* ============================================
   HUB (index.html)
   ============================================ */
.hub-hero {
  padding: 130px 0 114px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hub-hero .container { text-align: center; }
.hub-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.2;
  color: #fff;
}
.hub-hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,.92);
  max-width: 640px;
  margin: 0 auto 44px;
}
.hub-hero p.lead strong { color: #fff; }
.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.hub-card {
  background: var(--c-surface);
  padding: 42px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  text-align: left;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: block;
}
.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.hub-card .icon {
  width: 64px;
  height: 64px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.hub-card h3 {
  color: var(--c-text);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.hub-card p {
  color: var(--c-text-muted);
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.55;
}
.hub-card .arrow {
  color: var(--c-primary);
  font-family: var(--font-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
}
.hub-card .arrow {
  color: var(--c-primary);
  font-family: var(--font-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .hero .container,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* Honeypot field — hidden from humans, visible to naive bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Telecom hero: connectivity / network motif overlay (no photo needed) */
.hero.hero-bg .hero-net {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 58%;
  max-width: 700px;
  opacity: .9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
@media (max-width: 760px) {
  .hero.hero-bg .hero-net { display: none; }
}

/* About-grid figure illustrations (topic line-art, brand palette) */
.about-grid .figure .figure-svg {
  width: 62%;
  max-width: 270px;
  height: auto;
}

/* Legal pages: data tables */
.legal-content .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: .95rem;
}
.legal-content .legal-table th,
.legal-content .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
}
.legal-content .legal-table th {
  background: var(--c-primary-light);
  color: var(--c-text);
  font-family: var(--font-accent);
  font-weight: 600;
}
.legal-content .legal-table tr:nth-child(even) td { background: var(--c-grey); }
@media (max-width: 600px) {
  .legal-content .legal-table, .legal-content .legal-table thead,
  .legal-content .legal-table tbody, .legal-content .legal-table th,
  .legal-content .legal-table td, .legal-content .legal-table tr { display: block; }
  .legal-content .legal-table th { background: var(--c-primary); color: #fff; }
}

/* About-grid figure photos */
.about-grid .figure { overflow: hidden; }
.about-grid .figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================
   HEADER / FOOTER REFINEMENT (2026-06 — softer edges,
   rounded corners, refined shadows + on-brand graphic)
   Appended last so it overrides earlier rules via the cascade;
   no HTML markup changes needed.
   ============================================ */

/* --- Header: replace the hard 1px divider with a soft shadow +
       a subtle brand gradient accent line (tasteful graphic). --- */
.site-header {
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
          backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(15,112,183,.10);
  box-shadow: 0 6px 22px rgba(15,112,183,.06);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(15,112,183,.45) 28%,
    rgba(15,112,183,.85) 50%, rgba(15,112,183,.45) 72%, transparent 100%);
  opacity: .7;
  pointer-events: none;
}
/* softer, rounder interactive elements in the header */
.main-nav a { border-radius: 11px; }
.header-cta .btn { border-radius: 11px; }
.burger { border-radius: 10px; }

/* phone icon inside the header Kapcsolat button (desktop: icon + label) */
.header-cta .btn .btn-ico { width: 18px; height: 18px; flex-shrink: 0; }

/* Responsive header: collapse to the burger at 980px. On mobile the menu is a
   true slide-in DRAWER from the right (off-canvas) with a dimmed backdrop and
   body scroll-lock — tap the burger, the panel slides in, pick a page. This
   replaces the old top-dropdown that rendered inconsistently across devices. */

/* Kapcsolat link injected into the drawer (JS) — hidden on desktop, shown only
   inside the mobile drawer (the header CTA pill is hidden on mobile). */
.main-nav .nav-contact { display: none; }
/* Backdrop element (injected by JS) — inert until the drawer opens.
   z-index 40 keeps it BELOW the sticky header's stacking context (z-50): the
   drawer lives inside .site-header (sticky + backdrop-filter = its own stacking
   context), so it paints at the header's global level. If the overlay sat above
   that (e.g. z-55) it would tint/blur the white drawer itself — making the menu
   look faint. At z-40 the overlay only dims the page content behind it. */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,17,29,.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 40;
}

@media (max-width: 980px) {
  .burger { display: flex; position: relative; z-index: 65; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 320px);
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: calc(var(--header-h) + 18px) 20px 28px;
    border-left: 1px solid rgba(15,112,183,.12);
    box-shadow: -18px 0 48px rgba(8,17,29,.18);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    z-index: 60;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    width: 100%;
    padding: 15px 16px;
    font-size: 1.05rem;
    border-radius: 12px;
    box-shadow: none;
  }
  /* Kapcsolat highlighted as the primary action at the bottom of the drawer */
  .main-nav .nav-contact {
    display: inline-flex;
    justify-content: center;
    margin-top: 6px;
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
  }

  .nav-overlay.open { opacity: 1; visibility: visible; }
  body.nav-lock { overflow: hidden; }

  /* Mobile: hide the header CTA pill — the drawer carries Kapcsolat instead. */
  .header-cta .btn-primary { display: none; }
}

/* --- Footer: rounded top, refined cool-grey gradient, soft lift,
       brand accent edge + faint connectivity graphic (echoes the
       telecom hero). Text stays high-contrast dark on light. --- */
.site-footer {
  background:
    url("../img/footer-net.svg") no-repeat top -28px right -46px,
    linear-gradient(180deg, #eef2f6 0%, #e4e9ef 100%);
  background-size: 440px auto, auto;
  padding: 50px 0 0;
  margin-top: 38px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -10px 40px rgba(15,112,183,.07);
}
/* refined brand accent line along the rounded top edge */
.site-footer::before {
  display: block;
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--c-primary) 22%,
    var(--c-primary) 78%, transparent 100%);
  opacity: .85;
  pointer-events: none;
}
/* hide the decorative graphic where columns stack (avoid overlap) */
@media (max-width: 880px) {
  .site-footer { background-image: linear-gradient(180deg, #eef2f6 0%, #e4e9ef 100%); }
}
/* bottom brand bar: gentle top highlight for a softer seam + tighter seam
   above it so the whole footer reads more compact */
.footer-bottom {
  margin-top: 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
