/*
Theme Name: Flash Nurse
Theme URI: https://flashnurse.cl
Author: Clic2Leads
Author URI: https://clic2leads.com
Description: Tema profesional para Flash Nurse - Enfermería a domicilio en Santiago.
Version: 3.2.15
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flashnurse
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
    --fn-blue:        #1B5E7B;
    --fn-blue-dark:   #0F3D52;
    --fn-blue-mid:    #246480;
    --fn-blue-light:  #2980B9;
    --fn-teal:        #26C6A0;
    --fn-teal-dark:   #1EA88A;
    --fn-teal-light:  #7EEBD4;
    --fn-teal-pale:   #E8F8F4;
    --fn-white:       #FFFFFF;
    --fn-off-white:   #F6FAFB;
    --fn-gray-50:     #F1F6F8;
    --fn-gray-100:    #E3EDF0;
    --fn-gray-200:    #C9DDE2;
    --fn-gray-300:    #9DBAC1;
    --fn-gray-500:    #587985;
    --fn-gray-700:    #2B4750;
    --fn-gray-900:    #0C1E25;
    --fn-red:         #E74C3C;
    --fn-green:       #27AE60;
    --fn-yellow:      #F59E0B;

    --fn-shadow-xs:   0 1px 4px rgba(12,30,37,0.06);
    --fn-shadow-sm:   0 2px 12px rgba(12,30,37,0.08);
    --fn-shadow-md:   0 8px 32px rgba(12,30,37,0.10);
    --fn-shadow-lg:   0 16px 52px rgba(12,30,37,0.13);
    --fn-shadow-xl:   0 28px 72px rgba(12,30,37,0.16);
    --fn-shadow-teal: 0 8px 32px rgba(38,198,160,0.32);
    --fn-shadow-blue: 0 8px 32px rgba(27,94,123,0.30);

    --fn-r-xs:   4px;
    --fn-r-sm:   10px;
    --fn-r-md:   16px;
    --fn-r-lg:   24px;
    --fn-r-xl:   36px;
    --fn-radius-md: var(--fn-r-md);
    --fn-radius-lg: var(--fn-r-lg);
    --fn-r-pill: 100px;

    --fn-font-heading: 'Plus Jakarta Sans', sans-serif;
    --fn-font-body:    'Plus Jakarta Sans', sans-serif;

    --fn-ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --fn-ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
    --fn-transition: 0.26s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--fn-font-body);
    color: var(--fn-gray-900);
    background: var(--fn-white);
    line-height: 1.68;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--fn-transition); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fn-font-heading);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.028em;
    color: var(--fn-gray-900);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }

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

/* ============================================
   BOTONES
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 32px;
    border-radius: var(--fn-r-pill);
    font-family: var(--fn-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: none;
    transition: transform 0.22s var(--fn-ease), box-shadow 0.22s var(--fn-ease), background-color 0.22s;
    white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0px); }

.btn-primary {
    background: var(--fn-teal);
    color: #fff;
    box-shadow: 0 4px 20px rgba(38,198,160,0.38);
}
.btn-primary:hover {
    background: var(--fn-teal-dark);
    box-shadow: 0 8px 28px rgba(38,198,160,0.48);
    color: #fff;
}

.btn-secondary {
    background: var(--fn-blue);
    color: #fff;
    box-shadow: var(--fn-shadow-blue);
}
.btn-secondary:hover {
    background: var(--fn-blue-dark);
    box-shadow: 0 10px 36px rgba(27,94,123,0.40);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--fn-blue);
    border: 2px solid var(--fn-blue);
}
.btn-outline:hover { background: var(--fn-blue); color: #fff; box-shadow: var(--fn-shadow-blue); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.50);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.38);
}
.btn-whatsapp:hover {
    background: #1da851;
    box-shadow: 0 8px 28px rgba(37,211,102,0.48);
    color: #fff;
}

.btn-lg { padding: 17px 44px; font-size: 1.02rem; }
.btn-sm { padding: 10px 22px; font-size: 0.84rem; }

/* ============================================
   HEADER
============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.32s var(--fn-ease),
                border-color 0.32s,
                box-shadow 0.32s;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    border-bottom-color: var(--fn-gray-100);
    box-shadow: 0 2px 24px rgba(12,30,37,0.07);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
}

.site-logo { display: flex; align-items: center; }
.site-logo img { height: auto; width: auto; display: block; object-fit: contain; }
.site-logo .logo-text {
    font-family: var(--fn-font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    line-height: 1;
}
.site-logo .logo-text span:first-child { color: var(--fn-blue); font-style: italic; }
.site-logo .logo-text span:last-child  { color: var(--fn-teal); }

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
}
.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fn-gray-700);
    padding: 8px 16px;
    border-radius: var(--fn-r-pill);
    transition: background 0.18s, color 0.18s;
    display: block;
}
.main-nav a:hover,
.main-nav .current-menu-item a {
    background: var(--fn-gray-50);
    color: var(--fn-blue);
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--fn-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--fn-blue);
    border-radius: 2px;
    transition: var(--fn-transition);
}

/* ============================================
   HERO — Full-width oscuro con formulario flotante 70/30
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
    background: var(--fn-gray-900);
}

/* Fondo con capas: gradiente + radiales */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 65% 55%, rgba(27,94,123,0.50) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(38,198,160,0.08) 0%, transparent 55%),
        linear-gradient(160deg, #0C1E25 0%, #0F3D52 55%, #0C1E25 100%);
    z-index: 0;
}

