/* ============================================================
   AirGuard Klíma – Design rendszer
   Modern kék/tech stílus
   ============================================================ */

:root {
  /* Színek – a logóhoz igazítva (kék #0C78C0, narancs #F0641E, grafit #28323C) */
  --navy-900: #10161b;
  --navy-800: #1c242c;
  --navy-700: #28323c;
  --blue-600: #0c78c0;
  --blue-500: #1789d4;
  --blue-400: #3ba0e0;
  --cyan-400: #36b8ee;
  --cyan-300: #80d2f6;
  --orange: #f0641e;
  --orange-dark: #e44824;
  --ink: #20292f;
  --slate: #58656f;
  --slate-300: #94a2ac;
  --line: #e4eaef;
  --bg: #f5f8fb;
  --bg-soft: #ecf2f8;
  --white: #ffffff;
  --green: #16b67a;

  /* Effektek */
  --grad-blue: linear-gradient(135deg, #0c78c0 0%, #2fb1e8 100%);
  --grad-orange: linear-gradient(135deg, #f0641e 0%, #f08a24 100%);
  --grad-navy: linear-gradient(160deg, #1c242c 0%, #28323c 55%, #163a52 100%);
  --shadow-sm: 0 2px 10px rgba(20, 36, 48, 0.07);
  --shadow-md: 0 10px 30px rgba(20, 36, 48, 0.11);
  --shadow-lg: 0 24px 60px rgba(20, 36, 48, 0.17);
  --shadow-blue: 0 14px 34px rgba(12, 120, 192, 0.30);

  /* Tipográfia */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", var(--font);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.18; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--slate); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-blue); border-radius: 2px; }
.eyebrow.center-line { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin: 0 auto 56px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 60px; border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(12, 120, 192, .42); color:#fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); color:#fff; }
.btn-outline { background: transparent; color: var(--blue-600); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 38px; font-size: 1.06rem; }

/* ---------- Felső sáv (topbar) ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 40px;
  background: #0c1117; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: .86rem; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar a svg { width: 15px; height: 15px; color: var(--cyan-400); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { flex-wrap: nowrap; }
.nav-links > a, .nav-drop-toggle { white-space: nowrap; line-height: 1; }

/* Legördülő almenü */
.nav-dropdown { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-toggle .caret { width: 14px; height: 14px; transition: transform .25s; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.nav-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: .25s var(--ease); z-index: 120;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-links .nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px;
  color: var(--slate); font-family: var(--font-head); font-weight: 500; font-size: .95rem; white-space: nowrap;
}
.nav-links .nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--blue-600); }
.nav-links .nav-dropdown-menu a svg { width: 17px; height: 17px; color: var(--blue-600); flex: 0 0 auto; }

/* Mobil almenü */
.mm-label { font-family: var(--font-head); font-weight: 600; padding: 14px 16px 4px; color: var(--ink); font-size: 1.1rem; }
.mm-sub { display: grid; gap: 2px; margin: 0 0 6px 12px; padding-left: 14px; border-left: 2px solid var(--line); }
.mm-sub a { font-size: 1rem; padding: 10px 14px; color: var(--slate); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; transition: color .3s; }
.scrolled .brand { color: var(--ink); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); flex: 0 0 auto; overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 1px; }
.brand-mark svg { width: 24px; height: 24px; }
.brand b { color: var(--orange); }
.scrolled .brand b { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: rgba(255,255,255,.88); padding: 9px 16px; border-radius: 40px; transition: all .2s;
}
.scrolled .nav-links a { color: var(--slate); }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.14); }
.scrolled .nav-links a:hover, .scrolled .nav-links a.active { color: var(--blue-600); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.22);
  transition: background .25s, transform .25s, border-color .25s; flex: 0 0 auto;
}
.nav-phone:hover { background: var(--grad-blue); border-color: transparent; transform: translateY(-2px); }
.scrolled .nav-phone { background: var(--bg-soft); border-color: var(--line); }
.scrolled .nav-phone:hover { background: var(--grad-blue); border-color: transparent; }
.nav-phone svg { width: 19px; height: 19px; color: #fff; }
.scrolled .nav-phone svg { color: var(--blue-600); }
.nav-phone:hover svg, .scrolled .nav-phone:hover svg { color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.scrolled .burger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 180px 0 120px; overflow: hidden;
  background-image: linear-gradient(155deg, rgba(16,22,27,.88) 0%, rgba(20,28,36,.78) 45%, rgba(22,58,82,.72) 100%), url("../img/agbackground.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 80% 10%, rgba(24,200,255,.20), transparent 60%),
    radial-gradient(500px 400px at 10% 90%, rgba(12,120,192,.28), transparent 60%);
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 40px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: .86rem; font-weight: 500; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,182,122,.25); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(120deg, #5ddcff, #4d96ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; background: linear-gradient(120deg,#fff,#9fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .lbl { font-size: .9rem; color: rgba(255,255,255,.7); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
}
.hero-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-card-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-blue); display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.hero-card-ic svg { width: 28px; height: 28px; color: #fff; }
.hero-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 2px; }
.hero-card-top p { color: rgba(255,255,255,.65); font-size: .9rem; }
.hero-feat { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.9); font-size: .98rem; }
.hero-feat svg { width: 20px; height: 20px; color: var(--cyan-400); flex: 0 0 auto; }
.hero-float {
  position: absolute; right: -10px; bottom: -26px; background: #fff; color: var(--ink);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.hero-float .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(22,182,122,.12); display: grid; place-items: center; }
.hero-float .ic svg { width: 24px; height: 24px; color: var(--green); }
.hero-float .t { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.hero-float .s { font-size: .8rem; color: var(--slate); }

/* wave divider */
.wave { display: block; width: 100%; height: 70px; margin-top: -1px; }

/* ---------- Trust / logos strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; padding: 30px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--slate); font-weight: 500; font-size: .96rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--blue-600); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.card::after { content:""; position:absolute; inset:0 0 auto 0; height:4px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-ic { width: 60px; height: 60px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 22px; transition: background .3s, transform .3s; }
.card-ic svg { width: 30px; height: 30px; color: var(--blue-600); transition: color .3s; }
.card:hover .card-ic { background: var(--grad-blue); transform: rotate(-6deg) scale(1.05); }
.card:hover .card-ic svg { color: #fff; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .98rem; margin-bottom: 20px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--blue-600); font-size: .96rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--grad-navy); aspect-ratio: 4/3; position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: 22px; bottom: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
}
.media-badge svg { width: 26px; height: 26px; color: var(--blue-600); }
.media-badge b { display:block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.media-badge span { font-size: .8rem; color: var(--slate); }
.check-list { margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.check-list .ci { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(12,120,192,.10); display: grid; place-items: center; margin-top: 2px; }
.check-list .ci svg { width: 16px; height: 16px; color: var(--blue-600); }
.check-list b { font-family: var(--font-head); }
.check-list span { color: var(--slate); font-size: .96rem; }

/* ---------- Why / benefits ---------- */
.why { background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.why::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 500px at 90% 0%, rgba(24,200,255,.16), transparent 60%); }
.why .container { position: relative; z-index: 2; }
.why .eyebrow { color: var(--cyan-300); }
.why h2 { color: #fff; }
.why .lead { color: rgba(255,255,255,.78); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; }
.benefit {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .3s var(--ease), background .3s;
}
.benefit:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.benefit-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-blue); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-blue); }
.benefit-ic svg { width: 28px; height: 28px; color: #fff; }
.benefit h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.benefit p { color: rgba(255,255,255,.7); font-size: .94rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff;
  width: 48px; height: 48px; border-radius: 14px; background: var(--grad-blue);
  display: grid; place-items: center; box-shadow: var(--shadow-blue); margin-bottom: 20px;
}
.step::before {
  content:""; position: absolute; top: 38px; left: 64px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step:last-child::before { display: none; }
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: var(--grad-blue); border-radius: var(--radius-lg); padding: 60px 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; box-shadow: var(--shadow-lg);
}
.cta-inner::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 300px at 90% 110%, rgba(255,255,255,.22), transparent 60%); }
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-white { background: #fff; color: var(--blue-600); box-shadow: var(--shadow-md); }
.cta-band .btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .3s, transform .3s; }
.info-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; }
.info-ic svg { width: 24px; height: 24px; color: var(--blue-600); }
.info-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-item a, .info-item p { color: var(--slate); font-size: .98rem; }
.info-item a:hover { color: var(--blue-600); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; color: var(--ink); background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(23,137,212,.16); background:#fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--slate-300); margin-top: 6px; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-q .pm { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; transition: background .3s, transform .3s; }
.faq-q .pm svg { width: 18px; height: 18px; color: var(--blue-600); transition: transform .3s; }
.faq-item.open .pm { background: var(--grad-blue); }
.faq-item.open .pm svg { color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--slate); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { color: #fff; padding: 160px 0 90px; position: relative; overflow: hidden;
  background-image: linear-gradient(155deg, rgba(16,22,27,.90) 0%, rgba(20,28,36,.82) 50%, rgba(22,58,82,.78) 100%), url("../img/agbackground.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 400px at 85% 10%, rgba(24,200,255,.18), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.crumb { display: flex; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumb a { color: rgba(255,255,255,.8); }
.crumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; max-width: 760px; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.12rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: rgba(255,255,255,.65); font-size: .95rem; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; }
.footer-contact svg { width: 19px; height: 19px; color: var(--cyan-400); flex: 0 0 auto; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--cyan-300); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .3s, transform .3s; }
.socials a:hover { background: var(--grad-blue); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; color: #fff; }

/* ---------- Floating call button (mobil) ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-blue); box-shadow: var(--shadow-blue); display: none; place-items: center; animation: pulse 2.4s infinite; }
.fab svg { width: 26px; height: 26px; color: #fff; }
@keyframes pulse { 0%,100%{ box-shadow: 0 14px 34px rgba(12,120,192,.30);} 50%{ box-shadow: 0 14px 34px rgba(12,120,192,.30), 0 0 0 14px rgba(12,120,192,0);} }

/* ---------- Reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86%, 360px); background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
  padding: 28px 26px; display: flex; flex-direction: column;
}
.mobile-menu.open { transform: none; }
.mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mm-top .brand { color: var(--ink); }
.mm-close { background: var(--bg-soft); border: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 1.4rem; color: var(--ink); display:grid; place-items:center; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--ink); padding: 14px 16px; border-radius: 12px; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { background: var(--bg-soft); color: var(--blue-600); }
.mm-cta { margin-top: auto; display: grid; gap: 12px; }
.overlay { position: fixed; inset: 0; background: rgba(6,16,33,.5); backdrop-filter: blur(3px); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Termékajánló kártyák ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft);
  display: grid; place-items: center; padding: 20px;
}
/* a teljes kép megjelenik, NEM nyúlik ki és nincs levágva */
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--grad-orange); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .02em;
  padding: 6px 13px; border-radius: 30px; box-shadow: var(--shadow-sm);
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.product-body h3 { margin-bottom: 6px; }
.product-cat { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.product-feats { display: grid; gap: 10px; margin-bottom: 22px; }
.product-feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate); font-size: .95rem; }
.product-feats svg { width: 18px; height: 18px; color: var(--blue-600); flex: 0 0 auto; margin-top: 2px; }
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-price .from { font-size: .85rem; color: var(--slate); }
.product-price .amount { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--ink); }
.product-price .unit { font-size: .9rem; color: var(--slate); }
.product-card .btn { width: 100%; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; }
  .cards, .benefits, .steps, .products { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: flex; }
  .section { padding: 70px 0; }
  .hero { padding: 150px 0 90px; }
  .cards, .benefits, .steps, .products, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 30px; flex-direction: column; align-items: flex-start; }
  .fab { display: grid; }
  .hero-float { right: 10px; }
}
@media (max-width: 440px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero-stats { gap: 24px; }
  .form-card { padding: 24px; }
}

