/* =========================================================
   ArtIAsign — hoja de estilos principal
   ========================================================= */

:root {
    --bg: #0a0b12;
    --bg-alt: #10121c;
    --surface: #151827;
    --surface-2: #1b1f31;
    --border: #262b40;

    --text: #eef0f8;
    --text-muted: #9aa0b8;
    --text-faint: #6b7191;

    --violet: #7c3aed;
    --violet-light: #a78bfa;
    --cyan: #06b6d4;
    --gold: #f2b544;

    --gradient-brand: linear-gradient(120deg, var(--violet) 0%, #6366f1 45%, var(--cyan) 100%);
    --gradient-text: linear-gradient(120deg, var(--violet-light), var(--cyan));

    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 28px;

    --shadow-soft: 0 20px 60px -20px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 0 1px rgba(124,58,237,0.25), 0 20px 60px -20px rgba(124,58,237,0.35);

    --container: 1180px;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

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

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

/* ---------- Fondo decorativo global ---------- */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(700px 500px at 85% -10%, rgba(124,58,237,0.22), transparent 60%),
        radial-gradient(600px 500px at -10% 20%, rgba(6,182,212,0.14), transparent 60%),
        radial-gradient(500px 400px at 50% 100%, rgba(242,181,68,0.08), transparent 60%),
        var(--bg);
}

/* =========================================================
   Header / Navegación
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(10,11,18,0.72);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 76px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--gradient-brand);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    box-shadow: var(--shadow-glow);
}
.logo-dot { color: #0a0b12; }

.logo-text { margin: 0; font-size: 19px; color: var(--text); white-space: nowrap; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all .2s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.main-nav a.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }

.btn-nav-cta { flex-shrink: 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); margin: 0 auto; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Botones
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 25px 50px -15px rgba(124,58,237,0.55); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--violet-light); }

.btn-whatsapp {
    background: #25D366;
    color: #06301c;
    box-shadow: 0 20px 45px -18px rgba(37,211,102,0.55);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #22c15e; box-shadow: 0 25px 50px -15px rgba(37,211,102,0.6); }
.btn-whatsapp svg { flex-shrink: 0; }

.cta-band-center { flex-direction: column; text-align: center; justify-content: center; }
.cta-band-center .cta-band-actions { justify-content: center; }

.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* =========================================================
   Secciones genéricas
   ========================================================= */
section { padding: 100px 0; }
section.tight { padding: 70px 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet-light);
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.3);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

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

/* =========================================================
   Hero (Home)
   ========================================================= */
.hero {
    padding: 90px 0 110px;
    position: relative;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    margin-bottom: 22px;
}
.hero-lead { font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
}
.hero-stats .stat-label { font-size: 13px; color: var(--text-faint); }

.hero-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-l);
    background: #000;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}
.hero-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

/* =========================================================
   Grids de tarjetas (features / servicios / valores)
   ========================================================= */
.grid {
    display: grid;
    gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 32px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,58,237,0.4);
    box-shadow: var(--shadow-soft);
}
.card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand);
    margin-bottom: 20px;
    box-shadow: var(--shadow-glow);
    font-size: 22px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 0; }

.card-outline {
    background: transparent;
    border: 1px dashed var(--border);
}

/* =========================================================
   Proceso / pasos numerados
   ========================================================= */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.step { position: relative; padding-top: 10px; }
.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 10px;
    display: block;
}
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* =========================================================
   CTA banda
   ========================================================= */
.cta-band {
    border-radius: var(--radius-l);
    padding: 64px;
    background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(6,182,212,0.12));
    border: 1px solid rgba(124,58,237,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Página Proyecto / Empresa
   ========================================================= */
.page-hero {
    padding: 70px 0 20px;
    text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); }