.hero.has-hero-image::before {
    background:
        linear-gradient(160deg, rgba(12,30,37,0.94) 0%, rgba(15,61,82,0.88) 55%, rgba(12,30,37,0.94) 100%),
        radial-gradient(ellipse 90% 70% at 65% 55%, rgba(27,94,123,0.48) 0%, transparent 65%),
        var(--fn-hero-bg-image);
    background-size: cover, cover, cover;
    background-position: center, center, center;
}

/* Círculo grande giratorio */
.hero::after {
    content: '';
    position: absolute;
    right: 28%;
    top: 50%;
    transform: translateY(-50%);
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(38,198,160,0.14) 0deg,
        transparent 80deg,
        rgba(27,94,123,0.18) 160deg,
        transparent 220deg,
        rgba(38,198,160,0.10) 300deg,
        transparent 360deg
    );
    border: 1px solid rgba(38,198,160,0.08);
    animation: hero-spin 22s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes hero-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

/* Container interior — layout 70/30 */
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Alias: hero-left = hero-content wrapper */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}

/* Panel derecho — solo el formulario, sin fondo propio */
.hero-right {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: static;
    overflow: visible;
}

/* Sin pseudo-elementos en hero-right */
.hero-right::before,
.hero-right::after { display: none; }

/* Patrón de puntos decorativo — esquina inferior derecha de la sección */
.hero-right .hero-dots {
    display: none;
}

.hero-content { max-width: 640px; }

/* Badge — sobre fondo oscuro */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(38,198,160,0.12);
    color: var(--fn-teal-light);
    border: 1px solid rgba(38,198,160,0.28);
    padding: 8px 18px;
    border-radius: var(--fn-r-pill);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 32px;
    width: fit-content;
}
.hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--fn-teal);
    border-radius: 50%;
    flex-shrink: 0;
    animation: dot-pulse 2.4s ease infinite;
    box-shadow: 0 0 0 3px rgba(38,198,160,0.2);
}
@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(38,198,160,0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(38,198,160,0.06); }
}

.hero-content h1 {
    margin-bottom: 24px;
    color: var(--fn-white);
    line-height: 1.06;
}
.hero-content h1 span { color: var(--fn-teal); }

.hero-desc {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.62);
    margin-bottom: 32px;
    line-height: 1.76;
    max-width: 520px;
}

/* Mini servicios — sobre fondo oscuro */
.hero-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.hero-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: var(--fn-r-pill);
    font-size: 0.79rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    text-decoration: none;
    backdrop-filter: blur(4px);
}
.hero-service-tag svg { color: var(--fn-teal); flex-shrink: 0; }
.hero-service-tag:hover {
    background: rgba(38,198,160,0.14);
    border-color: rgba(38,198,160,0.35);
    color: var(--fn-teal-light);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

/* Trust bar — sobre fondo oscuro */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    color: rgba(255,255,255,0.50);
}
.hero-trust-item svg { color: var(--fn-teal); flex-shrink: 0; }

/* Formulario del Hero — fondo blanco y alto contraste */
.hero-form-card {
    background: var(--fn-white);
    border: 1px solid rgba(227,237,240,0.95);
    border-radius: 24px;
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    color: var(--fn-gray-900);
}

/* Línea teal decorativa arriba del formulario */
.hero-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 40px; right: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--fn-teal), rgba(38,198,160,0));
    border-radius: 0 0 3px 3px;
}

.hero-form-card h3 {
    color: var(--fn-blue-dark);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}
.hero-form-card .form-subtitle {
    color: var(--fn-gray-500);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Separador visual */
.hero-form-card .form-subtitle::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: rgba(38,198,160,0.5);
    margin: 14px auto 0;
    border-radius: 2px;
}

