/* ... (PEGA AQUÍ TODO EL CÓDIGO CSS del archivo anterior) ... */

        /* --- 1. RESET Y VARIABLES GLOBALES --- */
        :root {
            --primary-color: #ffffff;
            --primary-light: #fafafa;
            --secondary-color: #0097cb;
            --text-primary: #ffffff;
            --text-secondary: #a1a1a1;
            --text-secondary-2: #eaeaea;
	    --background-color: #273b4f;
    	    --card-background: #061526;
            --font-family: 'Inter', sans-serif;
            --button-radius: 4px 20px;
            --transition-speed: 0.3s;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            background-color: var(--background-color);
        }

        body {
            font-family: var(--font-family);
            color: var(--text-primary);
            overflow-x: hidden;
        }

        #whatsapp {        
	    position: fixed;
	    bottom: 12px;
	    right: 7px;
    	    z-index: 9999;
	}

        .whatsapp {
            width: 70px;
            padding-top: 3px;
	}

        /* --- 2. ESTILOS GENERALES Y UTILIDADES --- */
        .container {
            max-width: 90%;
            margin: 0 auto;
            padding: 0;
        }

        .btn {
            display: inline-block;
            padding: 18px 18px;
            font-weight: 700;
            text-decoration: none;
            color: var(--primary-color);
            background-color: var(--secondary-color);
            border: none;
            cursor: pointer;
            border-radius: var(--button-radius);
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgb(164 213 255 / 25%);
        }

        h1, h2, h3, h4 {
            font-weight: 800;
        }

        h2 {
            font-size: 2.8rem;
            margin-bottom: 2.5rem;
            text-align: center;
        }
        
        h2 .highlight {
            color: var(--secondary-color);
        }

        a {
            text-decoration: none;
        }

        section {
            padding: 80px 0;
        }

        /* ESTILO GLOBAL PARA ENLACES DENTRO DE TEXTO */
        section p a, section ul a {
            color: var(--secondary-color);
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
            font-weight: 500;
            transition: color var(--transition-speed) ease, text-decoration-color var(--transition-speed) ease;
        }

        section p a:hover, section ul a:hover {
            color: var(--primary-color);
            text-decoration-color: var(--primary-color);
        }

        /* --- 3. ANIMACIONES DE SCROLL --- */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .animate-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* --- 4. HEADER Y NAVEGACIÓN --- */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
            z-index: 1000;
            transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
        }
        
        .header.scrolled {
            background-color: var(--card-background);
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-primary);
            text-decoration: none;
	    display: flex;
    	    position: relative;
    	    z-index: 1002;
        }

        .logo span {
            color: var(--secondary-color);
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 35px;
        }

        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 400;
            position: relative;
            padding-bottom: 5px;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--secondary-color);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform var(--transition-speed) ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            transform: scaleX(1);
        }
        
        /* --- Menú Hamburguesa (Móvil) --- */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .menu-toggle .bar {
            width: 28px;
            height: 3px;
            background-color: var(--text-primary);
            border-radius: 3px;
            transition: all var(--transition-speed) ease-in-out;
        }
        
        .menu-toggle.open .bar:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        .menu-toggle.open .bar:nth-child(2) {
            opacity: 0;
        }
        .menu-toggle.open .bar:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }


        /* --- 5. SECCIÓN HERO --- */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
	    background: linear-gradient(rgb(6 21 38 / 95%), rgb(6 21 38 / 50%), rgb(6 21 38 / 22%), rgb(6 21 38 / 0%)), url(../images/imagen.jpg) no-repeat center center / cover;
            text-align: center;
        }
        
        .hero-content {
            max-width: 800px;
        }
        
        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-secondary-2);
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* --- 6. SECCIÓN SERVICIOS --- */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background-color: var(--card-background);
            padding: 2.5rem;
            border-radius: 10px;
            text-align: center;
            border-left: 3px solid transparent;
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-left-color var(--transition-speed) ease;
            position: relative; /* Necesario para el contenido hover */
            overflow: hidden; /* Para contener el efecto */
            height: 100%;
        }

        .service-card-content {
            transition: transform var(--transition-speed) ease;
        }

        .service-card-hover {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 151, 203, 0.9);
            transform: translateY(100%);
            transition: transform var(--transition-speed) ease;
        }

        .service-card-link:hover .service-card-hover {
            transform: translateY(0);
        }

        .service-card-link:hover .service-card-content {
            transform: translateY(-20px);
        }

        .btn.btn-small {
            padding: 12px 24px;
            font-size: 0.9rem;
        }

        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background-color: var(--secondary-color);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 700;
            border: 3px solid var(--background-color);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.4);
            border-left-color: var(--secondary-color);
        }

        .service-card .icon {
            font-size: 3rem;
            color: var(--secondary-color);
            margin-bottom: 1.5rem;
        }
        
        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
	    color: #ffffff;
        }
        
        .service-card p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* --- ESTILOS SERVICIOS DETALLADOS -- */
        .service-detail-content {
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .service-detail-content.reverse {
            flex-direction: row-reverse;
        }

        .service-detail-image,
        .service-detail-text {
            flex: 1;
        }

        .service-detail-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .service-detail-text p {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .service-detail-text ul {
            list-style: none;
            margin-bottom: 2rem;
        }

        .service-detail-text ul li {
            color: var(--text-secondary-2);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .service-detail-text ul li i {
            color: var(--secondary-color);
            margin-right: 10px;
            font-size: 1.2rem;
        }

        .service-card-link {
            text-decoration: none;
        }

        .extra-province {
            display: none;
        }
        
        /* --- 7. SECCIÓN NUESTRO IMPACTO --- */
        .impact {
             background-color: var(--primary-light);
        }
        .impact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }
        .impact-item .counter {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--secondary-color);
        }
        .impact-item p {
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        /* --- 8. SECCIÓN TESTIMONIOS (CARRUSEL) --- */
        .testimonial-slider {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
        }

        .testimonial-wrapper {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .testimonial-card {
            min-width: 100%;
            padding: 2rem;
            background-color: var(--card-background);
            border-radius: 10px;
            text-align: center;
        }

        .testimonial-card p {
            font-size: 1.1rem;
            font-style: italic;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }
        
        .testimonial-card .author {
            font-weight: 700;
            font-size: 1rem;
            color: var(--secondary-color);
        }
        
        .slider-controls {
            text-align: center;
            margin-top: 2rem;
        }

        .slider-btn {
            background: none;
            border: 2px solid var(--secondary-color);
            color: var(--secondary-color);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            margin: 0 10px;
            font-size: 1.2rem;
            transition: all var(--transition-speed) ease;
        }
        
        .slider-btn:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
        }
        
        /* --- 9. SECCIÓN ARTÍCULOS --- */
        #articles {
            background-color: var(--background-color);
        }
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2.5rem;
        }
        .article-card {
            background: var(--card-background);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
        }
        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.4);
        }
        .article-card .article-image {
            overflow: hidden;
        }
        .article-card .article-image img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        .article-card:hover .article-image img {
            transform: scale(1.05);
        }
        .article-content {
            padding: 1.5rem;
        }
        .article-tag {
            display: inline-block;
            background-color: var(--primary-light);
            color: var(--secondary-color);
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .article-content h3 {
            font-size: 1.4rem;
            margin-bottom: 0.75rem;
        }
        .article-content h3 a {
            color: var(--text-primary);
            text-decoration: none;
        }
        .article-content p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        .read-more-link {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 700;
        }
        .read-more-link i {
            margin-left: 5px;
            transition: transform var(--transition-speed) ease;
        }
        .read-more-link:hover i {
            transform: translateX(5px);
        }

        /* Estilos para el campo de búsqueda del blog */
        .blog-controls {
            margin-bottom: 3rem;
            text-align: center;
        }

        .search-wrapper {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
        }

        .search-wrapper i {
            position: absolute;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 1.1rem;
            transition: color var(--transition-speed) ease;
        }

        #article-search {
            width: 100%;
            padding: 18px 20px 18px 55px; /* Espacio para el icono */
            border: 1px solid var(--primary-light);
            border-radius: var(--button-radius);
            background-color: var(--card-background);
            color: var(--text-primary);
            font-size: 1.1rem;
            font-family: inherit;
            transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
        }

        #article-search::placeholder {
            color: var(--text-secondary);
        }

        #article-search:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 4px rgba(0, 151, 203, 0.25);
        }

        #article-search:focus + i {
            color: var(--secondary-color);
        }

        /* --- ESTILOS PÁGINA DE ARTÍCULO --- */
        .hero-article {
            height: 100vh;
            min-height: 400px;
        }

        .breadcrumbs {
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .breadcrumbs a {
            color: var(--text-secondary);
            text-decoration: none;
        }

        .breadcrumbs a:hover {
            color: var(--primary-color);
        }

        .article-intro {
            font-size: 1.2rem;
            color: var(--text-secondary-2);
            text-align: center;
            max-width: 800px;
            margin-top: -2rem;
            margin-bottom: 4rem;
        }

        .custom-table {
            width: 100%;
            border-collapse: collapse;
            background-color: var(--card-background);
            border-radius: 10px;
            overflow: hidden;
        }

        .custom-table th, .custom-table td {
            padding: 2%;
            text-align: left;
        }

        .custom-table thead {
            background-color: var(--secondary-color);
        }

        .custom-table th {
            color: var(--primary-color);
            font-weight: 700;
        }

        .custom-table tbody tr {
            border-bottom: 1px solid var(--background-color);
        }

        .custom-table tbody tr:last-child {
            border-bottom: none;
        }

        .custom-table td {
            color: var(--text-secondary);
        }

        .custom-table td strong {
            color: var(--text-primary);
        }

        /* Estilos para la sección de video explicativo */
        .video-placeholder {
            text-align: center;
        }

        .video-wrapper video{

            width: 100%; /* Ancho máximo del video */

        }



        /* --- ESTILOS FAQ --- */
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background-color: var(--card-background);
            border-radius: 10px;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .faq-question {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            background: none;
            border: none;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 1.2rem;
            font-weight: 700;
            text-align: left;
            cursor: pointer;
        }

        .faq-question i {
            transition: transform 0.3s ease;
        }

        .faq-question.active i {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out, padding 0.5s ease;
        }

        .faq-answer p {
            padding: 0 1.5rem 1.5rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* --- 10. SECCIÓN FORMULARIO DE CONTACTO --- */
        #contact-form {
            /* --- background-color: var(--primary-light);--- */
	    background: linear-gradient(rgb(15 27 39 / 0%), rgba(15, 27, 39, 0.2)), url(../images/imagen.jpg) no-repeat center center / cover;
        }
        .contact-form-wrapper {
            max-width: 700px;
            margin: 0 auto;
            padding: 3rem;
            background-color: var(--card-background);
            border-radius: 10px;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
            font-weight: 500;
        }
        .form-control {
            width: 100%;
            padding: 15px;
            background: var(--primary-light);
            border: 2px solid var(--primary-light);
            border-radius: 8px;
            color: var(--card-background);
            font-size: 1rem;
            font-family: inherit;
            transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
        }
        .form-control:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(213, 179, 98, 0.2);
        }
        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }
        .text-center {
            text-align: center;
        }





        /* --- 11. ARTICULO 3 --- */
        #conclusion {
    	    margin: 0 auto 5rem auto;
    	    border-radius: 10px;
    	    text-align: center;
        }

        #conclusion h3 {
    	    margin-bottom: 15px;
        }

        #conclusion ul li {
    	    margin-bottom: 10px;
        }


        #conclusion ul li i{
    	    margin-right: 5px;
        }

        #conclusion ul li i:hover{
    	    color: var(--secondary-color);
        }





        /* --- 11. CALCULADORA DE AHORRO --- */
        #calculator {
            background-color: var(--background-color);
        }
        .calculator-wrapper {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 3rem;
            background-color: var(--card-background);
            padding: 3rem;
            border-radius: 15px;
        }
        .calculator-controls h3, .calculator-results h3 {
            color: var(--text-primary);
            font-size: 1.8rem;
            margin-bottom: 2rem;
        }
        .calculator-controls .form-group label {
            font-size: 1.1rem;
            color: var(--text-secondary-2);
        }
        .calculator-controls .form-group label span {
            color: var(--secondary-color);
            font-weight: 700;
        }
        .fine-print {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 2rem;
        }
        .total-spent {
            background-color: var(--background-color);
            padding: 1.5rem;
            border-radius: 10px;
            text-align: center;
            margin-bottom: 2rem;
        }
        .total-spent span {
            font-size: 1.2rem;
            color: var(--text-secondary-2);
        }
        .total-spent strong {
            display: block;
            font-size: 2.8rem;
            color: var(--secondary-color);
            margin-top: 0.5rem;
        }
        .savings-bar-item {
            margin-bottom: 1.2rem;
        }
        .savings-bar-item .label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }
        .savings-bar-item .label .saving-amount {
            color: var(--secondary-color);
        }
        .bar-container {
            width: 100%;
            background-color: var(--background-color);
            border-radius: 5px;
            overflow: hidden;
        }
        .barra-bar {
            height: 25px;
            background: linear-gradient(90deg, var(--secondary-color) 0%, #00c4ff 100%);
            border-radius: 5px;
            width: 0%; /* Se controla con JS */
            transition: width 0.5s ease-in-out;
            text-align: right;
            padding-right: 10px;
            line-height: 25px;
            color: var(--primary-color);
            font-weight: 700;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        /* Estilos para los sliders */
        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 8px;
            border-radius: 5px;
            background: var(--primary-light);
            outline: none;
            opacity: 0.7;
            transition: opacity .2s;
            margin-top: 1rem;
        }
        .slider:hover {
            opacity: 1;
        }
        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: var(--secondary-color);
            cursor: pointer;
            border: 3px solid var(--primary-color);
        }
        .slider::-moz-range-thumb {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: var(--secondary-color);
            cursor: pointer;
            border: 3px solid var(--primary-color);
        }

        /* --- 12. FOOTER --- */
        .footer {
            background-color: var(--card-background);
            padding-top: 80px;
            padding-bottom: 20px;
            color: var(--text-secondary);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2rem;
            margin-bottom: 50px;
        }
        .footer-col h4 {
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: var(--secondary-color);
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col ul li {
            margin-bottom: 1rem;
        }

        .footer-col ul li i {
            color: var(--primary-color);
	    margin-right: 5px;
        }

        .footer-col ul li i:hover {
            color: var(--secondary-color);
        }

        .footer-col ul a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
        }
        .footer-col ul a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        .social-links a {
            display: inline-block;
            height: 40px;
            width: 40px;
            background-color: var(--primary-light);
            color: var(--card-background);
            margin-right: 10px;
            text-align: center;
            line-height: 40px;
            border-radius: 50%;
            transition: all var(--transition-speed) ease;
        }
        .social-links a:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            transform: translateY(-3px);
        }
        .newsletter-form {
            display: flex;
            margin-top: 1rem;
        }
        .newsletter-form input {
            flex-grow: 1;
            padding: 10px;
            border: 1px solid var(--primary-light);
            background: var(--primary-light);
            color: var(--card-background);
            border-radius: 4px 0 0 4px;
            outline: none;
        }
        .newsletter-form button {
            padding: 10px 15px;
            border: none;
            background-color: var(--secondary-color);
            color: var(--primary-color);
            cursor: pointer;
            border-radius: 0 4px 4px 0;
            font-size: 1.2rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--primary-light);
        }


        .footer-bottom a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
        }
        .footer-bottom a:hover {
            color: var(--secondary-color);
        }


        .service-detail-text ul.analysis-parameters li {
            align-items: flex-start;
        }

        .service-detail-text ul.analysis-parameters li i {
            margin-top: 5px;
        }

        .service-detail-text ul.analysis-parameters li strong {
            color: var(--text-primary);
            display: block;
            margin-bottom: 3px;
        }

        /* --- 12. GALERÍA DE PRODUCTOS --- */
