/* =========================================
   ESTILOS GLOBALES - KYNTEC ENERGY
   ========================================= */

:root {
    /* Colores Corporativos */
    --kyn-blue: #003366;       /* Azul Corporativo Oscuro */
    --kyn-blue-light: #0066cc; /* Azul Brillante */
    --kyn-green: #16a34a;      /* Verde Agrícola */
    --kyn-green-light: #dcfce7;
    --kyn-orange: #F9B900;     /* Naranja Acción (Ajustado al de la calculadora/footer) */
    --kyn-orange-dark: #f59e0b; 
    
    /* Fondos y Textos */
    --kyn-gray-bg: #f9fafb;
    --kyn-text: #4b5563;
    --kyn-dark: #1e293b;       /* Nuevo para textos oscuros */
    --kyn-gray: #64748b;       /* Nuevo para textos secundarios */
    --kyn-white: #ffffff;
    
    /* Animaciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Regla general para evitar problemas de cajas */
.solar-hero-wrapper *, .res-services-wrapper *, 
.agri-services-wrapper *, .local-seo-wrapper *, 
.ibi-magnet-wrapper *, .proof-wrapper *,
.kyn-calc-section * {
    box-sizing: border-box;
}

/* --- ESTILOS GENERALES (FOOTER ESCRITORIO) --- */
.site-footer {
    padding: 0 !important;
}

.footer-global-pro {
    background-color: #111827;
    color: #9CA3AF;
    padding: 60px 20px 40px;
    font-family: 'Segoe UI', sans-serif;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    border-top: 4px solid var(--kyn-orange);
}

.footer-inner-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: left;
}

.f-col h4 {
    color: #F3F4F6;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    margin-top: 0;
}

.f-col ul { 
    list-style: none; 
    padding: 0;
    margin: 0; 
}

.f-col li { margin-bottom: 12px; }

.f-col a {
    color: #9CA3AF;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}
.f-col a:hover { color: var(--kyn-orange); padding-left: 5px; }

.contact-row { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 15px; 
    color: #D1D5DB; 
    align-items: flex-start; 
}

/* --- VERSIÓN MÓVIL FOOTER (2 COLUMNAS) --- */
@media (max-width: 768px) {
    .footer-inner-grid {
        /* Definimos explícitamente 2 columnas de igual tamaño */
        grid-template-columns: repeat(2, 1fr) !important;
        
        /* Ajustamos el espacio: 40px vertical, 15px horizontal */
        gap: 40px 15px !important; 
        
        /* Cambiamos a alineación izquierda. En 2 columnas, 
           el texto centrado se ve desordenado. */
        text-align: left !important;
    }

    /* Ajustes para las listas */
    .f-col ul {
        padding-left: 0 !important;
        text-align: left !important;
    }

    /* Ajustes para los iconos de contacto */
    .contact-row {
        justify-content: flex-start !important; /* Alinear a la izquierda */
        align-items: flex-start !important;
        gap: 8px !important;
    }

    /* Evitar que el email rompa el diseño si es muy largo */
    .email-link {
        word-break: break-all; 
        font-size: 0.85rem !important;
    }

    /* Ajuste de títulos para móvil */
    .f-col h4 {
        display: block !important;
        border-bottom: none !important; /* Quitamos la línea inferior del diseño anterior */
        margin-bottom: 15px !important;
        font-size: 1rem !important; /* Un poco más pequeño para que quepa bien */
    }

    /* Ajuste para el texto de descripción de la marca */
    .brand-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}
/* =========================================
   1. HERO SECTION (PORTADA)
   ========================================= */
.solar-hero-wrapper {
    width: 100%; 
    position: relative;
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}

.solar-hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Fondos Partidos */
.solar-bg-container {
    position: absolute; inset: 0; display: flex; width: 100%; height: 100%; z-index: 0;
}
.solar-bg-panel {
    width: 100%; height: 100%; background-size: cover; background-position: center;
}
.solar-bg-left {
    background-image: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), 
                      url('https://kyntecenergy.com/wp-content/uploads/2026/03/photo-1583345237708-add35a664d77.webp');
}
.solar-bg-right {
    display: none;
    background-image: linear-gradient(rgba(34, 197, 94, 0.6), rgba(34, 197, 94, 0.6)), 
                      url('https://kyntecenergy.com/wp-content/uploads/2026/03/photo-1680725659623-0b1f36187924.webp');
}

/* Contenido Hero */
.solar-container {
    position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.solar-content-wrapper {
    max-width: 850px; margin: 0 auto; text-align: center; color: var(--kyn-white); padding: 4rem 0;
}
.solar-content-wrapper h1 {
    font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.1; color: white; margin-top: 0;
}
p.solar-subtitle {
    font-size: 1.125rem; margin-bottom: 3rem; color: #f3f4f6; line-height: 1.6;
}

/* Tarjetas Hero */
.solar-cards-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 750px; margin: 0 auto;
}
.solar-cta-card {
    background-color: var(--kyn-white);
    border: none; border-radius: 1rem; padding: 2rem;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%; display: flex; justify-content: center; align-items: center;
    text-decoration: none !important;
}
.solar-cta-card:hover {
    transform: scale(1.03); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}
