/* ==========================================================================
   Digitalizálódj.hu — V2 landing page
   Design system + section styles + scroll animations
   ========================================================================== */

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Design tokens -------------------------------------------------------
   One consistent visual language across the whole page. Light is the
   default theme; [data-theme="dark"] on <html> (set by the theme toggle,
   see main.js) swaps every token below to the dark palette. Nothing else
   in this file should hard-code a color that needs to react to the theme —
   add a token instead. */
:root {
    color-scheme: light;

    --bg: #ffffff;
    --bg-elevated: #f4f5fa;
    --surface: #ffffff;
    --surface-2: #f7f8fc;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);

    --text: #14151f;
    --text-muted: #565b6e;
    --text-faint: #6b7086;

    --accent: #6c5ce0;
    --accent-2: #3b7cf0;
    --accent-soft: rgba(108, 92, 224, 0.10);
    --accent-gradient: linear-gradient(120deg, #6c5ce0 0%, #3b7cf0 100%);

    --success: #1f9d63;

    --header-bg: rgba(255, 255, 255, 0.6);
    --header-bg-scrolled: rgba(255, 255, 255, 0.88);
    --flow-item-bg: rgba(15, 23, 42, 0.03);
    --hero-glow-1: rgba(108, 92, 224, 0.14);
    --hero-glow-2: rgba(59, 124, 240, 0.10);
    --cta-glow: rgba(108, 92, 224, 0.10);

    --btn-shadow: 0 14px 30px -10px rgba(108, 92, 224, 0.35);
    --btn-shadow-hover: 0 20px 36px -12px rgba(108, 92, 224, 0.45);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

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

    --shadow-lg: 0 30px 60px -25px rgba(15, 23, 42, 0.18);
    --shadow-md: 0 12px 30px -14px rgba(15, 23, 42, 0.14);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --bg: #07080d;
    --bg-elevated: #0e1018;
    --surface: #12141f;
    --surface-2: #171a27;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text: #f3f4f8;
    --text-muted: #9aa0b4;
    --text-faint: #676d82;

    --accent: #7c6cff;
    --accent-2: #4f8bff;
    --accent-soft: rgba(124, 108, 255, 0.14);
    --accent-gradient: linear-gradient(120deg, #7c6cff 0%, #4f8bff 100%);

    --success: #2fd18f;

    --header-bg: rgba(7, 8, 13, 0.55);
    --header-bg-scrolled: rgba(7, 8, 13, 0.85);
    --flow-item-bg: rgba(255, 255, 255, 0.03);
    --hero-glow-1: rgba(124, 108, 255, 0.22);
    --hero-glow-2: rgba(79, 139, 255, 0.16);
    --cta-glow: rgba(124, 108, 255, 0.16);

    --btn-shadow: 0 14px 30px -10px rgba(124, 108, 255, 0.55);
    --btn-shadow-hover: 0 20px 36px -12px rgba(124, 108, 255, 0.65);

    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
    --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

/* Surfaces whose color needs to animate smoothly when the theme toggles */
.site-header,
.hero-card, .service-card, .testimonial-card, .contact-card,
.why-ai-panel, .about-photo, .step-dot,
.theme-toggle, .theme-toggle-thumb {
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
        color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.3s var(--ease);
}

h1, h2, h3, h4 {
    font-family: "Sora", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

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

section { position: relative; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gradient);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--text); }
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 17px; }
.section-head.align-left { margin-left: 0; text-align: left; }

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--btn-shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--btn-shadow-hover); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---- Header / nav --------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: var(--header-bg-scrolled);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
.logo {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.logo span { color: var(--accent); }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
    display: none;
}
.header-phone:hover { color: var(--text); }

/* ---- Theme toggle ---------------------------------------------------------- */
.theme-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    padding: 0;
}
.theme-toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}
.theme-toggle-icon.icon-sun { left: 6px; }
.theme-toggle-icon.icon-moon { right: 6px; }
.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    box-shadow: var(--shadow-md);
    transform: translateX(0);
}
.theme-toggle[aria-checked="true"] .theme-toggle-thumb { transform: translateX(24px); }

/* ---- Mobile nav's own toggle row ------------------------------------------- */
.mobile-nav-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }

.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg-elevated);
    z-index: 99;
    padding: 32px 24px;
    display: none;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mobile-nav.is-open { display: flex; opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav a {
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; }

/* ---- Hero ------------------------------------------------------------------ */
.hero {
    padding: calc(var(--header-h) + 96px) 0 96px;
    background:
        radial-gradient(60% 50% at 85% 8%, var(--hero-glow-1), transparent 60%),
        radial-gradient(50% 40% at 10% 0%, var(--hero-glow-2), transparent 60%),
        var(--bg);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    color: var(--text);
}
.hero .lede {
    margin-top: 22px;
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.hero-microtrust {
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--text-faint);
    display: flex;
    gap: 8px;
    align-items: center;
}
.hero-microtrust::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
}