#product-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--primary-light);
    color: var(--text-secondary-2);
    padding: 12px 25px;
    margin: 5px;
    border-radius: var(--button-radius);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.filter-btn:hover {
    background-color: var(--primary-light);
    color: var(--card-background);
}

.filter-btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgb(164 213 255 / 25%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: transparent;
    perspective: 1000px; /* Efecto 3D */
    min-height: 400px;
    transition: transform 0.5s;
}

.product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.product-card:hover .product-card-inner {
    transform: rotateY(180deg);
}

.product-card-front,
.product-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-card-front {
    color: var(--text-primary);
}

.product-card-front img {
    width: 80%;
    max-width: 200px;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.product-card-front h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.product-card-back {
    color: var(--text-secondary-2);
    transform: rotateY(180deg);
    justify-content: space-around;
}

.product-card-back h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.product-card-back h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card-back ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.product-card-back ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.product-card-back ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.product-card-back p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* --- 13. PÁGINA DE CONTACTO --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: 15px;
}
.contact-form h3, .contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.contact-info p {
    color: var(--text-secondary-2);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-details li i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}
.contact-details li strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 3px;
}
.contact-details li a, .contact-details li span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
}
.contact-details li a:hover {
    color: var(--secondary-color);
}
.map-placeholder img {
    width: 100%;
    border-radius: 10px;
    filter: grayscale(1) brightness(0.8);
}

