/*
 * TDM — secciones de la landing (portada).
 *
 * Orden: hero (inicio), productos y «por qué elegirnos», igual que en
 * home.html. Solo se carga en la portada (ver tdm_assets() en functions.php).
 */

/* =========================================================================
   1. HERO — base
   ====================================================================== */
/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, #05A5C5 0%, var(--color-primary) 45%, var(--color-secondary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 75% 25%, rgba(0, 160, 220, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 175, 205, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Decorative circles */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-circle--1 {
    width: clamp(300px, 40vw, 600px);
    height: clamp(300px, 40vw, 600px);
    right: -8%;
    top: -10%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle, rgba(0, 160, 220, 0.08) 0%, transparent 70%);
}

.hero-circle--2 {
    width: clamp(200px, 25vw, 400px);
    height: clamp(200px, 25vw, 400px);
    right: 5%;
    bottom: 10%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.hero-circle--3 {
    width: clamp(100px, 12vw, 180px);
    height: clamp(100px, 12vw, 180px);
    left: 60%;
    top: 20%;
    background: rgba(0, 175, 205, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-circle--4 {
    width: clamp(60px, 8vw, 120px);
    height: clamp(60px, 8vw, 120px);
    left: 10%;
    bottom: 15%;
    border: 2px dotted rgba(255, 255, 255, 0.08);
}

/* Dotted lines */
.hero-dotted {
    position: absolute;
    pointer-events: none;
}

.hero-dotted--h1 {
    top: 30%;
    right: 0;
    width: 20%;
    height: 0;
    border-top: 2px dotted rgba(255, 255, 255, 0.08);
}

.hero-dotted--h2 {
    bottom: 25%;
    left: 0;
    width: 15%;
    height: 0;
    border-top: 2px dotted rgba(255, 255, 255, 0.06);
}

.hero-dotted--v1 {
    top: 0;
    right: 30%;
    width: 0;
    height: 20%;
    border-left: 2px dotted rgba(255, 255, 255, 0.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: clamp(100px, 15vw, 160px);
    padding-bottom: clamp(60px, 10vw, 120px);
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 8px 20px;
    margin-bottom: clamp(20px, 3vw, 32px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.7rem, 0.8vw + 0.4rem, 0.85rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 4vw + 1rem, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: clamp(16px, 2.5vw, 28px);
    text-align: left;
}

.hero h1 .highlight {
    color: var(--color-accent-2);
}

.hero-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.95rem, 1.1vw + 0.5rem, 1.15rem);
    line-height: 1.7;
    margin-bottom: clamp(28px, 4vw, 48px);
    text-align: left;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent-1);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: clamp(0.85rem, 0.9vw + 0.4rem, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 36px;
    border-radius: 999px;
    border: 2px solid var(--color-accent-1);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-accent-2);
    border-color: var(--color-accent-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 160, 220, 0.35);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--color-accent-2);
    outline-offset: 3px;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: clamp(0.85rem, 0.9vw + 0.4rem, 1rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 16px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.btn-secondary:focus-visible {
    outline: 3px solid var(--color-accent-2);
    outline-offset: 3px;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: clamp(24px, 4vw, 56px);
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: clamp(28px, 3vw, 40px);
    border-top: 1px dotted rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    display: block;
    color: var(--color-white);
    font-size: clamp(1.8rem, 3vw + 0.6rem, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: clamp(0.7rem, 0.7vw + 0.35rem, 0.85rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}


/* Hero: ajustes responsive del bloque base */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat {
        display: flex;
        align-items: baseline;
        gap: 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: clamp(1.8rem, 6vw + 0.5rem, 2.5rem);
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 16px;
    }
}

/* =========================================================================
   2. PRODUCTOS
   ====================================================================== */
.products-section {
            padding: clamp(60px, 10vw, 120px) 0;
            background: var(--color-bg-light);
            position: relative;
            overflow: hidden;
        }

        .products-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 5% 20%, rgba(0, 35, 149, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 95% 80%, rgba(0, 160, 220, 0.04) 0%, transparent 40%);
            pointer-events: none;
        }

        /* Decorative circle */
        .products-section::after {
            content: '';
            position: absolute;
            top: -80px;
            right: -80px;
            width: clamp(200px, 20vw, 300px);
            height: clamp(200px, 20vw, 300px);
            border-radius: 50%;
            border: 1px dashed rgba(0, 35, 149, 0.08);
            pointer-events: none;
        }

        .products-header {
            position: relative;
            z-index: 1;
            max-width: 780px;
            margin-bottom: clamp(40px, 6vw, 72px);
        }

        .products-header-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: clamp(12px, 2vw, 20px);
        }

        .products-header-label::before {
            content: '';
            width: 32px;
            height: 2px;
            background: var(--color-accent-1);
            border-radius: 2px;
        }

        .products-header-label span {
            font-size: clamp(0.72rem, 0.75vw + 0.4rem, 0.85rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--color-accent-1);
        }

        .products-header h2 {
            font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.6rem);
            font-weight: 700;
            color: var(--color-gray);
            line-height: 1.15;
            letter-spacing: -0.02em;
            margin-bottom: clamp(14px, 2vw, 24px);
        }

        .products-header h2 strong {
            color: var(--color-primary);
            font-weight: 700;
        }

        .products-header p {
            font-size: clamp(0.9rem, 0.95vw + 0.45rem, 1.08rem);
            color: var(--color-gray);
            line-height: 1.7;
            max-width: 680px;
        }

        /* Dotted separator */
        .products-dotted-sep {
            width: 60px;
            height: 0;
            border-top: 2px dotted var(--color-accent-1);
            margin: clamp(16px, 2vw, 24px) 0;
            opacity: 0.5;
        }

        /* Products Grid */
        .products-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: clamp(20px, 2.5vw, 32px);
        }

        /* Product Card */
        .product-card {
            background: var(--color-white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(0, 35, 149, 0.06);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 32px rgba(0, 35, 149, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 160, 220, 0.2);
        }

        /* Card Image */
        .product-card-img {
            position: relative;
            width: 100%;
            height: clamp(180px, 14vw, 240px);
            overflow: hidden;
        }

        .product-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        .product-card-img-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to top, rgba(0, 35, 149, 0.3) 0%, transparent 100%);
            pointer-events: none;
        }

        /* Card Content */
        .product-card-content {
            padding: clamp(20px, 2vw, 28px);
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .product-card-content h3 {
            font-size: clamp(1.05rem, 1.1vw + 0.5rem, 1.3rem);
            font-weight: 700;
            color: var(--color-secondary);
            line-height: 1.25;
            margin-bottom: clamp(10px, 1.5vw, 16px);
        }

        .product-card-content > p {
            font-size: clamp(0.82rem, 0.8vw + 0.4rem, 0.92rem);
            color: var(--color-gray);
            line-height: 1.65;
            margin-bottom: clamp(16px, 2vw, 24px);
        }

        /* Benefits */
        .product-benefits {
            margin-bottom: clamp(20px, 2.5vw, 28px);
            flex: 1;
        }

        .product-benefits-title {
            font-size: clamp(0.72rem, 0.7vw + 0.38rem, 0.82rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--color-accent-1);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .product-benefits-title::after {
            content: '';
            flex: 1;
            height: 1px;
            border-top: 1px dashed rgba(0, 160, 220, 0.3);
        }

        .product-benefits ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .product-benefits li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: clamp(0.78rem, 0.78vw + 0.38rem, 0.88rem);
            color: var(--color-dark);
            line-height: 1.55;
        }

        .product-benefits li svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            margin-top: 2px;
            color: var(--color-accent-2);
        }

        /* Card CTA */
        .product-card-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
            color: var(--color-white);
            text-decoration: none;
            font-family: var(--font-main);
            font-size: clamp(0.78rem, 0.8vw + 0.38rem, 0.88rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            padding: 14px 28px;
            border-radius: 999px;
            border: 2px solid transparent;
            transition: var(--transition);
            align-self: flex-start;
            cursor: pointer;
        }

        .product-card-cta svg {
            width: 16px;
            height: 16px;
            transition: transform 0.3s ease;
        }

        .product-card-cta:hover {
            background: transparent;
            color: var(--color-primary);
            border-color: var(--color-primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 35, 149, 0.15);
        }

        .product-card-cta:hover svg {
            transform: translateX(3px);
        }

        .product-card-cta:focus-visible {
            outline: 3px solid var(--color-accent-2);
            outline-offset: 3px;
        }

        /* ====== RESPONSIVE: TABLET ====== */
        @media (max-width: 1024px) {
            .products-grid {
                grid-template-columns: 1fr;
                max-width: 560px;
                margin-inline: auto;
            }

            .product-card-img {
                height: clamp(200px, 25vw, 260px);
            }
        }

        /* ====== RESPONSIVE: MOBILE ====== */
        @media (max-width: 768px) {
            .products-grid {
                max-width: 100%;
            }

            .product-card-cta {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 375px) {
            .product-card-content {
                padding: clamp(16px, 4vw, 24px);
            }
        }

/* =========================================================================
   3. POR QUÉ ELEGIRNOS
   ====================================================================== */
/* ========== WHY TDM SECTION ========== */
        .why-tdm {
            position: relative;
            padding: clamp(70px, 10vw, 130px) 0;
            background: var(--color-bg-light);
            overflow: hidden;
        }

        /* Decorative circles */
        .why-tdm-circle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }

        .why-tdm-circle--1 {
            width: clamp(200px, 22vw, 380px);
            height: clamp(200px, 22vw, 380px);
            top: -8%;
            right: -5%;
            border: 1px dashed rgba(0, 35, 149, 0.07);
            background: radial-gradient(circle, rgba(0, 160, 220, 0.04) 0%, transparent 70%);
        }

        .why-tdm-circle--2 {
            width: clamp(120px, 14vw, 220px);
            height: clamp(120px, 14vw, 220px);
            bottom: -4%;
            left: -3%;
            border: 1px dotted rgba(0, 35, 149, 0.06);
        }

        /* Decorative dotted lines */
        .why-tdm-dotted {
            position: absolute;
            pointer-events: none;
        }

        .why-tdm-dotted--1 {
            top: 18%;
            left: 0;
            width: 10%;
            height: 0;
            border-top: 2px dotted rgba(0, 35, 149, 0.06);
        }

        .why-tdm-dotted--2 {
            bottom: 22%;
            right: 0;
            width: 8%;
            height: 0;
            border-top: 2px dotted rgba(0, 35, 149, 0.06);
        }

        /* Header */
        .why-tdm-header {
            text-align: center;
            margin-bottom: clamp(40px, 6vw, 72px);
            position: relative;
            z-index: 1;
        }

        .why-tdm-label {
            display: inline-block;
            font-size: clamp(0.7rem, 0.75vw + 0.35rem, 0.82rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--color-accent-1);
            margin-bottom: 16px;
            position: relative;
            padding-bottom: 12px;
        }

        .why-tdm-label::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: var(--color-accent-2);
            border-radius: 2px;
        }

        .why-tdm-title {
            font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.6rem);
            font-weight: 700;
            color: var(--color-gray);
            line-height: 1.2;
            letter-spacing: -0.02em;
            max-width: 700px;
            margin-inline: auto;
        }

        .why-tdm-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 24px;
        }

        .why-tdm-divider span:nth-child(1),
        .why-tdm-divider span:nth-child(3) {
            width: 40px;
            height: 1px;
            background: var(--color-gray-light);
        }

        .why-tdm-divider span:nth-child(2) {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--color-accent-2);
            opacity: 0.6;
        }

        /* Grid */
        .why-tdm-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: clamp(16px, 2vw, 24px);
            position: relative;
            z-index: 1;
        }

        /* Card */
        .why-tdm-card {
            position: relative;
            background: var(--color-white);
            border-radius: var(--radius-lg);
            padding: clamp(24px, 2.5vw, 36px) clamp(18px, 2vw, 28px);
            text-align: center;
            border: 1px solid rgba(0, 35, 149, 0.06);
            transition: var(--transition);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition-delay: calc(var(--i) * 0.08s);
        }

        .why-tdm-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2));
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .why-tdm-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 32px rgba(0, 35, 149, 0.1), 0 2px 8px rgba(0, 35, 149, 0.06);
            border-color: rgba(0, 160, 220, 0.15);
        }

        .why-tdm-card:hover::before {
            opacity: 1;
        }

        /* Card line (bottom accent) */
        .why-tdm-card-line {
            width: 30px;
            height: 2px;
            border-radius: 2px;
            background: var(--color-gray-light);
            margin-top: auto;
            padding-top: 0;
            transition: var(--transition);
        }

        .why-tdm-card:hover .why-tdm-card-line {
            width: 50px;
            background: var(--color-accent-2);
        }

        /* Icon */
        .why-tdm-card-icon {
            width: clamp(60px, 5vw, 76px);
            height: clamp(60px, 5vw, 76px);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: clamp(16px, 2vw, 24px);
            color: var(--color-accent-1);
            transition: var(--transition);
            flex-shrink: 0;
        }

        .why-tdm-card-icon svg {
            width: 100%;
            height: 100%;
        }

        .why-tdm-card:hover .why-tdm-card-icon {
            color: var(--color-primary);
            transform: scale(1.08);
        }

        /* Content */
        .why-tdm-card-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: clamp(16px, 2vw, 24px);
        }

        .why-tdm-card-title {
            font-size: clamp(0.85rem, 0.9vw + 0.4rem, 1.02rem);
            font-weight: 700;
            color: var(--color-secondary);
            line-height: 1.3;
            letter-spacing: -0.01em;
        }

        .why-tdm-card-text {
            font-size: clamp(0.78rem, 0.75vw + 0.38rem, 0.9rem);
            color: var(--color-gray);
            line-height: 1.6;
        }

        /* ========== RESPONSIVE: TABLET ========== */
        @media (max-width: 1024px) {
            .why-tdm-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* ========== RESPONSIVE: MOBILE ========== */
        @media (max-width: 768px) {
            .why-tdm-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }

            .why-tdm-card {
                padding: clamp(20px, 4vw, 28px) clamp(16px, 3vw, 22px);
            }
        }

        @media (max-width: 480px) {
            .why-tdm-grid {
                grid-template-columns: 1fr;
                max-width: 360px;
                margin-inline: auto;
            }

            .why-tdm-card {
                flex-direction: row;
                text-align: left;
                gap: 16px;
                align-items: flex-start;
            }

            .why-tdm-card-icon {
                width: 52px;
                height: 52px;
                margin-bottom: 0;
                flex-shrink: 0;
            }

            .why-tdm-card-content {
                margin-bottom: 0;
                gap: 6px;
            }

            .why-tdm-card-line {
                display: none;
            }
        }