.page-hero-lead { max-width: 680px; margin: 0 auto; font-size: 17.5px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split.reverse .split-visual { order: 2; }

.split-visual {
    border-radius: var(--radius-l);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.split-visual .glow {
    position: absolute; inset: 0;
    background: radial-gradient(300px 200px at 50% 40%, rgba(124,58,237,0.35), transparent 70%);
}

.value-list { display: grid; gap: 18px; margin-top: 10px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .mark {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    font-weight: 700;
}
.value-item h4 { margin: 0 0 4px; font-size: 16px; }
.value-item p { margin: 0; font-size: 14.5px; }

.quote-block {
    border-left: 3px solid var(--violet);
    padding: 6px 0 6px 28px;
    margin: 40px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    color: var(--text);
}

/* =========================================================
   Servicios
   ========================================================= */
.service-card { position: relative; }
.service-num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-faint);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag {
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* =========================================================
   Galería de trabajos realizados
   ========================================================= */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.view-btn {
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s ease;
}
.view-btn:hover { color: var(--text); border-color: var(--violet-light); }
.view-btn.active {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.view-panel { display: none; }
.view-panel.active { display: block; }

.video-card { display: flex; flex-direction: column; }
.video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}
.video-wrap video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.video-card h3 { font-size: 18px; margin: 10px 0 8px; }
.video-card p { font-size: 14.5px; margin-bottom: 0; }

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 56px;
}
.filter-btn {
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--violet-light); }
.filter-btn.active {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.gallery-project {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}
.gallery-project:first-of-type { border-top: none; padding-top: 0; }

.gallery-project-head { max-width: 700px; margin-bottom: 32px; }
.gallery-project-head h2 { font-size: 26px; margin: 12px 0 10px; }
.gallery-project-head p { font-size: 15px; margin: 0; }

.category-pill {
    color: var(--violet-light);
    border-color: rgba(124,58,237,0.3);
    background: rgba(124,58,237,0.1);
}

.compare-group-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 28px 0 14px;
}
.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 10px;
}
.compare-col { min-width: 0; }
.compare-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.compare-col:first-child .compare-label { color: #fca5a5; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); }
.compare-col:last-child .compare-label { color: #7fe0f0; background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.3); }

.extra-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 32px 0 14px;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.thumb {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-2);
}
.thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.thumb:hover img { transform: scale(1.07); }
.thumb::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35));
    opacity: 0;
    transition: opacity .25s ease;
}
.thumb:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(6,7,12,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.lightbox-inner img {
    max-width: 92vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}
.lightbox-caption { color: var(--text-muted); font-size: 14px; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: fixed;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--surface-2); border-color: var(--violet-light); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Teaser de galería en Home ---------- */
.gallery-teaser-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 32px;
}
.gallery-teaser-grid a {
    display: block;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.gallery-teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-teaser-grid a:hover img { transform: scale(1.08); }

@media (max-width: 760px) {
    .compare-row { grid-template-columns: 1fr; gap: 20px; }
    .gallery-teaser-grid { grid-template-columns: repeat(3, 1fr); }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* =========================================================
   Presupuesto — aviso, paquetes y partidas
   ========================================================= */
.budget-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(242,181,68,0.08);
    border: 1px solid rgba(242,181,68,0.3);
    border-radius: var(--radius-m);
    padding: 20px 24px;
    margin-bottom: 8px;
}
.budget-note .ico { font-size: 20px; flex-shrink: 0; }
.budget-note p { margin: 0; font-size: 14.5px; color: var(--text); }
.budget-note strong { color: var(--gold); }

.package-card {
    display: flex;
    flex-direction: column;
    position: relative;
}
.package-card.featured {
    border-color: rgba(124,58,237,0.5);
    background: linear-gradient(180deg, rgba(124,58,237,0.1), var(--surface) 40%);
    box-shadow: var(--shadow-glow);
}
.package-badge {
    position: absolute;
    top: -13px; right: 28px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-glow);
}
.package-name { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.package-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}
.package-price span { font-size: 14px; font-weight: 400; color: var(--text-faint); }
.package-desc { font-size: 14px; margin-bottom: 22px; }
.included-list { display: grid; gap: 12px; margin-bottom: 26px; flex-grow: 1; }
.included-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); list-style: none; }
.included-list .check { color: var(--cyan); flex-shrink: 0; font-weight: 700; }

.price-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-faint);
    margin-top: 8px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.breakdown-item .bd-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.breakdown-item h3 { font-size: 17px; margin: 4px 0 8px; }
.breakdown-price {
    flex-shrink: 0;
    text-align: right;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--cyan);
    white-space: nowrap;
}
.breakdown-price small { display: block; font-family: 'Manrope', sans-serif; font-weight: 400; font-size: 11.5px; color: var(--text-faint); }

.check-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check-item input { width: 16px; height: 16px; accent-color: var(--violet); }
.check-item label { margin: 0; font-weight: 400; font-size: 14px; color: var(--text); }

/* =========================================================
   Presupuesto — formulario
   ========================================================= */
.budget-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: flex-start;
}
.budget-info .card { margin-bottom: 20px; }
.budget-info h3 { font-size: 17px; }

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}
label .req { color: var(--gold); }

input[type=text], input[type=email], input[type=tel], select, textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    padding: 13px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--violet-light);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%239aa0b8' d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { margin: 0; font-size: 13.5px; font-weight: 400; }

.form-msg {
    padding: 16px 18px;
    border-radius: var(--radius-s);
    font-size: 14.5px;
    margin-bottom: 24px;
}
.form-msg.success { background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.35); color: #7fe0f0; }
.form-msg.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.35); color: #fca5a5; }
.field-error { color: #fca5a5; font-size: 12.5px; margin-top: 6px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
    .hero-inner, .split, .budget-layout { grid-template-columns: 1fr; }
    .split-visual { order: -1; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .hero-video-wrap { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 760px) {
    .main-nav, .btn-nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .main-nav.open {
        display: block;
        position: absolute;
        top: 76px; left: 0; right: 0;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px 20px;
    }
    .main-nav.open ul { flex-direction: column; gap: 4px; }
    .main-nav.open a { display: block; padding: 12px 16px; }

    .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .breakdown-item { flex-direction: column; }
    .breakdown-price { text-align: left; }
    section { padding: 64px 0; }
    .cta-band { padding: 36px; flex-direction: column; text-align: center; }
    .form-card { padding: 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    margin-top: 60px;
    padding-top: 64px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14.5px; color: var(--text-muted); transition: color .2s ease; }
.footer-links a:hover { color: var(--cyan); }

.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--text-faint); }
.footer-note a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.footer-note a:hover { color: var(--cyan); }