.hero-form-card .fn-form label {
    color: var(--fn-blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}
.hero-form-card .fn-form input,
.hero-form-card .fn-form select,
.hero-form-card .fn-form textarea {
    background: var(--fn-white);
    border: 1px solid var(--fn-gray-200);
    color: var(--fn-gray-900);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.92rem;
    width: 100%;
    font-family: var(--fn-font-body);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.hero-form-card .fn-form input::placeholder,
.hero-form-card .fn-form textarea::placeholder { color: var(--fn-gray-300); }
.hero-form-card .fn-form select { color: var(--fn-gray-900); }
.hero-form-card .fn-form select option { background: var(--fn-white); color: var(--fn-gray-900); }
.hero-form-card .fn-form input:focus,
.hero-form-card .fn-form select:focus,
.hero-form-card .fn-form textarea:focus {
    outline: none;
    border-color: rgba(38,198,160,0.75);
    background: var(--fn-white);
    box-shadow: 0 0 0 3px rgba(38,198,160,0.12);
}
.hero-form-card .fn-form .form-group { margin-bottom: 13px; }
.hero-form-card .fn-form textarea    { min-height: 72px; resize: none; }
.hero-form-card .fn-form .btn        { width: 100%; margin-top: 6px; padding: 14px; font-size: 0.96rem; }
.hero-form-card .form-privacy {
    color: var(--fn-gray-500);
    font-size: 0.67rem;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ============================================
   FORM GENERAL
============================================ */
.fn-form .form-group { margin-bottom: 16px; }
.fn-form label {
    display: block;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--fn-gray-700);
}
.fn-form input,
.fn-form select,
.fn-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--fn-gray-200);
    border-radius: var(--fn-r-sm);
    font-family: var(--fn-font-body);
    font-size: 0.95rem;
    color: var(--fn-gray-900);
    background: var(--fn-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fn-form input:focus,
.fn-form select:focus,
.fn-form textarea:focus {
    outline: none;
    border-color: var(--fn-teal);
    box-shadow: 0 0 0 4px rgba(38,198,160,0.10);
}
.fn-form textarea  { resize: vertical; min-height: 90px; }
.fn-form .btn      { width: 100%; }
.form-privacy      { font-size: 0.72rem; color: var(--fn-gray-300); text-align: center; margin-top: 12px; }

/* ============================================
   SECCIONES
============================================ */
.section { padding: 96px 0; }
.section-alt { background: var(--fn-off-white); }

/* Badge de sección */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--fn-teal-dark);
    margin-bottom: 14px;
}
.section-badge::before {
    content: '';
    display: inline-block;
    width: 22px; height: 2px;
    background: var(--fn-teal);
    border-radius: 2px;
}

.section-header {
    max-width: 660px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--fn-gray-500); font-size: 1.04rem; line-height: 1.72; }

/* ============================================
   SERVICIOS GRID — cards sin imagen mejoradas
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--fn-white);
    border-radius: var(--fn-r-lg);
    overflow: hidden;
    border: 1.5px solid var(--fn-gray-100);
    box-shadow: var(--fn-shadow-xs);
    transition: transform 0.3s var(--fn-ease),
                box-shadow 0.3s var(--fn-ease),
                border-color 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fn-shadow-lg);
    border-color: rgba(38,198,160,0.22);
}

/* Línea teal arriba al hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fn-teal), var(--fn-blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.38s var(--fn-ease);
    border-radius: var(--fn-r-lg) var(--fn-r-lg) 0 0;
}
.service-card:hover::after { transform: scaleX(1); }

.service-card-img { height: 210px; overflow: hidden; position: relative; }
.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--fn-ease);
}
.service-card:hover .service-card-img img { transform: scale(1.07); }

/* Placeholder con icono cuando no hay imagen */
.service-card-img-placeholder {
    height: 190px;
    background: linear-gradient(135deg, var(--fn-teal-pale) 0%, var(--fn-gray-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.service-card-img-placeholder::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: rgba(38,198,160,0.10);
}
.service-card-img-placeholder svg {
    color: var(--fn-teal);
    width: 52px; height: 52px;
    opacity: 0.65;
    position: relative; z-index: 1;
}

.service-card-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3,
.service-card-body h2 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--fn-gray-900);
    transition: color 0.2s;
    letter-spacing: -0.022em;
}
.service-card:hover h3,
.service-card:hover h2 { color: var(--fn-blue); }

.service-card-body p {
    color: var(--fn-gray-500);
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}
.service-card-body .btn { align-self: flex-start; margin-top: 18px; }

/* ============================================
   BENEFICIOS — numerados con acento grande
============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (min-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
    padding: 30px 24px 28px;
    background: var(--fn-white);
    border-radius: var(--fn-r-lg);
    border: 1.5px solid var(--fn-gray-100);
    box-shadow: var(--fn-shadow-xs);
    transition: transform 0.26s var(--fn-ease), box-shadow 0.26s;
    position: relative;
    overflow: hidden;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fn-shadow-md);
    border-color: rgba(38,198,160,0.18);
}

/* Número grande de fondo */
.benefit-card .benefit-number {
    position: absolute;
    top: -8px; right: 12px;
    font-size: 5rem;
    font-weight: 800;
    color: var(--fn-teal);
    opacity: 0.06;
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
    transition: opacity 0.26s;
}
.benefit-card:hover .benefit-number { opacity: 0.10; }