@media (max-width: 760px) {
  .topbar .container { justify-content: center; gap: 16px; }
  .topbar a { font-size: .8rem; }
}
@media (max-width: 440px) {
  .topbar .tb-text { display: none; }
  .topbar .container { gap: 20px; }
}

/* ---------- Süti kezelő (cookie consent) ---------- */
.cc-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 300;
  max-width: 540px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px 26px; transform: translateY(140%); opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.cc-banner.show { transform: none; opacity: 1; }
.cc-banner h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cc-banner h4 svg { width: 22px; height: 22px; color: var(--blue-600); }
.cc-banner p { font-size: .92rem; color: var(--slate); margin-bottom: 18px; }
.cc-banner p a { color: var(--blue-600); text-decoration: underline; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn { font-family: var(--font-head); font-weight: 600; font-size: .92rem; padding: 11px 20px; border-radius: 40px; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.cc-btn:hover { transform: translateY(-2px); }
.cc-accept { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); flex: 1 1 auto; }
.cc-reject { background: var(--bg-soft); color: var(--ink); }
.cc-settings { background: #fff; color: var(--slate); border-color: var(--line); }
.cc-settings:hover { color: var(--blue-600); border-color: var(--blue-500); }

.cc-overlay { position: fixed; inset: 0; background: rgba(6,16,33,.55); backdrop-filter: blur(3px); z-index: 310; opacity: 0; visibility: hidden; transition: .3s; }
.cc-overlay.show { opacity: 1; visibility: visible; }
.cc-modal {
  position: fixed; z-index: 320; left: 50%; top: 50%; transform: translate(-50%,-46%); opacity: 0; visibility: hidden;
  width: min(560px, calc(100% - 36px)); max-height: 86vh; overflow-y: auto; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.cc-modal.show { opacity: 1; visibility: visible; transform: translate(-50%,-50%); }
.cc-modal h3 { font-family: var(--font-head); margin-bottom: 8px; }
.cc-modal > p { font-size: .94rem; color: var(--slate); margin-bottom: 20px; }
.cc-cat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; }
.cc-cat-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cc-cat-top b { font-family: var(--font-head); font-size: 1rem; }
.cc-cat p { font-size: .86rem; color: var(--slate); margin-top: 8px; }
.cc-switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-slider { position: absolute; inset: 0; background: #cdd8e3; border-radius: 30px; transition: .25s; cursor: pointer; }
.cc-slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; box-shadow: var(--shadow-sm); }
.cc-switch input:checked + .cc-slider { background: var(--blue-600); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-switch input:disabled + .cc-slider { background: var(--green); cursor: not-allowed; opacity: .8; }
.cc-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cc-modal-actions .cc-btn { flex: 1 1 auto; }
.cc-reopen { color: rgba(255,255,255,.6); cursor: pointer; background: none; border: none; font: inherit; font-size: .88rem; padding: 0; }
.cc-reopen:hover { color: var(--cyan-300); }
@media (max-width: 520px) { .cc-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; } }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-noimg { display: grid; place-items: center; height: 100%; min-height: 160px; color: var(--blue-600); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: .82rem; color: var(--slate); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.blog-card-body h3 a:hover { color: var(--blue-600); }
.blog-card-body > p { font-size: .95rem; margin-bottom: 14px; flex: 1; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.blog-tag { font-size: .72rem; font-weight: 600; color: var(--blue-600); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }
.blog-readmore { font-weight: 600; color: var(--blue-600); font-size: .9rem; margin-top: auto; }

/* cikk nézet */
.blog-article { max-width: 820px; }
.blog-back { display: inline-block; margin-bottom: 16px; font-weight: 600; color: var(--slate); }
.blog-back:hover { color: var(--blue-600); }
.blog-article h1 { margin: 6px 0 14px; }
.blog-cover { width: 100%; border-radius: var(--radius); margin: 18px 0 26px; max-height: 460px; object-fit: cover; }
.blog-content { font-size: 1.05rem; color: var(--ink); }
.blog-content h2 { margin: 30px 0 12px; font-size: 1.5rem; }
.blog-content h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.blog-content p { margin-bottom: 16px; color: var(--navy-700); }
.blog-content ul, .blog-content ol { margin: 0 0 16px 1.3em; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 6px; }
.blog-content a { color: var(--blue-600); text-decoration: underline; }
.blog-content figure { margin: 24px 0; }
.blog-content figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.blog-content figcaption { font-size: .85rem; color: var(--slate); text-align: center; margin-top: 8px; }
.blog-cta-box { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; margin: 36px 0; text-align: center; }
.blog-cta-box h3 { margin-bottom: 8px; }
.blog-cta-box p { margin-bottom: 18px; }
.blog-related-title { margin: 44px 0 18px; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
