        :root {
            --bg: #000;
            --accent: #c81517;
            --muted: #999;
            --max-width: 1200px;
        }

        * {
            box-sizing: border-box
        }

        body {
            margin: 0;
            font-family: 'Geologica', sans-serif;
            font-size: 12px;
            color: #111;
            background: #fff;
        }

        /* Asegurar que todos los elementos usen Geologica */
        *, *::before, *::after {
            font-family: 'Geologica';
        }

        .site-header {
            background: var(--bg);
            border-bottom: 6px solid rgba(255, 255, 255, 0.03);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        /* Reactivate main to show sections */
        main {
            display: block
        }

        .header-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .brand img {
            display: block;
            width: 180px;
            height: 59px;
            margin-left: 10px;
        }

        .main-nav {
            margin-left: 230px;
            flex: 1
        }

        .main-nav ul {
            list-style: none;
            margin: 0;
            padding: 4;
            display: flex;
            gap: 28px;
            justify-content: flex-start;
            align-items: center;
        }

        .main-nav a {
            color: #FFFFFF;
            text-decoration: none;
            font-weight: 250;
            font-size: 14px;
        }

        .main-nav a:hover {
            opacity: 1
        }

        .header-actions {
            display: flex;
            align-items: center;
        }

        .btn {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 17px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
        }

        .btn.cta {
            background-color: #c81517;
            color: #FFFFFF;
        }

        .menu-toggle {
            background: transparent;
            border: 0;
            color: inherit;
            display: none;
            padding: 6px;
            border-radius: 6px
        }

        .mobile-nav {
            display: none
        }

        .mobile-nav ul {
            list-style: none;
            margin: 0;
            padding: 12px
        }

        .mobile-nav a {
            display: block;
            padding: 10px 12px;
            color: #fff;
            text-decoration: none;
            border-radius: 6px
        }

        .mobile-nav a:hover {
            background: rgba(255, 255, 255, 0.03)
        }

        /* Layout constraints for very wide screens */
        @media(min-width:1200px) {
            .header-inner {
                padding-left: 24px;
                padding-right: 24px
            }
        }

        /* Responsive: mobile */
        @media(max-width:800px) {
            .main-nav {
                display: none
            }

            /* Refuerzo para texto hero en móvil */
            .hero .hero-title {
                font-size: 16px !important;
            }

            .hero .hero-sub {
                font-size: 16px !important;
            }

            /* Título de catálogo de plumillas en móvil */
            .section-plumilla__inner .page-title {
                font-size: 16px !important;
            }

            .menu-toggle {
                display: inline-flex
            }

            .header-inner {
                padding: 12px 10px;
                justify-content: space-between;
            }

            /* Ocultar el botón CTA del header en móvil (ya que está en el menú desplegable) */
            .header-actions .btn.cta {
                display: none
            }
            
            /* Forzar hamburguesa hacia la derecha */
            .header-actions {
                margin-left: auto;
                padding-right: 0;
            }

            .mobile-nav {
                display: block;
                background: #000000;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
                overflow: hidden;
                max-height: 0;
                transition: max-height 300ms ease;
                position: absolute;
                right: 8px;
                top: 100%;
                width: 280px;
                border-radius: 0 0 12px 12px;
                z-index: 1000;
                text-align: center;
            }

            .mobile-nav.open {
                max-height: 420px
            }

            .mobile-nav ul {
                display: flex;
                flex-direction: column;
                gap: 6px;
                padding: 15px 20px;
                text-align: center;
            }

            .mobile-nav .btn.cta {
                display: block;
                text-align: center;
                margin-top: 6px
            }

            /* Mobile hero: dark vignette, title top-left, large angled plumilla, note bottom-right */
            .hero {
                position: relative;
                min-height: 80vh !important;
                display: flex;
                width: 100%;
                padding: 0;
                margin: 0;
                overflow: hidden;
            }

            /* Darken and center the background vignette on mobile */
            .hero::before {
                content: "";
                position: absolute;
                inset: 0;
                z-index: -1;
                background-image: url('img/fondo-primera-seccion.png');
                background-size: cover;
                background-position: center center;
                background-repeat: no-repeat;
                min-height: 80vh;
            }

            .hero .hero-inner {
                max-width: var(--max-width);
                padding: 20px 24px;
                width: 100%;
            }

            .hero-copy {
                max-width: 520px;
                padding-left: 30px;
                position: absolute;
                top: 24px;
                left: 20px;
                z-index: 10;
            }

            .hero-title {
                background: linear-gradient(to right, #B2B2B2, #FFFFFF);
                background-clip: text;
                color: transparent;
                font-size: 16px !important;
                font-weight: 800;
                line-height: 1.2;
                margin: 0%;

            }

            .hero-sub {
                background: linear-gradient(to right, #B2B2B2, #FFFFFF);
                background-clip: text;
                color: transparent;
                font-size: 16px !important;
                line-height: 1.3;
            }

            /* Large rotated plumilla across the hero - mobile */
            .hero-plumilla {
                position: absolute;
                top: 20%;
                right:7%;
                width: 100%;
                transform: rotate(0deg);
                z-index: 3;
                pointer-events: none;
            }

            .hero-plumilla img {
                width: 90%;
                height: auto;
                display: block;
                filter: none;
            }

            /* Note positioned bottom-right */
            .hero-note {
                position: absolute;
                right: 18px;
                bottom: 24px;
                /* reduced from 20px to minimize bottom space */
                max-width: 280px;
                text-align: right;
                color: #fff;
                z-index: 6;
                font-size: 16px !important;
                line-height: 1.3;
            }

        }

        /* Small polish for hero demo */
        .hero {
            position: relative;
            min-height: 95vh;
            display: flex;
            padding: 0;
            margin: 0;
            /* ensure it starts at top of viewport */
            overflow: hidden;
        }

        /* Desktop hero plumilla - only for screens larger than 1000px */
        @media (min-width: 1000px) {
            .hero-plumilla {
                position: absolute;
                top: -15%;
                right: 10%;
                width: 90%;
                transform: rotate(2 deg);
                pointer-events: none;
            }
            
            .hero-plumilla img {
                width: 100%;
                height: auto;
                display: block;
            }
        }

        .hero::before {
            content: "";
            position: absolute;
            /* local to .hero instead of fixed */
            inset: 0;
            z-index: -1;
            background-image: url('img/fondo-primera-seccion.png');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            min-height: 80vh !important;
        }

        .hero .hero-inner {
            max-width: var(--max-width);
            padding: 20px 24px;
            width: 100%;
        }

        .hero-copy {
            max-width: 520px;
            padding-left: 30px;
            position: absolute;
            left: 5%;
            z-index: 10;
            margin-top: 40px;
        }
        .hero-title {
            background: linear-gradient(to right,#B2B2B2,#FFFFFF);
            background-clip: text;
            color: transparent;
            font-size: 33px;
            font-weight: 800;
            margin: 0%;
        }
        .hero-sub {
            background: linear-gradient(to right,#B2B2B2,#FFFFFF);
            background-clip: text;
            color: transparent;
            font-size:30px;
            margin: 0
        }

        .hero-plumilla img {
            width: 100%;
            height: auto;
            display: block
        }

        .hero-note {
            background: linear-gradient(to right,#B2B2B2,#FFFFFF);
            background-clip: text;
            color: transparent;
            position: absolute;
            right: 12%;
            bottom: 20%;
            max-width: 360px;
            text-align: right;
            z-index: 11;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
            font-size: 21px;
        }

        .hero-note strong {
            color: #fff;
            font-weight: 800
        }

        /* Section 3: Plumillas placeholder background */
        .section-plumillas {
            position: relative;
            padding: 48px 12px;
            background-image: url('img/rectangle-4.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 8px;
            min-height: 70vh;
            /* visible placeholder height */
        }

        .section-plumilla__inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 18px;
        }

        .section-plumilla__inner .page-title {
            text-align: center;
            font-size: 28px;
            font-weight: 800;
            margin: 10px 0 50px;
            /* más espacio debajo del título */
            color: #111;
        }

        /* Contenedor del carrusel principal con indicador AUTO */
        .main-carousel-container {
            position: relative;
        }

        /* Indicador de auto-slide para carrusel principal */
        .main-carousel-container .auto-slide-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            background: linear-gradient(135deg, #c81517, #a00005);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            z-index: 15;
            opacity: 0.8;
            pointer-events: none;
            box-shadow: 0 2px 6px rgba(199, 0, 7, 0.3);
            animation: mainAutoIndicatorPulse 3s infinite;
        }

        /* Animación sutil para el indicador AUTO del carrusel principal */
        @keyframes mainAutoIndicatorPulse {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 0.6; }
        }

        .plumillas-row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 26px;
            align-items: start;
            margin-top: 12px;
        }

        /* Tarjeta con hover effect */
        .plumillas-row .card {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .plumillas-row .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 35px rgba(85, 80, 80, 0.15);
        }

        .plumillas-row .product-img {
            width: auto;
            height: 300px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        /* Ajuste específico para soft-wiper image */
        .plumillas-row .card img[src*="Soft-Wiper.png"] {
            height: 300px;
            object-fit: contain;
            object-position: center;
        }

        .plumillas-row .card:hover .product-img {
            transform: scale(1.10);
        }

        /* Overlay "Ver más" */
        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 12px;
        }

        .plumillas-row .card:hover .card-overlay {
            opacity: 1;
        }

        .ver-mas-btn {
            background: #c81517;
            color: white;
            padding: 8px 15px;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .ver-mas-btn:hover {
            background: #a00005;
            transform: scale(1.05);
        }

        /* Desktop logo styles - consistent sizing */
        .plumillas-row .logo-row {
            margin: 15px 0;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 10px;
        }

        .plumillas-row .logo-row img {
            max-height: 40px;
            max-width: 150px;
            width: auto;
            height: auto;
            object-fit: contain;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            image-rendering: auto;
            filter: contrast(1.1) brightness(1.02) saturate(1.05);
        }

        .plumillas-row .logo-row-basic {
            margin: 15px 0;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0px 10px;
        }

        .plumillas-row .logo-row-basic img {
            max-height: 50px;
            max-width: 170px;
            width: auto;
            height: auto;
            object-fit: contain;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            image-rendering: auto;
            filter: contrast(1.1) brightness(1.02) saturate(1.05);
            margin-bottom: 8px;
        }

        /* Ensure product names container consistency */
        .plumillas-row .product-name {
            display: inline-block;
            width: 100%;
            text-align: center;
        }

        /* Card layout: make each card a column so CTA can sit at the bottom */

        /* Description styling: black and centered */
        .plumillas-row .desc {
            color: #000;
            text-align: center;
            margin: 12px 0 14px;
            width: 100%;
            font-size: 18px;
        }

        /* CTA paragraph: centered, red, and pushed to bottom */
        .plumillas-row p.cta {
            color: #c81517;
            text-align: center;
            margin: 0;
            margin-top: auto;
            /* empuja hacia abajo */
            font-weight: 700;
            font-size: 17px;
        }

        @media (max-width:1100px) {
            .plumillas-row {
                grid-template-columns: repeat(3, 1fr)
            }
        }

        @media (max-width:700px) {
            .section-plumilla__inner {
                position: relative;
            }

            /* Título de plumillas en móvil */
            .section-plumilla__inner .page-title {
                font-size: 16px !important;
                margin: 10px 0 30px !important;
                line-height: 1.3;
            }
            
            .section-plumilla__inner {
                position: relative;
                overflow: hidden; /* Evitar scroll horizontal */
            }
            
            .plumillas-row {
                display: flex;
                overflow: visible;
                transition: transform 0.3s ease;
                width: 150%;
                padding: 0;
                gap: 10px;
            }

            .plumillas-row .card {
                flex: 0 0 calc(40% - 5px); /* 40% del viewport menos gap */
                width: calc(40% - 5px);
                padding: 15px;
                border-radius: 8px;
                display: flex;
                flex-direction: column;
                align-items: center;
                min-height: 280px;
                box-sizing: border-box;
                text-align: justify;
                position: relative;
                overflow: hidden;
            }
            
            /* En móvil, ocultar completamente el overlay */
            .plumillas-row .card .card-overlay {
                display: none !important;
                opacity: 0;
            }
            
            /* Eliminar efectos hover en móvil */
            .plumillas-row .card:hover {
                transform: none;
                box-shadow: none;
            }
            
            .plumillas-row .card:hover .product-img {
                transform: none;
            }
            
            /* Tarjetas clickeables en móvil */
            .plumillas-row .card {
                cursor: pointer;
                -webkit-tap-highlight-color: rgba(199, 0, 7, 0.2);
                transition: transform 0.2s ease, box-shadow 0.2s ease;
            }
            
            /* Efecto visual al tocar tarjeta en móvil */
            .plumillas-row .card:active {
                transform: scale(0.98);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            }
            
            /* visual carrusel movil */
            .plumillas-row .product-img {
                width: auto;
                height: 150px;
                object-fit: contain;
                margin-bottom: 10px;
                align-items: center;
            }

            /* Ajuste específico para soft-wiper image en móvil */
            .plumillas-row .card img[src*="Soft-Wiper.png"] {
                height: 150px !important;
                object-fit: contain !important;
                object-position: center !important;
            }
            
            .plumillas-row .logo-row {
                margin: 10px 0 !important;
                height: 35px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            
            .plumillas-row .logo-row img {
                max-height: 40px !important;
                max-width: 120px !important;
                width: auto !important;
                height: auto !important;
                object-fit: contain !important;
                image-rendering: -webkit-optimize-contrast !important;
                image-rendering: crisp-edges !important;
                image-rendering: auto !important;
                filter: contrast(1.05) brightness(1.01) !important;
            }

            .plumillas-row .logo-row-basic {
                margin: 10px 0 !important;
                height: 35px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            
            .plumillas-row .logo-row-basic img {
                max-height: 40px !important;
                max-width: 120px !important;
                width: auto !important;
                height: auto !important;
                object-fit: contain !important;
                image-rendering: -webkit-optimize-contrast !important;
                image-rendering: crisp-edges !important;
                image-rendering: auto !important;
                filter: contrast(1.05) brightness(1.01) !important;
            }

            /* Mobile product name consistency */
            .plumillas-row .product-name {
                display: inline-block !important;
                width: 100% !important;
                text-align: center !important;
            }
            
            .plumillas-row .desc {
                font-size: 14px;
                line-height: 1.3;
                margin: 8px 0;
                flex-grow: 1;
            }
            
            .plumillas-row p.cta {
                font-size: 13px;
                margin-top: auto;
            }

            /* Navigation arrows for mobile carousel */
            .carousel-nav {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                color: black;
                border: none;
                width: 40px;
                height: 40px;
                border-radius: 50%;
                font-size: 18px;
                cursor: pointer;
                z-index: 10;
                display: flex !important; /* Forzar que se muestre en móvil */
                align-items: center;
                justify-content: center;
            }

            /* Mostrar indicador AUTO en móvil */
            .main-carousel-container .auto-slide-indicator {
                display: block !important;
            }
            
            .carousel-nav.prev {
                left: 10px;
            }
            
            .carousel-nav.prev {
                left: 10px;
            }
            
            .carousel-nav.next {
                right: 10px;
            }
        }

        /* Hide carousel buttons and auto-slide indicator on desktop */
        .carousel-nav {
            display: none;
        }

        .main-carousel-container .auto-slide-indicator {
            display: none;
        }

        /* Rectangle 2 section styles (scoped background) */
        .section-rect {
            position: relative;
            min-height: 90vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            background-image: url('img/fondo-segunda-seccion.png');
            background-size: cover;
            background-position: center;
            /* default shifted further right */
            background-repeat: no-repeat;
        }

        .section-rect__inner {
            margin: 0 auto;
            padding: 20px 24px;
        }

        .section-rect__copy {
            color: #fff;
            max-width: 100%;
            margin-bottom: 10%;
            margin-right: 50%;
            margin-left: -50%;
        }

        .section-rect__copy .ofp-logo {
            display: block;
            max-width: 400px;
            width: 100%;
            height: auto;
        }

        .section-rect__copy .muted-small {
            color: #fff;
            font-size: 15px;
            letter-spacing: 2.8px;
        }

        .section-rect__copy .second-text {
            font-size: 25px;
            font-weight: 300;
        }

        .section-rect__copy .btn-cta {
            display: inline-block;
            margin-top: 5px;
            padding: 10px 50px;
            border-radius: 17px;
            text-decoration: none;
            font-weight: 600;
            color: #fff;
            background: #c81517;
            font-size: 14px;
        }

        /* Mobile background override for section-rect */
        @media (max-width: 800px) {
            .section-rect {
                background-image: url('img/fondo-segunda-seccion-celular.png');
                min-height: 70vh;
                display: flex;
                align-items: flex-start;
                padding-top: 60px;
            }
            
            .section-rect__inner {
                padding: 0px 20px;
                text-align: left;
                width: 100%;
            }
            
            .section-rect__copy {
                max-width: 100%;
                margin: 0 auto;
                text-align: left;
                margin-top: 0;
                margin-left: 30px;
            }
            
            .section-rect__copy .ofp-logo {
                max-width: 250px;
                width: 100%;
                align-items: left;
            }
            
            .section-rect__copy .muted-small {
                font-size: 12px;
                margin-bottom: 12px;
                letter-spacing: 2.8px;
            }
            
            .section-rect__copy .second-text {
                font-size: 16px;
                line-height: 1.4;
                margin-bottom: 20px;
            }
            
            .section-rect__copy .btn-cta {
                display: inline-block;
            }
        }

        /* Section Rexi - Encuentra tus plumillas */
        .section-rexi {
            position: relative;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: url('img/fondo-primera-seccion.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
            padding: 20px 0;
        }

        .section-rexi::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }

        .section-rexi__inner {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 920px;
            width: min(100%, 920px);
            padding: 40px 24px;
        }

        .rexi-title {
            font-size: 25px;
            font-weight: 700;
            margin-bottom: 28px;
            letter-spacing: 3px;
            color: white;
        }

        .rexi-header {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            flex-wrap: wrap;
            gap: 32px;
            margin-bottom: 24px;
            width: 100%;
        }

        .rexi-search {
            width: 100%;
            max-width: 480px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            text-align: left;
        }

        .rexi-logo {
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .rexi-logo img {
            max-width: 200px;
            width: 100%;
        }

        .section-rexi.rexi-initial .rexi-header {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 28px;
        }

        .section-rexi.rexi-initial .rexi-logo {
            order: -1;
            justify-content: center;
        }

        .section-rexi.rexi-initial .rexi-logo img {
            max-width: 320px;
        }

        .section-rexi.rexi-initial .rexi-search {
            max-width: 560px;
            align-items: center;
            text-align: center;
        }

        .section-rexi.rexi-initial .search-container {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .section-rexi.rexi-initial .search-input-wrapper {
            flex: 1 1 320px;
        }

        .section-rexi.rexi-initial .search-button {
            width: auto;
            padding: 18px 48px;
        }

        .section-rexi.rexi-has-search .rexi-header {
            flex-direction: row;
            align-items: flex-start;
            justify-content: center;
            gap: 56px;
            flex-wrap: nowrap;
        }

        .section-rexi.rexi-has-search .rexi-search {
            max-width: 560px;
            align-items: stretch;
            text-align: left;
        }

        .section-rexi.rexi-has-search .search-container {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 16px;
            flex-wrap: nowrap;
        }

        .section-rexi.rexi-has-search .search-input-wrapper {
            flex: 1 1 auto;
        }

        .section-rexi.rexi-has-search .search-button {
            width: auto;
            padding: 18px 48px;
        }

        .section-rexi.rexi-has-search .rexi-logo {
            align-items: center;
            justify-content: center;
        }

        .section-rexi.rexi-has-search .rexi-logo img {
            max-width: 300px;
        }

        .search-container {
            display: flex;
            flex-direction: column;
            gap: 14px;
            width: 100%;
        }

        .search-input-wrapper {
            position: relative;
            flex: 1;
            display: flex;
            align-items: center;
            background: transparent;
            border: 2px solid white;
            border-radius: 50px;
            padding: 0 20px;
        }

        .search-icon {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        }

        .search-icon .material-symbols-outlined {
            font-size: 20px;
            color: #333;
        }

        .search-input {
            flex: 1;
            padding: 18px 0;
            border: none;
            background: transparent;
            font-size: 16px;
            color: white;
            outline: none;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.8);
        }

        .search-button {
            padding: 18px 35px;
            background: #c81517;
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
            flex-shrink: 0;
            width: 100%;
        }

        .search-button:hover {
            background: #a00005;
        }

        .rexi-result {
            margin: 24px auto 0;
            max-width: 820px;
            width: 100%;
            background: rgba(10, 14, 21, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 24px;
            padding: 32px;
            text-align: left;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(8px);
            color: #f8fafc;
            overflow: hidden;
        }

        .rexi-result-heading {
            margin: 1.5rem auto 1.2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            font-size: 1.1rem;
            color: #c81517;
        }

        .rexi-result-heading span {
            color: inherit;
        }

        .rexi-result:empty {
            display: none;
        }

        .rexi-result strong {
            color: #fff;
        }

        .rexi-followup {
            text-align: center;
        }

        .rexi-followup__title {
            font-size: 1.35rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: 0.6px;
            margin-bottom: 0.9rem;
            text-transform: uppercase;
        }

        .rexi-followup__subtitle {
            font-size: 1rem;
            color: rgba(226, 232, 240, 0.9);
            margin-bottom: 1.2rem;
        }

        .rexi-followup__notice {
            margin: 0 auto 1.5rem;
            padding: 1.2rem 1.4rem;
            max-width: 520px;
            background: rgba(255, 255, 255, 0.12);
            border-left: 5px solid #facc15;
            border-radius: 16px;
            text-align: left;
            color: rgba(248, 250, 252, 0.95);
            font-weight: 500;
            line-height: 1.45;
        }

        .rexi-followup__options {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
        }

        .rexi-followup__options--compact {
            gap: 10px;
        }

        .rexi-followup__button {
            width: 100%;
            max-width: 420px;
            padding: 16px 28px;
            border-radius: 18px;
            background: rgba(15, 23, 42, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
            text-align: center;
            min-height: 74px;
        }

        .rexi-followup__button--compact {
            padding: 10px 18px;
            border-radius: 14px;
            min-height: unset;
            gap: 4px;
        }

        .rexi-followup__button:hover {
            background: rgba(15, 23, 42, 0.95);
            transform: translateY(-2px);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
        }

        .rexi-followup__button-title {
            font-size: 1.05rem;
            font-weight: 700;
        }

        .rexi-followup--compact .rexi-followup__button-title {
            font-size: 0.95rem;
        }

        .rexi-followup__button-meta {
            font-size: 0.9rem;
            color: rgba(226, 232, 240, 0.85);
            font-weight: 500;
            line-height: 1.35;
        }

        .rexi-followup--compact .rexi-followup__button-meta {
            font-size: 0.85rem;
        }

        .vehicle-summary {
            margin: 0 auto 1.25rem;
            padding: 0.9rem 1.1rem;
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
        }

        .vehicle-summary__col {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .vehicle-summary__item {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            flex-wrap: wrap;
        }

        .vehicle-summary__label {
            font-weight: 600;
            color: #fff;
        }

        .vehicle-summary__value {
            color: rgba(226, 232, 240, 0.9);
            text-align: left;
        }

        .vehicle-found {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        .vehicle-found__icon {
            font-size: 1.55rem;
            color: #fff;
        }

        @media (max-width: 640px) {
            .section-rexi.rexi-initial .search-container {
                flex-direction: column;
                align-items: stretch;
                flex-wrap: nowrap;
                gap: 12px;
            }

            .section-rexi.rexi-initial .search-input-wrapper {
                width: 100%;
                flex: 1 1 auto;
            }

            .section-rexi.rexi-initial .search-button {
                width: 100%;
                flex-shrink: 0;
            }

            .vehicle-summary__item {
                flex-direction: row;
                align-items: center;
                gap: 6px;
                text-align: left;
            }

            .vehicle-summary__value {
                text-align: left;
            }
        }

        .category-title {
            margin-top: 1.25rem;
            margin-bottom: 0.6rem;
            font-size: 1.35rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .category-title--recommended {
            color: #fff;
        }

        .category-title__icon {
            font-size: 1.35rem;
            color: inherit;
            display: inline-flex;
            align-items: center;
        }

        .category-title--other {
            color: #fff;
        }

        .rexi-result .loading {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-weight: 600;
        }

        .rexi-result .loading::before {
            content: '';
            width: 18px;
            height: 18px;
            border: 3px solid rgba(255, 255, 255, 0.25);
            border-top-color: #facc15;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .rexi-result .alert {
            margin: 20px 0;
            padding: 16px 20px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.12);
            border-left: 5px solid #f97316;
            font-weight: 500;
        }

        .rexi-result table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            font-size: 0.95rem;
            background: rgba(10, 14, 21, 0.65);
            border-radius: 16px;
            overflow: hidden;
        }

        .rexi-table {
            width: 100%;
            border-collapse: collapse;
        }

        .rexi-table__heading {
            font-weight: 600;
        }

        .rexi-table__heading-sub {
            display: inline-block;
            margin-left: 4px;
            font-weight: 400;
        }

        .rexi-table__cell--ubicacion {
            text-align: left;
        }

        .rexi-table__cell--medida,
        .rexi-table__cell--acople,
        .rexi-table__cell--sku {
            text-align: center;
        }

        .rexi-result thead {
            background: rgba(255, 255, 255, 0.08);
        }

        .rexi-result th,
        .rexi-result td {
            padding: 14px 18px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.25);
            border-right: 1px solid rgba(148, 163, 184, 0.2);
            text-align: center;
        }

        .rexi-result th:last-child,
        .rexi-result td:last-child {
            border-right: none;
        }

        .rexi-result tbody tr:last-child td {
            border-bottom: none;
        }

        .rexi-result th:first-child,
        .rexi-result td:first-child {
            text-align: left;
        }

        .category-block {
            margin-top: 12px;
            padding: 20px 22px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(21, 29, 41, 0.95), rgba(37, 47, 60, 0.65));
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .category-name {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .category-slogan {
            font-size: 0.95rem;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .category-info {
            font-size: 0.95rem;
            color: rgba(226, 232, 240, 0.85);
        }

        .category-info .comment {
            display: inline-block;
            margin-top: 8px;
            color: rgba(248, 250, 252, 0.85);
            font-style: italic;
        }

        .image-carousel {
            position: relative;
            margin-top: 20px;
            border-radius: 16px;
            overflow: hidden;
         /*   background: rgba(0, 0, 0, 0.65);
            border: 1px solid rgba(0, 0, 0, 0.08);
        */
        }

        .image-carousel .carousel-inner {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 220px;
        }

        .image-carousel img {
            max-height: 240px;
            width: auto;
            object-fit: contain;
            display: block;
            margin: 0 auto;
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(15, 23, 42, 0.75);
            color: #f8fafc;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .carousel-btn:hover {
            background: rgba(148, 163, 184, 0.35);
        }

        .carousel-btn.prev {
            left: 18px;
        }

        .carousel-btn.next {
            right: 18px;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            padding: 14px 0 18px;
        }

        .carousel-dots .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.25);
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .carousel-dots .dot.active {
            transform: scale(1.2);
            background: #f97316;
        }

        .green-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin-left: 6px;
            border-radius: 50%;
            background: #ffffff;
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
        }

        .rexi-result button {
            font-weight: 600;
            letter-spacing: 0.2px;
        }

        .rexi-result button:hover {
            background: #111827 !important;
        }

        @media (max-width: 1024px) {
            .section-rexi {
                min-height: auto;
                padding: 72px 0;
            }

            .section-rexi.rexi-has-search .rexi-header {
                flex-direction: column;
                align-items: center;
                gap: 32px;
            }

            .section-rexi.rexi-has-search .search-container {
                flex-direction: column;
                align-items: stretch;
                gap: 14px;
            }

            .section-rexi.rexi-has-search .search-button {
                width: 100%;
            }

            .section-rexi.rexi-has-search .rexi-logo {
                order: -1;
            }

            .section-rexi.rexi-has-search .rexi-logo img {
                max-width: 240px;
            }
        }

        /* Mobile responsiveness for Rexi section */
        @media (max-width: 768px) {
            .section-rexi {
                min-height: auto;
                padding: 64px 0;
            }

            .section-rexi__inner {
                padding: 32px 20px;
            }

            .rexi-title {
                font-size: 21px;
                margin-bottom: 24px;
                letter-spacing: 2px;
            }

            .rexi-header {
                flex-direction: column;
                gap: 26px;
            }

            .rexi-search {
                max-width: 100%;
                width: 100%;
            }

            .rexi-logo {
                max-width: 180px;
                margin-bottom: 0;
                order: -1;
            }

            .rexi-logo img {
                max-width: 145px;
            }

            .section-rexi.rexi-has-search .rexi-header {
                align-items: center;
            }

            .section-rexi.rexi-has-search .rexi-logo {
                order: -1;
            }

            .section-rexi.rexi-has-search .rexi-logo img {
                max-width: 170px;
            }

            .section-rexi.rexi-has-search .search-container {
                flex-direction: column;
                align-items: stretch;
                flex-wrap: nowrap;
                gap: 12px;
            }

            .section-rexi.rexi-has-search .search-button {
                width: 100%;
            }

            .search-container {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }

            .search-input-wrapper {
                padding: 0 14px;
                border-radius: 50px;
                height: 50px;
                width: 100%;
            }

            .search-input {
                padding: 11px 0;
                font-size: 16px;
                min-width: 0;
            }

            .search-icon {
                width: 26px;
                height: 26px;
                margin-right: 8px;
            }

            .search-button {
                width: 100%;
                padding: 12px 20px;
                font-size: 14px;
            }

            .rexi-result {
                padding: 24px 20px;
                margin-top: 28px;
            }

            .rexi-followup__title {
                font-size: 1.2rem;
            }

            .rexi-followup__notice {
                max-width: 100%;
            }

            .rexi-followup__button {
                max-width: 100%;
                padding: 14px 22px;
            }

            .rexi-followup__button--compact {
                padding: 9px 18px;
            }

            .rexi-result-heading {
                font-size: 1.05rem;
                margin: 1.3rem auto 1rem;
            }

            .rexi-result table,
            .rexi-result th,
            .rexi-result td {
                font-size: 0.85rem;
            }

            .image-carousel .carousel-inner {
                min-height: 180px;
            }

            .image-carousel img {
                max-height: 200px;
            }

            .carousel-btn {
                width: 34px;
                height: 34px;
                font-size: 18px;
            }

            .category-block {
                padding: 16px;
            }
        }

        @media (max-width: 600px) {
            .section-rexi__inner {
                padding: 28px 18px 48px;
            }

            .rexi-title {
                font-size: 19px;
                letter-spacing: 1.5px;
            }

            .search-container {
                gap: 10px;
            }

            .search-input-wrapper {
                padding: 0 12px;
            }

            .search-icon {
                width: 24px;
                height: 24px;
                margin-right: 6px;
            }

            .search-input {
                padding: 8px 0;
                font-size: 16px;
                min-width: 0;
            }

            .search-button {
                width: 100%;
                padding: 11px 16px;
                font-size: 13px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            .rexi-result {
                padding: 22px 18px;
            }

            .rexi-result table {
                width: 100%;
                min-width: 0;
                table-layout: auto;
                border-collapse: collapse;
                margin: 0 auto;
                font-size: 0.75rem;
            }

            .rexi-result thead {
                position: static;
                width: auto;
                height: auto;
                padding: 0;
                margin: 0;
                overflow: visible;
                clip: auto;
                border: none;
            }

            .rexi-result tbody {
                display: table-row-group;
            }

            .rexi-result tr {
                display: table-row;
            }

            .rexi-result tbody tr {
                background: transparent;
            }

            .rexi-result th,
            .rexi-result td {
                padding: 8px 10px;
                font-size: 0.75rem;
                white-space: normal;
                word-break: normal;
                hyphens: auto;
                border-right: 1px solid rgba(148, 163, 184, 0.2);
                vertical-align: middle;
                text-align: center;
            }

            .rexi-result th:last-child,
            .rexi-result td:last-child {
                border-right: none;
            }

            .rexi-result th:first-child,
            .rexi-result td:first-child {
                text-align: left;
            }

            .rexi-result th:first-child {
                white-space: nowrap;
            }

            .rexi-result td:first-child {
                white-space: normal;
            }

            .rexi-result th:nth-child(n + 2),
            .rexi-result td:nth-child(n + 2) {
                text-align: center;
            }

            .rexi-table__heading--ubicacion,
            .rexi-table__cell--ubicacion {
                min-width: 85px;
            }

            .rexi-table__heading--medida,
            .rexi-table__cell--medida {
                min-width: 68px;
            }

            .rexi-table__heading--acople,
            .rexi-table__cell--acople {
                min-width: 40px;
            }

            .rexi-table__heading--sku,
            .rexi-table__cell--sku {
                min-width: 70px;
            }

            .rexi-table__heading-sub {
                display: block;
                margin-left: 0;
                margin-top: 2px;
                font-size: 0.75em;
            }

            .rexi-result td::before {
                content: none;
            }

            .rexi-followup__options {
                gap: 12px;
            }
        }

        @media (max-width: 420px) {
            .section-rexi {
                padding: 56px 0;
            }

            .section-rexi__inner {
                padding: 24px 16px 40px;
            }

            .rexi-title {
                font-size: 18px;
                letter-spacing: 1.2px;
            }

            .search-input-wrapper {
                border-width: 1.5px;
            }

            .search-input {
                padding: 6px 0;
            }

            .search-container {
                gap: 6px;
            }

            .search-button {
                width: 100%;
                padding: 10px 14px;
            }

            .rexi-result {
                padding: 20px 16px;
            }

            .rexi-result table {
                width: 100%;
            }

            .rexi-followup__button {
                padding: 12px 18px;
            }

            .rexi-followup__button--compact {
                padding: 8px 14px;
            }
        }

        /* Section 5 - Rectangle 11 background */
        .section-rect11 {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: url('img/rectangle-11.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
        }

        .section-rect11::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }

        .section-rect11__inner {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .section-rect11__content {
            text-align: center;
            max-width: 1000px;
            margin: 0 auto;
        }

        .rect11-subtitle {
            color: #c81517;
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 4px;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .rect11-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 60px;
            color: white;
            line-height: 1.3;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 60px;
        }

        .stats-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .stats-row {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 40px;
        }

        .stats-row-bottom {
            /* 2 elementos en la fila inferior */
            max-width: 600px;
            margin: 0 auto;
        }

        .stat-item {
            text-align: center;
            flex: 1;
            max-width: 200px;
        }

        .stat-image {
            width: 100%;
            height: 100px;
            object-fit: contain;
            margin-bottom: 15px;
        }
        
        /* Estilos específicos para controlar el tamaño sin afectar la alineación */
        
    
        .stat-image-18anos {
            max-width: 170px;
            margin: 0 auto 15px auto;
        }
        
        .stat-image-2m {
            max-width: 110px;
            margin: 0 auto 15px auto;
        }
        
        .stat-image-top5 {
            max-width: 120px;
            margin: 0 auto 15px auto;
        }
        
        .stat-image-99percent {
            max-width: 110px;
            margin: 0 auto 15px auto;
        }
        
        .stat-image-1000 {
            max-width: 150px;
            margin: 0 auto 15px auto;
        }        


        .stat-description {
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            line-height: 1.4;
            margin: 0;
        }

        /* Control de visibilidad desktop/mobile */
        .stat-item-mobile-only {
            display: none;
        }

        .stat-item-desktop-only {
            display: block;
        }

        .stats-row-single {
            display: none;
        }

        /* Mobile responsiveness for Section 5 */
        @media (max-width: 768px) {
            .section-rect11 {
                min-height: auto;
                padding: 60px 0;
            }
            
            .section-rect11__inner {
                padding: 30px 15px;
            }
            
            .rect11-subtitle {
                font-size: 13px !important;
                margin-bottom: 15px;
                letter-spacing: 6px;
            }
            
            .rect11-title {
                font-size: 14px;
                margin-bottom: 40px;
                line-height: 1.4;
            }
            
            .stats-container {
                display: flex;
                flex-direction: column;
                gap: 32px;
            }

            .stats-row {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 24px;
                margin-bottom: 0;
            }
            
            .stats-row-top {
                /* Primera fila: 2 elementos (18 años, +2M) */
                max-width: 100%;
            }
            
            .stats-row-bottom {
                /* Segunda fila: 2 elementos (TOP 5, 99) */
                max-width: 100%;
                margin: 0 auto;
            }
            
            /* Tercera fila: 1 elemento centrado (+1000) */
            .stats-row-single {
                display: flex !important;
                justify-content: center;
                max-width: 200px;
                margin: 0 auto;
            }
            
            /* Control de visibilidad en móvil */
            .stat-item-mobile-only {
                display: block !important;
            }
            
            .stat-item-desktop-only {
                display: none !important;
            }
            
            .stat-item {
                flex: 1;
                max-width: 150px;
                min-width: 120px;
            }
            
            .stat-image {
                margin-bottom: 12px;
            }
            
            .stat-description {
                font-size: 12px;
                line-height: 1.3;
                max-width: 120px;
                margin: 0 auto;
            }
            
            /* Ocultar elementos específicos en móvil */
            .hidden-mobile {
                display: none !important;
            }
        }

        /* Section 6 - Rectangle 4 background */
        .section-rect4 {
            position: relative;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: url('img/rectangle-4.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
        }

        .section-rect4::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }

        .section-rect4__inner {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .section-rect4__content {
            display: flex;
            align-items: center;
            gap: 60px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .content-left {
            flex: 1;
            max-width: 600px;
        }

        .content-right {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .rect4-title {
            font-size: 33px;
            font-weight: 700;
            margin-bottom: 40px;
            color: #333;
            line-height: 1.2;
            text-align: left;
        }

        .brand-highlight {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .red-bg {
            background: #c81517;
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 700;
        }

        .rexion-logo {
            height: 30px;
            width: auto;
        }

        .colombia-flag {
            height: 25px;
            width: auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .service-item {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #333;
        }

        .service-icon {
            color: #c81517;
            font-size: 20px;
            flex-shrink: 0;
        }

        .service-text {
            font-size: 14px;
            line-height: 1.3;
        }

        .map-container {
            position: relative;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .colombia-map {
            width: 350px;
            height: auto;
            object-fit: contain;
        }

        .map-legend {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .legend-item {
            color: #333;
            font-size: 13px;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .legend-item::before {
            content: "▶";
            color: #c81517;
            margin-right: 8px;
            font-size: 10px;
        }

        /* Mobile responsiveness for Section 6 */
        @media (max-width: 768px) {
            .section-rect4 {
                min-height: auto;
                padding: 40px 0;
            }
            
            .section-rect4__inner {
                padding: 20px 15px;
            }
            
            .section-rect4__content {
                flex-direction: column;
                gap: 40px;
                text-align: center;
            }
            
            .content-left {
                max-width: 100%;
                order: 1; /* Texto arriba */
            }
            
            .content-right {
                order: 2; /* Mapa abajo */
                width: 100%;
            }
            
            .rect4-title {
                font-size: 15px;
                margin-bottom: 30px;
                text-align: center;
                line-height: 1.3;
            }
            
            .brand-highlight {
                justify-content: center;
            }
            
            .rexion-logo {
                height: 24px;
            }
            
            .colombia-flag {
                height: 20px;
            }
            
            .services-grid {
                grid-template-columns: 1fr 1fr; /* 2 columnas como en la imagen */
                gap: 20px 15px;
                max-width: 100%;
                margin: 0 auto;
                padding: 0 10px;
                font-size: 14px;
            }
            
            .service-item {
                justify-content: flex-start;
                text-align: left;
            }
            
            .service-text {
                font-size: 12px;
                line-height: 1.2;
            }
            
            .service-icon {
                font-size: 18px;
            }
            
            .map-container {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;
                padding: 0 15px;
            }
            
            .colombia-map {
                width: 100%;
                max-width: 300px;
                height: auto;
            }
            
            .map-legend {
                display: flex;
                flex-direction: column;
                gap: 8px;
                align-items: flex-start;
                width: 100%;
                max-width: 200px;
            }
            
            .legend-item {
                font-size: 11px;
                justify-content: flex-start;
                text-align: left;
            }
        }

        /* Botón Ver zonas (solo móvil) */
        .zones-toggle-btn {
            display: none;
            color: black;
            border: none;
            padding: 10px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            align-items: center;
            gap: 6px;
            transition: all 0.3s ease;
            width: fit-content;
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 10;
        }

        .zones-toggle-btn:hover {
            transform: translateY(-1px);
        }

        .zones-toggle-btn .toggle-icon {
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .zones-toggle-btn[aria-expanded="true"] .toggle-icon {
            transform: rotate(180deg);
        }

        .zones-list {
            transition: max-height 0.3s ease, opacity 0.3s ease;
            overflow: hidden;
        }

        /* Mostrar botón Ver zonas solo en móvil */
        @media (max-width: 800px) {
            .map-container {
                position: relative;
            }
            
            .zones-toggle-btn {
                display: flex;
            }
            
            .zones-list {
                max-height: 0;
                opacity: 0;
                margin-top: 0;
                position: absolute;
                top: 50px;
                right: 10px;
                background: rgba(255, 255, 255, 0.95);
                border-radius: 12px;
                padding: 0;
                min-width: 200px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                z-index: 10;
            }
            
            .zones-list.active {
                max-height: 300px;
                opacity: 1;
                padding: 12px;
                display: flex;
                flex-direction: column;
                gap: 8px;
            }
            
            .zones-list .legend-item {
                color: black;
                padding: 8px 12px;
                border-radius: 15px;
                font-size: 11px;
                font-weight: 500;
                text-align: center;
                white-space: nowrap;
                border: 1px solid rgba(255, 255, 255, 0.3);
                margin: 0;
            }
        }

        /* Desktop: mantener comportamiento original */
        @media (min-width: 801px) {
            .zones-toggle-btn {
                display: none !important;
            }
            
            .zones-list {
                max-height: none !important;
                opacity: 1 !important;
            }
        }

/* ==============================================
   SECCIÓN 7: FORMULARIO DE CONTACTO
   ============================================== */

.section-contact {
    background-image: url('img/fondo-primera-seccion.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
}

.contact-content {
    text-align: center;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-logo {
    height: 40px;
    width: auto;
}

.colombia-flag {
    height: 30px;
    width: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    background: transparent;
    color: white;
    font-size: 14px;
    font-family: 'geologica', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Estilos para opciones del select */
.form-group select option {
    background: #333;
    color: white;
    padding: 10px;
}

/* Estado cuando no hay opción seleccionada */
.form-group select:invalid {
    color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
    color: black;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-family: 'geologica', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    color: rgba(255, 255, 255, 0.85);
}

.form-status--pending {
    color: #ffe08a;
}

.form-status--success {
    color: #9fffa8;
}

.form-status--error {
    color: #ffb3b3;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
    background: #1a1a1a;
    color: white;
    padding: 25px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1fr;
    gap: 20px;
    align-items: center;
}

/* Secciones del footer en línea horizontal */
.footer-row-top, .footer-row-bottom {
    display: contents; /* Permite que los hijos se distribuyan directamente en el grid padre */
}

.footer-logo-section {
    display: flex;
    justify-content: flex-start;
}

.footer-social-section {
    display: flex;
    justify-content: center;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 5px;

}

.social-link {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
     background-color: #FFFFFF;
    color: #1a1a1a;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-policies-section {
    display: flex;
    justify-content: center;
}

.footer-copyright-section {
    display: flex;
    justify-content: flex-end;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    margin-bottom: 8px;
    display: block;
}

.footer-link:hover {
    color: #D59C28;
}

.footer-copyright {
    font-size: 10px;
    color: #999;
    margin-top: 5px;
}

.footer-copyright p {
    margin: 2px 0;
}

/* ==============================================
   RESPONSIVE: SECCIÓN CONTACTO Y FOOTER
   ============================================== */

@media (max-width: 768px) {
    /* Footer responsive: mantener diseño 2x2 en móvil */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-row-top, .footer-row-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: center;
    }
    
    .footer-logo-section, .footer-social-section, 
    .footer-policies-section, .footer-copyright-section {
        justify-content: center;
    }
    
    .contact-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    

    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Asegurar tamaño de texto hero en móviles pequeños */
    .section-contact {
        padding: 60px 15px;
        min-height: 90vh;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ==============================================
   BURBUJA FLOTANTE
   ============================================== */

.floating-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #c81517 0%, #a00005 100%);
    border-radius: 50px;
    padding: 9px 13px;
    box-shadow: 0 8px 25px rgba(199, 0, 7, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    animation: bubblePulse 2s infinite;
}

.floating-bubble.above-footer {
    bottom: 120px; /* Mover hacia arriba cuando esté cerca del footer */
}

.floating-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(199, 0, 7, 0.6);
}

.bubble-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bubble-icon .material-symbols-outlined {
    color: white;
    font-size: 20px;
}

.bubble-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Animación de pulso */
@keyframes bubblePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive móvil */
@media (max-width: 768px) {
    .floating-bubble {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        border-radius: 40px;
    }
    
    .floating-bubble.above-footer {
        bottom: 180px; /* Posición más alta en móvil para evitar solapar el footer */
    }
    
    .bubble-icon {
        width: 35px;
        height: 35px;
    }
    
    .bubble-icon .material-symbols-outlined {
        font-size: 18px;
    }
    
    .bubble-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .floating-bubble {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        gap: 8px;
    }
    
    .floating-bubble.above-footer {
        bottom: 160px; /* Posición aún más alta en pantallas muy pequeñas */
    }
    
    .bubble-text {
        font-size: 12px;
    }
}