/* ============================================================
   CompuLaboratorio — Design System & Styles
   Dark futuristic AI theme with purple/violet + neon teal
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Core palette */
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-tertiary: #141432;
    --bg-card: rgba(20, 20, 60, 0.55);

    /* Purple / Violet */
    --purple-deep: #2d1b69;
    --purple-mid: #4a2c8a;
    --purple-light: #7c3aed;
    --violet: #8b5cf6;

    /* Neon green / teal highlights */
    --teal: #14f0c6;
    --teal-dim: rgba(20, 240, 198, 0.15);
    --green: #00e68a;
    --neon: #22d3ee;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b0b4c8;
    --text-muted: #6b7094;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a103d 40%, #2d1b69 100%);
    --gradient-card: linear-gradient(145deg, rgba(45, 27, 105, 0.45) 0%, rgba(20, 20, 60, 0.35) 100%);
    --gradient-btn: linear-gradient(135deg, #14f0c6 0%, #22d3ee 50%, #7c3aed 100%);
    --gradient-glow: linear-gradient(135deg, rgba(20, 240, 198, 0.2), rgba(124, 58, 237, 0.2));

    /* Borders & effects */
    --border-subtle: rgba(124, 58, 237, 0.25);
    --border-glow: rgba(20, 240, 198, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(20, 240, 198, 0.12);

    /* Sizing */
    --nav-height: 76px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --max-width: 1240px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ---------- Section base ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.35s, box-shadow 0.35s;
    background: rgba(10, 10, 26, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.92);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Animated background particles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 240, 198, 0.08) 0%, transparent 70%);
    animation: float 16s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--teal-dim);
    border: 1px solid var(--border-glow);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--teal), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-visual img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(20, 240, 198, 0.08), 0 0 80px rgba(124, 58, 237, 0.15);
    border: 1px solid var(--border-subtle);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-btn);
    color: var(--bg-primary);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 240, 198, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(20, 240, 198, 0.12);
}

.btn-card {
    background: transparent;
    color: var(--teal);
    border: 1px solid var(--border-glow);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-card:hover {
    background: var(--teal-dim);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(20, 240, 198, 0.15);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
#productos {
    background: var(--bg-secondary);
}

/* Grid with subtle background pattern */
#productos::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124, 58, 237, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-subtle);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    width: fit-content;
}

.product-label.disponible {
    background: rgba(20, 240, 198, 0.12);
    color: var(--teal);
    border: 1px solid rgba(20, 240, 198, 0.25);
}

.product-label.custom {
    background: rgba(124, 58, 237, 0.12);
    color: var(--violet);
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}

/* ============================================================
   AI AGENTS
   ============================================================ */
#agentes {
    background: var(--bg-primary);
}

.agents-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.agents-visual img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.agents-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agents-content>p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 36px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s;
}

.benefit-item:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--teal-dim);
    border: 1px solid var(--border-glow);
}

.benefit-item h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ============================================================
   IMPLEMENTATION
   ============================================================ */
#implementacion {
    background: var(--bg-secondary);
}

#implementacion::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 240, 198, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* Connector line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--violet), transparent);
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
    transition: all 0.35s;
    backdrop-filter: blur(8px);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--teal), var(--violet));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(20, 240, 198, 0.2);
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contacto {
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info>p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
}

.contact-feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--teal-dim);
    border: 1px solid var(--border-glow);
}

.contact-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(12px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    background: rgba(10, 10, 26, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 240, 198, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 320px;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-tagline span {
    color: var(--teal);
}

.footer-section h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: 0.12s;
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: 0.19s;
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: 0.26s;
}

.reveal-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE  ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 420px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agents-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .agents-visual img {
        margin: 0 auto;
    }

    .benefits-grid {
        max-width: 480px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   RESPONSIVE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .section {
        padding: 72px 0;
    }

    /* Mobile nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-subtle);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    /* Product cards single col */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .hero-visual img {
        max-width: 320px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================================
   MOBILE OVERLAY
   ============================================================ */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}