.benefit-icon {
    width: 48px; height: 48px;
    background: var(--fn-teal-pale);
    border-radius: var(--fn-r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--fn-teal-dark);
    position: relative; z-index: 1;
}
.benefit-card h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
    letter-spacing: -0.022em;
    position: relative; z-index: 1;
}
.benefit-card p {
    color: var(--fn-gray-500);
    font-size: 0.87rem;
    line-height: 1.65;
    margin: 0;
    position: relative; z-index: 1;
}

/* ============================================
   TESTIMONIOS — con featured card
============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--fn-white);
    border-radius: var(--fn-r-lg);
    padding: 30px;
    border: 1.5px solid var(--fn-gray-100);
    box-shadow: var(--fn-shadow-xs);
    transition: transform 0.26s var(--fn-ease), box-shadow 0.26s;
    position: relative;
    overflow: hidden;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--fn-shadow-md); }

/* Primera card destacada */
.testimonial-card:first-child {
    background: var(--fn-blue);
    border-color: transparent;
    box-shadow: var(--fn-shadow-blue);
}
.testimonial-card:first-child .testimonial-text { color: rgba(255,255,255,0.88); }
.testimonial-card:first-child .testimonial-stars { color: #FFD35E; }
.testimonial-card:first-child .testimonial-author { border-top-color: rgba(255,255,255,0.12); }
.testimonial-card:first-child .author-name { color: #fff; }
.testimonial-card:first-child .author-location { color: rgba(255,255,255,0.45); }
.testimonial-card:first-child .testimonial-avatar {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.2);
}

/* Línea de acento superior */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 28px; right: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--fn-teal), transparent);
    border-radius: 0 0 3px 3px;
}
.testimonial-card:first-child::before { display: none; }

.testimonial-stars {
    color: var(--fn-yellow);
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.testimonial-text {
    font-style: italic;
    color: var(--fn-gray-700);
    font-size: 0.93rem;
    line-height: 1.72;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 16px;
    border-top: 1.5px solid var(--fn-gray-100);
}
.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fn-teal), var(--fn-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    overflow: hidden;
}
.testimonial-author-info .author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--fn-gray-900);
    letter-spacing: -0.01em;
}
.testimonial-author-info .author-location {
    font-size: 0.76rem;
    color: var(--fn-gray-300);
    margin-top: 1px;
}

/* ============================================
   QUIÉNES SOMOS
============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-content .about-text {
    color: var(--fn-gray-500);
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 18px;
}
.about-content .about-text strong {
    color: var(--fn-blue-dark);
    font-weight: 850;
    background: linear-gradient(180deg, transparent 58%, rgba(38,198,160,0.18) 58%);
    padding: 0 2px;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1.5px solid var(--fn-gray-100);
}
.stat-item .stat-number {
    font-family: var(--fn-font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--fn-teal);
    line-height: 1;
    letter-spacing: -0.04em;
}
.stat-item .stat-label {
    font-size: 0.78rem;
    color: var(--fn-gray-500);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.founder-card {
    background: var(--fn-white);
    border-radius: var(--fn-r-xl);
    overflow: hidden;
    box-shadow: var(--fn-shadow-xl);
    border: 1.5px solid var(--fn-gray-100);
}
.founder-img { height: 360px; overflow: hidden; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-img > div {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--fn-blue-dark), var(--fn-blue));
    display: flex; align-items: center; justify-content: center;
}
.founder-info { padding: 26px 30px 30px; }
.founder-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.founder-info .founder-role {
    color: var(--fn-teal-dark);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.founder-info p { color: var(--fn-gray-500); font-size: 0.88rem; margin: 0; line-height: 1.65; }

/* ============================================
   COBERTURA
============================================ */
.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: flex-start;
}
.coverage-map-container {
    background: var(--fn-white);
    border-radius: var(--fn-r-lg);
    padding: 22px;
    box-shadow: var(--fn-shadow-md);
    border: 1.5px solid var(--fn-gray-100);
}
.coverage-map-svg { width: 100%; height: auto; }
.coverage-legend {
    display: flex;
    gap: 24px;
    margin-top: 14px;
    justify-content: center;
}
.legend-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.8rem; font-weight: 600; color: var(--fn-gray-500);
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.active   { background: var(--fn-teal); }
.legend-dot.inactive { background: var(--fn-gray-300); }

.coverage-list { column-count: 2; column-gap: 16px; }
.coverage-list .comuna-item {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 0;
    font-size: 0.87rem;
    break-inside: avoid;
    font-weight: 500;
}
.comuna-item .comuna-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.comuna-item.active  .comuna-dot { background: var(--fn-teal); }
.comuna-item.inactive .comuna-dot { background: var(--fn-gray-300); }
.comuna-item.active  { color: var(--fn-gray-700); }
.comuna-item.inactive { color: var(--fn-gray-300); }