/* --- 14. RESPONSIVIDAD --- */
        @media (max-width: 992px) {
            h2 { font-size: 2.4rem; }
            .hero h1 { font-size: 2.3rem; }
	    .hero p { font-size: 1rem; }
            .nav-links { gap: 25px; }
	    .impact-item .counter { font-size: 2.5rem;}
	    .total-spent strong {
    		font-size: 2.2rem;
	    }
	    .calculator-wrapper {
    		display: block;
    		font-size: 1rem;
	    }
	    .contact-wrapper {
    		display: block;
    		padding: 1.6rem;
	    }
	    .contact-wrapper h3{
    		padding-top: 50px;
	    }
            .footer-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        @media (max-width: 1200px) {


            .nav-links a {
		font-size: 18px;
	    }
            .nav-links {
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100vh;
                background-color: var(--card-background);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: left 0.5s ease-in-out;
            }
            .nav-links.open {
                left: 0;
            }
            .nav-links li {
                opacity: 0;
                transform: translateY(20px);
                margin: 10px 0;
            }
            .nav-links.open li {
                animation: navLinkFade 0.5s ease forwards;
            }
            .nav-links.open li:nth-child(1) { animation-delay: 0.2s; }
            .nav-links.open li:nth-child(2) { animation-delay: 0.3s; }
            .nav-links.open li:nth-child(3) { animation-delay: 0.4s; }
            .nav-links.open li:nth-child(4) { animation-delay: 0.5s; }
            .nav-links.open li:nth-child(5) { animation-delay: 0.6s; }

            .hero {
		padding: 20px;
	        background: linear-gradient(rgb(6 21 38 / 95%), rgb(6 21 38 / 50%), rgb(6 21 38 / 22%), rgb(6 21 38 / 0%)), url(../images/imagen-peq.jpg) no-repeat center center / cover;
            }

	    .service-detail-content {
		display: grid;
	    }

	    .custom-table {
    		font-size: small;
	    }

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

            .menu-toggle {
                display: flex;
                z-index: 1001; /* Debe estar por encima del nav-links */
            }
            .navbar .btn { display: none; }

            .footer-grid { grid-template-columns: 1fr 1fr; }
            .footer-col:first-child, .footer-col:last-child {
                grid-column: 2 / 1;
        	min-width: 200px;
            }
        }

         @media (max-width: 576px) {
            h2 { font-size: 2rem; }
            .hero h1 { font-size: 2.5rem; }
            .hero p { font-size: 1rem; }
	    .custom-table {
    		font-size: 12px;
	    }
            .custom-table th {
                padding: 1vw;
            }
            section { padding: 60px 0; }
            .service-card, .contact-form-wrapper { padding: 2rem; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-col, .footer-col h4 { text-align: center; }
            .footer-col h4::after { left: 50%; transform: translateX(-50%); }
            .social-links { text-align: center; }
            .newsletter-form { justify-content: center;}
        }



/* ESTILO ADICIONAL PARA LAS CABECERAS DE PÁGINAS INTERNAS */
.page-header {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    background: linear-gradient(rgba(15, 27, 39, 0.85), rgba(15, 27, 39, 1));
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
}

.page-header h1 .highlight {
    color: var(--secondary-color);
}