/* =========================================================================
   1b. HERO — fondo, formulario y responsive (bloque «inicio» del diseño)
   ====================================================================== */
/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(143deg, rgba(47,48,49,0.54) 20%, rgba(46,51,56,0.54) 20%, rgba(47,48,49,0.54) 79%, rgba(40,50,105,0.96) 100%);
}

/* Override hero alignment for taller content */
.hero {
    align-items: flex-start;
}

/* Hero Two-Column Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
    position: relative;
    z-index: 2;
    padding-top: clamp(120px, 14vw, 170px);
    padding-bottom: clamp(60px, 8vw, 100px);
}

/* Override hero-content padding since grid handles it */
.hero .hero-content {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 100%;
}

/* Benefits List */
.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 16px);
    margin-bottom: clamp(28px, 3.5vw, 40px);
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.85rem, 0.9vw + 0.4rem, 1rem);
    font-weight: 500;
    line-height: 1.4;
}

.benefit-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: rgba(0, 175, 205, 0.18);
    border: 1px solid rgba(0, 175, 205, 0.4);
}

.benefit-check svg {
    width: 13px;
    height: 13px;
    color: var(--color-accent-2);
}

/* ============================================ */
/*  FORM WRAPPER                                */
/* ============================================ */
.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.065);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 2.8vw, 36px);
    position: relative;
    overflow: hidden;
}

