:root{
  --bg: #f8f9fb;
  --panel: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --brand: #111111;
  --brand-2: #000000;
  --warn: #ef4444;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(0,0,0,.08);
  --container: 1100px;
  --hero-ar: 16/9;
  --hero-h-desktop: clamp(280px, 28vw, 520px);
  --hero-h-mobile: clamp(300px, 55vw, 420px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(12px, 4vw, 16px);
  padding-right: clamp(12px, 4vw, 16px);
}

/* Header */
.site-header {
  background: #eaebef;
  border-bottom: 1px solid #e6e7eb;
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }

/* Brand */
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.brand-logo{
  height: clamp(40px, 8vw, 80px);
  width: auto;
  display: block;
  margin: clamp(8px, 2.5vw, 24px) 0;
}
.site-footer .brand-logo { margin: 0; }

/* Services + How it works */
.services-two-col{ display: block; margin-inline: auto; text-align: left; max-width: 1000px; }
.services-two-col > .services-list,
.services-two-col > .howitworks{ margin-top: 0; }

/* Nav */
.main-nav a{
  padding: clamp(8px, 1.8vw, 10px) clamp(10px, 2.2vw, 12px);
  text-decoration: none; color: var(--text);
  border-radius: 10px;
}
.main-nav a:hover { background: #f2f3f5; }
.main-nav a.active { color: var(--brand-2); font-weight: 600; }

/* Burger */
.burger{
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}
.burger:focus-visible { outline: 2px solid rgba(0,0,0,.35); outline-offset: 2px; }
.burger-label { display: none; font-weight: 600; line-height: 1; }
.burger-icon{ display: inline-flex; flex-direction: column; gap: 4px; line-height: 0; }
.burger .bar{
  width: 22px; height: 2px; background: #1f2937; display: block; border-radius: 2px;
  transition: transform 200ms ease, opacity 150ms ease, background-color 150ms ease;
}
.burger.is-open .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger.is-open .bar:nth-child(2){ opacity: 0; }
.burger.is-open .bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav (overlay) */
.mobile-nav { display:none; background: var(--panel); border-bottom:1px solid #e6e7eb; }
.mobile-nav a { display:block; padding:12px 16px; text-decoration:none; color:var(--text); }

/* Layout */
.site-main { padding: 0 0 clamp(40px, 6vw, 56px); }
.site-footer {
  color: #000000;
  padding: 36px 0 16px;
  border-top: 1px solid #dddddd;
}
.site-footer ul { list-style: none; padding-left: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a{ text-decoration: none; }
.site-footer a:hover, .site-footer a:focus{ text-decoration: none; }

.footer-grid { display:grid; gap:24px; grid-template-columns: 1fr 1fr 1fr 1fr; }
.footer-grid a { color:#000000; }
.footer-grid h4 { margin-top: 0; margin-bottom: 0; }
.footer-grid ul { margin: 0; }
.footer-seo{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.footer-bottom{
  display: flex; justify-content: center; align-items: center; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 16px; padding-top: 12px; text-align: center;
}

/* HERO */
.hero-wrap{ position: relative; }

/* -------- Asztali (alap) -------- */
.hero-wrap{
  display: flex;
  align-items: center;
  position: relative;

  /* full-bleed */
  width: 100vw;
  margin-left:  calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  min-height: var(--hero-h-desktop);
  padding: clamp(20px, 4vw, 32px) 0;
  text-align: left;
  background: transparent;
  border-radius: 0;
}
@supports (width: 100dvw){
  .hero-wrap{
    width: 100dvw;
    margin-left:  calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}

/* Banner háttér – mindig a hero-wrap tölti ki */
.hero-wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/banner.webp') left center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* A szöveg overlay-ként a banner fölé pozicionálva desktopon */
.hero-content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;   /* függőleges közép */
  z-index: 1;            /* a banner fölött */
}

/* Belső sáv és szövegoszlop */
.hero-inner{
  max-width: 860px;
  margin-left: clamp(16px, 6vw, 72px);
  margin-right: auto;
}
.hero-copy{
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy .btn{
  /* align-self: center;  ha a szövegblokkhoz képest középre kellene */
  margin-top: 12px;
  text-align: center;
  width: 100%;
}

/* Tipó */
.hero-copy h1{
  margin: 0 0 10px;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.15;
  color: #7fffd4;
}
.hero-copy p{
  margin: 0 0 22px;
  font-size: 16px;
  color: #7fffd4;
}

/* Buttons */
.btn{
  display: inline-block;
  padding: clamp(10px, 2.4vw, 12px) clamp(14px, 3.2vw, 18px);
  border-radius: 12px;
  text-decoration: none;
  background: #bd1a1a;
  color: #ffffff;
  font-weight: 600;       /* -> felülírja az előző sort */
}
.btn:hover{
  background: #f70606; color: #ffffff;
}
.btn.primary{
  background: #bd1a1a; color: #ffffff;
}
.btn.primary:hover{
  background: #f70606; color: #ffffff;
}

/* Cards */
.grid-3 { display:grid; gap:16px; grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.card{
  background: var(--panel);
  border: 1px solid #e6e7eb;
  border-radius: clamp(12px, 2vw, var(--radius));
  box-shadow: var(--shadow);
  padding: clamp(12px, 3vw, 18px);
}
.features .card h3{ margin-top: 4px; }

/* Content */
.services-list h2, .howitworks h2 { margin-top: 40px; }
.bullets { margin: 10px 0 0 0; padding-left: 18px; list-style: none; }
.steps { margin: 10px 0 0 0; padding-left: 18px; list-style: none; }

.cta-band { margin-top: 28px; }
.cta-inner {
  background-color: #fff0f5;
  border-radius: var(--radius);
  padding: 18px;
  display:flex; gap:12px; align-items:center; justify-content: space-between; flex-wrap: wrap;
}

/* Pages */
.page-head h1 { margin-bottom: 6px; }
.page-head p { margin-top: 0; color: var(--muted); }

/* Grids */
.service-grid { display:grid; gap:16px; grid-template-columns: repeat(3, 1fr); }
.price-grid { display:grid; gap:16px; grid-template-columns: repeat(3, 1fr); }
.price-card { background:#fff; border:1px solid #e6e7eb; border-radius: 16px; padding: 18px; text-align: center; }
.price-card .price { font-size: 24px; font-weight: 700; margin: 6px 0; }

.center { text-align: center; }
.mt { margin-top: 24px; }

/* Form */
.form { background:#fff; border:1px solid #e6e7eb; border-radius:16px; padding:18px; margin-top: 8px; }
.field { margin-bottom: 14px; }
label { display:block; font-weight:600; margin-bottom:6px; }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea {
  width:100%; padding:12px 12px; border:1px solid #d1d5db; border-radius:12px; background:#fbfdff;
}
input:focus, textarea:focus { outline: 2px solid rgba(0,0,0,.22); }
textarea { resize: vertical; }
.req { color:#ef4444; }
.checkbox { display:flex; align-items:flex-start; gap:8px; }
.checkbox input { margin-top: 5px; }
.error { color:#b91c1c; }
.actions { display:flex; align-items:center; gap:12px; }
.tags { display:flex; flex-wrap: wrap; gap:8px; }
.tag { display:inline-flex; align-items:center; gap:8px; cursor:pointer; }
.tag input { transform: translateY(1px); }

/* Honeypot */
.hp { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Flash bar */
.flash { background:#f3f4f6; border-bottom:1px solid #e5e7eb; color:#111; padding: 8px 0; }
.flash.error { background:#ffefef; border-bottom:1px solid #ffd0d0; color:#a00; }

/* Cookie bar */
.cookiebar { position: fixed; left:0; right:0; bottom:0; background: #10141c; color:#fff; padding: 12px 0; }
.cookiebar-inner { display:flex; align-items:center; justify-content: space-between; gap:12px; }
.btn.small { padding: 8px 12px; border-radius: 8px; }

/* Utilities */
.grid-2 { display:grid; gap:12px; grid-template-columns: repeat(2, 1fr); }