.solar-card-content {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; width: 100%;
}
.solar-icon-circle {
    width: 5rem; height: 5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; transition: background-color 0.3s ease; padding: 0;
}
.solar-cta-icon {
    width: 2.5rem; height: 2.5rem; stroke-width: 2; transition: stroke 0.3s ease; display: block;
}
.solar-card-title {
    display: block; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.2;
}
.solar-card-desc {
    display: block; font-size: 0.875rem; opacity: 0.8; font-weight: 400; color: #555;
}

/* Variantes Hero */
.card-blue { color: var(--kyn-blue) !important; }
.card-blue .solar-icon-circle { background-color: var(--kyn-blue); }
.card-blue .solar-cta-icon { stroke: var(--kyn-white); }
.card-blue .solar-card-title { color: var(--kyn-blue); }
.card-blue:hover { background-color: var(--kyn-blue); }
.card-blue:hover .solar-card-title, .card-blue:hover .solar-card-desc { color: var(--kyn-white); }
.card-blue:hover .solar-icon-circle { background-color: var(--kyn-white); }
.card-blue:hover .solar-cta-icon { stroke: var(--kyn-blue); }

.card-green { color: var(--kyn-green) !important; }
.card-green .solar-icon-circle { background-color: var(--kyn-green); }
.card-green .solar-cta-icon { stroke: var(--kyn-white); }
.card-green .solar-card-title { color: var(--kyn-green); }
.card-green:hover { background-color: var(--kyn-green); }
.card-green:hover .solar-card-title, .card-green:hover .solar-card-desc { color: var(--kyn-white); }
.card-green:hover .solar-icon-circle { background-color: var(--kyn-white); }
.card-green:hover .solar-cta-icon { stroke: var(--kyn-green); }