.hero-visual { position: relative; }
.hero-card {
    position: relative;
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.hero-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.hero-card-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 5px 10px;
    border-radius: 999px;
}
.hero-flow { display: flex; flex-direction: column; gap: 12px; }
.hero-flow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--flow-item-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    animation: heroItemIn 0.6s var(--ease) forwards;
}
.hero-flow-item b { color: var(--text); font-weight: 600; }
.hero-flow-item .num {
    width: 24px; height: 24px;
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.hero-flow-item:nth-child(1) { animation-delay: .15s; }
.hero-flow-item:nth-child(2) { animation-delay: .35s; }
.hero-flow-item:nth-child(3) { animation-delay: .55s; }
.hero-flow-item:nth-child(4) { animation-delay: .75s; }
@keyframes heroItemIn { to { opacity: 1; transform: translateX(0); } }

.hero-glow {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(70px);
    opacity: 0.35;
    top: -40px; right: -40px;
    z-index: -1;
}

/* ---- Value strip ----------------------------------------------------------- */
.value-strip { padding: 64px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elevated); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-item { display: flex; gap: 16px; }
.value-icon {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
}
.value-item h3 { font-size: 16.5px; color: var(--text); margin-bottom: 6px; }
.value-item p { font-size: 14.5px; color: var(--text-muted); }

/* ---- Generic section spacing ----------------------------------------------- */
.section-pad { padding: 120px 0; }

/* ---- Process / "how we work" — the scroll wow-effect ----------------------- */
.process { background: var(--bg); }
.process-rail {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.process-line {
    position: absolute;
    left: 19px; top: 6px; bottom: 6px;
    width: 2px;
    background: var(--border);
}
.process-line-fill {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: var(--fill, 0%);
    background: var(--accent-gradient);
    transition: height 0.15s linear;
}
.step {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 0 0 56px 0;
    opacity: 0.4;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.step:last-child { padding-bottom: 0; }
.step.is-active { opacity: 1; transform: translateY(0); }
.step-dot {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step.is-active .step-dot {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 6px var(--accent-soft);
}
.step-body { padding-top: 4px; }
.step-body h3 { font-size: 19px; color: var(--text); margin-bottom: 8px; }
.step-body p { font-size: 15px; color: var(--text-muted); max-width: 480px; }
.step-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ---- Services --------------------------------------------------------------- */
.services { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.service-card .service-icon {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; color: var(--text); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); }

/* ---- Why AI / cost section --------------------------------------------------- */
.why-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-ai-copy p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.why-ai-copy p:last-child { margin-bottom: 0; }
.why-ai-panel {
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.why-ai-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}
.why-ai-row:last-child { border-bottom: none; padding-bottom: 0; }
.why-ai-row .label { color: var(--text-muted); }
.why-ai-row .val { color: var(--text); font-weight: 600; }
.why-ai-row .val.good { color: var(--success); }

/* ---- Testimonials ------------------------------------------------------------ */
.testimonials { background: var(--bg); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.testimonial-quote { font-size: 15px; color: var(--text); line-height: 1.65; }
.testimonial-quote::before { content: "\201C"; color: var(--accent); font-size: 28px; line-height: 0; margin-right: 4px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
}
.testimonial-person .name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-person .role { font-size: 13px; color: var(--text-muted); }

/* ---- About ------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo {
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.about-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.about-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 8px 16px;
}

/* ---- CTA / contact ------------------------------------------------------------ */
.cta-section {
    background: radial-gradient(60% 60% at 50% 0%, var(--cta-glow), transparent 65%), var(--bg-elevated);
    border-top: 1px solid var(--border);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.cta-info h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.cta-info p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }
.cta-contact-list { display: flex; flex-direction: column; gap: 18px; }
.cta-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.cta-contact-icon {
    width: 38px; height: 38px; flex: 0 0 auto;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.cta-contact-item .label { font-size: 13px; color: var(--text-faint); }
.cta-contact-item .value { font-size: 15px; font-weight: 600; color: var(--text); }
.cta-contact-item .value a:hover { color: var(--accent); }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}
.contact-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 22px;
}
.contact-actions { display: flex; flex-direction: column; gap: 14px; }
.contact-actions .btn { font-size: 16px; padding: 16px 20px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 18px; text-align: center; }

/* ---- Footer -------------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-about p { color: var(--text-muted); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-faint);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Scroll reveal ------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-flow-item, .step { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- Responsive ----------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 480px; }
    .value-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .why-ai-grid { grid-template-columns: 1fr; gap: 40px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-photo { max-width: 320px; }
    .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-phone { display: none !important; }
    .nav-toggle { display: flex; }
    .section-pad { padding: 80px 0; }
    .service-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .hero { padding: calc(var(--header-h) + 56px) 0 64px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
}