/* ============================================
   CONTACTO
============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
    width: 46px; height: 46px;
    background: var(--fn-teal-pale);
    border-radius: var(--fn-r-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--fn-teal-dark);
    flex-shrink: 0;
}
.contact-item-text h4 {
    font-size: 0.87rem;
    margin-bottom: 2px;
    color: var(--fn-gray-900);
    font-weight: 700;
}
.contact-item-text p,
.contact-item-text a { color: var(--fn-gray-500); font-size: 0.87rem; margin: 0; }
.contact-item-text a:hover { color: var(--fn-teal-dark); }

.contact-form-card {
    background: var(--fn-white);
    border-radius: var(--fn-r-lg);
    padding: 36px;
    box-shadow: var(--fn-shadow-lg);
    border: 1.5px solid var(--fn-gray-100);
}

/* ============================================
   CTA STRIP
============================================ */
.cta-strip {
    background: var(--fn-blue);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    top: -110px; right: -110px;
    width: 440px; height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(38,198,160,0.14);
    background: rgba(38,198,160,0.08);
    pointer-events: none;
}
.cta-strip::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.cta-strip h2 { color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-strip p  {
    color: rgba(255,255,255,0.70);
    font-size: 1.05rem;
    margin-bottom: 32px;
    position: relative; z-index: 1;
}
.cta-strip .cta-buttons {
    display: flex; gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--fn-gray-900);
    color: rgba(255,255,255,0.48);
    padding: 68px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col h4 {
    color: #fff;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-about p { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,0.38); }
.footer-about .footer-logo { margin-bottom: 20px; }
.footer-about .footer-logo img { height: auto; max-height: none; width: auto; }

.footer-links ul  { list-style: none; }
.footer-links li  { margin-bottom: 9px; }
.footer-links a   {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.38);
    transition: color 0.18s, padding-left 0.18s;
}
.footer-links a:hover { color: var(--fn-teal-light); padding-left: 5px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
    display: flex; gap: 9px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.38);
}
.footer-contact-item svg { color: var(--fn-teal); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
    text-align: center;
    padding: 22px 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.20);
}

/* ============================================
   WHATSAPP FLOAT
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.44);
    transition: transform 0.24s var(--fn-ease), box-shadow 0.24s;
    animation: wa-float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 38px rgba(37,211,102,0.58);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

@keyframes wa-float {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.44); }
    50%       { box-shadow: 0 6px 24px rgba(37,211,102,0.44), 0 0 0 8px rgba(37,211,102,0.10); }
}

/* ============================================
   PAGE HEADER
============================================ */
.page-header {
    background: var(--fn-blue);
    padding: 148px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 100% at 75% 40%, rgba(38,198,160,0.16) 0%, transparent 65%);
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    pointer-events: none;
}
.page-header h1 { color: #fff; position: relative; z-index: 1; }
.page-header .breadcrumb {
    color: rgba(255,255,255,0.48);
    font-size: 0.84rem;
    margin-top: 12px;
    position: relative; z-index: 1;
    font-weight: 600;
}
.page-header .breadcrumb a { color: var(--fn-teal-light); }


/* Ajuste específico — Quiénes Somos */
.page-template-page-quienes-somos .page-header {
    padding: 132px 0 44px;
}
.page-template-page-quienes-somos .about-header-logo {
    margin-bottom: 18px;
}
.page-template-page-quienes-somos .section-about-intro {
    padding-top: 52px;
}
.page-template-page-quienes-somos .section-about-intro .about-grid {
    align-items: start;
}

/* ============================================
   LANDING HERO (servicio individual)
============================================ */
.landing-hero {
    position: relative;
    min-height: 64vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(12,30,37,0.90) 38%, rgba(27,94,123,0.62) 100%);
}
.landing-hero:not([style*="background-image"]) {
    background: linear-gradient(125deg, var(--fn-gray-900) 0%, var(--fn-blue-dark) 55%, var(--fn-blue) 100%);
}
.landing-hero:not([style*="background-image"])::before { display: none; }

