/* ==========================================================
   Technicide.eu – Exacticide
   Modern, prémium B2B dizájn – sötét navy + fehér + kék accent
   ========================================================== */

:root {
    --navy-950: #070d1a;
    --navy-900: #0a1120;
    --navy-800: #101a30;
    --navy-700: #17233d;
    --ink: #0f172a;
    --slate: #475569;
    --slate-light: #64748b;
    --line: #e2e8f0;
    --bg: #f6f8fb;
    --white: #ffffff;
    --accent: #2f7bf6;
    --accent-dark: #1e63d6;
    --accent-soft: #e8f1fe;
    --amber: #f5a623;
    --success: #15803d;
    --success-bg: #eafaf0;
    --error: #b91c1c;
    --error-bg: #fdecec;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .10);
    --shadow-lg: 0 24px 60px rgba(7, 13, 26, .28);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--accent); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Gombok ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 8px 20px rgba(47, 123, 246, .32);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 123, 246, .4); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: #fff; padding-inline: .4rem; }
.btn-ghost:hover { color: #bcd4ff; }
.btn-sm { padding: .6rem 1.2rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Fejléc ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7, 13, 26, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
/* A fejléc szélesebb containerje: a brand + teljes nav + CTA nem fér el a
   tartalmi 1180px-ben – a nav tartalma a flex-end miatt a brand felé csordult.
   A header így max 1360px, a tényleges igény ~1210px + padding. */
.header-inner {
    max-width: 1360px;
    display: grid; grid-template-columns: auto auto;
    justify-content: center;
    align-items: center; column-gap: 2rem; min-height: 72px;
}
.brand {
    display: inline-flex; align-items: center; gap: .7rem;
    flex: none; min-width: 0; white-space: nowrap;
}
.brand img { width: 132px; height: auto; flex: none; }
/* A nav tartalomszéles: menüpontok + CTA egy kompakt csoport, a brand mellett,
   középre rendezve – lásd .header-inner justify-content: center. */
.main-nav { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.main-nav ul { display: flex; align-items: center; gap: .25rem; min-width: 0; }
.main-nav ul a {
    display: block; padding: .55rem .62rem; border-radius: 8px;
    color: #d7e0f2; font-weight: 600; font-size: .95rem; white-space: nowrap;
    transition: color .15s, background .15s;
}
.main-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav ul a.active { color: #fff; background: rgba(47, 123, 246, .22); }
.nav-cta { margin-left: .4rem; padding: .7rem 1.25rem; font-size: .95rem; }
.nav-toggle {
    display: none; width: 46px; height: 46px; border: 0; background: transparent;
    cursor: pointer; padding: 10px; margin-left: auto;
}
.nav-toggle span {
    display: block; height: 2px; margin: 6px 4px; border-radius: 2px;
    background: #fff; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1100px 500px at 78% -10%, rgba(47, 123, 246, .32), transparent 60%),
        radial-gradient(700px 420px at -10% 110%, rgba(47, 123, 246, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner {
    position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 4rem); align-items: center;
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-eyebrow, .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: #8fb4f9; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .hl { color: #7fa8f8; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #c3d0e8; max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-note { display: flex; align-items: center; gap: .5rem; color: #9db0d2; font-size: .92rem; margin-top: 1.6rem; }
.hero-note svg { width: 1.15em; height: 1.15em; color: var(--amber); flex: none; }
.hero-media { position: relative; }
.hero-media img {
    width: 100%; max-width: 540px; margin-inline: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
    animation: heroFloat 7s ease-in-out infinite;
}
.hero-badge {
    position: absolute; right: 4%; bottom: 6%;
    background: rgba(16, 26, 48, .9); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px); border-radius: var(--radius);
    padding: .8rem 1.1rem; font-size: .85rem; line-height: 1.35; color: #cdd9ef;
    box-shadow: var(--shadow-lg);
}
.hero-badge strong { display: block; color: #fff; font-size: 1.05rem; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- Szekciók ---------- */
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section-dark { background: linear-gradient(165deg, var(--navy-900), var(--navy-950)); color: #dfe7f5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #8fb4f9; }
.section-muted { background: var(--bg); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--slate); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9c6df; }
.lead { font-size: 1.12rem; color: var(--slate); }
.section-dark .lead { color: #b9c6df; }

/* ---------- Benefit kártyák ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd9ee; }
.card-icon {
    width: 52px; height: 52px; border-radius: 13px; margin-bottom: 1.1rem;
    display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); margin-bottom: 0; font-size: .98rem; }

/* ---------- Statisztikák ---------- */
.stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
    background: rgba(255, 255, 255, .04); padding: clamp(1.4rem, 3vw, 2.4rem);
}
.stat { text-align: center; }
.stat-num {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em;
    color: #fff; line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label { color: #a9bad6; font-size: .95rem; margin-top: .5rem; }
.stats-note { font-size: .8rem; color: #7e90b3; text-align: center; margin-top: 1rem; }

/* ---------- Összehasonlítás ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.compare-col { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.compare-col h3 { display: flex; align-items: center; gap: .6rem; }
.compare-old { background: #fff; border: 1px dashed #d7dee9; }
.compare-old h3 { color: var(--slate); }
.compare-new {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #dfe7f5;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.compare-new::after {
    content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(47, 123, 246, .35), transparent 70%);
}
.compare-new h3 { color: #fff; }
.compare-list li {
    position: relative; padding: .45rem 0 .45rem 2rem; color: var(--slate);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.compare-new .compare-list li { color: #cdd9ef; border-color: rgba(255, 255, 255, .08); }
.compare-list li:last-child { border-bottom: 0; }
.compare-list li::before {
    content: ""; position: absolute; left: 0; top: .8em; width: 1.15rem; height: 1.15rem;
    border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: .62rem;
}
.compare-old .compare-list li::before {
    background-color: #f1f5f9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.compare-new .compare-list li::before {
    background-color: rgba(47, 123, 246, .25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fa8f8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}

/* ---------- Termék showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.showcase-media { position: relative; }
.showcase-media > img { width: 100%; border-radius: var(--radius); }
.showcase-media.frame {
    background: linear-gradient(160deg, #fff, #eef3fa); border: 1px solid var(--line);
    border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-md);
}
.showcase-list li {
    position: relative; padding: .55rem 0 .55rem 2.1rem; color: var(--slate); font-size: 1.02rem;
}
.showcase-list li::before {
    content: ""; position: absolute; left: 0; top: .68em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7bf6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/.7rem no-repeat;
}
/* ---------- Galéria ---------- */
.gallery-main {
    background: linear-gradient(160deg, #fff, #eef3fa); border: 1px solid var(--line);
    border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2.4rem);
    display: grid; place-items: center; min-height: 320px; box-shadow: var(--shadow-sm);
}
.gallery-main img { max-height: 420px; width: auto; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.gallery-thumbs button {
    border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    padding: .45rem; cursor: pointer; width: 84px; height: 84px;
    transition: border-color .15s, transform .15s;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button:hover { transform: translateY(-2px); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--accent); }

/* ---------- Tartozék kártyák ---------- */
.acc-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.acc-card .acc-img {
    background: linear-gradient(160deg, #fff, #f0f4fa); padding: 1.4rem;
    display: grid; place-items: center; aspect-ratio: 4/3;
}
.acc-card .acc-img img { max-height: 190px; object-fit: contain; }
.acc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.acc-body h3 { margin: 0; font-size: 1.08rem; }
.acc-body p { color: var(--slate); font-size: .94rem; margin: 0; flex: 1; }
.acc-meta { font-size: .82rem; color: var(--slate-light); }
.acc-cta { margin-top: .6rem; }

/* ---------- Felhasználás / kártevők ---------- */
.pest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pest-card {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1;
    border: 1px solid var(--line); background: var(--navy-800);
}
.pest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pest-card:hover img { transform: scale(1.06); }
.pest-card span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: .85rem 1rem;
    background: linear-gradient(transparent, rgba(7, 13, 26, .92)); color: #fff;
    font-weight: 700; font-size: .95rem;
}
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.usecase {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
    background: #fff; box-shadow: var(--shadow-sm);
}
.usecase h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.usecase p { color: var(--slate); font-size: .95rem; margin: 0; }

/* ---------- Videó facade ---------- */
.video-facade {
    position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
    aspect-ratio: 16/9; background: var(--navy-900); border: 0; padding: 0; width: 100%;
    box-shadow: var(--shadow-md); display: block; text-align: left;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .4s ease, opacity .3s; }
.video-facade:hover img { transform: scale(1.03); opacity: 1; }
.video-facade .play {
    position: absolute; inset: 0; display: grid; place-items: center;
}
.video-facade .play::before {
    content: ""; width: 78px; height: 78px; border-radius: 50%;
    background: rgba(47, 123, 246, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center/30px no-repeat;
    box-shadow: 0 14px 34px rgba(47, 123, 246, .5); transition: transform .2s ease;
}
.video-facade:hover .play::before { transform: scale(1.08); }
.video-facade .vtitle {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.3rem;
    background: linear-gradient(transparent, rgba(7, 13, 26, .9)); color: #fff; font-weight: 700;
}
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.video-grid .video-facade .vtitle { font-size: .92rem; }
.video-embed { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Testimonial slider ---------- */
.tst { position: relative; }
.tst-track { overflow: hidden; }
.tst-slides { display: flex; transition: transform .45s ease; }
.tst-slide { flex: 0 0 100%; padding: .3rem; }
.tst-card {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.6rem); height: 100%;
}
.tst-card blockquote {
    margin: 0 0 1.2rem; font-size: clamp(1.08rem, 1.8vw, 1.3rem); font-weight: 500;
    color: #eef3fc; line-height: 1.55;
}
.tst-card blockquote::before { content: "„"; color: var(--accent); font-size: 1.6em; line-height: 0; vertical-align: -.28em; margin-right: .12em; }
.tst-who { color: #9db0d2; font-size: .95rem; }
.tst-who strong { color: #fff; display: block; font-size: 1rem; }
.tst-nav { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.tst-btn {
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
    display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.tst-btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.tst-btn svg { width: 20px; height: 20px; }
.tst-dots { display: flex; gap: .45rem; margin-left: .4rem; }
.tst-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: rgba(255, 255, 255, .25); transition: background .15s, transform .15s;
}
.tst-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.3); }

/* ---------- GYIK accordion ---------- */
.faq-list { max-width: 52rem; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: #fff; overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 1.15rem 3.2rem 1.15rem 1.4rem; font: inherit; font-weight: 700; color: var(--ink);
    position: relative; font-size: 1.02rem;
}
.faq-q::after {
    content: ""; position: absolute; right: 1.25rem; top: 50%; width: 12px; height: 12px;
    border-right: 2.5px solid var(--slate); border-bottom: 2.5px solid var(--slate);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--slate); font-size: .98rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- Űrlap ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .95rem; }
.form-field label .req { color: var(--error); }
.form-field input, .form-field textarea {
    font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.form-field input:focus, .form-field textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 123, 246, .15);
}
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .85rem; min-height: 1.1em; }
.form-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.form-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; margin-bottom: 1.3rem; }
.form-alert.success { background: var(--success-bg); color: var(--success); border: 1px solid #bfe8cd; }
.form-alert.error { background: var(--error-bg); color: var(--error); border: 1px solid #f3c2c2; }

/* ---------- Kapcsolat oldal ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-card {
    background: linear-gradient(165deg, var(--navy-800), var(--navy-950)); color: #dfe7f5;
    border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-lg);
}
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-list li { display: flex; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.contact-list li:last-child { border: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: .2rem; }
.contact-list .lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8fa2c4; display: block; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a:hover { color: #bcd4ff; }
.form-panel {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.6rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-md);
}

/* ---------- CTA sáv ---------- */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background:
        radial-gradient(700px 320px at 85% 20%, rgba(47, 123, 246, .35), transparent 60%),
        linear-gradient(140deg, var(--navy-800), var(--navy-950));
    color: #fff; padding: clamp(2.2rem, 5vw, 3.5rem);
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #b9c6df; margin: .4rem 0 0; max-width: 38rem; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--navy-950); color: #a9bad6; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
    padding-block: clamp(2.8rem, 6vw, 4.2rem);
}
.brand-footer img { width: 150px; height: auto; border-radius: 10px; }
.footer-brand p { font-size: .95rem; margin-top: 1rem; max-width: 26rem; }
.footer-heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-nav li { margin-bottom: .45rem; }
.footer-nav a, .footer-legal a { color: #a9bad6; font-size: .95rem; }
.footer-nav a:hover, .footer-legal a:hover { color: #fff; }
.footer-contact address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-hours { font-size: .88rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.3rem;
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
    font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.4rem; }

/* ---------- Oldalfejléc (aloldalak) ---------- */
.page-hero {
    background:
        radial-gradient(800px 320px at 80% 0%, rgba(47, 123, 246, .28), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-950));
    color: #fff; padding-block: clamp(2.8rem, 6vw, 4.6rem);
}
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: #b9c6df; max-width: 44rem; font-size: 1.1rem; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #8fa2c4; margin-bottom: 1rem; }
.breadcrumb a { color: #a9bad6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span::before { content: "/"; margin-inline: .5rem; color: #5b6d8f; }

/* ---------- Jogi / szöveges oldalak ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--slate); }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.prose ol { padding-left: 1.4rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.2rem; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.prose th { width: 40%; color: var(--ink); font-weight: 700; }
.info-box {
    background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.1rem 1.3rem; margin-block: 1.4rem; color: #1e3a6e; font-size: .97rem;
}

/* ---------- Csomag tartalma / spec lista ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 700; color: var(--ink); }
.spec-table td { color: var(--slate); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.error-code {
    font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1;
    background: linear-gradient(120deg, var(--accent), #7fa8f8);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Reveal animáció (csak JS-sel aktív) ---------- */
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .faq-a { max-height: none; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- Mobil sticky CTA ---------- */
.mobile-cta {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(7, 13, 26, .92); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ---------- Reszponzív ---------- */
@media (max-width: 1020px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-note { justify-content: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-media img { max-width: 420px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pest-grid { grid-template-columns: repeat(3, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .usecases { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Fejléc: ≤1320px-től hamburger menü – a mérhető tartalom (brand ~230px +
   gap + nav ~950px) e felett fér el biztonsággal a 1360px-es headerben. */
@media (max-width: 1320px) {
    /* Mobilon/tableten a középre rendezés helyett: brand balra, hamburger jobbra. */
    .header-inner { grid-template-columns: 1fr auto; justify-content: normal; }
    .nav-toggle { display: block; grid-column: 2; grid-row: 1; justify-self: end; }
    .main-nav {
        position: fixed; inset: 72px 0 auto 0; z-index: 99;
        flex-direction: column; align-items: stretch; gap: .4rem;
        background: rgba(7, 13, 26, .98); border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
        transform: translateY(-115%); transition: transform .3s ease;
        max-height: calc(100vh - 72px); overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; }
    .main-nav ul a { padding: .8rem 1rem; font-size: 1.05rem; white-space: normal; }
    .nav-cta { margin: .6rem 0 0; white-space: normal; }
}
@media (max-width: 860px) {
    .compare, .showcase, .contact-grid, .form-grid { grid-template-columns: 1fr; }
    .showcase-media { order: -1; }
    .stats { grid-template-columns: 1fr; gap: 1.8rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .mobile-cta { display: block; }
    .site-footer { padding-bottom: 4.4rem; }
}
@media (max-width: 560px) {
    .header-inner { column-gap: .8rem; min-height: 64px; }
    .brand img { width: 112px; }
    .main-nav { inset: 64px 0 auto 0; max-height: calc(100vh - 64px); }
    .pest-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
    .usecases { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-badge { position: static; margin-top: 1rem; display: inline-block; text-align: left; }
    .cta-band { flex-direction: column; align-items: flex-start; }
}

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