/* =====================================================
   INSTALL MX - STYLES
   Directorio Nacional de Instaladores de Audio
   ===================================================== */

/* Variables */
:root {
    --primary-blue: #c41e3a;
    --dark-blue: #8b0000;
    --accent-yellow: #ffb800;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --gray: #6c757d;
    --dark: #1a1a2e;
    --success: #28a745;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   FLOATING BADGE
   ===================================================== */
.floating-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--gold) 100%);
    color: var(--dark-blue);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(255, 184, 0, 0.4);
    transition: var(--transition);
    animation: float-badge 3s ease-in-out infinite;
}

.floating-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 184, 0, 0.5);
}

.floating-badge i {
    font-size: 1.2rem;
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-blue);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--dark-blue);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-register {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link.btn-register::after {
    display: none;
}

.nav-link.btn-register:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.85) 0%, rgba(139, 0, 0, 0.9) 100%),
                url('../img/hero.jpg') center/cover no-repeat;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 184, 0, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(139, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
}

.hero-title-highlight {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Categories Preview */
.hero-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-cat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    text-align: center;
    transition: var(--transition);
    min-width: 160px;
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
}

.hero-cat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    position: relative;
}

.hero-cat.certified .hero-cat-icon {
    background: linear-gradient(135deg, var(--gold), #e6b800);
    color: var(--dark-blue);
}

.hero-cat.validated .hero-cat-icon {
    background: linear-gradient(135deg, var(--silver), #a8a8a8);
    color: var(--dark-blue);
}

.hero-cat.registered .hero-cat-icon {
    background: linear-gradient(135deg, var(--bronze), #a66b28);
    color: var(--white);
}

.hero-cat-icon .crown {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 1rem;
    color: var(--gold);
    animation: pulse 2s infinite;
}

.hero-cat-name {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.hero-cat-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-cat.certified .hero-cat-tag {
    background: var(--gold);
    color: var(--dark-blue);
}

.hero-cat.validated .hero-cat-tag {
    background: var(--silver);
    color: var(--dark-blue);
}

.hero-cat.registered .hero-cat-tag {
    background: var(--bronze);
    color: var(--white);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: var(--transition);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.hero-cta i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

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

/* Hero Services - Que quiero instalar */
.hero-services {
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-services-title {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-services-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 40px;
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1rem;
    min-height: 140px;
}

.hero-service-btn:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-service-btn i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.hero-service-btn span {
    line-height: 1.3;
}

@media (max-width: 768px) {
    .hero-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-service-btn {
        padding: 25px 15px;
        min-height: 120px;
    }

    .hero-service-btn i {
        font-size: 2rem;
    }

    .hero-service-btn span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-service-btn {
        padding: 20px 10px;
        min-height: 100px;
        gap: 10px;
    }

    .hero-service-btn i {
        font-size: 1.5rem;
    }

    .hero-service-btn span {
        font-size: 0.8rem;
    }
}

/* =====================================================
   IMAGE PLACEHOLDERS
   ===================================================== */
.image-placeholder {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8ecf1 100%);
    border: 3px dashed var(--accent-yellow);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray);
    min-height: 200px;
    padding: 20px;
    text-align: center;
}

.image-placeholder.dark {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #5c0000 100%);
    border-color: var(--accent-yellow);
    color: rgba(255, 255, 255, 0.5);
}

.image-placeholder.tall {
    min-height: 400px;
}

.image-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* =====================================================
   CATEGORIES SECTION
   ===================================================== */
.categories {
    padding: 100px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    color: var(--dark-blue);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-image .image-placeholder {
    height: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 3px dashed var(--accent-yellow);
}

.category-ribbon {
    position: absolute;
    top: 25px;
    right: -60px;
    background: linear-gradient(135deg, var(--gold), #e6b800);
    color: var(--dark-blue);
    width: 200px;
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1;
}

.category-ribbon.silver {
    background: linear-gradient(135deg, var(--silver), #a8a8a8);
}

.category-ribbon.bronze {
    background: linear-gradient(135deg, var(--bronze), #a66b28);
    color: var(--white);
}

.category-content {
    padding: 30px;
    text-align: center;
}

.category-badge {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -60px auto 20px;
    z-index: 1;
}

.badge-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.certified .badge-icon {
    background: linear-gradient(135deg, var(--gold) 0%, #e6b800 100%);
    color: var(--dark-blue);
}

.validated .badge-icon {
    background: linear-gradient(135deg, var(--silver) 0%, #a8a8a8 100%);
    color: var(--dark-blue);
}

.registered .badge-icon {
    background: linear-gradient(135deg, var(--bronze) 0%, #a66b28 100%);
    color: var(--white);
}

.badge-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.3rem;
    z-index: 3;
    animation: float-crown 3s ease-in-out infinite;
}

@keyframes float-crown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.badge-check {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
    border: 3px solid var(--white);
}

.category-title {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.category-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.category-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
}

.category-features li:last-child {
    border-bottom: none;
}

.category-features i.fa-check {
    color: var(--success);
}

.category-features i.fa-times {
    color: #e74c3c;
}

.category-features i.fa-minus {
    color: var(--accent-yellow);
}

.category-trust {
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--radius);
}

.trust-bar {
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.trust-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.certified .trust-fill {
    background: linear-gradient(90deg, var(--gold), var(--accent-yellow));
}

.validated .trust-fill {
    background: linear-gradient(90deg, var(--primary-blue), #e74c3c);
}

.registered .trust-fill {
    background: linear-gradient(90deg, var(--bronze), #e67e22);
}

.trust-percent {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-blue);
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item .image-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.9), transparent);
    padding: 20px;
    color: var(--white);
}

.gallery-tag {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.steps-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.steps-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-item .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.step-content h3 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* =====================================================
   STATS
   ===================================================== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* =====================================================
   FEATURED INSTALLERS
   ===================================================== */
.featured {
    padding: 100px 0;
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: relative;
    height: 180px;
}

.featured-image .image-placeholder {
    height: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 3px dashed var(--accent-yellow);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--gold), #e6b800);
    color: var(--dark-blue);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-content {
    padding: 25px 20px;
}

.featured-content h4 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.featured-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-location i {
    color: var(--primary-blue);
}

.featured-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.featured-services span {
    background: var(--light-gray);
    color: var(--dark-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-rating {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

/* =====================================================
   SEARCH SECTION
   ===================================================== */
.search-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #5c0000 100%);
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

.search-icon-big {
    width: 80px;
    height: 80px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--dark-blue);
}

.search-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.search-header p {
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Wizard Styles */
.wizard-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wizard-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.wizard-step.active .step-number,
.wizard-step.completed .step-number {
    background: var(--primary-blue);
    color: var(--white);
}

.wizard-step.completed .step-number {
    background: var(--success);
}

.step-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.wizard-step.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

.wizard-line {
    width: 60px;
    height: 3px;
    background: var(--light-gray);
    margin: 0 15px;
    margin-bottom: 25px;
    border-radius: 2px;
    transition: var(--transition);
}

.wizard-line.completed {
    background: var(--success);
}

.wizard-panels {
    position: relative;
    min-height: 200px;
}

.wizard-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-panel-title {
    color: var(--dark-blue);
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
}

.select-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.wizard-select {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark-blue);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23013b95' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.wizard-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.wizard-select:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
}

.select-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.wizard-back {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    transition: var(--transition);
}

.wizard-back:hover {
    color: var(--primary-blue);
}

/* Category Cards in Wizard */
.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.category-card {
    cursor: pointer;
}

.category-card input {
    display: none;
}

.category-card .card-content {
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 15px 10px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover .card-content {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.category-card input:checked + .card-content {
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--primary-blue);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.1rem;
    position: relative;
}

.card-icon.all {
    background: var(--primary-blue);
    color: var(--white);
}

.card-icon.certified {
    background: linear-gradient(135deg, var(--gold) 0%, #e6b800 100%);
    color: var(--dark-blue);
}

.card-icon.validated {
    background: linear-gradient(135deg, var(--silver) 0%, #a8a8a8 100%);
    color: var(--dark-blue);
}

.card-icon.registered {
    background: linear-gradient(135deg, var(--bronze) 0%, #a66b28 100%);
    color: var(--white);
}

.badge-gold {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--gold);
    animation: pulse 2s infinite;
}

.card-title {
    display: block;
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.card-desc {
    font-size: 0.7rem;
    color: var(--gray);
}

.wizard-search-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 20px;
}

.wizard-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.cta-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Video Placeholder */
.video-placeholder {
    position: relative;
    cursor: pointer;
}

.video-placeholder img {
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.play-button i {
    color: var(--white);
    font-size: 1.8rem;
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-blue);
    box-shadow: 0 15px 50px rgba(196, 30, 58, 0.5);
}

.video-coming-soon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.cta-content {
    padding: 20px 0;
}

.cta-tag {
    display: inline-block;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-content h2 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.cta-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--dark-blue);
}

.cta-benefits i {
    color: var(--success);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background: var(--accent-yellow);
    color: var(--dark-blue);
}

.btn-secondary:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-yellow);
    color: var(--dark-blue);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

    .category-box:nth-child(3) {
        grid-column: span 2;
        max-width: 450px;
        margin: 0 auto;
    }

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

    .gallery-item.large {
        grid-column: span 2;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-image {
        order: 2;
    }

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

    .featured-card:nth-child(3) {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .floating-badge {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .floating-badge span {
        display: none;
    }

    .floating-badge i {
        font-size: 1.3rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-blue);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-categories {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cat {
        min-width: auto;
        padding: 20px;
    }

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

    .category-box:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

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

    .gallery-item.large {
        grid-column: auto;
    }

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

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

    .featured-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

    .wizard-container {
        padding: 25px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
    }

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

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .wizard-progress {
        flex-wrap: wrap;
        gap: 10px;
    }

    .wizard-line {
        width: 30px;
        margin: 0 5px;
        margin-bottom: 25px;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .category-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .card-title {
        font-size: 0.8rem;
    }

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

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* =====================================================
   SERVICES SECTION - Que quiero instalar
   ===================================================== */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px 20px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-btn:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-btn i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.service-btn span {
    line-height: 1.3;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .service-btn {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 20px;
    }

    .service-btn i {
        font-size: 1.5rem;
        min-width: 40px;
    }
}

/* =====================================================
   PROMO BANNER - Tienda en linea
   ===================================================== */
.promo-banner {
    padding: 0;
    background: #000000;
}

.promo-link {
    display: block;
    padding: 30px 20px;
    transition: var(--transition);
}

.promo-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    color: var(--white);
    font-size: 1.1rem;
    max-height: 400px;
}

.promo-logo {
    max-height: 120px;
    width: auto;
}

.promo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.promo-text {
    font-weight: 500;
    font-size: 1.3rem;
}

.promo-highlight {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

.promo-content > i:last-child {
    font-size: 1.5rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .promo-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .promo-logo {
        max-height: 80px;
    }

    .promo-text-wrapper {
        align-items: center;
        text-align: center;
    }

    .promo-content > i:last-child {
        display: none;
    }

    .promo-text {
        font-size: 1rem;
    }
}

/* =====================================================
   CATEGORY FEATURES - Additional icon styles
   ===================================================== */
.category-features i.fa-spinner {
    color: var(--accent-yellow);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}