.landing-hero .container {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
}
.landing-hero-content h1 { color: #fff; margin-bottom: 14px; }
.landing-hero-content p  { color: rgba(255,255,255,0.76); font-size: 1.04rem; margin-bottom: 22px; }

.landing-benefits { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.landing-benefit-item {
    display: flex; align-items: center; gap: 9px;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 500;
}
.landing-benefit-item svg { color: var(--fn-teal); flex-shrink: 0; }

/* ============================================
   THANK YOU
============================================ */
.thankyou-section {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding-top: 72px;
    background: var(--fn-off-white);
}
.thankyou-card {
    max-width: 540px;
    background: var(--fn-white);
    padding: 60px 48px;
    border-radius: var(--fn-r-xl);
    box-shadow: var(--fn-shadow-xl);
    border: 1.5px solid var(--fn-gray-100);
}
.thankyou-icon {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--fn-teal), var(--fn-teal-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    box-shadow: var(--fn-shadow-teal);
}
.thankyou-card h1 { margin-bottom: 14px; color: var(--fn-blue); }
.thankyou-card p  { color: var(--fn-gray-500); margin-bottom: 28px; }

/* ============================================
   SERVICE CONTENT
============================================ */
.service-content {
    font-size: 1.04rem;
    line-height: 1.84;
    color: var(--fn-gray-700);
}
.service-content > p:first-child {
    font-size: 1.08rem;
    border-left: 4px solid var(--fn-teal);
    padding-left: 20px;
    margin-bottom: 32px;
}
.service-content h2 {
    font-size: 1.32rem;
    color: var(--fn-blue);
    margin: 44px 0 16px;
    padding: 11px 18px;
    background: linear-gradient(90deg, rgba(27,94,123,0.06) 0%, transparent 100%);
    border-left: 4px solid var(--fn-blue);
    border-radius: 0 var(--fn-r-sm) var(--fn-r-sm) 0;
}
.service-content h3 { font-size: 1.1rem; color: var(--fn-blue); margin: 26px 0 10px; }
.service-content p  { margin-bottom: 16px; }
.service-content ul,
.service-content ol {
    padding-left: 0; margin: 0 0 26px;
    list-style: none;
    display: flex; flex-direction: column; gap: 7px;
}
.service-content ul li,
.service-content ol li {
    position: relative;
    padding: 11px 14px 11px 50px;
    background: var(--fn-white);
    border: 1.5px solid var(--fn-gray-100);
    border-radius: var(--fn-r-sm);
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: var(--fn-shadow-xs);
    transition: border-color 0.2s;
}
.service-content ul li:hover { border-color: rgba(38,198,160,0.32); }
.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 11px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px;
    background: var(--fn-teal);
    color: #fff;
    font-size: 0.7rem; font-weight: 900;
    border-radius: 50%;
    line-height: 24px; text-align: center;
}
.service-content ol { counter-reset: fn-ol; }
.service-content ol li::before {
    counter-increment: fn-ol;
    content: counter(fn-ol);
    position: absolute;
    left: 11px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px;
    background: var(--fn-blue);
    color: #fff;
    font-size: 0.7rem; font-weight: 700;
    border-radius: 50%;
    line-height: 24px; text-align: center;
}
.service-content li strong { color: var(--fn-blue); font-weight: 700; }
.service-content strong    { color: var(--fn-blue); font-weight: 700; }
.service-content a         { color: var(--fn-teal-dark); text-decoration: underline; }

/* ============================================
   FORM SUCCESS / ERROR
============================================ */
.form-message {
    padding: 13px 16px;
    border-radius: var(--fn-r-sm);
    margin-bottom: 14px;
    font-size: 0.87rem;
    font-weight: 700;
}
.form-message.success { background: rgba(39,174,96,0.09); color: var(--fn-green); border: 1px solid rgba(39,174,96,0.18); }
.form-message.error   { background: rgba(231,76,60,0.09); color: var(--fn-red);   border: 1px solid rgba(231,76,60,0.18); }

/* ============================================
   FORCE VISIBILITY
============================================ */
.benefit-card,
.service-card,
.testimonial-card,
.section-header { opacity: 1 !important; transform: none !important; }

/* ============================================
   FADE-IN
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.62s var(--fn-ease), transform 0.62s var(--fn-ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-left  { padding: 40px 0 0; }
    .hero-right { padding: 0 0 60px; }
    .hero-form-card { max-width: 500px; margin: 0 auto; }
    .hero::after { right: -100px; width: 400px; height: 400px; }

    .about-grid,
    .contact-grid,
    .coverage-content,
    .landing-hero .container {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .main-nav {
        display: none;
        position: fixed;
        top: 72px; left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(18px);
        box-shadow: var(--fn-shadow-lg);
        padding: 20px 28px 28px;
        border-bottom: 1.5px solid var(--fn-gray-100);
    }
    .main-nav.active { display: block; }
    .main-nav ul  { flex-direction: column; gap: 2px; }
    .main-nav a   { display: block; padding: 11px 16px; }
    .mobile-toggle { display: flex; }
    .header-cta .btn { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 68px 0; }
    .container { padding: 0 20px; }
    h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
    h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }

    .services-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .benefits-grid     { grid-template-columns: 1fr 1fr; }
    .footer-grid       { grid-template-columns: 1fr; }
    .about-stats       { gap: 24px; }
    .coverage-list     { column-count: 1; }

    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .landing-hero { min-height: auto; padding: 100px 0 60px; }
    .page-header  { padding: 110px 0 52px; }
    .page-template-page-quienes-somos .page-header { padding: 108px 0 34px; }
    .page-template-page-quienes-somos .section-about-intro { padding-top: 40px; }
    .thankyou-card { padding: 36px 24px; }
}

@media (max-width: 500px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .about-stats   { flex-wrap: wrap; gap: 16px; }
    .btn-lg        { padding: 15px 30px; font-size: 0.96rem; }
    .hero-left, .hero-right { padding-left: 20px; padding-right: 20px; }
}

/* ============================================
   ADMIN EDITOR
============================================ */
.wp-block { max-width: 1220px; }

/* ============================================
   LOGO — Sistema definitivo
============================================ */

/* Quitar cualquier fondo o borde del contenedor */
.site-logo,
.site-logo a {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

/* ── HEADER (fondo blanco) ──
   El logo tiene fondo negro → mix-blend-mode: multiply
   hace que el negro desaparezca sobre blanco */
.site-logo img,
.logo-img,
.logo-img--header,
.logo-img--fallback {
    display: block;
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}

/* ── FOOTER y fondos OSCUROS ──
   mix-blend-mode: screen hace que el negro desaparezca sobre oscuro
   y los colores del logo quedan visibles */
.logo-img--footer,
.logo-img--footer--transparent,
.logo-img--dark,
.logo-img--dark--transparent,
.footer-about .footer-logo img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: screen;
    filter: none;
    opacity: 1;
}

/* Quiénes Somos — logo centrado, más grande */
.about-header-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.about-header-logo img {
    height: 88px;
    width: auto;
    max-width: 260px;
    mix-blend-mode: screen;
}

/* Placeholder fundadora */
.founder-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--fn-teal-pale) 0%, var(--fn-gray-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}
.logo-img--founder-placeholder {
    width: 75%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}