.hero-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2), var(--color-accent-3));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-form-title {
    color: var(--color-white);
    font-size: clamp(1.1rem, 1.2vw + 0.5rem, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    text-align: left;
}

.hero-form-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: clamp(0.76rem, 0.78vw + 0.36rem, 0.86rem);
    line-height: 1.65;
    margin-bottom: clamp(18px, 2.2vw, 26px);
    text-align: left;
}

/* Form Layout */
.hero-form {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 14px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 1.2vw, 14px);
}

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

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: clamp(10px, 1.1vw, 13px) clamp(12px, 1.4vw, 16px);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: clamp(0.8rem, 0.82vw + 0.38rem, 0.9rem);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-accent-2);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(0, 175, 205, 0.12);
}

/* Select Dropdown */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.45)' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
}

.form-select:invalid {
    color: rgba(255, 255, 255, 0.38);
}

.form-select:valid {
    color: var(--color-white);
}

.form-select option {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 8px;
}

.form-select option[disabled] {
    color: rgba(255, 255, 255, 0.35);
}

/* Textarea */
.form-textarea {
    resize: vertical;
    min-height: 76px;
}

/* Checkbox */
.form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.form-checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--color-accent-2);
    cursor: pointer;
    border-radius: 3px;
}

.form-checkbox-wrapper label {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.72rem, 0.74vw + 0.34rem, 0.8rem);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox-wrapper label a {
    color: var(--color-accent-2);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.form-checkbox-wrapper label a:hover {
    color: var(--color-white);
}

/* Submit Button */
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--color-accent-1);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: clamp(0.85rem, 0.88vw + 0.4rem, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: clamp(13px, 1.4vw, 16px) 24px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-accent-1);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
}