@media (min-width: 768px) {
    .solar-bg-right { display: block; }
    .solar-bg-panel { width: 50%; }
    .solar-content-wrapper h1 { font-size: 3.75rem; }
    p.solar-subtitle { font-size: 1.5rem; }
    .solar-cards-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   2. RESIDENCIAL & AGRÍCOLA (COMPARTIDOS)
   ========================================= */
.res-services-wrapper, .agri-services-wrapper { width: 100%; font-family: system-ui, -apple-system, sans-serif; }
.res-section, .agri-section { padding: 5rem 0; width: 100%; }
.res-section { background-color: #ffffff; }
.agri-section { background: linear-gradient(to bottom, #f0fdf4, #ffffff); }

.res-container, .agri-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.res-header, .agri-header { text-align: center; margin-bottom: 3rem; }
.res-header h2 { font-size: 2.25rem; font-weight: 700; color: var(--kyn-blue); margin: 0 0 1rem 0; line-height: 1.2; }
.agri-header h2 { font-size: 2.25rem; font-weight: 700; color: var(--kyn-green); margin: 0 0 1rem 0; line-height: 1.2; }
.res-divider { width: 6rem; height: 0.25rem; background-color: var(--kyn-orange); margin: 0 auto; }
.agri-divider { width: 6rem; height: 0.25rem; background-color: var(--kyn-green); margin: 0 auto; }

.res-grid, .agri-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.res-card, .agri-card {
    background-color: white; border-radius: 0.75rem; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.res-card { border: 1px solid #f3f4f6; }
.agri-card { border: 1px solid var(--kyn-green-light); }
.res-card:hover, .agri-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.res-img-wrapper, .agri-img-wrapper { position: relative; height: 14rem; overflow: hidden; }
.res-img, .agri-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.res-card:hover .res-img, .agri-card:hover .agri-img { transform: scale(1.1); }

.res-icon-badge, .agri-icon-badge {
    position: absolute; top: 1rem; right: 1rem; width: 3.5rem; height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 10;
}
.res-main-icon { width: 1.75rem; height: 1.75rem; color: var(--kyn-blue); }
.agri-main-icon { width: 1.75rem; height: 1.75rem; color: var(--kyn-green); }

.res-content, .agri-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.res-title { font-size: 1.25rem; font-weight: 700; color: var(--kyn-blue); margin-bottom: 0.75rem; }
.agri-title { font-size: 1.25rem; font-weight: 700; color: var(--kyn-green); margin-bottom: 0.75rem;
text-align:center;}
.res-desc, .agri-desc { color: var(--kyn-text); margin-bottom: 1rem; line-height: 1.5; font-size: 1rem; flex-grow: 1; }

.res-link { color: var(--kyn-orange); }
.agri-link { color: var(--kyn-green); }
.res-link, .agri-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 600; text-decoration: none; transition: gap 0.3s ease; width: fit-content;
}
.res-link:hover, .agri-link:hover { gap: 0.75rem; }
.res-arrow-icon, .agri-arrow-icon { width: 1rem; height: 1rem; }

@media (min-width: 768px) {
    .res-grid, .agri-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	.res-content{
		align-items: center;
		text-align: center;
	}
}


/* =========================================
   3. LOCAL SEO (MAPA)
   ========================================= */
.local-seo-wrapper { width: 100%; font-family: system-ui, -apple-system, sans-serif; }
.seo-section { background-color: var(--kyn-gray-bg); padding: 5rem 0; width: 100%; }
.seo-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.seo-header { text-align: center; margin-bottom: 3rem; }
.seo-header h2 { font-size: 2.25rem; font-weight: 700; color: var(--kyn-blue); margin: 0 0 1rem 0; line-height: 1.2; }
.seo-header p { font-size: 1.25rem; color: var(--kyn-text); margin: 0; }

.seo-content-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.map-illustration {
    position: relative; background: linear-gradient(135deg, var(--kyn-blue), var(--kyn-blue-light));
    border-radius: 1rem; padding: 3rem; height: 24rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); overflow: hidden;
}
.map-content { text-align: center; color: var(--kyn-white); position: relative; z-index: 10; }
.map-big-icon { width: 6rem; height: 6rem; margin: 0 auto 1.5rem auto; opacity: 0.8; display: block; }
.map-title { font-size: 1.5rem; font-weight: 700; display: block; }
.map-subtitle { font-size: 1.125rem; opacity: 0.9; }

.pulse-dot {
    position: absolute; width: 0.75rem; height: 0.75rem; background-color: var(--kyn-orange);
    border-radius: 50%; opacity: 0.5; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}
.dot-1 { top: 2.5rem; left: 2.5rem; }
.dot-2 { top: 6rem; right: 5rem; animation-delay: 0.2s; }
.dot-3 { bottom: 5rem; left: 6rem; animation-delay: 0.5s; }
.dot-4 { bottom: 8rem; right: 4rem; animation-delay: 0.8s; }

.cities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.city-btn {
    display: flex; align-items: center; gap: 0.75rem; background-color: var(--kyn-white); color: var(--kyn-blue);
    border: 1px solid #e5e7eb; border-radius: 0.5rem; padding: 1rem 1.5rem; font-size: 1rem; font-weight: 500;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); width: 100%; text-align: left;
}
.city-btn:hover { background-color: var(--kyn-blue); color: var(--kyn-white); border-color: var(--kyn-blue); }
.city-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

@media (min-width: 1024px) { .seo-content-grid { grid-template-columns: 1fr 1fr; } }

.google-map-frame {
    width: 100%; height: 100%; min-height: 400px; border: 0; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* =========================================
   4. IBI MAGNET (CINTA NARANJA)
   ========================================= */
.ibi-magnet-wrapper { width: 100%; display: block; font-family: system-ui, sans-serif; }
.ibi-section {
    background: linear-gradient(to right, #f59e0b, #f97316);
    padding: 4rem 0; width: 100%; display: flex; justify-content: center;
}
.ibi-container { width: 100%; max-width: 1200px; padding: 0 1.5rem; }
.ibi-content {
    display: flex; flex-direction: column; align-items: center; gap: 2rem; max-width: 64rem; margin: 0 auto;
}
.ibi-info { display: flex; align-items: center; gap: 1.5rem; color: white; text-align: left; width: 100%; }
.ibi-icon-circle {
    width: 5rem; height: 5rem; background-color: rgba(255, 255, 255, 0.2); border-radius: 9999px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ibi-icon-svg { width: 2.5rem; height: 2.5rem; color: white; }
.ibi-text-group h3 {
    font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem 0; line-height: 1.2; color: white;
}
.ibi-text-group p { font-size: 1.125rem; opacity: 0.9; margin: 0; color: white; }

.ibi-button {
    background-color: white !important; color: var(--kyn-orange) !important; font-weight: 800;
    padding: 1.2rem 3rem; border-radius: 50px; text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: all 0.3s ease; display: inline-block;
    text-transform: uppercase; letter-spacing: 1px; border: 2px solid white; cursor: pointer; text-align: center;
}
.ibi-button:hover {
    background-color: transparent !important; color: white !important; border: 2px solid white;
    transform: scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .ibi-content { flex-direction: row; justify-content: space-between; text-align: left; }
    .ibi-text-group h3 { font-size: 1.875rem; }
}
@media (max-width: 480px) {
    .ibi-info { flex-direction: column; text-align: center; }
    .ibi-text-group h3 { font-size: 1.5rem; }
    .ibi-button { width: 100%; }
}

/* =========================================
   5. PROOF (RESEÑAS & SLIDER)
   ========================================= */
.proof-wrapper { width: 100%; font-family: system-ui, -apple-system, sans-serif; }
.proof-section { background-color: var(--kyn-white); padding: 5rem 0; width: 100%; }
.proof-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.proof-header { text-align: center; margin-bottom: 3rem; }
.proof-header h2 { font-size: 2.25rem; font-weight: 700; color: var(--kyn-blue); margin: 0 0 1rem 0; }
.proof-header p { font-size: 1.25rem; color: var(--kyn-text); margin: 0; }

.slider-container { position: relative; max-width: 56rem; margin: 0 auto 4rem auto; }
.slider-frame {
    position: relative; height: 24rem; border-radius: 1rem; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); background-color: #eee;
}
.slide { display: none; width: 100%; height: 100%; animation: fadeEffect 0.5s; }
.slide.active { display: block; }
@keyframes fadeEffect { from {opacity: 0.4} to {opacity: 1} }
.slide-img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 1.5rem;
}
.slide-title { color: white; font-size: 1.5rem; font-weight: 700; margin: 0; }

.slider-btn, .testi-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem;
    background-color: white; border-radius: 50%; display: flex !important; align-items: center !important;
    justify-content: center !important; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer; border: 1px solid #e5e7eb; transition: background-color 0.3s; z-index: 10;
    color: var(--kyn-blue) !important;
}
.slider-btn:hover, .testi-btn:hover {
    background-color: var(--kyn-blue); color: white !important; border-color: var(--kyn-blue);
}
.slider-btn svg, .testi-btn svg {
    width: 24px !important; height: 24px !important; min-width: 24px !important;
    stroke: var(--kyn-blue) !important; stroke-width: 2.5px !important; display: block !important; opacity: 1 !important;
}
.slider-btn:hover svg, .testi-btn:hover svg { stroke: white !important; }

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.dot {
    width: 0.75rem; height: 0.75rem; background-color: #d1d5db; border-radius: 50%;
    cursor: pointer; border: none; transition: 0.3s;
}
.dot.active { background-color: var(--kyn-blue); }

.testimonials-slider { position: relative; max-width: 48rem; margin: 0 auto; padding: 0 2rem; }
.testimonial-card {
    background-color: var(--kyn-gray-bg); border-radius: 0.75rem; padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); border: 1px solid #f3f4f6;
    display: none; animation: fadeEffect 0.5s;
}
.testimonial-card.active { display: block; }
.stars-row { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.star-icon { width: 1.25rem; height: 1.25rem; fill: var(--kyn-orange); color: var(--kyn-orange); }
.testimonial-text { color: #374151; font-style: italic; margin-bottom: 1.5rem; line-height: 1.6; font-size: 1.125rem; }
.testimonial-footer { border-top: 1px solid #e5e7eb; padding-top: 1rem; }
.client-name { font-weight: 700; color: var(--kyn-blue); margin: 0; }
.client-loc { font-size: 0.875rem; color: var(--kyn-text); margin: 0; }
.testi-prev { left: -1rem; }
.testi-next { right: -1rem; }

.proof-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.proof-dual-grid .slider-container, .proof-dual-grid .testimonials-slider { max-width: 100% !important; margin: 0 !important; padding: 0 1.5rem; }

@media (max-width: 1024px) {
    .proof-dual-grid { grid-template-columns: 1fr; gap: 3rem; }
    .proof-dual-grid .col-reviews { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #eee; }
}

/* =========================================
   6. PÁGINA DE CONTACTO & FORMULARIO (V4)
   ========================================= */
.contact-page-wrapper { padding: 4rem 0; background-color: var(--kyn-gray-bg); }
.contact-layout {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem;
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; align-items: center; 
}
.contact-info-box { text-align: center; width: 100%; }
.contact-info-box h1 { font-size: 2.5rem; color: var(--kyn-blue); margin-bottom: 1.5rem; line-height: 1.1; }
.contact-intro { font-size: 1.125rem; color: var(--kyn-text); margin-bottom: 3rem; }

.contact-icons-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.contact-data-row {
    display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1;
}
.c-icon-circle {
    width: 3.5rem; height: 3.5rem; background-color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); color: var(--kyn-orange); flex-shrink: 0; margin-bottom: 1rem;
}
.c-icon-circle svg { width: 1.5rem; height: 1.5rem; }
.c-data h2 { margin: 0 0 0.5rem 0; font-size: 1rem; color: var(--kyn-blue); font-weight: 700; }
.c-data p, .c-data a {
    margin: 0; color: var(--kyn-text); text-decoration: none;
    font-size: 0.95rem; line-height: 1.4; display: block;
}

.kyn-form-card {
    background-color: white; padding: 2.5rem; border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-top: 5px solid var(--kyn-orange);
}
.kyn-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.full-width { grid-column: span 2; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--kyn-blue); }

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap select, .wpcf7-form-control-wrap textarea {
    width: 100%; padding: 0.85rem 1rem; border: 1px solid #e5e7eb; border-radius: 0.5rem;
    background-color: #f9fafb; font-size: 1rem; transition: all 0.3s; outline: none;
}
.wpcf7-form-control-wrap input:focus, .wpcf7-form-control-wrap select:focus, .wpcf7-form-control-wrap textarea:focus {
    border-color: var(--kyn-blue); background-color: white; box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}
.wpcf7-submit {
    width: 100%; background-color: var(--kyn-blue); color: white; font-weight: 700; padding: 1rem;
    border: none; border-radius: 0.5rem; cursor: pointer; transition: background 0.3s;
    text-transform: uppercase; letter-spacing: 0.5px; margin-top: 1rem; margin-bottom: 0 !important;
}
.wpcf7-submit:hover { background-color: var(--kyn-orange); transform: translateY(-2px); }
.wpcf7-response-output { margin: 1rem 0 0 0 !important; padding: 0.5rem !important; border-radius: 4px; font-size: 0.9rem; }

@media (max-width: 1024px) { .contact-layout { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 768px) {
    .contact-icons-row { display: flex !important; flex-direction: row !important; justify-content: space-between !important; gap: 0.5rem !important; align-items: flex-start; }
    .c-icon-circle { width: 2.5rem !important; height: 2.5rem !important; margin-bottom: 0.5rem !important; }
    .c-icon-circle svg { width: 1.2rem !important; height: 1.2rem !important; }
    .c-data h3 { font-size: 0.85rem !important; margin-bottom: 0.2rem !important; }
    .c-data p, .c-data a { font-size: 0.75rem !important; line-height: 1.2 !important; }
    .kyn-form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .kyn-form-card { padding: 1.5rem; }
	.ocultarMapa{
		display:none !important;
	}
}

/* =========================================
   7. PÁGINA INVERNADEROS (AGRO)
   ========================================= */
.agri-hero-section {
    position: relative; height: 60vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
               
    background-size: cover; background-position: center;
}
.agri-hero-content { max-width: 900px; padding: 0 1.5rem; }
.agri-hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1; color: white; }
.agri-hero-content p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }

/* Botones Pro */
.btn-agri, .btn-res {
    font-weight: 700; padding: 1.2rem 2.5rem; border-radius: 50px; text-decoration: none !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block; text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; margin-top: 1.5rem;
}
.btn-agri { background-color: var(--kyn-green) !important; color: white !important; border: 2px solid var(--kyn-green); }
.btn-agri:hover { background-color: white !important; color: var(--kyn-green) !important; border-color: white; transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); }

.btn-res { background-color: var(--kyn-blue) !important; color: white !important; border: 2px solid var(--kyn-blue); }
.btn-res:hover { background-color: white !important; color: var(--kyn-blue) !important; border-color: white; transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); }

.section-white { background-color: #ffffff; padding: 5rem 0; }
.section-green-soft { background-color: #f0fdf4; border-top: 1px solid #dcfce7; border-bottom: 1px solid #dcfce7; padding: 5rem 0; }
.section-blue-soft { background-color: #eff6ff; border-top: 1px solid #dbeafe; border-bottom: 1px solid #dbeafe; padding: 5rem 0; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.pain-card h3 { color: var(--kyn-blue); margin-top: 1rem; }
.pain-card p { color: var(--kyn-text); font-size: 0.95rem; }
.pain-icon { width: 4rem; height: 4rem; background-color: var(--kyn-green-light); color: var(--kyn-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.pain-icon svg { width: 2rem; height: 2rem; }

.zigzag-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.zigzag-wrapper.reverse { direction: rtl; } 
.zigzag-wrapper.reverse .zigzag-text { direction: ltr; }
.zigzag-media { text-align: center; }
.zigzag-img { width: 70%; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); background-color: white; }
.zigzag-text h2 { color: var(--kyn-green); font-size: 2rem; margin-bottom: 1rem; }
.zigzag-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.zigzag-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-weight: 500; color: var(--kyn-blue); }
.check-icon { color: var(--kyn-green); width: 1.25rem; height: 1.25rem; }

@media (max-width: 768px) {
    .agri-hero-content h1 { font-size: 2rem; }
    .pain-grid { grid-template-columns: 1fr; gap: 2rem; }
    .zigzag-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .zigzag-wrapper.reverse { direction: ltr; }
    .zigzag-img { width: 100%; }
    .zigzag-text { text-align: center !important; margin-bottom: 2rem; }
    .zigzag-list li { 
	text-align:start;}
    .check-icon { flex-shrink: 0; }
	    
	
}

/* =========================================
   9. CALCULADORA SOLAR PREMIUM (NUEVO)
   ========================================= */

/* --- 9.1 LAYOUT PRINCIPAL --- */
.kyn-calc-section {
    background: linear-gradient(135deg, rgba(0,30,60,0.92) 0%, rgba(0,51,102,0.88) 100%), 
                url('https://kyntecenergy.com/wp-content/uploads/2026/03/photo-1598370025936-0856434d26e7.webp');
    background-size: cover; background-position: center; background-attachment: fixed;
    min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem; font-family: system-ui, -apple-system, sans-serif; position: relative;
}
.kyn-calc-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px; pointer-events: none;
}

/* --- 9.2 TARJETA PRINCIPAL --- */
.kyn-calc-card {
    background: #ffffff; width: 100%; width: 800px; border-radius: 24px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative; z-index: 1; animation: kynSlideIn 0.6s ease-out;
}
@keyframes kynSlideIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* --- 9.3 HEADER CALCULADORA --- */
.kyn-header {
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
    padding: 2rem 1.5rem; text-align: center; color: white; position: relative; overflow: hidden;
}
.kyn-header::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 200px; height: 200px;
    background: rgba(255,255,255,0.1); border-radius: 50%; animation: kynFloat 6s ease-in-out infinite;
}
@keyframes kynFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
.kyn-header h1 { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: 0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.15); position: relative; z-index: 1; }
.kyn-header p { margin: 8px 0 0; opacity: 0.95; font-size: 0.9rem; font-weight: 500; position: relative; z-index: 1; }

/* --- 9.4 PASOS & CONTENIDO --- */
.kyn-step { padding: 2rem; transition: var(--transition); opacity: 1; }
#step-2 { display: none; opacity: 0; }

/* --- 9.5 SELECTOR TIPO CLIENTE --- */
.tipo-cliente {
    margin-bottom: 2rem; text-align: center; padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px; border: 2px solid #fbbf24;
}
.tipo-label { display: block; font-size: 0.95rem; color: var(--kyn-dark); font-weight: 700; margin-bottom: 1rem; }
.tipo-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.tipo-btn {
    flex: 1; min-width: 140px; padding: 0.8rem 1rem; border: 2px solid #e2e8f0; background: white;
    border-radius: 10px; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: var(--transition);
    color: var(--kyn-gray); box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
/* Esto asegura que SOLO afecte a los botones dentro de la calculadora */
.kyn-calc-section .tipo-btn:hover { 
    background: #f8fafc; 
    color: var(--kyn-blue) !important; 
    border-color: var(--kyn-blue); 
    transform: translateY(-2px); 
}
.tipo-btn.active {
    border-color: var(--kyn-blue); background: var(--kyn-blue); color: white;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3); transform: translateY(-2px);
}

/* --- 9.6 DISPLAY AHORRO --- */
.savings-display {
    text-align: center; margin-bottom: 2rem; padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px; border: 2px solid #bbf7d0; position: relative; overflow: hidden;
}
.savings-display::before {
    content: '💰'; position: absolute; font-size: 6rem; opacity: 0.05; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.big-label { font-size: 0.75rem; text-transform: uppercase; color: var(--kyn-gray); font-weight: 700; letter-spacing: 1.5px; margin-bottom: 0.5rem; position: relative; }
.big-money {
    font-size: 3.5rem; font-weight: 900; color: var(--kyn-green);
    background: linear-gradient(135deg, var(--kyn-green) 0%, #22c55e 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; margin: 0; position: relative;
}
.savings-subtext { margin-top: 0.5rem; font-size: 0.85rem; color: #166534; font-weight: 600; position: relative; }

/* --- 9.7 SLIDER --- */
.slider-group { margin: 2rem 0; padding: 1.5rem; background: #f8fafc; border-radius: 16px; box-shadow: inset 0 2px 8px rgba(0,0,0,0.06); }
.slider-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1rem; }
.slider-label { font-size: 0.95rem; color: var(--kyn-dark); font-weight: 700; }
.curr-bill { font-size: 1.8rem; font-weight: 900; color: var(--kyn-blue); }

.kyn-calc-section input[type=range] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 10px;
    background: linear-gradient(to right, var(--kyn-blue) 0%, var(--kyn-blue) var(--progress, 0%), #cbd5e1 var(--progress, 0%), #cbd5e1 100%);
    border-radius: 10px; outline: none; cursor: pointer; margin: 10px 0;
}
/* Thumb Webkit */
.kyn-calc-section input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 32px; height: 32px; border-radius: 50%;
    background: white; border: 4px solid var(--kyn-blue); box-shadow: 0 4px 10px rgba(0, 51, 102, 0.3);
    cursor: grab; transition: transform 0.2s ease; margin-top: -11px;
}
.kyn-calc-section input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); border-color: var(--kyn-orange); }
/* Thumb Firefox */
.kyn-calc-section input[type=range]::-moz-range-thumb {
    width: 32px; height: 32px; border-radius: 50%; background: white; border: 4px solid var(--kyn-blue);
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.3); cursor: grab; transition: transform 0.2s ease;
}
.kyn-calc-section input[type=range]::-moz-range-thumb:hover { transform: scale(1.15); border-color: var(--kyn-orange); }
.range-labels { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.75rem; color: var(--kyn-gray); font-weight: 600; }

/* --- 9.8 DATOS TÉCNICOS --- */
.tech-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.tech-item {
    background: white; padding: 1rem 0.5rem; border-radius: 12px; text-align: center;
    border: 2px solid #f1f5f9; transition: var(--transition);
}
.tech-item:hover { border-color: var(--kyn-orange); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(249, 185, 0, 0.2); }
.tech-val { display: block; font-size: 1.4rem; font-weight: 900; color: var(--kyn-blue); margin-bottom: 4px; }
.tech-desc { font-size: 0.7rem; color: var(--kyn-gray); font-weight: 700; text-transform: uppercase; }

/* --- 9.9 BOTÓN ACCIÓN --- */
.kyn-btn-action {
    background: linear-gradient(135deg, var(--kyn-blue) 0%, #004080 100%);
    color: white; width: 100%; border: none; padding: 1.2rem; font-size: 1rem; font-weight: 800;
    border-radius: 50px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
    transition: var(--transition); box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}
.kyn-btn-action:hover {
    transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 51, 102, 0.4);
    background: linear-gradient(135deg, var(--kyn-orange) 0%, #ff8c00 100%);
}

/* --- 9.10 RESUMEN Y CF7 (FORMULARIO EMBEBIDO) --- */
.resumen-box {
    background: #f0fdf4; border: 2px solid #bbf7d0; padding: 1.5rem; border-radius: 12px;
    text-align: center; margin-bottom: 2rem;
}
.resumen-text { color: #166534; font-weight: 600; font-size: 1rem; line-height: 1.6; }
.highlight-val { font-weight: 900; color: #15803d; font-size: 1.2rem; }

/* Etiquetas del form centradas */
.kyn-step .wpcf7-form label {
    display: block; text-align: center; font-size: 0.8rem; font-weight: 700;
    color: var(--kyn-blue); margin-bottom: 0.5rem; letter-spacing: 0.5px; text-transform: uppercase;
}
/* Inputs */
.kyn-step input:not([type=submit]):not([type=range]), .kyn-step textarea {
    width: 100%; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 10px;
    font-size: 1rem; margin-bottom: 1rem; box-sizing: border-box; transition: 0.3s; text-align: center;
}
.kyn-step input:focus { border-color: var(--kyn-blue); outline: none; background: #f8fafc; }

/* Botón Submit CF7 */
.kyn-step input[type=submit] {
    background: var(--kyn-green); color: white; width: 100%; border: none; padding: 1.1rem;
    font-size: 1rem; font-weight: 800; border-radius: 10px; cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.kyn-step input[type=submit]:hover { background: #15803d; transform: translateY(-2px); }

/* Manejo de Errores (Minimalista) */
.kyn-step .wpcf7-not-valid-tip { display: none !important; }
.kyn-step .wpcf7-form input.wpcf7-not-valid {
    border-color: #ef4444 !important; background-color: #fff1f2 !important; animation: kynShake 0.4s ease-in-out; color: #ef4444;
}
.kyn-step .wpcf7-form input.wpcf7-not-valid::placeholder { color: #ef4444 !important; font-weight: 700; opacity: 1; }
@keyframes kynShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Botón Volver */
.back-link {
    display: block; width: fit-content; margin: 2rem auto 0 auto; padding: 0.8rem 2rem;
    border: 2px solid #cbd5e1; border-radius: 50px; background: transparent; color: #64748b;
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; cursor: pointer; transition: all 0.3s ease; text-align: center;
}
.back-link:hover {
    border-color: var(--kyn-blue); color: var(--kyn-blue); background: #f1f5f9;
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* RESPONSIVE CALCULADORA */
@media (max-width: 768px) {
    .kyn-calc-section { padding: 0; min-height: 100dvh; }
    .kyn-calc-card { border-radius: 0; max-width: 100%; min-height: 100dvh; display: flex; flex-direction: column; }
    .kyn-step { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
    .big-money { font-size: 2.8rem; }
    .tech-row { gap: 0.5rem; }
    .tech-val { font-size: 1.2rem; }
    .tipo-buttons { flex-direction: column; }
}/* =========================================
   10. PÁGINA DE GRACIAS (THANK YOU PAGE)
   ========================================= */

.thank-you-section {
    min-height: 80vh;
    width: 50%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--kyn-gray-bg);
    padding: 2rem;
    font-family: system-ui, -apple-system, sans-serif;
}

.thank-card {
    background: white;
    max-width: 600px;
    width: 100%;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--kyn-green);
}

/* Círculo verde animado */
.check-circle {
    width: 80px; 
    height: 80px;
    background: var(--kyn-green-light);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 0 auto 2rem;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ícono del check centrado */
.check-icon {
    font-size: 40px;
    color: var(--kyn-green);
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.thank-card h1 {
    color: var(--kyn-blue);
    font-size: 2rem; 
    font-weight: 800; 
    margin-bottom: 1rem; 
    line-height: 1.2;
}

.thank-card p {
    color: var(--kyn-text); 
    font-size: 1.1rem; 
    line-height: 1.6; 
    margin-bottom: 2rem;
}

/* Lista de pasos */
.next-steps {
    background: #f1f5f9; 
    border-radius: 12px; 
    padding: 1.5rem;
    text-align: left; 
    margin-bottom: 2.5rem;
}

.step-item {
    display: flex; 
    align-items: start; 
    margin-bottom: 1rem; 
    gap: 12px;
}
.step-item:last-child { margin-bottom: 0; }

.step-num {
    background: var(--kyn-blue); 
    color: white;
    width: 24px; 
    height: 24px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 0.8rem; 
    font-weight: bold; 
    flex-shrink: 0; 
    margin-top: 2px;
}

.step-text { 
    font-size: 0.95rem; 
    color: var(--kyn-dark); 
}

/* Botón Volver */
.home-btn {
    display: inline-block;
    background: var(--kyn-blue); 
    color: white;
    padding: 1rem 2.5rem; 
    border-radius: 50px;
    text-decoration: none; 
    font-weight: 700; 
    transition: all 0.3s;
    text-transform: uppercase; 
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.home-btn:hover {
    background: var(--kyn-orange); 
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .thank-you-section { 
			width:100%;
        padding: 1rem; 
        min-height: 100vh;
    }
    
    .thank-card { 
        padding: 2rem 1.5rem; 
    }
    
    .thank-card h1 { 
        font-size: 1.6rem; 
    }
    
    .thank-card p { 
        font-size: 1rem; 
    }
    
    .check-circle {
        width: 70px;
        height: 70px;
    }
    
    .check-icon {
        font-size: 35px;
    }
    
    .next-steps {
        padding: 1.25rem;
    }
    
    .step-text {
        font-size: 0.9rem;
    }
    
    .home-btn {
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .thank-you-section { 
        padding: 0.5rem; 
    }
    
    .thank-card { 
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }
    
    .thank-card h1 { 
        font-size: 1.4rem; 
    }
    
    .thank-card p { 
        font-size: 0.95rem; 
    }
    
    .check-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .check-icon {
        font-size: 30px;
    }
    
    .next-steps {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .step-item {
        gap: 10px;
    }
    
    .step-num {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .step-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}
@media (max-width: 600px) {
    .thank-you-section { padding: 0; }
    .thank-card { min-height: 100vh; border-radius: 0; display: flex; flex-direction: column; justify-content: center; }
}

/* =========================================
   FOOTER (PIE DE PÁGINA) KYNTEC ENERGY
   ========================================= */

/* Forzamos que el footer de Astra ocupe todo el ancho visualmente */
.site-footer {
    padding: 0 !important;
}

.footer-global-pro {
    background-color: #111827; /* Negro azulado */
    color: #9CA3AF;
    padding: 60px 20px 40px;
    font-family: 'Segoe UI', sans-serif;
    width: 100vw; 
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    border-top: 4px solid var(--kyn-orange, #F9B900);
}

.footer-inner-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: left;
}

.f-col h3 {
    color: #F3F4F6;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    margin-top: 0;
}

/* Título especial Kyntec */
.f-col h3.brand-title {
    color: var(--kyn-orange, #F9B900);
}

.f-col p.brand-desc {
    line-height: 1.6;
    font-size: 0.95rem;
}

.f-col ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.f-col li { 
    margin-bottom: 12px; 
}

.f-col a {
    color: #9CA3AF;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.f-col a:hover { 
    color: var(--kyn-orange, #F9B900); 
    padding-left: 5px; 
}

/* Filas de Contacto */
.contact-row { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 15px; 
    color: #D1D5DB; 
    align-items: flex-start;
}

.contact-row a.phone-link {
    color: white;
    font-weight: bold;
}

.contact-row a.email-link {
    color: #D1D5DB;
}

.contact-row.review-row {
    font-size: 0.85rem;
    margin-top: -5px;
}

/* Ajuste Responsive (Móvil) */
@media (max-width: 768px) {
    .footer-inner-grid {
        text-align: center;
        gap: 35px;
    }
    .contact-row {
        justify-content: center;
        align-items: center;
    }
    .f-col h3 {
        display: inline-block;
        border-bottom: 2px solid var(--kyn-orange, #F9B900);
        padding-bottom: 5px;
        margin-bottom: 20px;
    }
    .f-col h3.brand-title {
        border-bottom: none;
    }
}

.kyn-rgpd-box {
    margin: 15px 0;
}

.kyn-rgpd-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.kyn-rgpd-box input[type="checkbox"] {
    margin-top: 2px;
	max-width: 8px;
}

.kyn-rgpd-box a {
    color: #0073aa;
}

/* =========================================
   NUEVO BOTÓN CALCULADORA (Premium)
   ========================================= */
.kyn-btn-premium {
    background: linear-gradient(135deg, var(--kyn-orange) 0%, #ff8c00 100%);
    color: white; 
    width: 100%; 
    border: none; 
    padding: 1.2rem; 
    font-size: 1.1rem; 
    font-weight: 900; 
    border-radius: 50px; 
    cursor: pointer; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: all 0.3s ease; 
    box-shadow: 0 8px 20px rgba(249, 185, 0, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: kyn-pulse-premium 2s infinite; 
}

/* Efecto de "brillo metálico" oculto a la izquierda */
.kyn-btn-premium::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

/* Al pasar el ratón: crece, oscurece y pasa el brillo */
.kyn-btn-premium:hover {
    transform: translateY(-4px) scale(1.02); 
    box-shadow: 0 15px 30px rgba(249, 185, 0, 0.6);
    background: linear-gradient(135deg, #ff8c00 0%, #e67e22 100%);
    color: white;
}
.kyn-btn-premium:hover::after {
    left: 200%;
}

/* Animación del latido */
@keyframes kyn-pulse-premium {
    0% { box-shadow: 0 0 0 0 rgba(249, 185, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(249, 185, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 185, 0, 0); }
}

/* Ajuste de título Hero para móviles muy estrechos (menos de 381px) */
@media (max-width: 380px) {
    .solar-content-wrapper h2 {
        font-size: 2.2rem !important; /* Fuerza un tamaño más pequeño */
        line-height: 1.2 !important;  /* Ajusta el interlineado para que respire bien */
    }
}

.joinchat {
    bottom: 90px !important; 
}

.grecaptcha-badge { 
    visibility: hidden !important; 
}
/* Centrar y limitar el ancho de los subtítulos de las cabeceras */