/* ============================================
   RESPONSIVE POLISH — MOBILE / TABLET v3.2.14
   Capa final de ajustes para evitar overflow y mejorar UX responsive
============================================ */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.site-header {
    will-change: transform;
}

@media (max-width: 1180px) {
    .header-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero .container,
    .landing-hero .container {
        gap: 48px;
    }

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

@media (max-width: 1024px) {
    .site-header {
        background: rgba(255,255,255,0.97);
        border-bottom-color: var(--fn-gray-100);
        box-shadow: 0 2px 24px rgba(12,30,37,0.07);
    }

    .header-inner {
        height: 68px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .site-logo img,
    .logo-img,
    .logo-img--header,
    .logo-img--fallback {
        height: 50px;
        max-width: 170px;
    }

    .header-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 14px;
        border: 1px solid var(--fn-gray-100);
        background: var(--fn-white);
        box-shadow: var(--fn-shadow-xs);
        z-index: 1003;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
        flex-shrink: 0;
    }

    .main-nav {
        position: fixed;
        top: 78px;
        left: 16px;
        right: 16px;
        width: auto;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        display: block;
        padding: 12px;
        background: rgba(255,255,255,0.985);
        border: 1px solid var(--fn-gray-100);
        border-radius: 22px;
        box-shadow: var(--fn-shadow-xl);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.22s var(--fn-ease), transform 0.22s var(--fn-ease), visibility 0.22s;
        z-index: 1002;
    }

    .main-nav.active,
    body.mobile-menu-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 46px;
        padding: 12px 15px;
        border-radius: 14px;
        color: var(--fn-gray-900);
        font-weight: 800;
        font-size: 0.95rem;
        background: transparent;
    }

    .main-nav a:hover,
    .main-nav .current-menu-item a {
        background: var(--fn-teal-pale);
        color: var(--fn-teal-dark);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .section {
        padding: 78px 0;
    }

    .hero {
        min-height: auto;
        padding: 112px 0 72px;
    }

    .hero .container,
    .landing-hero .container,
    .about-grid,
    .contact-grid,
    .coverage-content,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .hero-left,
    .hero-right {
        padding: 0;
    }

    .hero-content,
    .landing-hero-content {
        max-width: 760px;
    }

    .hero-content h1,
    .landing-hero-content h1 {
        font-size: clamp(2.35rem, 6.6vw, 3.65rem);
        line-height: 1.06;
    }

    .hero-desc,
    .landing-hero-content p,
    .landing-hero-content .hero-description {
        max-width: 760px;
        font-size: 1.03rem;
        line-height: 1.72;
    }

    .hero-services-list {
        gap: 8px;
        margin-bottom: 30px;
    }

    .hero-service-item {
        font-size: 0.84rem;
        padding: 8px 12px;
    }

    .hero-form-card {
        width: 100%;
        max-width: 560px;
        margin-left: 0;
        margin-right: auto;
    }

    .landing-hero {
        min-height: auto;
        padding: 116px 0 72px;
    }

    .landing-hero .hero-form-card {
        max-width: 560px;
    }

    .landing-benefits {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .landing-benefit-item {
        padding: 10px 12px;
        border-radius: var(--fn-r-sm);
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.11);
    }

    .services-grid,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coverage-list {
        column-count: 2;
    }

    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .founder-card {
        max-width: 620px;
    }

    .founder-img {
        height: 320px;
    }

    .contact-form-card {
        max-width: 640px;
    }

    .cta-strip {
        padding: 70px 0;
    }

    .footer-grid {
        padding-bottom: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-inner {
        height: 64px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-logo img,
    .logo-img,
    .logo-img--header,
    .logo-img--fallback {
        height: 44px;
        max-width: 145px;
    }

    .main-nav {
        top: 74px;
        left: 12px;
        right: 12px;
        max-height: calc(100vh - 88px);
        border-radius: 18px;
    }

    .mobile-toggle {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    h1 {
        font-size: clamp(2rem, 9vw, 2.9rem);
        line-height: 1.07;
    }

    h2 {
        font-size: clamp(1.55rem, 7vw, 2.15rem);
        line-height: 1.14;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 34px;
        text-align: left;
    }

    .section-header.center,
    .cta-strip .section-header {
        text-align: center;
    }

    .hero {
        padding: 98px 0 56px;
    }

    .hero .container {
        gap: 32px;
    }

    .hero-content h1,
    .landing-hero-content h1 {
        font-size: clamp(2.05rem, 9.2vw, 3.05rem);
    }

    .hero-desc,
    .landing-hero-content p,
    .landing-hero-content .hero-description {
        font-size: 0.98rem;
        line-height: 1.66;
    }

    .hero-badge {
        margin-bottom: 22px;
        font-size: 0.70rem;
        padding: 7px 14px;
    }

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

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-form-card,
    .contact-form-card {
        padding: 24px;
        border-radius: 24px;
        max-width: 100%;
    }

    .hero-form-card h3 {
        font-size: 1.18rem;
    }

    .fn-form input,
    .fn-form select,
    .fn-form textarea,
    .hero-form-card .fn-form input,
    .hero-form-card .fn-form select,
    .hero-form-card .fn-form textarea {
        min-height: 46px;
        font-size: 16px;
    }

    .landing-hero {
        padding: 96px 0 58px;
    }

    .landing-hero .container {
        gap: 32px;
    }

    .landing-benefits {
        grid-template-columns: 1fr;
    }

    .landing-benefit-item {
        font-size: 0.88rem;
    }

    .services-grid,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-card-img,
    .service-card-img-placeholder {
        height: 180px;
    }

    .service-card-body {
        padding: 22px;
    }

    .coverage-content {
        gap: 30px;
    }

    .coverage-map-container {
        padding: 16px;
        border-radius: 20px;
    }

    .coverage-legend {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
    }

    .coverage-list {
        column-count: 1;
    }

    .about-grid {
        gap: 30px;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        margin-top: 28px;
        padding-top: 22px;
    }

    .stat-item .stat-number {
        font-size: 2.05rem;
    }

    .stat-item .stat-label {
        font-size: 0.72rem;
    }

    .founder-img {
        height: 280px;
    }

    .founder-info {
        padding: 22px;
    }

    .page-header {
        padding: 104px 0 44px;
    }

    .page-header h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .about-header-logo img {
        height: 62px;
        max-width: 190px;
    }

    .page-template-page-quienes-somos .page-header {
        padding: 96px 0 30px;
    }

    .page-template-page-quienes-somos .section-about-intro {
        padding-top: 38px;
    }

    .service-content {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .service-content > p:first-child {
        font-size: 1rem;
        padding-left: 16px;
    }

    .service-content h2 {
        font-size: 1.14rem;
        margin: 34px 0 14px;
        padding: 10px 14px;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item-icon {
        width: 42px;
        height: 42px;
    }

    .cta-strip {
        padding: 60px 0;
        text-align: left;
    }

    .cta-strip .cta-buttons {
        align-items: stretch;
    }

    .site-footer {
        padding-top: 54px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-about .footer-logo img,
    .logo-img--footer,
    .logo-img--footer--transparent {
        height: 58px;
        max-width: 180px;
    }

    .footer-bottom {
        text-align: left;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 520px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-logo img,
    .logo-img,
    .logo-img--header,
    .logo-img--fallback {
        height: 40px;
        max-width: 132px;
    }

    .main-nav {
        left: 10px;
        right: 10px;
        top: 70px;
        padding: 10px;
    }

    .main-nav a {
        min-height: 44px;
        padding: 11px 13px;
    }

    .hero {
        padding-top: 88px;
    }

    .hero-services-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-service-item {
        width: 100%;
    }

    .hero-form-card,
    .contact-form-card {
        padding: 20px;
        border-radius: 22px;
    }

    .btn,
    .btn-lg {
        width: 100%;
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-grid,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card-body h3,
    .service-card-body h2 {
        font-size: 1.08rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .founder-img {
        height: 240px;
    }

    .coverage-map-container {
        padding: 12px;
    }

    .page-header {
        padding: 92px 0 34px;
    }

    .page-template-page-quienes-somos .page-header {
        padding: 88px 0 26px;
    }

    .about-header-logo {
        margin-bottom: 12px;
    }

    .about-header-logo img {
        height: 54px;
        max-width: 170px;
    }

    .thankyou-card {
        padding: 30px 20px;
    }

    .thankyou-icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 380px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-content h1,
    .landing-hero-content h1 {
        font-size: 1.95rem;
    }

    .hero-form-card,
    .contact-form-card {
        padding: 18px;
    }

    .site-logo img,
    .logo-img,
    .logo-img--header,
    .logo-img--fallback {
        height: 36px;
        max-width: 120px;
    }
}