.form-submit:hover {
    background: var(--color-accent-2);
    border-color: var(--color-accent-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 160, 220, 0.35);
}

.form-submit:focus-visible {
    outline: 3px solid var(--color-accent-2);
    outline-offset: 3px;
}

.form-submit svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: translateX(3px);
}

/* Trust Indicator */
.form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dotted rgba(255, 255, 255, 0.08);
}

.form-trust svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.form-trust span {
    color: rgba(255, 255, 255, 0.3);
    font-size: clamp(0.68rem, 0.7vw + 0.32rem, 0.75rem);
    letter-spacing: 0.02em;
}

/* ============================================ */
/*  RESPONSIVE: TABLET                          */
/* ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(36px, 5vw, 52px);
        padding-top: clamp(110px, 13vw, 150px);
    }

    .hero-form-wrapper {
        max-width: 100%;
    }
}

/* ============================================ */
/*  RESPONSIVE: MOBILE                          */
/* ============================================ */
@media (max-width: 768px) {
    .hero-grid {
        padding-top: clamp(96px, 10vw, 120px);
        padding-bottom: clamp(40px, 6vw, 60px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-form-wrapper {
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 375px) {
    .hero-grid {
        padding-top: 100px;
        gap: 28px;
    }

    .hero-form-wrapper {
        padding: 20px;
    }
}
