:root {
    --primary-red: #e63946;
    --whatsapp-green: #25d366;
    --text-white: #ffffff;
    --bg-dark: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    width: 100%;
    z-index: 10;
    background-color: var(--bg-dark);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-red);
}

.btn-whatsapp-top {
    background: var(--whatsapp-green);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

/* --- Estilos Menú Móvil --- */
.menu-toggle {
    display: none; /* Oculto en escritorio */
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.menu-toggle i, .close-menu i {
    width: 32px;
    height: 32px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 5%;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-nav-content a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.mobile-nav-content a:hover {
    color: var(--primary-red);
}

.btn-whatsapp-mobile {
    background: var(--whatsapp-green) !important;
    padding: 15px 25px !important;
    border-radius: 8px;
    font-size: 1.2rem !important;
    margin-top: 20px;
}

.mobile-social {
    margin-top: 40px;
}

.mobile-social a i,
.mobile-social a svg {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero {
    height: 125vh;
    display: flex;
    overflow: hidden;
    padding: 100px 0 0 50px;
    background-color: var(--bg-dark);
}

.hero-content {
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25% 0;
    z-index: 2;
}

.hero-image {
    flex: 6;
    background-image: url('./img/paso-jardin-en-panama-jardin-principal.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    animation: imageSlideIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Transición avanzada con múltiples paradas para un fundido orgánico */
    background: linear-gradient(
        to right, 
        var(--bg-dark) 0%, 
        var(--bg-dark) 5%, 
        rgba(10, 10, 10, 0.8) 15%, 
        rgba(10, 10, 10, 0.4) 30%, 
        rgba(10, 10, 10, 0.1) 70%, 
        transparent 90%
    );
    pointer-events: none;
    z-index: 1;
}

.badge {
    background: var(--primary-red);
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-red {
    color: var(--primary-red);
}

.description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botón CTA */
.btn-cta {
    background: var(--whatsapp-green);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.02);
}

.cta-text strong {
    display: block;
    font-size: 1.2rem;
}

.cta-text span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Social Proof */
.social-proof {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
}

.stars {
    color: #ffb703;
}

/* Animaciones */
@keyframes imageSlideIn {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }
    .hero-image {
        order: -1;
        min-height: 40vh;
    }
    .hero-image::before {
        /* En móvil, el degradado debe ser de abajo hacia arriba para unir con el texto */
        background: linear-gradient(
            to bottom, 
            transparent 0%, 
            rgba(10, 10, 10, 0.2) 50%, 
            rgba(10, 10, 10, 0.6) 75%, 
            var(--bg-dark) 100%
        );
    }
    .nav-links, .btn-whatsapp-top { /* Hide desktop nav and whatsapp button */
        display: none;
    }
    .menu-toggle { display: block; } /* Show hamburger icon */
}



.problem-section {
    background-color: var(--bg-dark);
    padding: 80px 5%;
    color: white;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.text-red { color: var(--primary-red); }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Estilo de Tarjetas de Problema */
.card-item {
    background: #151515;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #222;
}

.card-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.1);
}

.card-footer {
    padding: 15px;
    background: rgba(0,0,0,0.8);
    font-size: 0.9rem;
}

/* Tarjeta de Solución (Derecha) */
.solution-card {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.solution-card h3 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.solution-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-size: 1.1rem;
}

.red-divider {
    width: 50px;
    height: 4px;
    background: var(--primary-red);
    margin-top: 30px;
}

/* Animación de entrada suave */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-item, .solution-card {
    animation: fadeInUp 0.8s ease forwards;
}

/* Contenedor principal de los beneficios */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 30px;
    max-width: 450px;
}

.feature-item {
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* El círculo con borde rojo fino */
.icon-circle {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* Estilo para los iconos dentro del círculo */
.icon-circle i {
    width: 18px;
    height: 18px;
    color: white;
    stroke-width: 1.2px;
}

/* Texto debajo de los iconos */
.feature-item span {
    color: white;
    font-size: 0.65rem; /* Pequeño como en la imagen original */
    line-height: 1.2;
    font-weight: 500;
    opacity: 0.85;
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .features {
        grid-template-columns: repeat(2, 1fr); /* 2x2 en pantallas muy pequeñas */
        gap: 20px;
    }
}

/* AJUSTES GLOBALES DE RESPONSIVE */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SECCIÓN MODELOS */
.models-section {
    padding: 80px 0;
    background: #000;
    text-align: center;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas en escritorio */
    gap: 15px;
    margin-top: 40px;
}

.model-card {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
}

.model-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.color-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #444;
}

.btn-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* SECCIÓN POR QUÉ ELEGIRNOS */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 60px 5%;
}

.why-item {
    text-align: center;
}

.why-item h4 {
    margin: 15px 0 10px;
    font-size: 1rem;
}

.why-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* BARRA DE ESTADÍSTICAS */
.stats-bar {
    background: #fff;
    color: #000;
    display: flex;
    justify-content: space-around;
    padding: 30px 5%;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
}

/* MEDIA QUERIES PARA RESPONSIVE */
@media (max-width: 1024px) {
    .models-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 5%; }
    .nav-links { display: none; } /* Podrías añadir un menú hamburguesa aquí */
    
    .hero { 
        height: auto; 
        padding: 80px 20px; 
        flex-direction: column;
    }
    
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .models-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
}

.models-selection {
    background-color: var(--bg-dark);
    padding: 80px 5%;
    text-align: center;
}

.models-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.models-subtitle {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 50px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas según la imagen */
    gap: 15px;
    grid-template-columns: repeat(3, 1fr); /* Ajustado a tres columnas */
    gap: 30px; /* Aumentamos el espacio entre tarjetas más grandes */
}

.model-card {
    background: #111;
    border: 1px solid #222;
    padding: 15px;
    padding: 25px; /* Aumentamos el relleno para ampliar el tamaño visual */
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.model-img {
    height: 160px;
    height: 280px; /* Altura ampliada para mantener la proporción con el nuevo ancho */
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
    
}

.model-img img {
    width: 100%;
    height: 100%;    
    object-fit: contain;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.model-img .img-after {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.model-img .after-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: white;
    padding: 4px 8px;
    font-size: 0.6rem;
    font-weight: bold;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.model-card:hover .model-img .img-after {
    opacity: 1;
}

.model-card:hover .model-img .after-label {
    opacity: 1;
}

.model-card:hover .model-img .img-before {
    transform: scale(1.05);
}

.model-card h3 {
    font-size: 1.1rem;
    font-size: 1.4rem; /* Título más grande para tarjetas más grandes */
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}

.model-card p {
    font-size: 0.8rem;
    color: #aaa;
    min-height: 40px;
    margin-bottom: 15px;
}

.btn-view {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #444;
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: white;
    color: black;
}

/* Ajuste para tablets y móviles */
@media (max-width: 1024px) {
    .models-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .models-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .models-grid { grid-template-columns: 1fr; }
}


/* Sección Beneficios */
.benefits-section {
    background-color: #000;
    padding: 80px 5%;
    text-align: center;
    border-top: 1px solid #222;
}

.benefits-title {
    font-size: 1.6rem;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas según photo7.jpg */
    gap: 20px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Línea divisoria vertical entre beneficios */
.benefit-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.icon-ring {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-ring i {
    width: 24px;
    height: 24px;
    color: white;
}

.benefit-card h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    height: 40px; /* Alineación de texto */
    display: flex;
    align-items: center;
}

.benefit-card p {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

/* Barra de Métricas (Blanca) */
.metrics-bar {
    background-color: #f5f5f5; /* Gris muy claro según photo7.jpg */
    padding: 30px 5%;
    color: #333;
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-item i {
    width: 35px;
    height: 35px;
    color: #333;
    stroke-width: 1.5px;
}

.metric-text {
    display: flex;
    flex-direction: column;
}

.metric-text strong {
    font-size: 1.2rem;
    color: #000;
}

.metric-text span {
    font-size: 0.8rem;
    color: #666;
}

.metric-stars {
    color: var(--primary-red);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .benefit-card::after { display: none; }
}

@media (max-width: 768px) {
    .metrics-container { 
        flex-direction: column; 
        gap: 30px; 
        align-items: flex-start;
    }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Sección CTA Final */
.final-cta {
    position: relative;
    background-image: url('./img/paso-jardin-en-panama-jardin_inferior.jpg'); /* Imagen de textura similar a la de la foto */
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.cta-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 80px 5%;
}

.cta-text-main h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.cta-text-main p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 450px;
}

.btn-whatsapp-large {
    background: var(--whatsapp-green);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.btn-whatsapp-large:hover {
    transform: scale(1.05);
}

.cta-subtext {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Barra de Confianza */
.trust-bar {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(0,0,0,0.6);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border-right: 1px solid #333;
}

.trust-item:last-child { border-right: none; }

.trust-item i {
    color: var(--primary-red);
    width: 24px;
    height: 24px;
}

.trust-info strong {
    display: block;
    font-size: 0.85rem;
}

.trust-info span {
    font-size: 0.7rem;
    color: #888;
}

/* Footer */
.main-footer {
    background: #000;
    padding: 40px 5%;
    border-top: 1px solid #222;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #666;
    margin-top: 5px;
}

.footer-social {
    text-align: center;
}

.footer-social span {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #888;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a i,
.social-icons a svg {
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.social-icons a:hover i,
.social-icons a:hover svg { 
    opacity: 1; 
    color: var(--primary-red);
    transform: translateY(-3px);
}

.phone-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .trust-item { border-right: none; }
    .footer-grid { flex-direction: column; gap: 40px; text-align: center; }
}

/* Estilos Testimonios */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-red);
}

.testimonial-project-img {
    height: 200px;
    overflow: hidden;
}

.testimonial-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 25px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 0.95rem;
    margin: 15px 0;
    color: rgba(255,255,255,0.8);
}

.video-testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-red);
    font-weight: 600;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos Proceso */
.process-section {
    padding: 100px 0;
    background-color: #000;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.process-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: #111;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon-wrapper i {
    width: 32px;
    height: 32px;
    color: white;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card p {
    font-size: 1.1rem;
    max-width: 250px;
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Estilos Antes y Después */
.before-after-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    text-align: center;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ba-card {
    background: #111;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #222;
}

.ba-comparison-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
}

.ba-comparison-container .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-comparison-container .before {
    z-index: 1;
}

.ba-comparison-container .after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba-label {
    position: absolute;
    bottom: 15px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 11;
    pointer-events: none;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}

.ba-label.before { left: 15px; border-left: 2px solid #888; }
.ba-label.after { right: 15px; border-right: 2px solid var(--primary-red); }

.ba-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: ew-resize;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 380px;
    background: transparent;
}

.slider-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: white;
    z-index: 5;
    pointer-events: none;
}

.slider-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.ba-description {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 900px) {
    .before-after-grid { grid-template-columns: 1fr; }
    .ba-comparison-container { height: 300px; }
}

/* Contenedor de Redes en el Footer */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-social span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 0px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #1a1a1a; /* Fondo oscuro sutil */
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    
}

.social-icons a i, 
.social-icons a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

/* Efectos al pasar el mouse (Hover) */
.social-icons a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-4px);
 
}

.social-icons a:hover i {
    color: white;
}

/* Ajuste específico para el footer brand y contacto */
.footer-grid {
    align-items: center; /* Centra verticalmente los elementos */
}

.phone-link:hover {
    color: var(--primary-red);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px 0;
    width: 24px;
    height: 24px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 50%;
    background-color: #f4f4f4; /* Fondo gris claro */
    color: #333; /* Icono oscuro */
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.social-icons a svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}





.social-icons a img {
    width: 25px;
    height: 25px;
    stroke-width: 2px;
}


.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-social span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 10px 0;
}

.social-icons a {    
    width: 34px;
    height: 34px;
    border-radius: 50%;    
    background-color: #1a1a1a; /* Fondo circular oscuro elegante */
    border: 1px solid #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}


/* Contact Form Section */
.contact-form-container {
    max-width: 600px;
    margin: 60px auto 0 auto; /* Centered, with space above */
    background: rgba(15, 15, 15, 0.75); /* Efecto cristal oscuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    text-align: left; /* Align text inside form to left */
}

.contact-form-container h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: rgba(230, 57, 70, 0.8);
    outline: none;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

.btn-submit-form {
    display: block;
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1ebc56 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-submit-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive adjustments for the form */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 40px 5% 0 5%; /* Adjust margin for smaller screens */
        padding: 20px;
    }
    .contact-form-container h3 {
        font-size: 1.5rem;
    }
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea,
    .btn-submit-form {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
}




    

.contact-section {
    padding: 80px 5%; /* Añade padding vertical y horizontal a la nueva sección */
    background-color: var(--bg-dark); /* Asegura un fondo consistente */
    text-align: center; /* Para centrar el contenedor del formulario */
}

/* Contact Form Section */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto; /* Centrado horizontalmente, el espaciado vertical lo maneja el padding de la sección */
    background: rgba(15, 15, 15, 0.75); /* Efecto cristal oscuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
