     /*navbar*/
        
     /* ==========================================
   VARIABLES
========================================== */
:root {
    --primary: #009FE3;
    --primary-dark: #007AB8;
    --accent: #00d4aa;
    --text: #1a202c;
    --gray: #64748b;
    --white: #ffffff;
    --border: #e8edf2;
    --bg-soft: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; }

/* ==========================================
   TOP BAR — solo escritorio
========================================== */
.header-top-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    font-size: 0.8125rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.top-bar-left { display: flex; align-items: center; gap: 1.75rem; }

.top-bar-left a {
    display: flex; align-items: center; gap: 0.45rem;
    color: var(--gray); text-decoration: none; font-weight: 500; transition: color 0.2s;
}
.top-bar-left a i { color: var(--primary); font-size: 0.9rem; }
.top-bar-left a:hover { color: var(--primary); }

.top-bar-schedule {
    display: flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid rgba(0,159,227,0.15);
    border-radius: 8px; padding: 0.4rem 0.875rem;
}
.top-bar-schedule i { color: var(--primary); font-size: 0.95rem; }
.schedule-text { display: flex; flex-direction: column; gap: 1px; }
.schedule-day { font-size: 0.65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.schedule-hours-row { display: flex; align-items: center; gap: 0.5rem; }
.schedule-hours { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.schedule-status { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 700; color: #10b981; }
.schedule-status.closed { color: #ef4444; }
.schedule-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.top-bar-right { display: flex; align-items: center; gap: 1.25rem; }

.top-bar-social { display: flex; gap: 0.4rem; }
.top-bar-social a {
    width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); font-size: 0.875rem; text-decoration: none; transition: all 0.2s;
}
.top-bar-social a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

/* Selector idioma top bar */
.tb-lang {
    display: flex; gap: 0.2rem;
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 8px; padding: 0.2rem;
}
.tb-lang-btn {
    background: transparent; border: none; color: var(--gray);
    padding: 0.3rem 0.6rem; border-radius: 6px;
    font-weight: 700; font-size: 0.75rem; cursor: pointer; transition: all 0.2s;
}
.tb-lang-btn.active { background: var(--primary); color: white; }

/* ==========================================
   MAIN HEADER
========================================== */
.medical-header {
    background: var(--white);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
.medical-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

.header-container {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 3rem; gap: 1rem;
}

/* LOGO */
.clinic-logo {
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0; transition: opacity 0.2s;
}
.clinic-logo:hover { opacity: 0.85; }
.clinic-logo-img { height: 52px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0,159,227,0.15)); }

/* ==========================================
   DESKTOP NAV
========================================== */
.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-menu { display: flex; list-style: none; gap: 0.125rem; margin: 0; padding: 0; }
.nav-menu .nav-item { position: relative; }

.nav-menu .nav-link {
    color: var(--text); text-decoration: none;
    padding: 0.625rem 1rem; font-weight: 500; font-size: 0.9375rem;
    display: block; border-radius: 6px; transition: all 0.2s; white-space: nowrap;
}
.nav-menu .nav-link:hover { color: var(--primary); background: rgba(0,159,227,0.06); }
.nav-menu .nav-link.active { color: var(--primary); background: rgba(0,159,227,0.06); }

.nav-menu .dropdown-toggle::after {
    content: '\F282'; font-family: 'bootstrap-icons';
    border: none; vertical-align: 0; margin-left: 0.25rem;
    font-size: 0.65rem; opacity: 0.5; transition: transform 0.2s;
}
.nav-menu .dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }

.nav-menu .dropdown-menu {
    background: var(--white); border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    border-radius: 12px; padding: 0.5rem; margin-top: 0.5rem; min-width: 230px;
    animation: dropIn 0.25s ease;
}
@keyframes dropIn { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }

.nav-menu .dropdown-item {
    color: var(--text); padding: 0.625rem 1rem;
    font-size: 0.9375rem; font-weight: 500; border-radius: 6px; transition: all 0.2s;
}
.nav-menu .dropdown-item:hover { background: rgba(0,159,227,0.06); color: var(--primary); }
.nav-menu .dropdown-divider { margin: 0.375rem 0; border-color: var(--border); }

@media (min-width: 993px) {
    .nav-menu .dropdown:hover .dropdown-menu { display: block; }
}

/* ==========================================
   HEADER ACTIONS + SELECTOR IDIOMA NAVBAR
========================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ✅ Selector de idioma en el navbar */
.nav-lang-switcher {
    display: flex;
    gap: 0.2rem;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.2rem;
    flex-shrink: 0;
}

.nav-lang-btn {
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}

.nav-lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0,159,227,0.3);
}

.nav-lang-btn:not(.active):hover {
    background: rgba(0,159,227,0.08);
    color: var(--primary);
}

/* CTA BUTTON */
.btn-appointment {
    background: var(--primary); color: white !important;
    padding: 0.7rem 1.5rem; border-radius: 8px;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.875rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.25s; box-shadow: 0 4px 14px rgba(0,159,227,0.3); white-space: nowrap;
}
.btn-appointment:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,159,227,0.4); }

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none; width: 44px; height: 44px;
    background: var(--bg-soft); border: 1.5px solid var(--border);
    border-radius: 12px; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--text); cursor: pointer; transition: all 0.25s; flex-shrink: 0;
}
.mobile-toggle:hover, .mobile-toggle.open { background: var(--primary); border-color: var(--primary); color: white; }

/* ==========================================
   OVERLAY
========================================== */
.mobile-sidebar-overlay {
    position: fixed; inset: 0;
    background: rgba(13,17,23,0.65); backdrop-filter: blur(6px);
    z-index: 1099; opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.mobile-sidebar-overlay.active { opacity: 1; pointer-events: all; }

/* ==========================================
   MOBILE SIDEBAR
========================================== */
.mobile-sidebar {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 88vw); height: 100vh;
    background: var(--white); z-index: 1100;
    display: flex; flex-direction: column;
    transition: right 0.4s cubic-bezier(0.32,0.72,0,1); overflow: hidden;
}
.mobile-sidebar.active { right: 0; }

/* Sidebar header */
.mobile-sidebar-header {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 60%, #005d8f 100%);
    padding: 1.5rem 1.25rem 1.25rem;
    position: relative; overflow: hidden; flex-shrink: 0;
}
.mobile-sidebar-header::before {
    content:''; position:absolute; top:-30px; right:-30px;
    width:120px; height:120px; background:rgba(255,255,255,0.08); border-radius:50%;
}
.mobile-sidebar-header::after {
    content:''; position:absolute; bottom:-20px; left:-10px;
    width:80px; height:80px; background:rgba(0,212,170,0.15); border-radius:50%;
}
.sidebar-head-row {
    display:flex; align-items:center; justify-content:space-between; position:relative; z-index:2;
}
.mobile-sidebar-logo img {
    height: 40px; width: auto; filter: brightness(0) invert(1);
}
.sidebar-head-controls { display:flex; align-items:center; gap:0.5rem; }

/* Lang switcher en sidebar */
.mobile-lang-switcher {
    display: flex; background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 0.2rem; gap: 0.2rem;
    position: relative; z-index: 2;
}
.mobile-lang-btn {
    background: transparent; border: none; color: rgba(255,255,255,0.75);
    padding: 0.3rem 0.55rem; border-radius: 6px;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.75rem;
    cursor: pointer; transition: all 0.2s;
}
.mobile-lang-btn.active { background: rgba(255,255,255,0.9); color: var(--primary); }
.mobile-lang-btn:not(.active):hover { background: rgba(255,255,255,0.2); color: white; }

.mobile-sidebar-close {
    width:36px; height:36px; background:rgba(255,255,255,0.18);
    border:1px solid rgba(255,255,255,0.3); border-radius:10px;
    color:white; font-size:1.1rem; display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition:all 0.2s; position:relative; z-index:2;
}
.mobile-sidebar-close:hover { background:rgba(255,255,255,0.3); transform:rotate(90deg); }

/* Status pill */
.sidebar-status-pill {
    display:inline-flex; align-items:center; gap:0.375rem;
    background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2);
    border-radius:20px; padding:0.375rem 0.75rem;
    margin-top:1rem; position:relative; z-index:2;
}
.status-dot { width:7px; height:7px; background:#4ade80; border-radius:50%; animation:blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.sidebar-status-pill span { color:rgba(255,255,255,0.9); font-size:0.75rem; font-weight:600; }

/* Sidebar body */
.mobile-sidebar-content { flex:1; overflow-y:auto; overscroll-behavior:contain; padding:0.75rem 0; }
.mobile-sidebar-content::-webkit-scrollbar { width:3px; }
.mobile-sidebar-content::-webkit-scrollbar-thumb { background:var(--border); border-radius:4px; }

.sidebar-section-label {
    font-size:0.65rem; font-weight:700; color:var(--gray);
    text-transform:uppercase; letter-spacing:0.08em; padding:0.75rem 1.25rem 0.375rem;
}

.mobile-sidebar-nav { list-style:none; }
.mobile-sidebar-nav-item { border-bottom: 1px solid rgba(0,159,227,0.08); }

.mobile-sidebar-nav-link {
    display:flex; align-items:center; justify-content:space-between;
    padding:0.875rem 1.25rem; text-decoration:none; color:var(--text);
    font-weight:600; font-size:0.9375rem; transition:all 0.2s;
    cursor:pointer; border:none; background:none; width:100%; text-align:left;
}
.mobile-sidebar-nav-link:hover,
.mobile-sidebar-nav-link.active {
    background:linear-gradient(90deg,rgba(0,159,227,0.07) 0%,transparent 100%);
    color:var(--primary); padding-left:1.5rem;
}
.mobile-sidebar-nav-link span { display:flex; align-items:center; gap:0.875rem; }
.nav-link-icon {
    width:36px; height:36px; border-radius:10px; background:rgba(0,159,227,0.08);
    display:flex; align-items:center; justify-content:center;
    font-size:1rem; color:var(--primary); transition:all 0.2s; flex-shrink:0;
}
.mobile-sidebar-nav-link:hover .nav-link-icon,
.mobile-sidebar-nav-link.active .nav-link-icon { background:var(--primary); color:white; }
.mobile-sidebar-toggle-icon { color:var(--gray); font-size:0.75rem; transition:transform 0.3s; }
.mobile-sidebar-nav-item.open .mobile-sidebar-toggle-icon { transform:rotate(180deg); }

/* Submenú */
.mobile-sidebar-submenu {
    list-style:none; max-height:0; overflow:hidden;
    transition:max-height 0.35s cubic-bezier(0.4,0,0.2,1);
    background:var(--bg-soft); border-left:3px solid var(--primary); margin-left:1.25rem;
}
.mobile-sidebar-submenu.active { max-height:400px; }
.mobile-sidebar-submenu-link {
    display:flex; align-items:center; gap:0.625rem;
    padding:0.75rem 1.25rem; text-decoration:none;
    color:var(--gray); font-size:0.875rem; font-weight:500; transition:all 0.2s;
}
.mobile-sidebar-submenu-link:hover { color:var(--primary); padding-left:1.5rem; }
.mobile-sidebar-submenu-link i { font-size:0.9rem; color:var(--primary); opacity:0.6; }

/* Sidebar CTA */
.mobile-sidebar-cta {
    padding:1rem 1.25rem; border-top:1px solid var(--border); background:var(--bg-soft); flex-shrink:0;
}
.mobile-sidebar-cta .btn-appointment {
    width:100%; justify-content:center; padding:0.9rem; font-size:0.9375rem;
    margin-bottom:0.875rem;
}
.quick-contacts { display:grid; grid-template-columns:1fr 1fr; gap:0.5rem; }
.quick-contact-btn {
    display:flex; align-items:center; justify-content:center; gap:0.375rem;
    padding:0.625rem; border-radius:10px; text-decoration:none;
    font-size:0.75rem; font-weight:600; transition:all 0.2s; border:1.5px solid;
}
.quick-contact-btn.phone { color:var(--primary); border-color:rgba(0,159,227,0.25); background:rgba(0,159,227,0.05); }
.quick-contact-btn.whatsapp { color:#16a34a; border-color:rgba(22,163,74,0.25); background:rgba(22,163,74,0.05); }
.quick-contact-btn:hover { transform:translateY(-1px); }
.quick-contact-btn.phone:hover { background:rgba(0,159,227,0.12); }
.quick-contact-btn.whatsapp:hover { background:rgba(22,163,74,0.12); }

/* ==========================================
   BOTTOM NAV — solo mobile
========================================== */
.mobile-bottom-nav {
    display:none; position:fixed; bottom:0; left:0; right:0;
    background:var(--white); border-top:1px solid var(--border);
    z-index:990; padding:0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
    box-shadow:0 -4px 24px rgba(0,0,0,0.07);
}
.mobile-nav-container { display:flex; justify-content:space-around; align-items:center; }
.mobile-nav-item {
    display:flex; flex-direction:column; align-items:center; gap:0.25rem;
    text-decoration:none; color:var(--gray);
    font-size:0.625rem; font-weight:600; padding:0.375rem 0.75rem;
    border-radius:10px; transition:all 0.2s; min-width:56px;
    cursor:pointer; border:none; background:none;
}
.mobile-nav-item i { font-size:1.375rem; }
.mobile-nav-item.active, .mobile-nav-item:hover { color:var(--primary); }
.mobile-nav-item.cta-nav {
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    color:white !important; border-radius:14px; padding:0.5rem 1rem;
    box-shadow:0 4px 14px rgba(0,159,227,0.35);
}
.mobile-nav-item.cta-nav:hover { transform:translateY(-2px); }

/* ==========================================
   WHATSAPP FLOAT
========================================== */
.whatsapp-float {
    position:fixed; bottom: 5rem; right:1.5rem;
    width:58px; height:58px;
    background:linear-gradient(135deg,#25d366,#128c7e);
    color:white; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:1.75rem; text-decoration:none; z-index:980;
    box-shadow:0 6px 20px rgba(37,211,102,0.4);
    transition:all 0.3s; animation:waPulse 2.5s infinite;
}
@keyframes waPulse {
    0%,100% { box-shadow:0 6px 20px rgba(37,211,102,0.4),0 0 0 0 rgba(37,211,102,0.4); }
    50%      { box-shadow:0 6px 20px rgba(37,211,102,0.4),0 0 0 14px rgba(37,211,102,0); }
}
.whatsapp-float:hover { transform:scale(1.1); animation:none; }

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 992px) {
    .header-top-bar    { display: none; }
    .main-nav          { display: none; }
    .btn-appointment   { display: none; }
    .mobile-toggle     { display: flex; }
    .mobile-bottom-nav { display: block; }
    .header-container  { padding: 0.875rem 1.5rem; gap: 0; }
    .clinic-logo       { flex: 1; }
    .clinic-logo-img   { height: 42px; }
    .header-actions    { flex: 0; }

    /* ✅ En mobile el selector queda visible junto al hamburguesa */
    .nav-lang-switcher {
        display: flex;
    }

    .whatsapp-float { bottom: calc(72px + 4.5rem); right: 1rem; width: 52px; height: 52px; font-size: 1.625rem; }
}

@media (max-width: 576px) {
    .header-container { padding: 0.875rem 1rem; }
    /* Botones un poco más compactos en pantallas muy pequeñas */
    .nav-lang-btn { padding: 0.3rem 0.5rem; font-size: 0.7rem; }
}

/* fin css navbar */

            /*footer*/

    /* ==========================================
           FOOTER RESPONSIVE - CLÍNICA DE ALERGIAS
        ========================================== */
        :root {
            --primary-color: #0066cc;
            --primary-hover: #0052a3;
            --accent-color: #00b894;
            --text-primary: #1a1a1a;
            --text-secondary: #6b7280;
            --text-light: #9ca3af;
            --border-color: #e5e7eb;
            --bg-footer: #f8f9fa;
            --white: #ffffff;
        }

        * {
            box-sizing: border-box;
        }

        /* Footer Principal */
        .clinic-footer {
            background: var(--bg-footer);
            border-top: 1px solid var(--border-color);
            padding: 4rem 0 0;
            margin-top: 4rem;
            font-family: 'Inter', sans-serif;
        }

        .footer-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 1.5rem;
            width: 100%;
        }

        /* Footer Brand */
        .footer-brand {
            max-width: 100%;
        }

        .footer-logo-wrapper {
            margin-bottom: 1.5rem;
        }

        .footer-logo-img {
            height: 50px;
            width: auto;
            max-width: 100%;
        }

        .footer-tagline {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .footer-description {
            font-size: 0.9375rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        /* Footer Columns */
        .footer-column h5 {
            font-family: 'Poppins', sans-serif;
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 1.25rem;
            letter-spacing: -0.01em;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9375rem;
            transition: all 0.2s ease;
            display: inline-block;
            position: relative;
        }

        .footer-link:hover {
            color: var(--primary-color);
            padding-left: 8px;
        }

        .footer-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.2s ease;
            opacity: 0;
        }

        .footer-link:hover::before {
            width: 4px;
            opacity: 1;
        }

        /* Contact Items */
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 0.875rem;
            margin-bottom: 1rem;
            font-size: 0.9375rem;
        }

        .contact-icon {
            width: 36px;
            height: 36px;
            min-width: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 102, 204, 0.08);
            color: var(--primary-color);
            border-radius: 8px;
            font-size: 1rem;
        }

        .contact-item a,
        .contact-item span {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
            line-height: 1.6;
            word-break: break-word;
        }

        .contact-item a:hover {
            color: var(--primary-color);
        }

        /* Social Media */
        .footer-social {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--white);
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 1.125rem;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .social-icon:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--white);
            transform: translateY(-2px);
        }

        /* CTA Button */
        .footer-cta-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: var(--primary-color);
            color: var(--white);
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9375rem;
            transition: all 0.2s ease;
            margin-top: 1.5rem;
            width: 100%;
            max-width: 280px;
        }

        .footer-cta-btn:hover {
            background: var(--primary-hover);
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
        }

        .footer-cta-btn i {
            transition: transform 0.2s ease;
        }

        .footer-cta-btn:hover i {
            transform: translateX(4px);
        }

        /* Horarios */
        .schedule-item {
            display: flex;
            justify-content: space-between;
            padding: 0.625rem 0;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.875rem;
            gap: 1rem;
        }

        .schedule-item:last-child {
            border-bottom: none;
        }

        .schedule-day {
            color: var(--text-primary);
            font-weight: 500;
            white-space: nowrap;
        }

        .schedule-time {
            color: var(--text-secondary);
            text-align: right;
        }

        /* Footer Bottom */
        .footer-divider {
            border: 0;
            height: 1px;
            background: var(--border-color);
            margin: 3rem 0 1.5rem;
        }

        .footer-bottom {
            padding: 1.5rem 0;
        }

        .footer-copyright {
            color: var(--text-light);
            font-size: 0.875rem;
            text-align: center;
            margin: 0;
            line-height: 1.8;
        }

        .footer-credit-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .footer-credit-link:hover {
            color: var(--primary-hover);
        }

        .footer-bottom-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .footer-bottom-link {
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.2s ease;
            white-space: nowrap;
        }

        .footer-bottom-link:hover {
            color: var(--primary-color);
        }

        /* Certifications */
        .footer-certifications {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .certification-badge {
            padding: 0.5rem 1rem;
            background: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 0.75rem;
            color: var(--text-secondary);
            font-weight: 500;
            white-space: nowrap;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            background: var(--white);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            border-radius: 8px;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 997;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .back-to-top:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--white);
            transform: translateY(-4px);
            box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
        }

        .back-to-top.show {
            display: flex;
        }

        /* ==========================================
           RESPONSIVE BREAKPOINTS
        ========================================== */

        /* Tablets - 992px and below */
        @media (max-width: 992px) {
            .clinic-footer {
                padding: 3rem 0 0;
                margin-top: 3rem;
                /* ✅ FIX: evita que el mobile-bottom-nav tape el footer */
                padding-bottom: calc(72px + env(safe-area-inset-bottom));
            }

            .footer-container {
                padding: 0 1.25rem;
            }

            .footer-brand {
                margin-bottom: 2.5rem;
            }

            .footer-column {
                margin-bottom: 2.5rem;
            }

            .footer-cta-btn {
                max-width: 100%;
            }

            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 44px;
                height: 44px;
            }
        }

        /* Mobile - 768px and below */
        @media (max-width: 768px) {
            .clinic-footer {
                padding: 2.5rem 0 0;
                margin-top: 2.5rem;
                padding-bottom: calc(72px + env(safe-area-inset-bottom));
            }

            .footer-container {
                padding: 0 1rem;
            }

            .footer-logo-img {
                height: 45px;
            }

            .footer-brand {
                margin-bottom: 2rem;
            }

            .footer-column {
                margin-bottom: 2rem;
            }

            .footer-column h5 {
                font-size: 1rem;
                margin-bottom: 1rem;
            }

            .footer-description {
                font-size: 0.875rem;
            }

            .footer-social {
                gap: 0.625rem;
            }

            .social-icon {
                width: 38px;
                height: 38px;
                font-size: 1rem;
            }

            .footer-certifications {
                gap: 0.5rem;
            }

            .certification-badge {
                font-size: 0.7rem;
                padding: 0.4rem 0.8rem;
            }

            .footer-divider {
                margin: 2.5rem 0 1.25rem;
            }

            .footer-bottom-links {
                gap: 1rem;
            }

            .back-to-top {
                bottom: 15px;
                right: 15px;
                width: 42px;
                height: 42px;
                font-size: 1.125rem;
            }
        }

        /* Small Mobile - 576px and below */
        @media (max-width: 576px) {
            .clinic-footer {
                padding: 2rem 0 0;
                margin-top: 2rem;
                padding-bottom: calc(72px + env(safe-area-inset-bottom));
            }

            .footer-container {
                padding: 0 1rem;
            }

            .footer-logo-img {
                height: 40px;
            }

            .footer-tagline {
                font-size: 0.8125rem;
            }

            .footer-description {
                font-size: 0.8125rem;
                margin-bottom: 1.25rem;
            }

            .footer-brand {
                margin-bottom: 1.75rem;
            }

            .footer-column {
                margin-bottom: 1.75rem;
            }

            .footer-column h5 {
                font-size: 0.9375rem;
            }

            .footer-link {
                font-size: 0.875rem;
            }

            .contact-item {
                font-size: 0.875rem;
                gap: 0.75rem;
            }

            .contact-icon {
                width: 34px;
                height: 34px;
                min-width: 34px;
                font-size: 0.9375rem;
            }

            .footer-social {
                justify-content: flex-start;
                gap: 0.5rem;
            }

            .social-icon {
                width: 36px;
                height: 36px;
                font-size: 0.9375rem;
            }

            .footer-cta-btn {
                padding: 0.875rem 1.25rem;
                font-size: 0.875rem;
                margin-top: 1.25rem;
            }

            .schedule-item {
                font-size: 0.8125rem;
                padding: 0.5rem 0;
            }

            .footer-certifications {
                justify-content: flex-start;
            }

            .certification-badge {
                font-size: 0.65rem;
                padding: 0.375rem 0.75rem;
            }

            .footer-divider {
                margin: 2rem 0 1rem;
            }

            .footer-copyright {
                font-size: 0.8125rem;
                line-height: 1.7;
            }

            .footer-bottom-links {
                flex-direction: column;
                gap: 0.625rem;
                align-items: center;
            }

            .footer-bottom-link {
                font-size: 0.8125rem;
            }

            .back-to-top {
                bottom: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }

        /* Extra Small Mobile - 400px and below */
        @media (max-width: 400px) {
            .footer-container {
                padding: 0 0.875rem;
            }

            .footer-logo-img {
                height: 36px;
            }

            .footer-tagline,
            .footer-description {
                font-size: 0.75rem;
            }

            .footer-column h5 {
                font-size: 0.875rem;
            }

            .footer-link {
                font-size: 0.8125rem;
            }

            .contact-item {
                font-size: 0.8125rem;
            }

            .social-icon {
                width: 34px;
                height: 34px;
            }

            .certification-badge {
                font-size: 0.625rem;
                padding: 0.35rem 0.65rem;
            }

            .footer-cta-btn {
                font-size: 0.8125rem;
                padding: 0.75rem 1rem;
            }

            .footer-copyright {
                font-size: 0.75rem;
            }

            .footer-bottom-link {
                font-size: 0.75rem;
            }
        }

        /* Landscape orientation adjustments */
        @media (max-width: 992px) and (orientation: landscape) {
            .clinic-footer {
                padding: 2rem 0 0;
                padding-bottom: calc(72px + env(safe-area-inset-bottom));
            }

            .footer-brand,
            .footer-column {
                margin-bottom: 1.5rem;
            }

            .footer-divider {
                margin: 2rem 0 1rem;
            }
        }
        
        /*fin css footer*/


 /*hero home*/ 

        .hero-serv-page {
    --hsp-primary: #009FE3;
    --hsp-primary-dark: #007AB8;
    --hsp-accent: #00d4aa;
    --hsp-purple: #7c3aed;
    --hsp-orange: #FF6B35;
    --hsp-text-dark: #0a1520;
    --hsp-text-gray: #64748b;
    --hsp-white: #ffffff;
}

.hero-serv-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 8rem 2rem 4rem;
}

.hero-serv-page__bg { position: absolute; inset: 0; z-index: 0; }
.hero-serv-page__gradient { position: absolute; inset: 0; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #f0fdfa 60%, #fef3f2 100%); }
.hero-serv-page__pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0,159,227,0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0,212,170,0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124,58,237,0.03) 0%, transparent 50%);
}
.hero-serv-page__shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; }
.hero-serv-page__shape--1 { width: 600px; height: 600px; background: linear-gradient(135deg, rgba(0,159,227,0.2), rgba(0,212,170,0.15)); top: -200px; right: -200px; animation: hspFloat 20s ease-in-out infinite; }
.hero-serv-page__shape--2 { width: 400px; height: 400px; background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(0,159,227,0.1)); bottom: -150px; left: -150px; animation: hspFloat 25s ease-in-out infinite reverse; }
.hero-serv-page__shape--3 { width: 300px; height: 300px; background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(124,58,237,0.08)); top: 50%; left: 30%; animation: hspFloat 30s ease-in-out infinite; }

.hero-serv-page__container {
    max-width: 1400px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    position: relative; z-index: 10;
}

.hero-serv-page__content { max-width: 600px; }

.hero-serv-page__badge {
    position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, rgba(0,159,227,0.1), rgba(0,212,170,0.1));
    border: 1.5px solid rgba(0,159,227,0.3); border-radius: 100px;
    font-size: 0.82rem; font-weight: 700; color: var(--hsp-primary);
    margin-bottom: 1.5rem; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,159,227,0.15), inset 0 1px 0 rgba(255,255,255,0.5);
}
.hero-serv-page__badge-glow {
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: hspShimmer 3s infinite;
}
.hero-serv-page__badge i { font-size: 1rem; animation: hspPulse 2s ease-in-out infinite; }

.hero-serv-page__title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 900; line-height: 1.15;
    letter-spacing: -0.03em; margin-bottom: 1.2rem;
}
.hero-serv-page__title-line { display: block; color: var(--hsp-text-dark); }
.hero-serv-page__title-line--gradient {
    background: linear-gradient(135deg, var(--hsp-primary) 0%, var(--hsp-accent) 50%, var(--hsp-purple) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    position: relative; padding-bottom: 0.2rem;
}
.hero-serv-page__title-line--gradient::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100px; height: 4px;
    background: linear-gradient(90deg, var(--hsp-primary), var(--hsp-accent));
    border-radius: 10px; box-shadow: 0 4px 15px rgba(0,159,227,0.4);
}

.hero-serv-page__description {
    font-size: 0.97rem; line-height: 1.75; color: var(--hsp-text-gray);
    margin-bottom: 2rem; max-width: 540px;
}

.hero-serv-page__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-serv-page__btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 1.8rem; border-radius: 100px;
    font-weight: 700; font-size: 0.9rem; text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; overflow: hidden;
}
.hero-serv-page__btn--primary {
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-primary-dark));
    color: var(--hsp-white);
    box-shadow: 0 10px 40px rgba(0,159,227,0.3), 0 2px 8px rgba(0,159,227,0.2);
}
.hero-serv-page__btn--primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--hsp-accent), var(--hsp-primary));
    opacity: 0; transition: opacity 0.4s ease;
}
.hero-serv-page__btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 60px rgba(0,159,227,0.4), 0 5px 15px rgba(0,159,227,0.3); color: var(--hsp-white); }
.hero-serv-page__btn--primary:hover::before { opacity: 1; }
.hero-serv-page__btn--primary:hover .hero-serv-page__btn-arrow { transform: translateX(5px); }
.hero-serv-page__btn--secondary {
    background: var(--hsp-white); color: var(--hsp-primary);
    border: 2px solid rgba(0,159,227,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hero-serv-page__btn--secondary:hover { background: var(--hsp-primary); color: var(--hsp-white); border-color: var(--hsp-primary); transform: translateY(-3px); }
.hero-serv-page__btn-icon, .hero-serv-page__btn-arrow { position: relative; z-index: 1; display: flex; align-items: center; }
.hero-serv-page__btn-icon { font-size: 1rem; }
.hero-serv-page__btn-arrow { transition: transform 0.3s ease; }

.hero-serv-page__stats {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(20px);
    border: 1px solid rgba(0,159,227,0.1); border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hero-serv-page__stat { display: flex; align-items: center; gap: 0.85rem; }
.hero-serv-page__stat-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-accent));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--hsp-white);
    box-shadow: 0 8px 20px rgba(0,159,227,0.3); flex-shrink: 0;
}
.hero-serv-page__stat-content { display: flex; flex-direction: column; }
.hero-serv-page__stat-number {
    font-size: 1.6rem; font-weight: 900; line-height: 1; margin-bottom: 0.2rem;
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-serv-page__stat-label { font-size: 0.78rem; color: var(--hsp-text-gray); font-weight: 600; line-height: 1.3; }
.hero-serv-page__stat-divider { width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, rgba(0,159,227,0.2), transparent); }

.hero-serv-page__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-serv-page__visual-container { position: relative; width: 500px; height: 500px; }

.hero-serv-page__circle--main {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 280px; height: 280px;
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-accent));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 30px 80px rgba(0,159,227,0.4), 0 10px 30px rgba(0,159,227,0.3), inset 0 -10px 30px rgba(0,0,0,0.1);
    animation: hspFloatMain 6s ease-in-out infinite;
}
.hero-serv-page__circle-icon { font-size: 7rem; color: var(--hsp-white); animation: hspPulse 3s ease-in-out infinite; }

.hero-serv-page__floating-icon {
    position: absolute; width: 80px; height: 80px; background: var(--hsp-white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
    border: 2px solid rgba(0,159,227,0.1);
}
.hero-serv-page__floating-icon--1 { top: 10%; left: 50%; transform: translateX(-50%); color: var(--hsp-primary); animation: hspFloatIcon 4s ease-in-out infinite; }
.hero-serv-page__floating-icon--2 { top: 30%; right: 5%; color: var(--hsp-accent); animation: hspFloatIcon 5s ease-in-out infinite 0.5s; }
.hero-serv-page__floating-icon--3 { bottom: 30%; right: 10%; color: var(--hsp-purple); animation: hspFloatIcon 4.5s ease-in-out infinite 1s; }
.hero-serv-page__floating-icon--4 { bottom: 15%; left: 50%; transform: translateX(-50%); color: var(--hsp-orange); animation: hspFloatIcon 5.5s ease-in-out infinite 1.5s; }
.hero-serv-page__floating-icon--5 { bottom: 30%; left: 10%; color: var(--hsp-accent); animation: hspFloatIcon 4s ease-in-out infinite 2s; }
.hero-serv-page__floating-icon--6 { top: 30%; left: 5%; color: var(--hsp-primary); animation: hspFloatIcon 5s ease-in-out infinite 2.5s; }

.hero-serv-page__ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(0,159,227,0.15); }
.hero-serv-page__ring--1 { width: 350px; height: 350px; animation: hspRotate 20s linear infinite; }
.hero-serv-page__ring--2 { width: 420px; height: 420px; border-style: dashed; animation: hspRotate 30s linear infinite reverse; opacity: 0.5; }
.hero-serv-page__ring--3 { width: 490px; height: 490px; border-style: dotted; animation: hspRotate 40s linear infinite; opacity: 0.3; }

@keyframes hspFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    25%  { transform: translate(20px,-20px) scale(1.05); }
    50%  { transform: translate(-15px,15px) scale(0.95); }
    75%  { transform: translate(15px,10px) scale(1.02); }
}
@keyframes hspFloatMain {
    0%, 100% { transform: translate(-50%,-50%) translateY(0); }
    50% { transform: translate(-50%,-50%) translateY(-20px); }
}
@keyframes hspFloatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes hspPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes hspShimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}
@keyframes hspRotate {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}

@media (max-width: 1024px) {
    .hero-serv-page__container { gap: 3rem; }
    .hero-serv-page__visual-container { width: 400px; height: 400px; }
    .hero-serv-page__circle--main { width: 220px; height: 220px; }
    .hero-serv-page__circle-icon { font-size: 5rem; }
    .hero-serv-page__floating-icon { width: 65px; height: 65px; font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .hero-serv-page { padding: 6rem 1.5rem 2rem; min-height: auto; }
    .hero-serv-page__container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-serv-page__content { text-align: center; max-width: 100%; display: flex; flex-direction: column; align-items: center; order: 1; }
    .hero-serv-page__visual { order: 2; margin-top: 2rem; }
    .hero-serv-page__badge { margin-left: auto; margin-right: auto; }
    .hero-serv-page__title-line--gradient::after { left: 50%; transform: translateX(-50%); }
    .hero-serv-page__description { margin-left: auto; margin-right: auto; }
    .hero-serv-page__actions { flex-direction: column; width: 100%; max-width: 400px; }
    .hero-serv-page__btn { width: 100%; justify-content: center; }
    .hero-serv-page__stats { flex-direction: column; gap: 1.5rem; padding: 2rem; width: 100%; }
    .hero-serv-page__stat { width: 100%; }
    .hero-serv-page__stat-divider { width: 100%; height: 1px; }
    .hero-serv-page__visual-container { width: 350px; height: 350px; }
    .hero-serv-page__circle--main { width: 180px; height: 180px; }
    .hero-serv-page__circle-icon { font-size: 4rem; }
    .hero-serv-page__floating-icon { width: 60px; height: 60px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-serv-page { padding: 5rem 1rem 2rem; }
    .hero-serv-page__title { font-size: 1.7rem; }
    .hero-serv-page__description { font-size: 0.9rem; }
    .hero-serv-page__visual-container { width: 300px; height: 300px; }
    .hero-serv-page__circle--main { width: 150px; height: 150px; }
    .hero-serv-page__circle-icon { font-size: 3.5rem; }
    .hero-serv-page__floating-icon { width: 55px; height: 55px; font-size: 1.3rem; }
}


/*fin css hero home*/



/* ==========================================
   css certificaciones
========================================== */
.cert-premium {
    --cp-primary: #009FE3;
    --cp-primary-dark: #007AB8;
    --cp-accent: #00d4aa;
    --cp-purple: #7c3aed;
    --cp-text-dark: #0a1520;
    --cp-text-gray: #64748b;
    --cp-white: #ffffff;
}

/* ==========================================
   SECCIÓN PRINCIPAL - FONDO BLANCO
========================================== */
.cert-premium {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Background decorativo sutil */
.cert-premium__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cert-premium__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.cert-premium__shape--1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0,159,227,0.15), rgba(0,212,170,0.1));
    top: -100px;
    right: 10%;
}

.cert-premium__shape--2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(0,159,227,0.08));
    bottom: -80px;
    left: 15%;
}

.cert-premium__shape--3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0,212,170,0.12), rgba(124,58,237,0.08));
    top: 50%;
    left: 5%;
}

.cert-premium__container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cert-premium__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

/* ==========================================
   SECCIÓN DE TEXTO CON BADGE
========================================== */
.cert-premium__text-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.cert-premium__badge {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(0,159,227,0.4),
        0 8px 25px rgba(0,159,227,0.3),
        inset 0 -5px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.cert-premium__badge-icon {
    font-size: 2.5rem;
    color: var(--cp-white);
    z-index: 2;
}

.cert-premium__text-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cert-premium__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cp-text-dark);
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-premium__subtitle {
    font-size: 0.95rem;
    color: var(--cp-text-gray);
    font-weight: 500;
    margin: 0;
}

/* ==========================================
   LÍNEA DECORATIVA
========================================== */
.cert-premium__divider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-premium__divider {
    position: relative;
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--cp-primary) 20%, 
        var(--cp-accent) 50%, 
        var(--cp-primary) 80%, 
        transparent
    );
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,159,227,0.5);
}

/* ==========================================
   LOGOS CON CARDS PREMIUM
========================================== */
.cert-premium__logos {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cert-premium__logo-card {
    position: relative;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    min-width: 260px;
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border: 1px solid rgba(0,159,227,0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.cert-premium__logo-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(0,159,227,0.25),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(0,159,227,0.3);
    background: rgba(255, 255, 255, 1);
}

.cert-premium__card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cert-premium__logo-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.cert-premium__logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: all 0.4s ease;
}

.cert-premium__logo-card:hover .cert-premium__logo {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

.cert-premium__logo-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cert-premium__logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cp-text-dark);
    text-align: center;
}

.cert-premium__verified {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(0,159,227,0.1), rgba(0,212,170,0.1));
    border: 1px solid rgba(0,159,227,0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cp-primary);
}

.cert-premium__verified i {
    font-size: 1rem;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
    .cert-premium__content {
        gap: 3rem;
    }

    .cert-premium__logos {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cert-premium {
        padding: 4rem 1.5rem;
    }

    .cert-premium__content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .cert-premium__text-section {
        flex-direction: column;
        text-align: center;
    }

    .cert-premium__badge {
        width: 70px;
        height: 70px;
    }

    .cert-premium__badge-icon {
        font-size: 2rem;
    }

    .cert-premium__title {
        font-size: 1.3rem;
    }

    .cert-premium__divider {
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, 
            transparent, 
            var(--cp-primary) 20%, 
            var(--cp-accent) 50%, 
            var(--cp-primary) 80%, 
            transparent
        );
    }

    .cert-premium__logos {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

    .cert-premium__logo-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cert-premium {
        padding: 3rem 1rem;
    }

    .cert-premium__logo-card {
        padding: 1.75rem 2rem;
        min-width: auto;
    }

    .cert-premium__logo {
        height: 60px;
    }
}

/* ==========================================
   fin css certificaciones
========================================== */



/* ==========================================
   ventajas
========================================== */

    .cac-info {
        font-family: 'Inter', sans-serif;
        background: #F7FDFB;
        padding: 6rem 2rem;
        position: relative;
        overflow: hidden;
    }

    /* Decoración de fondo */
    .cac-info::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,159,227,0.02) 0%, transparent 100%);
        pointer-events: none;
    }

    .cac-info__container {
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .cac-info__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: stretch;
    }

    /* ==========================================
        IMAGEN CON OVERLAY
    ========================================== */
    .cac-info__image-section {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0,0,0,0.1);
        opacity: 0;
        animation: fadeInLeft 0.8s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-info__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        min-height: 500px;
    }

    .cac-info__overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 159, 227, 0) 100%);
        padding: 1rem 2.5rem;
        color: white;
    }

    .cac-info__overlay-title {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .cac-info__overlay-btn {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        color: white;
        font-size: .95rem;
        font-weight: 600;
        text-decoration: none;
        margin-top: 1rem;
        transition: gap 0.3s ease;
    }

    .cac-info__overlay-btn:hover {
        gap: .8rem;
    }

    .cac-info__overlay-btn i {
        font-size: 1.1rem;
    }

    /* ==========================================
        CARDS DE INFORMACIÓN
    ========================================== */
    .cac-info__cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .cac-info__card {
        background: white;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 4px 30px rgba(0,0,0,0.06);
        border: 1px solid rgba(0,159,227,0.08);
        transition: all 0.4s cubic-bezier(.22,1,.36,1);
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
        position: relative;
        overflow: hidden;
    }

    .cac-info__card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        background: #009FE3;
        transition: height 0.4s cubic-bezier(.22,1,.36,1);
    }

    .cac-info__card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 50px rgba(0,159,227,0.15);
        border-color: rgba(0,159,227,0.2);
    }

    .cac-info__card:hover::before {
        height: 100%;
    }

    .cac-info__card:nth-child(1) {
        animation-delay: 0.3s;
    }

    .cac-info__card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .cac-info__card:nth-child(3) {
        grid-column: 1 / -1;
        animation-delay: 0.5s;
    }

    .cac-info__card-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: #009FE3;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .cac-info__card-title i {
        font-size: 1.2rem;
    }

    .cac-info__card-text {
        font-size: 1rem;
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .cac-info__card-link {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        color: #009FE3;
        font-weight: 600;
        font-size: .95rem;
        text-decoration: none;
        transition: gap 0.3s ease;
    }

    .cac-info__card-link:hover {
        gap: .8rem;
    }

    .cac-info__card-link i {
        font-size: 1rem;
    }

    /* ==========================================
        CARD DE UBICACIÓN (especial)
    ========================================== */
    .cac-info__card--location {
        background: linear-gradient(135deg, #009FE3 0%, #007AB8 100%);
        color: white;
    }

    .cac-info__card--location .cac-info__card-title {
        color: white;
    }

    .cac-info__card--location .cac-info__card-text {
        color: rgba(255,255,255,0.9);
    }

    .cac-info__location-address {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .cac-info__location-btn {
        display: inline-flex;
        align-items: center;
        gap: .6rem;
        background: white;
        color: #009FE3;
        padding: .9rem 1.5rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: .95rem;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .cac-info__location-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    /* ==========================================
        CARD DE CITA (destacado)
    ========================================== */
    .cac-info__card--appointment {
        background: linear-gradient(135deg, #009FE3 0%, #007AB8 100%);
        color: white;
        padding: 3rem;
    }

    .cac-info__card--appointment .cac-info__card-title {
        color: white;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .cac-info__card--appointment .cac-info__card-text {
        color: rgba(255,255,255,0.95);
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .cac-info__appointment-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .cac-info__appointment-btn {
        display: inline-flex;
        align-items: center;
        gap: .6rem;
        padding: 1rem 2rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: .95rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(.22,1,.36,1);
    }

    .cac-info__appointment-btn--primary {
        background: white;
        color: #009FE3;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

    .cac-info__appointment-btn--primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }

    .cac-info__appointment-btn--secondary {
        background: rgba(255,255,255,0.15);
        color: white;
        border: 1px solid rgba(255,255,255,0.3);
        backdrop-filter: blur(10px);
    }

    .cac-info__appointment-btn--secondary:hover {
        background: rgba(255,255,255,0.25);
        border-color: rgba(255,255,255,0.5);
    }

    .cac-info__appointment-phone {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .cac-info__phone-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .cac-info__phone-content span {
        display: block;
        font-size: .85rem;
        opacity: 0.9;
        margin-bottom: .2rem;
    }

    .cac-info__phone-number {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: .5px;
    }

    /* ==========================================
        ANIMACIONES
    ========================================== */

    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */

    @media (max-width: 1024px) {
        .cac-info__grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .cac-info__image-section {
            order: -1;
        }

        .cac-info__image {
            min-height: 400px;
        }
    }

    @media (max-width: 768px) {
        .cac-info {
            padding: 4rem 1.5rem;
        }

        .cac-info__cards {
            grid-template-columns: 1fr;
        }

        .cac-info__card:nth-child(3) {
            grid-column: 1;
        }

        .cac-info__card {
            padding: 2rem;
        }

        .cac-info__card--appointment {
            padding: 2.5rem 2rem;
        }

        .cac-info__overlay {
            padding: 2rem 1.5rem;
        }

        .cac-info__overlay-title {
            font-size: 1.5rem;
        }

        .cac-info__appointment-actions {
            flex-direction: column;
        }

        .cac-info__appointment-btn {
            width: 100%;
            justify-content: center;
        }

        .cac-info__phone-number {
            font-size: 1.2rem;
        }
    }

    /* ==========================================
   fin css ventajas
========================================== */


/* ==========================================
   Css Servicios home
========================================== */
.services-allergy {
    --sa-primary: #009FE3;
    --sa-primary-dark: #007AB8;
    --sa-accent: #00d4aa;
    --sa-text-dark: #0a1520;
    --sa-text-gray: #64748b;
    --sa-white: #ffffff;
}

/* ==========================================
   SECCIÓN PRINCIPAL
========================================== */
.services-allergy {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    padding: clamp(4rem, 8vw, 7rem) 2rem;
    position: relative;
    overflow: hidden;
}

.services-allergy__container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================
   HEADER
========================================== */
.services-allergy__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.services-allergy__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--sa-primary), var(--sa-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-allergy__subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--sa-text-gray);
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================
   GRID DE SERVICIOS
========================================== */
.services-allergy__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* ==========================================
   CARD DE SERVICIO
========================================== */
.services-allergy__card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,159,227,0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-allergy__card:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 30px 80px rgba(0,159,227,0.25),
        0 10px 30px rgba(0,159,227,0.15);
    border-color: rgba(0,159,227,0.3);
}

/* Imagen */
.services-allergy__card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.services-allergy__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.services-allergy__card:hover .services-allergy__img {
    transform: scale(1.1);
}

.services-allergy__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,159,227,0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.services-allergy__card:hover .services-allergy__image-overlay {
    opacity: 1;
}

/* Badge flotante */
.services-allergy__badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sa-primary), var(--sa-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sa-white);
    box-shadow: 0 10px 30px rgba(0,159,227,0.4);
    z-index: 5;
    transition: all 0.4s ease;
}

.services-allergy__card:hover .services-allergy__badge {
    transform: scale(1.1) rotate(10deg);
}

/* Contenido */
.services-allergy__card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.services-allergy__card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sa-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    min-height: 60px;
}

/* Botón */
.services-allergy__card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--sa-primary), var(--sa-primary-dark));
    color: var(--sa-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,159,227,0.3);
}

.services-allergy__card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,159,227,0.4);
    gap: 0.75rem;
    color: var(--sa-white);
}

.services-allergy__card-btn i:last-child {
    transition: transform 0.3s ease;
}

.services-allergy__card-btn:hover i:last-child {
    transform: translateX(4px);
}

/* Shine effect */
.services-allergy__card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.services-allergy__card:hover .services-allergy__card-shine {
    left: 100%;
}

/* ==========================================
   CTA SECTION
========================================== */
.services-allergy__cta {
    background: linear-gradient(135deg, var(--sa-primary) 0%, var(--sa-primary-dark) 100%);
    border-radius: 28px;
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 
        0 25px 70px rgba(0,159,227,0.35),
        0 10px 30px rgba(0,159,227,0.25);
    position: relative;
    overflow: hidden;
}

.services-allergy__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-allergy__cta-content {
    flex: 1;
}

.services-allergy__cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sa-white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.services-allergy__cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
}

.services-allergy__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--sa-white);
    color: var(--sa-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.services-allergy__cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    gap: 1rem;
    color: var(--sa-primary);
}

.services-allergy__cta-btn i:first-child {
    font-size: 1.3rem;
}

.services-allergy__cta-btn i:last-child {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.services-allergy__cta-btn:hover i:last-child {
    transform: translateX(5px);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
    .services-allergy__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-allergy {
        padding: 4rem 1.5rem;
    }

    .services-allergy__header {
        margin-bottom: 3rem;
    }

    .services-allergy__title {
        font-size: 2rem;
    }

    .services-allergy__subtitle {
        font-size: 1rem;
    }

    .services-allergy__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .services-allergy__card-image {
        height: 280px;
    }

    .services-allergy__card-title {
        font-size: 1.25rem;
        min-height: auto;
    }

    .services-allergy__cta {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .services-allergy__cta-title {
        font-size: 1.5rem;
    }

    .services-allergy__cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-allergy {
        padding: 3rem 1rem;
    }

    .services-allergy__card-content {
        padding: 1.75rem 1.5rem;
    }

    .services-allergy__card-image {
        height: 240px;
    }

    .services-allergy__badge {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        top: 1rem;
        right: 1rem;
    }

    .services-allergy__cta {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   fin Css Servicios home
========================================== */


/* ==========================================
    1. VARIABLES Y BASE
========================================== */
.healthcare-impact {
    --hi-primary: #009FE3;
    --hi-primary-dark: #007AB8;
    --hi-accent: #00d4aa;
    --hi-purple: #7c3aed;
    --hi-orange: #FF6B35;
    --hi-text-dark: #0a1520;
    --hi-text-gray: #64748b;
    --hi-white: #ffffff;
    
    font-family: 'Inter', -apple-system, sans-serif;
    background: #ffffff;
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
    overflow: hidden; /* Evita desbordes por elementos flotantes */
}

.healthcare-impact__container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================
    2. HEADER (TÍTULOS)
========================================== */
.healthcare-impact__header {
    text-align: center;
    margin-bottom: 4rem;
}

.healthcare-impact__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0,159,227,0.1);
    border: 1px solid rgba(0,159,227,0.2);
    border-radius: 50px;
    color: var(--hi-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.healthcare-impact__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--hi-text-dark);
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

.healthcare-impact__title-highlight {
    background: linear-gradient(135deg, var(--hi-primary), var(--hi-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
    3. LAYOUT PRINCIPAL
========================================== */
.healthcare-impact__main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ==========================================
    4. COLUMNA IZQUIERDA (CONTENIDO)
========================================== */
.healthcare-impact__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.healthcare-impact__description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hi-text-gray);
    margin: 0;
}

/* QUOTE (CITA) */
.healthcare-impact__quote {
    background: linear-gradient(135deg, var(--hi-primary), var(--hi-primary-dark));
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,159,227,0.2);
    color: white;
}

.healthcare-impact__quote-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.healthcare-impact__quote-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.healthcare-impact__author-name {
    display: block;
    font-weight: 700;
}

.healthcare-impact__author-role {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* TARJETAS DE CONFIANZA */
.healthcare-impact__reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.healthcare-impact__reason {
    background: #f8fafb;
    padding: 1.25rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.healthcare-impact__reason:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--hi-primary);
}

.healthcare-impact__reason-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.healthcare-impact__reason-icon--1 { background: linear-gradient(135deg, var(--hi-primary), var(--hi-primary-dark)); }
.healthcare-impact__reason-icon--2 { background: linear-gradient(135deg, var(--hi-accent), #00b894); }
.healthcare-impact__reason-icon--3 { background: linear-gradient(135deg, var(--hi-purple), #5b21b6); }
.healthcare-impact__reason-icon--4 { background: linear-gradient(135deg, var(--hi-orange), #e55a2b); }

/* ==========================================
    5. COLUMNA DERECHA (LA IMAGEN)
========================================== */
.healthcare-impact__visual {
    display: flex;
    justify-content: center;
}

.healthcare-impact__image-container {
    position: relative;
    width: 100%;
    /* --------------------------------------
       CAMBIA AQUÍ EL TAMAÑO DE LA IMAGEN
    ----------------------------------------- */
    max-width: 480px; 
    padding: 20px; /* Espacio para que los elementos flotantes no se corten */
}

.healthcare-impact__image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    z-index: 1;
}

.healthcare-impact__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* BADGE IPS FLOTANTE */
.healthcare-impact__cert {
    position: absolute;
    top: 0;
    right: -10px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.05);
}

.healthcare-impact__cert-icon {
    color: var(--hi-primary);
    font-size: 1.5rem;
}

/* BOTÓN CTA FLOTANTE */
.healthcare-impact__cta {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--hi-primary), var(--hi-primary-dark));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0,159,227,0.3);
    z-index: 10;
    white-space: nowrap;
    transition: 0.3s;
}

.healthcare-impact__cta:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,159,227,0.4);
    color: white;
}

/* ==========================================
    6. RESPONSIVE
========================================== */
@media (max-width: 1024px) {
    .healthcare-impact__main-layout { gap: 2rem; }
}

@media (max-width: 768px) {
    .healthcare-impact__main-layout {
        grid-template-columns: 1fr;
    }
    .healthcare-impact__visual {
        order: -1; /* La imagen sube arriba en móvil */
        margin-bottom: 3rem;
    }
    .healthcare-impact__reasons {
        grid-template-columns: 1fr;
    }
    .healthcare-impact__cert {
        right: 10px;
        padding: 0.8rem 1rem;
    }
}


/* ==========================================
   VARIABLES
========================================== */
.allergy-programs {
    --ap-primary: #009FE3;
    --ap-primary-dark: #007AB8;
    --ap-accent: #00d4aa;
    --ap-purple: #7c3aed;
    --ap-text-dark: #0a1520;
    --ap-text-gray: #64748b;
    --ap-white: #ffffff;
}

/* ==========================================
   SECCIÓN PRINCIPAL
========================================== */
.allergy-programs {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
    position: relative;
}

.allergy-programs__container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================
   HEADER
========================================== */
.allergy-programs__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.allergy-programs__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0,159,227,0.1);
    border: 1px solid rgba(0,159,227,0.2);
    border-radius: 50px;
    color: var(--ap-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.allergy-programs__badge i {
    font-size: 1rem;
}

.allergy-programs__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--ap-text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.allergy-programs__title span {
    background: linear-gradient(135deg, var(--ap-primary), var(--ap-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.allergy-programs__subtitle {
    font-size: 1rem;
    color: var(--ap-text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   GRID DE PROGRAMAS
========================================== */
.allergy-programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ==========================================
   CARD
========================================== */
.allergy-programs__card {
    background: #f8fafb;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,159,227,0.1);
    transition: all 0.4s ease;
}

.allergy-programs__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0,159,227,0.2);
    border-color: rgba(0,159,227,0.3);
    background: var(--ap-white);
}

/* Imagen */
.allergy-programs__card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.allergy-programs__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.allergy-programs__card:hover .allergy-programs__image {
    transform: scale(1.08);
}

.allergy-programs__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,159,227,0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.allergy-programs__card:hover .allergy-programs__image-overlay {
    opacity: 1;
}

/* Número */
.allergy-programs__number {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ap-primary);
    box-shadow: 0 8px 25px rgba(0,159,227,0.25);
}

/* Icon flotante */
.allergy-programs__icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--ap-white);
    box-shadow: 0 10px 30px rgba(0,159,227,0.3);
}

.allergy-programs__icon--blue {
    background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
}

.allergy-programs__icon--green {
    background: linear-gradient(135deg, var(--ap-accent), #00b894);
}

.allergy-programs__icon--purple {
    background: linear-gradient(135deg, var(--ap-purple), #5b21b6);
}

/* Contenido */
.allergy-programs__card-content {
    padding: 2rem;
}

.allergy-programs__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ap-text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
    min-height: 65px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.allergy-programs__card-desc {
    font-size: 0.9rem;
    color: var(--ap-text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Link */
.allergy-programs__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ap-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.allergy-programs__link:hover {
    gap: 0.75rem;
    color: var(--ap-primary-dark);
}

.allergy-programs__link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.allergy-programs__link:hover i {
    transform: translateX(4px);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
    .allergy-programs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .allergy-programs {
        padding: 3rem 1.25rem;
    }

    .allergy-programs__header {
        margin-bottom: 2.5rem;
    }

    .allergy-programs__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .allergy-programs__card-image {
        height: 240px;
    }

    .allergy-programs__card-content {
        padding: 1.75rem;
    }

    .allergy-programs__card-title {
        font-size: 1.1rem;
        min-height: auto;
    }

    .allergy-programs__number,
    .allergy-programs__icon {
        width: 45px;
        height: 45px;
        top: 1rem;
    }

    .allergy-programs__number {
        left: 1rem;
        font-size: 1.15rem;
    }

    .allergy-programs__icon {
        right: 1rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .allergy-programs {
        padding: 2.5rem 1rem;
    }

    .allergy-programs__card-image {
        height: 220px;
    }

    .allergy-programs__card-content {
        padding: 1.5rem;
    }

    .allergy-programs__card-title {
        font-size: 1.05rem;
    }

    .allergy-programs__card-desc {
        font-size: 0.85rem;
    }
}





    .cac-testimonials {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        background: #ffffff;
        padding: 6rem 2rem;
        position: relative;
        overflow: hidden;
    }

    /* Círculos decorativos flotantes */
    .cac-testimonials::before {
        content: '';
        position: absolute;
        top: -150px;
        right: -150px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0,159,227,0.08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        animation: float 20s ease-in-out infinite;
    }

    .cac-testimonials::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        animation: float 25s ease-in-out infinite reverse;
    }

    @keyframes float {
        0%, 100% {
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(20px, -20px) scale(1.05);
        }
        50% {
            transform: translate(-15px, 15px) scale(0.95);
        }
        75% {
            transform: translate(15px, 10px) scale(1.02);
        }
    }

    .cac-testimonials__container {
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .cac-testimonials__header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .cac-testimonials__title {
        font-size: clamp(2rem, 4vw, 2.8rem);
        font-weight: 700;
        color: #009FE3;
        margin-bottom: 1rem;
    }

    .cac-testimonials__subtitle {
        font-size: 1.05rem;
        color: #64748b;
        line-height: 1.7;
        max-width: 700px;
        margin: 0 auto 3rem;
    }

    /* Grid combinado */
    .cac-testimonials__content {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    /* Columna izquierda - Mapa de Google */
    .cac-testimonials__map-column {
        position: sticky;
        top: 2rem;
    }

    .cac-testimonials__map-wrapper {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,0.12);
        border: 1px solid rgba(0,159,227,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .cac-testimonials__map-wrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(0,159,227,0.2);
    }

    .cac-testimonials__map-label {
        background: linear-gradient(135deg, #009FE3, #007AB8);
        color: white;
        padding: 1.5rem 2rem;
        text-align: center;
    }

    .cac-testimonials__map-label h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .cac-testimonials__map-label p {
        margin: 0;
        opacity: 0.95;
        font-size: 0.95rem;
    }

    .cac-testimonials__map-wrapper iframe {
        width: 100%;
        height: 550px;
        border: 0;
        display: block;
    }

    /* Badge de Google */
    .cac-testimonials__google-badge {
        background: white;
        padding: 1rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .cac-testimonials__google-badge img {
        width: 80px;
        height: auto;
    }

    .cac-testimonials__google-rating {
        text-align: left;
    }

    .cac-testimonials__google-stars {
        color: #FFA500;
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-bottom: 0.25rem;
    }

    .cac-testimonials__google-text {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 600;
    }

    /* Columna derecha - Reviews destacados */
    .cac-testimonials__reviews-column {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .cac-testimonial {
        background: white;
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        transition: all 0.3s ease;
        border: 1px solid rgba(0,159,227,0.08);
    }

    .cac-testimonial:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0,159,227,0.15);
        border-color: rgba(0,159,227,0.2);
    }

    .cac-testimonial__header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .cac-testimonial__avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #009FE3, #007AB8);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .cac-testimonial__author {
        flex: 1;
    }

    .cac-testimonial__author-name {
        font-weight: 700;
        color: #0a1520;
        font-size: 1.05rem;
        margin-bottom: 0.25rem;
    }

    .cac-testimonial__stars {
        color: #FFA500;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .cac-testimonial__platform {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.5rem;
        color: #4285F4;
    }

    .cac-testimonial__text {
        color: #475569;
        line-height: 1.7;
        font-size: 0.95rem;
        margin-bottom: 1rem;
        font-style: italic;
    }

    .cac-testimonial__footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.85rem;
        color: #94a3b8;
    }

    .cac-testimonial__verified {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #10b981;
        font-weight: 600;
    }

    /* CTA */
    .cac-testimonials__cta {
        text-align: center;
        margin-top: 3rem;
    }

    .cac-testimonials__btn {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        background: linear-gradient(135deg, #009FE3, #007AB8);
        color: white;
        padding: 1rem 2.5rem;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,159,227,0.3);
    }

    .cac-testimonials__btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0,159,227,0.4);
        gap: 1rem;
        color: white;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .cac-testimonials__content {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }

        .cac-testimonials__map-column {
            position: relative;
            top: 0;
        }

        .cac-testimonials__map-wrapper iframe {
            height: 450px;
        }
    }

    @media (max-width: 768px) {
        .cac-testimonials {
            padding: 4rem 1.5rem;
        }

        .cac-testimonials__content {
            gap: 2rem;
        }

        .cac-testimonials__map-wrapper iframe {
            height: 400px;
        }

        .cac-testimonial {
            padding: 1.5rem;
        }

        .cac-testimonials__map-label h3 {
            font-size: 1.1rem;
        }
    }



 .cac-team {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        background: #ffffff;
        padding: 6rem 2rem;
        position: relative;
        overflow: hidden;
    }

    /* Círculos decorativos flotantes */
    .cac-team::before {
        content: '';
        position: absolute;
        top: -150px;
        right: -150px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0,159,227,0.08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        animation: float 20s ease-in-out infinite;
    }

    .cac-team::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        animation: float 25s ease-in-out infinite reverse;
    }

    /* Círculos adicionales */
    .cac-team__decorative-circles {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .cac-team__circle {
        position: absolute;
        border-radius: 50%;
        opacity: 0.4;
    }

    .cac-team__circle--1 {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, rgba(0,159,227,0.1), rgba(0,159,227,0.05));
        top: 20%;
        left: 10%;
        animation: float 18s ease-in-out infinite;
    }

    .cac-team__circle--2 {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(124,58,237,0.03));
        top: 70%;
        right: 15%;
        animation: float 22s ease-in-out infinite;
        animation-delay: 2s;
    }

    .cac-team__circle--3 {
        width: 150px;
        height: 150px;
        background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(0,212,170,0.03));
        bottom: 15%;
        left: 20%;
        animation: float 20s ease-in-out infinite;
        animation-delay: 4s;
    }

    @keyframes float {
        0%, 100% {
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(20px, -20px) scale(1.05);
        }
        50% {
            transform: translate(-15px, 15px) scale(0.95);
        }
        75% {
            transform: translate(15px, 10px) scale(1.02);
        }
    }

    .cac-team__container {
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    /* ==========================================
        HEADER
    ========================================== */
    .cac-team__header {
        text-align: center;
        margin-bottom: 4.5rem;
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-team__title {
        font-size: clamp(2rem, 4vw, 2.8rem);
        font-weight: 700;
        color: #009FE3;
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
    }

    .cac-team__subtitle {
        font-size: 1.05rem;
        color: #64748b;
        line-height: 1.8;
        max-width: 800px;
        margin: 0 auto;
    }

    /* ==========================================
        GRID DE MIEMBROS
    ========================================== */
    .cac-team__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        margin-top: 3rem;
    }

    .cac-team-member {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(.22,1,.36,1);
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        border: 1px solid rgba(0,159,227,0.08);
        position: relative;
    }

    .cac-team-member:nth-child(1) { animation-delay: 0.3s; }
    .cac-team-member:nth-child(2) { animation-delay: 0.4s; }
    .cac-team-member:nth-child(3) { animation-delay: 0.5s; }

    .cac-team-member::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #009FE3, #00d4aa);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s cubic-bezier(.22,1,.36,1);
        z-index: 10;
    }

    .cac-team-member:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(0,159,227,0.2);
        border-color: rgba(0,159,227,0.2);
    }

    .cac-team-member:hover::before {
        transform: scaleX(1);
    }

    /* Imagen del miembro */
    .cac-team-member__image-wrap {
        position: relative;
        height: 380px;
        overflow: hidden;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    }

    .cac-team-member__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.6s cubic-bezier(.22,1,.36,1);
    }

    .cac-team-member:hover .cac-team-member__image {
        transform: scale(1.05);
    }

    /* Overlay decorativo */
    .cac-team-member__overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(to top, rgba(0,159,227,0.9) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        display: flex;
        align-items: flex-end;
        padding: 2rem;
    }

    .cac-team-member:hover .cac-team-member__overlay {
        opacity: 1;
    }

    .cac-team-member__overlay-icons {
        display: flex;
        gap: 1rem;
    }

    .cac-team-member__social {
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #009FE3;
        text-decoration: none;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        transform: translateY(20px);
        opacity: 0;
    }

    .cac-team-member:hover .cac-team-member__social {
        transform: translateY(0);
        opacity: 1;
    }

    .cac-team-member__social:nth-child(1) { transition-delay: 0.1s; }
    .cac-team-member__social:nth-child(2) { transition-delay: 0.15s; }
    .cac-team-member__social:nth-child(3) { transition-delay: 0.2s; }

    .cac-team-member__social:hover {
        background: #009FE3;
        color: white;
        transform: translateY(-5px);
    }

    /* Badge de especialidad */
    .cac-team-member__badge {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: linear-gradient(135deg, #009FE3, #007AB8);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 15px rgba(0,159,227,0.4);
        z-index: 5;
    }

    /* Contenido */
    .cac-team-member__content {
        padding: 2rem 2rem 2.5rem;
        text-align: center;
    }

    .cac-team-member__name {
        font-size: 1.35rem;
        font-weight: 700;
        color: #0a1520;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .cac-team-member__credentials {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
    }

    .cac-team-member__credential {
        font-size: 0.9rem;
        color: #64748b;
        line-height: 1.6;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }

    .cac-team-member__credential i {
        color: #009FE3;
        margin-top: 0.25rem;
        flex-shrink: 0;
    }

    /* Divider con gradiente */
    .cac-team-member__divider {
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, #009FE3 50%, transparent 100%);
        margin: 1.5rem 0;
    }

    /* Variantes de color */
    .cac-team-member--variant-1 .cac-team-member__badge {
        background: linear-gradient(135deg, #009FE3, #007AB8);
    }

    .cac-team-member--variant-2 .cac-team-member__badge {
        background: linear-gradient(135deg, #00d4aa, #00b894);
    }

    .cac-team-member--variant-3 .cac-team-member__badge {
        background: linear-gradient(135deg, #7c3aed, #5b21b6);
    }

    /* ==========================================
        ANIMACIONES
    ========================================== */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */
    @media (max-width: 1024px) {
        .cac-team__grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
        }
    }

    @media (max-width: 768px) {
        .cac-team {
            padding: 4rem 1.5rem;
        }

        .cac-team__header {
            margin-bottom: 3rem;
        }

        .cac-team__grid {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }

        .cac-team-member__image-wrap {
            height: 350px;
        }

        .cac-team-member__content {
            padding: 1.75rem 1.5rem 2rem;
        }

        .cac-team-member__name {
            font-size: 1.25rem;
        }
    }    

    /* ==========================================
       Fin css Home
    ========================================== */


  /* ==========================================
        csss nosotros
    ========================================== */
    .hero-design-3 {
        font-family: 'Inter', sans-serif;
        min-height: 95vh;
        background: linear-gradient(180deg, #F7FDFB 0%, #ffffff 100%);
        position: relative;
        overflow: hidden;
    }

    .hero-design-3::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: 
            radial-gradient(circle at 80% 30%, rgba(0,159,227,0.08) 0%, transparent 50%),
            radial-gradient(circle at 60% 70%, rgba(0,159,227,0.05) 0%, transparent 50%);
    }

    .hero-design-3 .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 6rem 3rem;
        position: relative;
        z-index: 2;
    }

    .hero-design-3 .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        align-items: center;
    }

    .hero-design-3 .text-section {
        max-width: 600px;
    }

    .hero-design-3 .super-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        background: linear-gradient(135deg, #009FE3, #007AB8);
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 100px;
        font-size: 0.85rem;
        font-weight: 700;
        margin-bottom: 2rem;
        box-shadow: 0 5px 15px rgba(0,159,227,0.3);
        animation: fadeInDown 0.8s ease-out;
    }

    .hero-design-3 h1 {
        font-size: clamp(3rem, 6vw, 5rem);
        font-weight: 900;
        color: #0a1520;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
        animation: fadeInUp 0.8s ease-out 0.2s backwards;
    }

    .hero-design-3 .gradient-text {
        background: linear-gradient(135deg, #009FE3 0%, #007AB8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-design-3 .lead-text {
        font-size: 1.3rem;
        color: #475569;
        line-height: 1.8;
        margin-bottom: 3rem;
        font-weight: 400;
        animation: fadeInUp 0.8s ease-out 0.4s backwards;
    }

    .hero-design-3 .action-row {
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-bottom: 4rem;
        animation: fadeInUp 0.8s ease-out 0.6s backwards;
    }

    .hero-design-3 .primary-btn {
        background: linear-gradient(135deg, #009FE3, #007AB8);
        color: white;
        padding: 1.3rem 3rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0,159,227,0.3);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .hero-design-3 .primary-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0,159,227,0.4);
    }

    .hero-design-3 .secondary-action {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: #0a1520;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .hero-design-3 .secondary-action:hover {
        color: #009FE3;
        transform: translateX(5px);
    }

    .hero-design-3 .play-icon {
        width: 50px;
        height: 50px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 20px rgba(0,159,227,0.2);
        font-size: 1.2rem;
        color: #009FE3;
        transition: all 0.3s ease;
    }

    .hero-design-3 .secondary-action:hover .play-icon {
        box-shadow: 0 8px 25px rgba(0,159,227,0.3);
        transform: scale(1.05);
    }

    .hero-design-3 .mini-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding-top: 2rem;
        border-top: 2px solid #e2e8f0;
        animation: fadeInUp 0.8s ease-out 0.8s backwards;
    }

    .hero-design-3 .mini-stat h3 {
        font-size: 2.5rem;
        font-weight: 900;
        color: #009FE3;
        margin-bottom: 0.3rem;
        line-height: 1;
    }

    .hero-design-3 .mini-stat p {
        font-size: 0.9rem;
        color: #64748b;
        font-weight: 600;
    }

    .hero-design-3 .visual-section {
        position: relative;
        animation: fadeInRight 1s ease-out 0.4s backwards;
    }

    .hero-design-3 .main-image-wrapper {
        position: relative;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0,159,227,0.2);
        transition: all 0.4s ease;
    }

    .hero-design-3 .main-image-wrapper:hover {
        transform: translateY(-10px);
        box-shadow: 0 40px 100px rgba(0,159,227,0.25);
    }

    .hero-design-3 .main-image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-design-3 .floating-elements {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .hero-design-3 .floating-card-small {
        position: absolute;
        background: white;
        padding: 1.5rem;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,159,227,0.25);
        display: flex;
        align-items: center;
        gap: 1rem;
        pointer-events: auto;
        transition: all 0.3s ease;
    }

    .hero-design-3 .floating-card-small:hover {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(0,159,227,0.3);
    }

    .hero-design-3 .floating-card-small:nth-child(1) {
        top: 10%;
        right: -30px;
        animation: floatAnimation 6s ease-in-out infinite;
    }

    .hero-design-3 .floating-card-small:nth-child(2) {
        bottom: 15%;
        left: -30px;
        animation: floatAnimation 6s ease-in-out infinite 3s;
    }

    .hero-design-3 .small-card-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #009FE3, #007AB8);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: white;
        flex-shrink: 0;
    }

    .hero-design-3 .small-card-content h4 {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0a1520;
        margin-bottom: 0.2rem;
    }

    .hero-design-3 .small-card-content p {
        font-size: 0.85rem;
        color: #64748b;
        margin: 0;
    }

    /* Animaciones */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(40px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes floatAnimation {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */
    @media (max-width: 1024px) {
        .hero-design-3 .content-grid {
            grid-template-columns: 1fr;
            gap: 4rem;
        }

        .hero-design-3 .floating-card-small {
            display: none;
        }

        .hero-design-3 .container {
            padding: 4rem 2rem;
        }
    }

    @media (max-width: 768px) {
        .hero-design-3 {
            min-height: auto;
            padding: 3rem 0;
        }

        .hero-design-3 .container {
            padding: 3rem 1.5rem;
        }

        .hero-design-3 h1 {
            font-size: 2.5rem;
        }

        .hero-design-3 .lead-text {
            font-size: 1.1rem;
        }

        .hero-design-3 .action-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }

        .hero-design-3 .primary-btn {
            width: 100%;
            justify-content: center;
        }

        .hero-design-3 .mini-stats {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .hero-design-3 .mini-stat {
            text-align: center;
        }
    }

    @media (max-width: 480px) {
        .hero-design-3 h1 {
            font-size: 2rem;
        }

        .hero-design-3 .lead-text {
            font-size: 1rem;
        }

        .hero-design-3 .primary-btn {
            padding: 1rem 2rem;
            font-size: 1rem;
        }

        .hero-design-3 .mini-stat h3 {
            font-size: 2rem;
        }
    }

/* ==========================================
   VARIABLES
========================================== */
/* ==========================================
   VARIABLES
========================================== */
.trust-section {
    --ts-primary: #009FE3;
    --ts-primary-dark: #007AB8;
    --ts-primary-light: #33B3E8;
    --ts-accent: #00d4aa;
    --ts-purple: #7c3aed;
    --ts-orange: #FF6B35;
    --ts-text-dark: #0a1520;
    --ts-text-gray: #64748b;
    --ts-white: #ffffff;
}

/* ==========================================
   FIX GLOBAL — TODO CONTENIDO EN CAJA
========================================== */
.trust-section,
.trust-section *,
.trust-section *::before,
.trust-section *::after {
    box-sizing: border-box;
}

/* ==========================================
   SECCIÓN PRINCIPAL
========================================== */
.trust-section {
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 5rem 0 4rem;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Background */
.trust-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.trust-section__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #f8fafc 100%);
}

.trust-section__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,159,227,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,212,170,0.05) 0%, transparent 50%);
}

.trust-section__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: tsFloat 20s ease-in-out infinite;
}

.trust-section__shape--1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0,159,227,0.15), rgba(0,212,170,0.1));
    top: -80px;
    left: -80px;
}

.trust-section__shape--2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(0,159,227,0.08));
    bottom: -80px;
    right: -80px;
    animation-delay: -10s;
}

/* ==========================================
   CONTAINER
========================================== */
.trust-section__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* ==========================================
   GRID SUPERIOR
========================================== */
.trust-section__top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* ==========================================
   COLUMNA IZQUIERDA
========================================== */
.trust-section__content {
    min-width: 0;
    width: 100%;
}

.trust-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0,159,227,0.1), rgba(0,212,170,0.1));
    border: 1.5px solid rgba(0,159,227,0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ts-primary);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,159,227,0.12);
}

.trust-section__badge i {
    font-size: 0.95rem;
}

/* Título reducido */
.trust-section__title {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.trust-section__title-line {
    display: block;
    color: var(--ts-text-dark);
}

.trust-section__title-line--gradient {
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-section__description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ts-text-gray);
    margin-bottom: 0.5rem;
}

.trust-section__benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
}

.trust-section__benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ts-text-gray);
}

.trust-section__benefit-item i {
    font-size: 1.1rem;
    color: var(--ts-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Stats */
.trust-section__stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,159,227,0.1);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.trust-section__stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.trust-section__stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--ts-white);
    flex-shrink: 0;
}

.trust-section__stat-content {
    display: flex;
    flex-direction: column;
}

.trust-section__stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.15rem;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-section__stat-label {
    font-size: 0.75rem;
    color: var(--ts-text-gray);
    font-weight: 600;
    line-height: 1.3;
}

.trust-section__stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, rgba(0,159,227,0.2), transparent);
    flex-shrink: 0;
}

/* ==========================================
   COLUMNA DERECHA — IMAGEN
========================================== */
.trust-section__image-col {
    min-width: 0;
    width: 100%;
    position: relative;
}

.trust-section__image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-shadow:
        0 20px 60px rgba(0,159,227,0.18),
        0 8px 20px rgba(0,0,0,0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trust-section__image-wrap:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 80px rgba(0,159,227,0.25),
        0 12px 30px rgba(0,0,0,0.1);
}

.trust-section__image {
    width: 100%;
    max-height: 420px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.trust-section__image-wrap:hover .trust-section__image {
    transform: scale(1.03);
}

.trust-section__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,159,227,0.1) 100%);
    pointer-events: none;
}

.trust-section__decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
    animation: tsPulse 3s ease-in-out infinite;
}

.trust-section__decoration-circle--1 {
    width: 80px;
    height: 80px;
    top: 15%;
    right: -8px;
}

.trust-section__decoration-circle--2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: -8px;
    animation-delay: 1.5s;
}

/* Badge flotante */
.trust-section__floating-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 12px 40px rgba(0,159,227,0.3);
    transition: transform 0.3s ease;
}

.trust-section__floating-badge:hover {
    transform: translateY(-3px);
}

.trust-section__floating-badge-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--ts-white);
    flex-shrink: 0;
    animation: tsIconBounce 2s ease infinite;
}

.trust-section__floating-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-section__floating-badge-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ts-text-dark);
}

.trust-section__floating-badge-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ts-primary);
}

/* ==========================================
   SECCIÓN RAZONES
========================================== */
.trust-section__reasons {
    text-align: center;
}

.trust-section__reasons-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 900;
    color: var(--ts-text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.trust-section__reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.trust-section__reason-card {
    background: var(--ts-white);
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(0,159,227,0.08);
    box-shadow: 0 6px 24px rgba(0,159,227,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.trust-section__reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,159,227,0.18);
    border-color: rgba(0,159,227,0.18);
}

.trust-section__reason-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--ts-white);
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0,159,227,0.25);
    transition: transform 0.3s ease;
}

.trust-section__reason-icon--accent {
    background: linear-gradient(135deg, var(--ts-accent), #00b894);
    box-shadow: 0 8px 20px rgba(0,212,170,0.25);
}

.trust-section__reason-icon--purple {
    background: linear-gradient(135deg, var(--ts-purple), #6366f1);
    box-shadow: 0 8px 20px rgba(124,58,237,0.25);
}

.trust-section__reason-icon--orange {
    background: linear-gradient(135deg, var(--ts-orange), #f59e0b);
    box-shadow: 0 8px 20px rgba(255,107,53,0.25);
}

.trust-section__reason-card:hover .trust-section__reason-icon {
    transform: translateY(-5px) rotate(4deg);
}

.trust-section__reason-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ts-text-dark);
    margin-bottom: 0.5rem;
}

.trust-section__reason-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ts-text-gray);
}

/* ==========================================
   ANIMACIONES
========================================== */
@keyframes tsFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(15px, -15px) scale(1.04); }
    50%  { transform: translate(-10px, 10px) scale(0.96); }
    75%  { transform: translate(10px, 8px) scale(1.02); }
}

@keyframes tsPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.1); }
}

@keyframes tsIconBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1100px) {
    .trust-section__reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .trust-section__top-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }

    .trust-section__image-col {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .trust-section {
        padding: 3.5rem 0 3rem;
    }

    .trust-section__container {
        padding: 0 1.25rem;
    }

    .trust-section__stats {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-section__stat-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0,159,227,0.2), transparent);
    }

    .trust-section__reasons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-section__floating-badge {
        left: 0.75rem;
        bottom: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .trust-section__floating-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .trust-section__image {
        max-height: 300px;
    }
}

@media (max-width: 400px) {
    .trust-section__container {
        padding: 0 1rem;
    }

    .trust-section__floating-badge {
        left: 0.5rem;
        bottom: 0.5rem;
        padding: 0.6rem 0.85rem;
        gap: 0.6rem;
    }

    .trust-section__floating-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/*fin css nosotros*/




   /* ==========================================
        csss estados
    ========================================== */
    :root {
        --color-primary: #009FE3;
        --color-primary-dark: #007AB8;
        --color-dark: #0a1520;
        --color-text: #475569;
        --color-text-light: #64748b;
        --color-bg-light: #F7FDFB;
        --shadow-sm: 0 10px 30px rgba(0,159,227,0.1);
        --shadow-md: 0 20px 60px rgba(0,159,227,0.2);
        --shadow-lg: 0 30px 80px rgba(0,159,227,0.25);
    }

    /* ==========================================
        HERO SECTION - ESTADOS FINANCIEROS
    ========================================== */
    .cac-financial-hero {
        font-family: 'Inter', sans-serif;
        position: relative;
        min-height: 45vh;
        display: flex;
        align-items: center;
        background: #ffffff;
        padding: 5rem 2rem 3rem;
        overflow: hidden;
        border-bottom: 1px solid rgba(0,159,227,0.1);
    }

    .cac-financial-hero__container {
        max-width: 900px;
        margin: 0 auto;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .cac-financial-hero__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.2rem;
        background: rgba(0,159,227,0.08);
        border-radius: 100px;
        color: var(--color-primary);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        margin-bottom: 1.5rem;
        opacity: 0;
        animation: fadeInDown 0.8s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-financial-hero__title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        font-weight: 800;
        color: var(--color-dark);
        line-height: 1.1;
        margin-bottom: 1rem;
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    .cac-financial-hero__description {
        font-size: 1.05rem;
        color: var(--color-text-light);
        line-height: 1.6;
        max-width: 600px;
        margin: 0 auto;
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.5s forwards;
    }

    /* ==========================================
        DOCUMENTOS SECTION - MINIMALISTA
    ========================================== */
    .cac-financial-documents {
        font-family: 'Inter', sans-serif;
        background: #fafafa;
        padding: 5rem 2rem;
        position: relative;
    }

    .cac-financial-documents__container {
        max-width: 900px;
        margin: 0 auto;
    }

    /* Grid de años */
    .cac-financial-documents__years {
        display: grid;
        gap: 3rem;
    }

    .cac-financial-documents__year-block {
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
    }

    .cac-financial-documents__year-block:nth-child(1) { animation-delay: 0.3s; }
    .cac-financial-documents__year-block:nth-child(2) { animation-delay: 0.4s; }

    .cac-financial-documents__year-header {
        margin-bottom: 1.5rem;
    }

    .cac-financial-documents__year-title {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--color-dark);
        margin: 0 0 0.5rem 0;
    }

    .cac-financial-documents__year-subtitle {
        font-size: 0.95rem;
        color: var(--color-text-light);
        margin: 0;
    }

    .cac-financial-documents__docs-grid {
        display: grid;
        gap: 1rem;
    }

    .cac-financial-documents__doc-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.8rem;
        background: white;
        border-radius: 12px;
        border: 1px solid rgba(0,159,227,0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cac-financial-documents__doc-item:hover {
        border-color: var(--color-primary);
        box-shadow: 0 4px 20px rgba(0,159,227,0.08);
    }

    .cac-financial-documents__doc-info {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .cac-financial-documents__doc-icon {
        width: 45px;
        height: 45px;
        background: rgba(0,159,227,0.08);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-primary);
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .cac-financial-documents__doc-details h4 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-dark);
        margin-bottom: 0.2rem;
    }

    .cac-financial-documents__doc-details p {
        font-size: 0.85rem;
        color: var(--color-text-light);
        margin: 0;
    }

    .cac-financial-documents__doc-download {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.6rem 1.5rem;
        background: transparent;
        color: var(--color-primary);
        font-size: 0.9rem;
        font-weight: 600;
        border: 1.5px solid var(--color-primary);
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cac-financial-documents__doc-download:hover {
        background: var(--color-primary);
        color: white;
    }

    .cac-financial-documents__doc-download i {
        font-size: 1rem;
    }

    /* ==========================================
        INFORMACIÓN ADICIONAL - MINIMALISTA
    ========================================== */
    .cac-financial-info {
        font-family: 'Inter', sans-serif;
        background: white;
        padding: 4rem 2rem;
        border-top: 1px solid rgba(0,159,227,0.1);
    }

    .cac-financial-info__container {
        max-width: 900px;
        margin: 0 auto;
    }

    .cac-financial-info__card {
        background: #fafafa;
        border-radius: 12px;
        padding: 2.5rem;
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    .cac-financial-info__card-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--color-dark);
        margin-bottom: 1rem;
    }

    .cac-financial-info__card-text {
        font-size: 0.95rem;
        color: var(--color-text);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .cac-financial-info__card-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 0.8rem;
    }

    .cac-financial-info__card-list li {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.5rem 0;
        font-size: 0.9rem;
        color: var(--color-text);
    }

    .cac-financial-info__card-list i {
        color: var(--color-primary);
        font-size: 1.1rem;
    }

    /* ==========================================
        ANIMACIONES
    ========================================== */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes float {
        0%, 100% {
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(20px, -20px) scale(1.05);
        }
        50% {
            transform: translate(-15px, 15px) scale(0.95);
        }
        75% {
            transform: translate(15px, 10px) scale(1.02);
        }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */
    @media (max-width: 768px) {
        .cac-financial-hero {
            min-height: 35vh;
            padding: 3.5rem 1.5rem 2.5rem;
        }

        .cac-financial-hero__title {
            font-size: 2rem;
        }

        .cac-financial-hero__description {
            font-size: 0.95rem;
        }

        .cac-financial-documents {
            padding: 3.5rem 1.5rem;
        }

        .cac-financial-documents__year-title {
            font-size: 1.5rem;
        }

        .cac-financial-documents__doc-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.2rem;
            padding: 1.3rem;
        }

        .cac-financial-documents__doc-download {
            width: 100%;
            justify-content: center;
        }

        .cac-financial-info {
            padding: 3.5rem 1.5rem;
        }

        .cac-financial-info__card {
            padding: 2rem;
        }
    }

    @media (max-width: 480px) {
        .cac-financial-hero__title {
            font-size: 1.8rem;
        }

        .cac-financial-documents__year-title {
            font-size: 1.3rem;
        }

        .cac-financial-documents__doc-icon {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
    }

    /* ==========================================
        fin csss estados
    ========================================== */






 /* ==========================================
        css servicios
    ========================================== */
    .cac-services-hero {
        font-family: 'Inter', sans-serif;
        position: relative;
        min-height: 70vh;
        display: flex;
        align-items: center;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%),
                    url('<?= media(); ?>/landing/img/hero-services-bg.jpg') center/cover no-repeat;
        padding: 7rem 2rem 4rem;
    }

    /* Overlay sutil */
    .cac-services-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0,159,227,0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0,212,170,0.04) 0%, transparent 50%);
        pointer-events: none;
        z-index: 1;
    }

    /* Contenedor principal */
    .cac-services-hero__container {
        max-width: 1300px;
        margin: 0 auto;
        width: 100%;
        position: relative;
        z-index: 10;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    /* ==========================================
        CONTENIDO - LADO IZQUIERDO
    ========================================== */
    .cac-services-hero__content {
        max-width: 550px;
    }

    .cac-services-hero__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(0,159,227,0.08);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 1.5rem;
        opacity: 0;
        animation: fadeInDown 0.6s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-services-hero__badge i {
        font-size: 0.9rem;
    }

    .cac-services-hero__title {
        font-size: clamp(2.5rem, 5vw, 3.75rem);
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 1.25rem;
        letter-spacing: -0.02em;
        color: #0a1520;
        opacity: 0;
        animation: fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    .cac-services-hero__title-highlight {
        display: block;
        background: linear-gradient(135deg, #009FE3 0%, #00d4aa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .cac-services-hero__description {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #64748b;
        margin-bottom: 2rem;
        font-weight: 400;
        opacity: 0;
        animation: fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.4s forwards;
    }

    /* CTAs */
    .cac-services-hero__actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        opacity: 0;
        animation: fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.5s forwards;
    }

    .cac-services-hero__cta {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.875rem 1.75rem;
        border-radius: 100px;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cac-services-hero__cta--primary {
        background: #009FE3;
        color: white;
        box-shadow: 0 4px 15px rgba(0,159,227,0.25);
    }

    .cac-services-hero__cta--primary:hover {
        background: #007AB8;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,159,227,0.35);
        color: white;
    }

    .cac-services-hero__cta--secondary {
        background: transparent;
        color: #009FE3;
        border: 1.5px solid #009FE3;
    }

    .cac-services-hero__cta--secondary:hover {
        background: #009FE3;
        color: white;
        transform: translateY(-2px);
    }

    .cac-services-hero__cta i {
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    .cac-services-hero__cta:hover i {
        transform: translateX(3px);
    }

    /* ==========================================
        VISUAL - LADO DERECHO
    ========================================== */
    .cac-services-hero__visual {
        position: relative;
        height: 100%;
        min-height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        animation: fadeInRight 0.8s cubic-bezier(.22,1,.36,1) 0.5s forwards;
    }

    .cac-services-hero__image-wrapper {
        position: relative;
        width: 100%;
        max-width: 500px;
    }

    /* Círculo central decorativo */
    .cac-services-hero__center-circle {
        position: relative;
        width: 100%;
        aspect-ratio: 1;
        background: linear-gradient(135deg, rgba(0,159,227,0.08), rgba(0,212,170,0.06));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 20px 60px rgba(0,159,227,0.15);
    }

    .cac-services-hero__center-circle::before {
        content: '';
        position: absolute;
        inset: 25px;
        background: white;
        border-radius: 50%;
        box-shadow: inset 0 10px 30px rgba(0,159,227,0.08);
    }

    .cac-services-hero__center-icon {
        font-size: 6rem;
        color: #009FE3;
        position: relative;
        z-index: 1;
        opacity: 0.15;
    }

    /* Cards flotantes minimalistas */
    .cac-services-hero__floating-card {
        position: absolute;
        background: white;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0,159,227,0.12);
        border-radius: 16px;
        padding: 1.25rem 1.5rem;
        box-shadow: 0 10px 35px rgba(0,159,227,0.12);
        animation: cardFloat 5s ease-in-out infinite;
    }

    .cac-services-hero__floating-card--1 {
        top: 8%;
        right: -8%;
        animation-delay: 0s;
    }

    .cac-services-hero__floating-card--2 {
        bottom: 12%;
        left: -8%;
        animation-delay: 1.5s;
    }

    .cac-services-hero__floating-card--3 {
        top: 48%;
        right: -12%;
        animation-delay: 3s;
    }

    @keyframes cardFloat {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-15px);
        }
    }

    .cac-services-hero__card-icon {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.3rem;
        margin-bottom: 0.65rem;
        box-shadow: 0 6px 18px rgba(0,159,227,0.25);
    }

    .cac-services-hero__card-title {
        font-size: 0.9rem;
        font-weight: 700;
        color: #0a1520;
        margin-bottom: 0.2rem;
    }

    .cac-services-hero__card-text {
        font-size: 0.8rem;
        color: #64748b;
        font-weight: 500;
    }

    /* Stats minimalistas */
    .cac-services-hero__stats {
        display: flex;
        gap: 2.5rem;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0,159,227,0.15);
        opacity: 0;
        animation: fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.6s forwards;
    }

    .cac-services-hero__stat {
        display: flex;
        flex-direction: column;
    }

    .cac-services-hero__stat-number {
        font-size: 1.85rem;
        font-weight: 800;
        color: #009FE3;
        line-height: 1;
        margin-bottom: 0.4rem;
    }

    .cac-services-hero__stat-label {
        font-size: 0.8rem;
        color: #64748b;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Animaciones */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */
    @media (max-width: 1024px) {
        .cac-services-hero__container {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .cac-services-hero__visual {
            order: -1;
            min-height: 400px;
        }

        .cac-services-hero__content {
            max-width: 100%;
        }

        .cac-services-hero__floating-card--1 {
            right: 0;
            top: 5%;
        }

        .cac-services-hero__floating-card--2 {
            left: 0;
            bottom: 5%;
        }

        .cac-services-hero__floating-card--3 {
            right: 0;
        }
    }

    @media (max-width: 768px) {
        .cac-services-hero {
            padding: 6rem 1.5rem 3rem;
            min-height: 60vh;
        }

        .cac-services-hero__visual {
            min-height: 320px;
        }

        .cac-services-hero__image-wrapper {
            max-width: 400px;
        }

        .cac-services-hero__floating-card {
            padding: 1rem 1.25rem;
        }

        .cac-services-hero__floating-card--3 {
            display: none;
        }

        .cac-services-hero__card-icon {
            width: 40px;
            height: 40px;
            font-size: 1.1rem;
        }

        .cac-services-hero__card-title {
            font-size: 0.85rem;
        }

        .cac-services-hero__card-text {
            font-size: 0.75rem;
        }

        .cac-services-hero__center-icon {
            font-size: 4.5rem;
        }

        .cac-services-hero__badge {
            font-size: 0.7rem;
            padding: 0.45rem 1rem;
        }

        .cac-services-hero__title {
            font-size: 2.25rem;
            margin-bottom: 1rem;
        }

        .cac-services-hero__description {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        .cac-services-hero__actions {
            flex-direction: column;
            gap: 0.75rem;
        }

        .cac-services-hero__cta {
            width: 100%;
            justify-content: center;
            padding: 0.8rem 1.5rem;
            font-size: 0.875rem;
        }

        .cac-services-hero__stats {
            gap: 1.5rem;
            margin-top: 2rem;
            padding-top: 1.5rem;
        }

        .cac-services-hero__stat-number {
            font-size: 1.65rem;
        }
    }

    @media (max-width: 480px) {
        .cac-services-hero {
            padding: 5rem 1rem 2.5rem;
            min-height: 55vh;
        }

        .cac-services-hero__visual {
            min-height: 280px;
        }

        .cac-services-hero__image-wrapper {
            max-width: 300px;
        }

        .cac-services-hero__floating-card {
            padding: 0.875rem 1rem;
        }

        .cac-services-hero__floating-card--1,
        .cac-services-hero__floating-card--2 {
            position: relative;
            top: auto;
            left: auto;
            right: auto;
            bottom: auto;
            display: none;
        }

        .cac-services-hero__center-icon {
            font-size: 3.5rem;
        }

        .cac-services-hero__badge {
            font-size: 0.65rem;
            padding: 0.4rem 0.875rem;
            margin-bottom: 1rem;
        }

        .cac-services-hero__title {
            font-size: 1.85rem;
            margin-bottom: 0.875rem;
        }

        .cac-services-hero__description {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.25rem;
        }

        .cac-services-hero__cta {
            padding: 0.75rem 1.25rem;
            font-size: 0.85rem;
        }

        .cac-services-hero__stats {
            gap: 1.25rem;
            margin-top: 1.75rem;
            padding-top: 1.25rem;
            flex-wrap: wrap;
        }

        .cac-services-hero__stat {
            flex: 1;
            min-width: calc(50% - 0.625rem);
        }

        .cac-services-hero__stat-number {
            font-size: 1.5rem;
        }

        .cac-services-hero__stat-label {
            font-size: 0.7rem;
        }
    }

    /* Accesibilidad */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        .cac-services-hero__floating-card {
            animation: none;
        }
    }    


/* ==========================================
        SERVICES SECTION
    ========================================== */
    .cac-services-section {
        font-family: 'Inter', sans-serif;
        padding: 5rem 2rem;
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
        position: relative;
        overflow: hidden;
    }

    .cac-services-section::before {
        content: '';
        position: absolute;
        top: -100px;
        left: -100px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0,159,227,0.05) 0%, transparent 70%);
        pointer-events: none;
    }

    .cac-services-section::after {
        content: '';
        position: absolute;
        bottom: -100px;
        right: -100px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0,212,170,0.05) 0%, transparent 70%);
        pointer-events: none;
    }

    /* ---- Header ---- */
    .cac-services-section__header {
        text-align: center;
        max-width: 700px;
        margin: 0 auto 4rem;
        position: relative;
        z-index: 2;
    }

    .cac-services-section__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(0,159,227,0.08);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 1.25rem;
        opacity: 0;
        animation: svc-fadeInDown 0.6s cubic-bezier(.22,1,.36,1) 0.1s forwards;
    }

    .cac-services-section__title {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.02em;
        color: #0a1520;
        margin-bottom: 1rem;
        opacity: 0;
        animation: svc-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-services-section__title-highlight {
        background: linear-gradient(135deg, #009FE3 0%, #00d4aa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .cac-services-section__subtitle {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #64748b;
        font-weight: 400;
        opacity: 0;
        animation: svc-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    /* ---- Grid ---- */
    .cac-services-section__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1300px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    /* ---- Card ---- */
    .cac-services-card {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(0,159,227,0.1);
        box-shadow: 0 8px 30px rgba(0,159,227,0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        opacity: 0;
        animation: svc-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) forwards;
        display: flex;
        flex-direction: column;
    }

    .cac-services-card:nth-child(1) { animation-delay: 0.35s; }
    .cac-services-card:nth-child(2) { animation-delay: 0.45s; }
    .cac-services-card:nth-child(3) { animation-delay: 0.55s; }

    .cac-services-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0,159,227,0.18);
        border-color: rgba(0,159,227,0.3);
    }

    /* Image Area */
    .cac-services-card__image-wrap {
        position: relative;
        height: 240px;
        overflow: hidden;
    }

    .cac-services-card__image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cac-services-card:hover .cac-services-card__image-wrap img {
        transform: scale(1.07);
    }

    /* Gradient overlay on image */
    .cac-services-card__image-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            transparent 40%,
            rgba(0,20,40,0.55) 100%
        );
        transition: opacity 0.4s ease;
    }

    /* Number badge top-left */
    .cac-services-card__number {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 36px;
        height: 36px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 800;
        color: #009FE3;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 2;
    }

    /* Icon chip bottom-right on image */
    .cac-services-card__icon-chip {
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        box-shadow: 0 6px 20px rgba(0,159,227,0.35);
        z-index: 2;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .cac-services-card:hover .cac-services-card__icon-chip {
        transform: scale(1.12) rotate(-5deg);
        box-shadow: 0 10px 28px rgba(0,159,227,0.45);
    }

    /* Body */
    .cac-services-card__body {
        padding: 1.75rem 1.75rem 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .cac-services-card__name {
        font-size: 1.15rem;
        font-weight: 800;
        color: #0a1520;
        margin-bottom: 0.65rem;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .cac-services-card__desc {
        font-size: 0.875rem;
        color: #64748b;
        line-height: 1.65;
        margin-bottom: 1.25rem;
        flex: 1;
    }

    /* Tags */
    .cac-services-card__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .cac-services-card__tag {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.3rem 0.75rem;
        background: rgba(0,159,227,0.07);
        border: 1px solid rgba(0,159,227,0.15);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .cac-services-card__tag i {
        font-size: 0.75rem;
    }

    /* CTA Button */
    .cac-services-card__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.85rem 1.5rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        color: white;
        background: #009FE3;
        border: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0,159,227,0.25);
        position: relative;
        overflow: hidden;
    }

    .cac-services-card__btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .cac-services-card:hover .cac-services-card__btn {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,159,227,0.4);
    }

    .cac-services-card:hover .cac-services-card__btn::before {
        opacity: 1;
    }

    .cac-services-card__btn span,
    .cac-services-card__btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .cac-services-card:hover .cac-services-card__btn i {
        transform: translateX(4px);
    }

    /* ---- Divider line between cards ---- */
    .cac-services-section__divider {
        max-width: 1300px;
        margin: 3.5rem auto 0;
        border: none;
        border-top: 1px solid rgba(0,159,227,0.12);
        position: relative;
        z-index: 2;
    }

    /* ---- Bottom CTA strip ---- */
    .cac-services-section__cta-strip {
        max-width: 1300px;
        margin: 2.5rem auto 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
        opacity: 0;
        animation: svc-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.7s forwards;
    }

    .cac-services-section__cta-text {
        font-size: 1.05rem;
        color: #0a1520;
        font-weight: 600;
    }

    .cac-services-section__cta-text span {
        color: #009FE3;
    }

    .cac-services-section__cta-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.875rem 2rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        color: white;
        box-shadow: 0 6px 20px rgba(0,159,227,0.3);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .cac-services-section__cta-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,159,227,0.4);
        color: white;
    }

    .cac-services-section__cta-link i {
        transition: transform 0.3s ease;
    }

    .cac-services-section__cta-link:hover i {
        transform: translateX(4px);
    }

    /* ---- Animations ---- */
    @keyframes svc-fadeInUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes svc-fadeInDown {
        from { opacity: 0; transform: translateY(-15px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ---- Responsive ---- */
    @media (max-width: 1024px) {
        .cac-services-section__grid {
            grid-template-columns: 1fr 1fr;
        }

        .cac-services-card:nth-child(3) {
            grid-column: 1 / -1;
            max-width: 520px;
            margin: 0 auto;
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .cac-services-section {
            padding: 3.5rem 1.5rem;
        }

        .cac-services-section__grid {
            grid-template-columns: 1fr;
        }

        .cac-services-card:nth-child(3) {
            grid-column: auto;
            max-width: 100%;
        }

        .cac-services-card__image-wrap {
            height: 200px;
        }

        .cac-services-section__cta-strip {
            flex-direction: column;
            text-align: center;
        }

        .cac-services-section__cta-link {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .cac-services-section {
            padding: 2.5rem 1rem;
        }
        .cac-services-section__title {
            font-size: 1.75rem;
        }
        .cac-services-card__body {
            padding: 1.25rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }    



  /* ==========================================
        SPECIALIST SECTION — BENTO GRID DESIGN
    ========================================== */
    .cac-specialist {
        font-family: 'Inter', sans-serif;
        padding: 5rem 2rem;
        background: #ffffff;
        position: relative;
        overflow: hidden;
    }

    /* Background texture */
    .cac-specialist::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 60% 50% at 15% 50%, rgba(0,159,227,0.05) 0%, transparent 70%),
            radial-gradient(ellipse 40% 60% at 85% 20%, rgba(0,212,170,0.04) 0%, transparent 60%);
        pointer-events: none;
    }

    /* Grid lines decoration */
    .cac-specialist::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(0,159,227,0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0,159,227,0.05) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
    }

    .cac-specialist__inner {
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    /* ---- Section Label ---- */
    .cac-specialist__label {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 3rem;
        opacity: 0;
        animation: sp-fadeIn 0.6s ease 0.1s forwards;
    }

    .cac-specialist__label-line {
        height: 2px;
        width: 40px;
        background: linear-gradient(90deg, #009FE3, #00d4aa);
        border-radius: 2px;
    }

    .cac-specialist__label-text {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #009FE3;
    }

    /* ==========================================
        BENTO GRID
    ========================================== */
    .cac-specialist__bento {
        display: grid;
        grid-template-columns: 340px 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 1.25rem;
    }

    /* ---- Base Card ---- */
    .sp-card {
        border-radius: 24px;
        border: 1px solid rgba(0,159,227,0.12);
        padding: 2rem;
        position: relative;
        overflow: hidden;
        transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
        opacity: 0;
        animation: sp-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) forwards;
        box-shadow: 0 4px 20px rgba(0,159,227,0.06);
    }

    .sp-card:hover {
        border-color: rgba(0,159,227,0.3);
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(0,159,227,0.12);
    }

    /* Card variants */
    .sp-card--dark   { background: #f8fafc; }
    .sp-card--blue   { background: linear-gradient(135deg, #009FE3 0%, #007ec4 100%); border-color: transparent; }
    .sp-card--teal   { background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(0,159,227,0.05)); border-color: rgba(0,159,227,0.15); }
    .sp-card--glass  { background: #f8fafc; border-color: rgba(0,159,227,0.12); }

    /* Animation delays */
    .sp-card:nth-child(1) { animation-delay: 0.2s; }
    .sp-card:nth-child(2) { animation-delay: 0.3s; }
    .sp-card:nth-child(3) { animation-delay: 0.4s; }
    .sp-card:nth-child(4) { animation-delay: 0.5s; }
    .sp-card:nth-child(5) { animation-delay: 0.55s; }
    .sp-card:nth-child(6) { animation-delay: 0.6s; }

    /* ==========================================
        CARD 1 — DOCTOR PHOTO (spans 3 rows)
    ========================================== */
    .sp-card--photo {
        grid-column: 1;
        grid-row: 1 / 4;
        padding: 0;
        background: transparent;
        border: none;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .sp-photo-main {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        flex: 1;
        min-height: 420px;
        border: 1px solid rgba(255,255,255,0.08);
    }

    .sp-photo-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
        transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
    }

    .sp-photo-main:hover img {
        transform: scale(1.04);
    }

    .sp-photo-main__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 45%, rgba(5,15,30,0.85) 100%);
    }

    .sp-photo-main__tag {
        position: absolute;
        top: 1.25rem;
        left: 1.25rem;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.4rem 0.9rem;
        background: rgba(0,159,227,0.85);
        backdrop-filter: blur(8px);
        border-radius: 100px;
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .sp-photo-main__bottom {
        position: absolute;
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
    }

    .sp-photo-main__name {
        font-size: 1.15rem;
        font-weight: 800;
        color: white;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }

    .sp-photo-main__role {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.65);
        font-weight: 500;
    }

    /* CTA below photo */
    .sp-photo-cta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .sp-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        padding: 1rem 1.5rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        transition: all 0.3s ease;
        width: 100%;
    }

    .sp-cta-btn--solid {
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        color: white;
        box-shadow: 0 8px 24px rgba(0,159,227,0.35);
    }

    .sp-cta-btn--solid:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 35px rgba(0,159,227,0.5);
        color: white;
    }

    .sp-cta-btn i {
        transition: transform 0.3s ease;
    }

    .sp-cta-btn:hover i {
        transform: translateX(4px);
    }

    .sp-mini-badges {
        display: flex;
        gap: 0.5rem;
    }

    .sp-mini-badge {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 0.5rem;
        background: rgba(0,159,227,0.05);
        border: 1px solid rgba(0,159,227,0.12);
        border-radius: 16px;
        gap: 0.2rem;
        transition: background 0.3s ease;
    }

    .sp-mini-badge:hover {
        background: rgba(0,159,227,0.1);
        border-color: rgba(0,159,227,0.2);
    }

    .sp-mini-badge__value {
        font-size: 1.1rem;
        font-weight: 800;
        color: #009FE3;
        line-height: 1;
    }

    .sp-mini-badge__label {
        font-size: 0.65rem;
        color: #64748b;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
    }

    /* ==========================================
        CARD 2 — INTRO TEXT (top center-right)
    ========================================== */
    .sp-card--intro {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .sp-intro__quote-mark {
        font-size: 5rem;
        line-height: 0.6;
        color: #009FE3;
        opacity: 0.2;
        font-family: Georgia, serif;
        margin-bottom: 0.5rem;
        display: block;
    }

    .sp-intro__text {
        font-size: 1.1rem;
        line-height: 1.75;
        color: #475569;
        font-weight: 400;
    }

    .sp-intro__text strong {
        color: #0a1520;
        font-weight: 700;
    }

    /* ==========================================
        CARD 3 — SERVICIOS AMBULATORIOS
    ========================================== */
    .sp-card--ambulatorio {
        grid-column: 2;
        grid-row: 2;
    }

    /* ==========================================
        CARD 4 — INMUNOTERAPIA
    ========================================== */
    .sp-card--inmuno {
        grid-column: 3;
        grid-row: 2;
    }

    /* ==========================================
        CARD 5 — PRUEBAS (wide, bottom)
    ========================================== */
    .sp-card--pruebas {
        grid-column: 2 / 4;
        grid-row: 3;
    }

    /* ==========================================
        SERVICE CARD INTERNALS
    ========================================== */
    .sp-service__header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(0,0,0,0.07);
    }

    .sp-card--blue .sp-service__header {
        border-bottom-color: rgba(255,255,255,0.15);
    }

    .sp-service__icon-wrap {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        transition: transform 0.3s ease;
    }

    .sp-card--blue .sp-service__icon-wrap {
        background: rgba(255,255,255,0.2);
        color: white;
    }

    .sp-card:not(.sp-card--blue) .sp-service__icon-wrap {
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        color: white;
        box-shadow: 0 4px 14px rgba(0,159,227,0.3);
    }

    .sp-card:hover .sp-service__icon-wrap {
        transform: rotate(-8deg) scale(1.1);
    }

    .sp-service__title {
        font-size: 0.95rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.3;
    }

    .sp-card--blue .sp-service__title { color: white; }
    .sp-card:not(.sp-card--blue) .sp-service__title { color: #0a1520; }

    /* Items */
    .sp-service__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    .sp-service__item {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        font-size: 0.855rem;
        line-height: 1.55;
        transition: transform 0.2s ease;
    }

    .sp-service__item:hover {
        transform: translateX(4px);
    }

    .sp-card--blue .sp-service__item { color: rgba(255,255,255,0.85); }
    .sp-card:not(.sp-card--blue) .sp-service__item { color: #475569; }

    .sp-service__dot {
        width: 22px;
        height: 22px;
        min-width: 22px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1px;
        font-size: 0.6rem;
        flex-shrink: 0;
    }

    .sp-card--blue .sp-service__dot {
        background: rgba(255,255,255,0.2);
        color: white;
    }

    .sp-card:not(.sp-card--blue) .sp-service__dot {
        background: rgba(0,159,227,0.1);
        color: #009FE3;
    }

    /* Pruebas layout — horizontal chips */
    .sp-pruebas__list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 0.75rem;
        margin-top: 0;
    }

    .sp-prueba-chip {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.85rem 1.1rem;
        background: white;
        border: 1px solid rgba(0,159,227,0.12);
        border-radius: 14px;
        font-size: 0.845rem;
        color: #475569;
        line-height: 1.4;
        transition: all 0.25s ease;
        box-shadow: 0 2px 8px rgba(0,159,227,0.05);
    }

    .sp-prueba-chip:hover {
        background: rgba(0,159,227,0.05);
        border-color: rgba(0,159,227,0.25);
        color: #0a1520;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,159,227,0.1);
    }

    .sp-prueba-chip__icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        background: rgba(0,159,227,0.15);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        color: #009FE3;
        flex-shrink: 0;
    }

    /* ==========================================
        ANIMATIONS
    ========================================== */
    @keyframes sp-fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    @keyframes sp-fadeInUp {
        from { opacity: 0; transform: translateY(28px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */
    @media (max-width: 1100px) {
        .cac-specialist__bento {
            grid-template-columns: 300px 1fr 1fr;
        }
    }

    @media (max-width: 900px) {
        .cac-specialist__bento {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
        }

        .sp-card--photo {
            grid-column: 1 / 3;
            grid-row: 1;
            flex-direction: row;
            align-items: stretch;
            gap: 1.25rem;
        }

        .sp-photo-main {
            flex: 1;
            min-height: 320px;
        }

        .sp-photo-cta {
            width: 200px;
            justify-content: center;
        }

        .sp-card--intro    { grid-column: 1 / 3; grid-row: 2; }
        .sp-card--ambulatorio { grid-column: 1; grid-row: 3; }
        .sp-card--inmuno   { grid-column: 2; grid-row: 3; }
        .sp-card--pruebas  { grid-column: 1 / 3; grid-row: 4; }
    }

    @media (max-width: 680px) {
        .cac-specialist {
            padding: 3.5rem 1.25rem;
        }

        .cac-specialist__bento {
            grid-template-columns: 1fr;
        }

        .sp-card--photo        { grid-column: 1; flex-direction: column; }
        .sp-photo-cta          { width: 100%; }
        .sp-card--intro        { grid-column: 1; }
        .sp-card--ambulatorio  { grid-column: 1; grid-row: auto; }
        .sp-card--inmuno       { grid-column: 1; grid-row: auto; }
        .sp-card--pruebas      { grid-column: 1; }

        .sp-pruebas__list { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }    


 /* ==========================================
        PROGRAMS SECTION
    ========================================== */
    .cac-programs {
        font-family: 'Inter', sans-serif;
        padding: 5rem 2rem;
        background: #f8fafc;
        position: relative;
        overflow: hidden;
    }

    .cac-programs::before {
        content: '';
        position: absolute;
        top: -200px; right: -200px;
        width: 600px; height: 600px;
        background: radial-gradient(circle, rgba(0,159,227,0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .cac-programs::after {
        content: '';
        position: absolute;
        bottom: -200px; left: -200px;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(0,212,170,0.05) 0%, transparent 70%);
        pointer-events: none;
    }

    /* ---- Header ---- */
    .cac-programs__header {
        text-align: center;
        max-width: 680px;
        margin: 0 auto 3.5rem;
        position: relative;
        z-index: 2;
    }

    .cac-programs__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(0,159,227,0.08);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 1.25rem;
        opacity: 0;
        animation: pg-fadeInDown 0.6s cubic-bezier(.22,1,.36,1) 0.1s forwards;
    }

    .cac-programs__title {
        font-size: clamp(1.85rem, 3.5vw, 2.75rem);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: #0a1520;
        margin-bottom: 1rem;
        opacity: 0;
        animation: pg-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-programs__title span {
        background: linear-gradient(135deg, #009FE3 0%, #00d4aa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .cac-programs__subtitle {
        font-size: 1rem;
        color: #64748b;
        line-height: 1.7;
        opacity: 0;
        animation: pg-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    /* ---- Grid ---- */
    .cac-programs__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1280px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    /* ==========================================
        PROGRAM CARD
    ========================================== */
    .pg-card {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(0,159,227,0.1);
        box-shadow: 0 4px 20px rgba(0,159,227,0.06);
        display: flex;
        flex-direction: column;
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
        opacity: 0;
        animation: pg-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) forwards;
        cursor: pointer;
    }

    .pg-card:nth-child(1) { animation-delay: 0.35s; }
    .pg-card:nth-child(2) { animation-delay: 0.45s; }
    .pg-card:nth-child(3) { animation-delay: 0.55s; }

    .pg-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 24px 60px rgba(0,159,227,0.16);
        border-color: rgba(0,159,227,0.25);
    }

    /* ---- Image ---- */
    .pg-card__img-wrap {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

    .pg-card__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
        filter: brightness(0.95);
    }

    .pg-card:hover .pg-card__img-wrap img {
        transform: scale(1.07);
        filter: brightness(1);
    }

    /* Color tint overlay */
    .pg-card__img-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            transparent 50%,
            rgba(255,255,255,0.6) 100%
        );
        transition: opacity 0.4s ease;
    }

    /* Number tag */
    .pg-card__num {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 34px;
        height: 34px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 800;
        color: #009FE3;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        z-index: 2;
    }

    /* Category chip top-right */
    .pg-card__chip {
        position: absolute;
        top: 1rem;
        right: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.85rem;
        background: rgba(0,159,227,0.85);
        backdrop-filter: blur(6px);
        border-radius: 100px;
        color: white;
        font-size: 0.67rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        z-index: 2;
    }

    /* ---- Body ---- */
    .pg-card__body {
        padding: 1.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    /* Icon row */
    .pg-card__icon-row {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .pg-card__icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.15rem;
        box-shadow: 0 4px 14px rgba(0,159,227,0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .pg-card:hover .pg-card__icon {
        transform: rotate(-8deg) scale(1.1);
        box-shadow: 0 8px 22px rgba(0,159,227,0.4);
    }

    .pg-card__category {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #009FE3;
    }

    .pg-card__title {
        font-size: 1.05rem;
        font-weight: 800;
        color: #0a1520;
        line-height: 1.3;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }

    .pg-card__desc {
        font-size: 0.875rem;
        color: #64748b;
        line-height: 1.7;
        flex: 1;
        margin-bottom: 1.5rem;
    }

    /* Highlight tags */
    .pg-card__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }

    .pg-card__tag {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.3rem 0.7rem;
        background: rgba(0,159,227,0.07);
        border: 1px solid rgba(0,159,227,0.14);
        border-radius: 100px;
        font-size: 0.7rem;
        font-weight: 600;
        color: #009FE3;
    }

    /* CTA */
    .pg-card__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.85rem 1.5rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        color: #009FE3;
        background: transparent;
        border: 1.5px solid #009FE3;
        transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
        position: relative;
        overflow: hidden;
    }

    .pg-card__btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .pg-card__btn span,
    .pg-card__btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .pg-card:hover .pg-card__btn {
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 24px rgba(0,159,227,0.3);
    }

    .pg-card:hover .pg-card__btn::before {
        opacity: 1;
    }

    .pg-card:hover .pg-card__btn i {
        transform: translateX(4px);
    }

    /* ---- Divider + Bottom CTA ---- */
    .cac-programs__footer {
        max-width: 1280px;
        margin: 3rem auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
        opacity: 0;
        animation: pg-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.7s forwards;
    }

    .cac-programs__footer-text {
        font-size: 0.95rem;
        color: #64748b;
        font-weight: 500;
    }

    .cac-programs__footer-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.75rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        color: white;
        box-shadow: 0 6px 20px rgba(0,159,227,0.28);
        transition: all 0.3s ease;
    }

    .cac-programs__footer-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,159,227,0.4);
        color: white;
    }

    .cac-programs__footer-link i {
        transition: transform 0.3s ease;
    }

    .cac-programs__footer-link:hover i {
        transform: translateX(4px);
    }

    /* ==========================================
        ANIMATIONS
    ========================================== */
    @keyframes pg-fadeInUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes pg-fadeInDown {
        from { opacity: 0; transform: translateY(-15px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ==========================================
        RESPONSIVE
    ========================================== */
    @media (max-width: 1024px) {
        .cac-programs__grid {
            grid-template-columns: 1fr 1fr;
        }

        .pg-card:nth-child(3) {
            grid-column: 1 / -1;
            max-width: 520px;
            margin: 0 auto;
            width: 100%;
        }
    }

    @media (max-width: 680px) {
        .cac-programs {
            padding: 3.5rem 1.25rem;
        }

        .cac-programs__grid {
            grid-template-columns: 1fr;
        }

        .pg-card:nth-child(3) {
            grid-column: auto;
            max-width: 100%;
        }

        .pg-card__img-wrap {
            height: 200px;
        }

        .cac-programs__footer {
            flex-direction: column;
            text-align: center;
        }

        .cac-programs__footer-link {
            width: 100%;
            justify-content: center;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }    


/*procedimientos Diagnóstico*/

.cac-diag {
        font-family: 'Inter', sans-serif;
        padding: 5rem 2rem;
        background: #f8fafc;
        position: relative;
        overflow: hidden;
    }

    .cac-diag::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 50% 40% at 0% 20%, rgba(0,159,227,0.05) 0%, transparent 60%),
            radial-gradient(ellipse 40% 50% at 100% 80%, rgba(0,212,170,0.04) 0%, transparent 60%);
        pointer-events: none;
    }

    /* ---- Header ---- */
    .cac-diag__header {
        text-align: center;
        max-width: 680px;
        margin: 0 auto 4rem;
        position: relative;
        z-index: 2;
    }

    .cac-diag__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(0,159,227,0.08);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 1.25rem;
        opacity: 0;
        animation: dg-fadeInDown 0.6s cubic-bezier(.22,1,.36,1) 0.1s forwards;
    }

    .cac-diag__title {
        font-size: clamp(1.85rem, 3.5vw, 2.75rem);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: #0a1520;
        margin-bottom: 0.75rem;
        opacity: 0;
        animation: dg-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-diag__title span {
        background: linear-gradient(135deg, #009FE3 0%, #00d4aa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .cac-diag__subtitle {
        font-size: 0.95rem;
        color: #64748b;
        line-height: 1.7;
        opacity: 0;
        animation: dg-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    /* ---- Stack ---- */
    .cac-diag__stack {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    /* ==========================================
        CARD
    ========================================== */
    .dg-card {
        display: grid;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(0,159,227,0.1);
        box-shadow: 0 4px 24px rgba(0,159,227,0.07);
        background: white;
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
        opacity: 0;
        animation: dg-fadeInUp 0.65s cubic-bezier(.22,1,.36,1) forwards;
        min-height: 200px;
    }

    .dg-card--left  { grid-template-columns: 1fr 1fr; }
    .dg-card--right { grid-template-columns: 1fr 1fr; }

    .dg-card:nth-child(1) { animation-delay: 0.35s; }
    .dg-card:nth-child(2) { animation-delay: 0.45s; }
    .dg-card:nth-child(3) { animation-delay: 0.55s; }
    .dg-card:nth-child(4) { animation-delay: 0.65s; }

    .dg-card:hover {
        transform: translateY(-6px) scale(1.005);
        box-shadow: 0 20px 55px rgba(0,159,227,0.14);
        border-color: rgba(0,159,227,0.25);
    }

    /* ---- Image ---- */
    .dg-card__img-wrap {
        position: relative;
        overflow: hidden;
        min-height: 200px;
    }

    .dg-card--right .dg-card__img-wrap { order: 2; }

    .dg-card__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
        filter: brightness(0.92) saturate(1.1);
    }

    .dg-card:hover .dg-card__img-wrap img {
        transform: scale(1.07);
        filter: brightness(1) saturate(1.15);
    }

    /* Overlay div (igual que primera sección) */
    .dg-card--left .dg-card__img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to right, transparent 60%, rgba(255,255,255,0.6) 100%);
    }

    .dg-card--right .dg-card__img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to left, transparent 60%, rgba(255,255,255,0.6) 100%);
    }

    /* Number badge — bottom como primera sección */
    .dg-card__num {
        position: absolute;
        bottom: 1.25rem; left: 1.25rem;
        width: 38px; height: 38px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 800;
        color: #009FE3;
        box-shadow: 0 4px 14px rgba(0,0,0,0.12);
        z-index: 2;
    }

    .dg-card--right .dg-card__num { left: auto; right: 1.25rem; }

    /* Accent bar */
    .dg-card__accent {
        position: absolute;
        top: 0; bottom: 0;
        width: 4px;
    }

    .dg-card--left  .dg-card__accent { right: 0; }
    .dg-card--right .dg-card__accent { left: 0; }

    .dg-card:nth-child(odd)  .dg-card__accent { background: linear-gradient(180deg, #009FE3, #00d4aa); }
    .dg-card:nth-child(even) .dg-card__accent { background: linear-gradient(180deg, #00d4aa, #009FE3); }

    /* ---- Content ---- */
    .dg-card__content {
        padding: 2.25rem 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .dg-card--right .dg-card__content { order: 1; }

    /* Chip de categoría */
    .dg-card__chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.3rem 0.85rem;
        border-radius: 100px;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 1rem;
        width: fit-content;
        background: rgba(0,159,227,0.09);
        border: 1px solid rgba(0,159,227,0.2);
        color: #009FE3;
    }

    /* Specialty label */
    .dg-card__specialty {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #009FE3;
        margin-bottom: 0.35rem;
    }

    /* Title */
    .dg-card__title {
        font-size: 1.45rem;
        font-weight: 800;
        color: #0a1520;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 0.6rem;
    }

    /* Sub label */
    .dg-card__sub {
        font-size: 0.85rem;
        color: #94a3b8;
        font-weight: 500;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .dg-card__sub i { color: #009FE3; font-size: 0.9rem; }

    /* ---- Disponibilidad pulsante ---- */
    .dg-card__avail {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.72rem;
        font-weight: 600;
        color: #10b981;
        margin-bottom: 1.25rem;
    }

    .dg-card__avail-dot {
        width: 8px; height: 8px;
        background: #10b981;
        border-radius: 50%;
        position: relative;
    }

    .dg-card__avail-dot::after {
        content: '';
        position: absolute;
        inset: -3px;
        background: rgba(16,185,129,0.25);
        border-radius: 50%;
        animation: dg-pulse 1.8s ease-in-out infinite;
    }

    @keyframes dg-pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50%       { transform: scale(1.7); opacity: 0; }
    }

    /* Divider */
    .dg-card__divider {
        width: 48px; height: 3px;
        background: linear-gradient(90deg, #009FE3, #00d4aa);
        border-radius: 2px;
        margin-bottom: 1.5rem;
    }

    /* Items */
    .dg-card__list {
        list-style: none;
        padding: 0;
        margin: 0 0 1.75rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .dg-card__item {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        font-size: 0.875rem;
        color: #475569;
        line-height: 1.45;
        padding: 0.45rem 0.7rem;
        border-radius: 10px;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
        cursor: default;
    }

    .dg-card__item:hover {
        background: rgba(0,159,227,0.05);
        color: #0a1520;
        transform: translateX(5px);
    }

    .dg-card__item-dot {
        width: 22px; height: 22px;
        min-width: 22px;
        background: rgba(0,159,227,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.6rem;
        color: #009FE3;
        flex-shrink: 0;
        transition: background 0.25s ease;
    }

    .dg-card__item:hover .dg-card__item-dot {
        background: rgba(0,159,227,0.18);
    }

    /* CTA */
    .dg-card__btn {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.85rem 1.75rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        color: white;
        background: #009FE3;
        width: fit-content;
        box-shadow: 0 4px 16px rgba(0,159,227,0.28);
        transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
        position: relative;
        overflow: hidden;
    }

    .dg-card__btn::before {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .dg-card__btn span,
    .dg-card__btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .dg-card:hover .dg-card__btn { box-shadow: 0 10px 28px rgba(0,159,227,0.4); }
    .dg-card:hover .dg-card__btn::before { opacity: 1; }
    .dg-card:hover .dg-card__btn i.bi-arrow-right { transform: translateX(4px); }

    /* ---- Animations ---- */
    @keyframes dg-fadeInUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes dg-fadeInDown {
        from { opacity: 0; transform: translateY(-15px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ---- Responsive ---- */
    @media (max-width: 768px) {
        .cac-diag { padding: 3.5rem 1.25rem; }

        .dg-card--left,
        .dg-card--right { grid-template-columns: 1fr; }

        .dg-card__img-wrap  { min-height: 220px; order: 0 !important; }
        .dg-card__content   { order: 1 !important; padding: 1.75rem 1.5rem; }

        .dg-card--left  .dg-card__img-overlay,
        .dg-card--right .dg-card__img-overlay {
            background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.5) 100%);
        }

        .dg-card__accent { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 4px; }
        .dg-card__num    { bottom: auto; top: 1rem; left: 1rem; right: auto !important; }
        .dg-card__title  { font-size: 1.25rem; }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        .dg-card__avail-dot::after { animation: none; }
    }


    /* fin css procedimeintos*/


      /*css terapeutico*/

    .cac-terapia {
        font-family: 'Inter', sans-serif;
        padding: 5rem 2rem;
        background: #ffffff;
        position: relative;
        overflow: hidden;
    }

    .cac-terapia::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 50% 40% at 100% 10%, rgba(0,159,227,0.05) 0%, transparent 60%),
            radial-gradient(ellipse 40% 50% at 0% 90%, rgba(0,212,170,0.04) 0%, transparent 60%);
        pointer-events: none;
    }

    /* ---- Header ---- */
    .cac-terapia__header {
        text-align: center;
        max-width: 680px;
        margin: 0 auto 4rem;
        position: relative;
        z-index: 2;
    }

    .cac-terapia__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(0,159,227,0.08);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 1.25rem;
        opacity: 0;
        animation: tr-fadeInDown 0.6s cubic-bezier(.22,1,.36,1) 0.1s forwards;
    }

    .cac-terapia__title {
        font-size: clamp(1.85rem, 3.5vw, 2.75rem);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: #0a1520;
        margin-bottom: 0.75rem;
        opacity: 0;
        animation: tr-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-terapia__title span {
        background: linear-gradient(135deg, #009FE3 0%, #00d4aa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .cac-terapia__subtitle {
        font-size: 0.95rem;
        color: #64748b;
        line-height: 1.7;
        font-style: italic;
        opacity: 0;
        animation: tr-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    /* ---- Stack ---- */
    .cac-terapia__stack {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    /* ==========================================
        CARD
    ========================================== */
    .tr-card {
        display: grid;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(0,159,227,0.1);
        box-shadow: 0 4px 24px rgba(0,159,227,0.07);
        background: white;
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
        opacity: 0;
        animation: tr-fadeInUp 0.65s cubic-bezier(.22,1,.36,1) forwards;
        min-height: 200px;
    }

    .tr-card--left  { grid-template-columns: 1fr 1fr; }
    .tr-card--right { grid-template-columns: 1fr 1fr; }

    .tr-card:nth-child(1) { animation-delay: 0.35s; }
    .tr-card:nth-child(2) { animation-delay: 0.45s; }
    .tr-card:nth-child(3) { animation-delay: 0.55s; }

    .tr-card:hover {
        transform: translateY(-6px) scale(1.005);
        box-shadow: 0 20px 55px rgba(0,159,227,0.14);
        border-color: rgba(0,159,227,0.25);
    }

    /* ---- Image ---- */
    .tr-card__img-wrap {
        position: relative;
        overflow: hidden;
        min-height: 200px;
    }

    .tr-card--right .tr-card__img-wrap { order: 2; }

    .tr-card__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
        filter: brightness(0.92) saturate(1.1);
    }

    .tr-card:hover .tr-card__img-wrap img {
        transform: scale(1.07);
        filter: brightness(1) saturate(1.15);
    }

    /* Overlay fade to content side — igual que primera sección */
    .tr-card--left .tr-card__img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to right, transparent 60%, rgba(255,255,255,0.6) 100%);
    }

    .tr-card--right .tr-card__img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to left, transparent 60%, rgba(255,255,255,0.6) 100%);
    }

    /* Number badge */
    .tr-card__num {
        position: absolute;
        bottom: 1.25rem; left: 1.25rem;
        width: 38px; height: 38px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 800;
        color: #009FE3;
        box-shadow: 0 4px 14px rgba(0,0,0,0.12);
        z-index: 2;
    }

    .tr-card--right .tr-card__num { left: auto; right: 1.25rem; }

    /* Accent bar */
    .tr-card__accent {
        position: absolute;
        top: 0; bottom: 0;
        width: 4px;
    }

    .tr-card--left  .tr-card__accent { right: 0; }
    .tr-card--right .tr-card__accent { left: 0; }

    .tr-card:nth-child(odd)  .tr-card__accent { background: linear-gradient(180deg, #009FE3, #00d4aa); }
    .tr-card:nth-child(even) .tr-card__accent { background: linear-gradient(180deg, #00d4aa, #009FE3); }

    /* ---- Content ---- */
    .tr-card__content {
        padding: 2.25rem 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .tr-card--right .tr-card__content { order: 1; }

    /* Chip de categoría */
    .tr-card__chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.3rem 0.85rem;
        border-radius: 100px;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 1rem;
        width: fit-content;
        background: rgba(0,159,227,0.09);
        border: 1px solid rgba(0,159,227,0.2);
        color: #009FE3;
    }

    /* Specialty label */
    .tr-card__specialty {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #009FE3;
        margin-bottom: 0.35rem;
    }

    /* Title */
    .tr-card__title {
        font-size: 1.45rem;
        font-weight: 800;
        color: #0a1520;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 0.6rem;
    }

    /* Sub label */
    .tr-card__sub {
        font-size: 0.85rem;
        color: #94a3b8;
        font-weight: 500;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .tr-card__sub i { color: #009FE3; font-size: 0.9rem; }

    /* ---- Disponibilidad pulsante (igual que primera sección) ---- */
    .tr-card__avail {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.72rem;
        font-weight: 600;
        color: #10b981;
        margin-bottom: 1.25rem;
    }

    .tr-card__avail-dot {
        width: 8px; height: 8px;
        background: #10b981;
        border-radius: 50%;
        position: relative;
    }

    .tr-card__avail-dot::after {
        content: '';
        position: absolute;
        inset: -3px;
        background: rgba(16,185,129,0.25);
        border-radius: 50%;
        animation: tr-pulse 1.8s ease-in-out infinite;
    }

    @keyframes tr-pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50%       { transform: scale(1.7); opacity: 0; }
    }

    /* Divider */
    .tr-card__divider {
        width: 48px; height: 3px;
        background: linear-gradient(90deg, #009FE3, #00d4aa);
        border-radius: 2px;
        margin-bottom: 1.5rem;
    }

    /* Items list */
    .tr-card__list {
        list-style: none;
        padding: 0;
        margin: 0 0 1.75rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .tr-card__item {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        font-size: 0.875rem;
        color: #475569;
        line-height: 1.45;
        padding: 0.45rem 0.7rem;
        border-radius: 10px;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
        cursor: default;
    }

    .tr-card__item:hover {
        background: rgba(0,159,227,0.05);
        color: #0a1520;
        transform: translateX(5px);
    }

    .tr-card__item-dot {
        width: 22px; height: 22px;
        min-width: 22px;
        background: rgba(0,159,227,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.6rem;
        color: #009FE3;
        flex-shrink: 0;
        transition: background 0.25s ease;
    }

    .tr-card__item:hover .tr-card__item-dot {
        background: rgba(0,159,227,0.18);
    }

    /* CTA Button */
    .tr-card__btn {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.85rem 1.75rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        color: white;
        background: #009FE3;
        width: fit-content;
        box-shadow: 0 4px 16px rgba(0,159,227,0.28);
        transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
        position: relative;
        overflow: hidden;
    }

    .tr-card__btn::before {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .tr-card__btn span,
    .tr-card__btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .tr-card:hover .tr-card__btn { box-shadow: 0 10px 28px rgba(0,159,227,0.4); }
    .tr-card:hover .tr-card__btn::before { opacity: 1; }
    .tr-card:hover .tr-card__btn i.bi-arrow-right { transform: translateX(4px); }

    /* ---- Animations ---- */
    @keyframes tr-fadeInUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes tr-fadeInDown {
        from { opacity: 0; transform: translateY(-15px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ---- Responsive ---- */
    @media (max-width: 768px) {
        .cac-terapia { padding: 3.5rem 1.25rem; }

        .tr-card--left,
        .tr-card--right { grid-template-columns: 1fr; }

        .tr-card__img-wrap  { min-height: 220px; order: 0 !important; }
        .tr-card__content   { order: 1 !important; padding: 1.75rem 1.5rem; }

        .tr-card--left  .tr-card__img-overlay,
        .tr-card--right .tr-card__img-overlay {
            background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.5) 100%);
        }

        .tr-card__accent { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 4px; }
        .tr-card__num    { bottom: auto; top: 1rem; left: 1rem; right: auto !important; }
        .tr-card__title  { font-size: 1.25rem; }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        .tr-card__avail-dot::after { animation: none; }
    }      

    /* fin css terapeutico*/




/* css especializada*/

     .cac-citas {
        font-family: 'Inter', sans-serif;
        padding: 5rem 2rem;
        background: #f8fafc;
        position: relative;
        overflow: hidden;
    }

    .cac-citas::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 50% 40% at 100% 0%, rgba(0,159,227,0.05) 0%, transparent 60%),
            radial-gradient(ellipse 40% 50% at 0% 100%, rgba(0,212,170,0.04) 0%, transparent 60%);
        pointer-events: none;
    }

    .cac-citas__header {
        text-align: center;
        max-width: 680px;
        margin: 0 auto 4rem;
        position: relative;
        z-index: 2;
    }

    .cac-citas__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(0,159,227,0.08);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 100px;
        color: #009FE3;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 1.25rem;
        opacity: 0;
        animation: ct-fadeInDown 0.6s cubic-bezier(.22,1,.36,1) 0.1s forwards;
    }

    .cac-citas__title {
        font-size: clamp(1.85rem, 3.5vw, 2.75rem);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: #0a1520;
        margin-bottom: 1rem;
        opacity: 0;
        animation: ct-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.2s forwards;
    }

    .cac-citas__title span {
        background: linear-gradient(135deg, #009FE3 0%, #00d4aa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .cac-citas__subtitle {
        font-size: 1rem;
        color: #64748b;
        line-height: 1.7;
        opacity: 0;
        animation: ct-fadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.3s forwards;
    }

    .cac-citas__stack {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .ct-card {
        display: grid;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(0,159,227,0.1);
        box-shadow: 0 4px 24px rgba(0,159,227,0.07);
        background: white;
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
        opacity: 0;
        animation: ct-fadeInUp 0.65s cubic-bezier(.22,1,.36,1) forwards;
        min-height: 200px;
    }

    .ct-card--img-left  { grid-template-columns: 1fr 1fr; }
    .ct-card--img-right { grid-template-columns: 1fr 1fr; }

    .ct-card:nth-child(1) { animation-delay: 0.35s; }
    .ct-card:nth-child(2) { animation-delay: 0.45s; }
    .ct-card:nth-child(3) { animation-delay: 0.55s; }
    .ct-card:nth-child(4) { animation-delay: 0.65s; }

    .ct-card:hover {
        transform: translateY(-6px) scale(1.005);
        box-shadow: 0 20px 55px rgba(0,159,227,0.14);
        border-color: rgba(0,159,227,0.25);
    }

    .ct-card__img-wrap {
        position: relative;
        overflow: hidden;
        min-height: 200px;
    }

    .ct-card--img-right .ct-card__img-wrap { order: 2; }

    .ct-card__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
        filter: brightness(0.92) saturate(1.1);
    }

    .ct-card:hover .ct-card__img-wrap img {
        transform: scale(1.07);
        filter: brightness(1) saturate(1.15);
    }

    .ct-card--img-left .ct-card__img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to right, transparent 60%, rgba(255,255,255,0.6) 100%);
    }

    .ct-card--img-right .ct-card__img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to left, transparent 60%, rgba(255,255,255,0.6) 100%);
    }

    .ct-card__num {
        position: absolute;
        bottom: 1.25rem; left: 1.25rem;
        width: 38px; height: 38px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 800;
        color: #009FE3;
        box-shadow: 0 4px 14px rgba(0,0,0,0.12);
        z-index: 2;
    }

    .ct-card--img-right .ct-card__num { left: auto; right: 1.25rem; }

    .ct-card__accent {
        position: absolute;
        top: 0; bottom: 0;
        width: 4px;
    }

    .ct-card--img-left  .ct-card__accent { right: 0; }
    .ct-card--img-right .ct-card__accent { left: 0; }

    .ct-card:nth-child(odd)  .ct-card__accent { background: linear-gradient(180deg, #009FE3, #00d4aa); }
    .ct-card:nth-child(even) .ct-card__accent { background: linear-gradient(180deg, #00d4aa, #009FE3); }

    .ct-card__content {
        padding: 2.25rem 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .ct-card--img-right .ct-card__content { order: 1; }

    .ct-card__type {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.3rem 0.85rem;
        border-radius: 100px;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 1rem;
        width: fit-content;
    }

    .ct-card__type--adult {
        background: rgba(0,159,227,0.09);
        border: 1px solid rgba(0,159,227,0.2);
        color: #009FE3;
    }

    .ct-card__type--child {
        background: rgba(0,212,170,0.09);
        border: 1px solid rgba(0,212,170,0.25);
        color: #00a88a;
    }

    .ct-card__specialty {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #009FE3;
        margin-bottom: 0.35rem;
    }

    .ct-card__title {
        font-size: 1.45rem;
        font-weight: 800;
        color: #0a1520;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 0.6rem;
    }

    .ct-card__sub {
        font-size: 0.85rem;
        color: #94a3b8;
        font-weight: 500;
        margin-bottom: 1.75rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .ct-card__sub i { color: #009FE3; font-size: 0.9rem; }

    .ct-card__avail {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.72rem;
        font-weight: 600;
        color: #10b981;
        margin-bottom: 1.25rem;
    }

    .ct-card__avail-dot {
        width: 8px; height: 8px;
        background: #10b981;
        border-radius: 50%;
        position: relative;
    }

    .ct-card__avail-dot::after {
        content: '';
        position: absolute;
        inset: -3px;
        background: rgba(16,185,129,0.25);
        border-radius: 50%;
        animation: ct-pulse 1.8s ease-in-out infinite;
    }

    @keyframes ct-pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50%       { transform: scale(1.7); opacity: 0; }
    }

    .ct-card__divider {
        width: 48px; height: 3px;
        background: linear-gradient(90deg, #009FE3, #00d4aa);
        border-radius: 2px;
        margin-bottom: 1.5rem;
    }

    .ct-card__btn {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.85rem 1.75rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        color: white;
        background: #009FE3;
        width: fit-content;
        box-shadow: 0 4px 16px rgba(0,159,227,0.28);
        transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
        position: relative;
        overflow: hidden;
    }

    .ct-card__btn::before {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(135deg, #009FE3, #00d4aa);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .ct-card__btn span,
    .ct-card__btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .ct-card:hover .ct-card__btn { box-shadow: 0 10px 28px rgba(0,159,227,0.4); }
    .ct-card:hover .ct-card__btn::before { opacity: 1; }
    .ct-card:hover .ct-card__btn i.bi-arrow-right { transform: translateX(4px); }

    @keyframes ct-fadeInUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes ct-fadeInDown {
        from { opacity: 0; transform: translateY(-15px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
        .cac-citas { padding: 3.5rem 1.25rem; }
        .ct-card--img-left,
        .ct-card--img-right { grid-template-columns: 1fr; }
        .ct-card__img-wrap  { min-height: 220px; order: 0 !important; }
        .ct-card__content   { order: 1 !important; padding: 1.75rem 1.5rem; }
        .ct-card--img-left  .ct-card__img-overlay,
        .ct-card--img-right .ct-card__img-overlay {
            background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.5) 100%);
        }
        .ct-card__accent { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 4px; }
        .ct-card__num    { bottom: auto; top: 1rem; left: 1rem; right: auto !important; }
        .ct-card__title  { font-size: 1.25rem; }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        .ct-card__avail-dot::after { animation: none; }
    }


    /* fin css especializada*/





    /*contacto*/

     /* ==========================================
       VARIABLES
    ========================================== */
    :root {
        --contact-primary: #009FE3;
        --contact-primary-dark: #007AB8;
        --contact-accent: #00d4aa;
        --contact-purple: #7c3aed;
        --contact-orange: #FF6B35;
        --contact-whatsapp: #25D366;
        --contact-text-dark: #0a1520;
        --contact-text-gray: #64748b;
        --contact-bg-light: #f8fafc;
        --contact-white: #ffffff;
    }

    /* ==========================================
       HERO SECTION
    ========================================== */
    .contact-hero {
        position: relative;
        min-height: 60vh;
        display: flex;
        align-items: center;
        overflow: hidden;
        padding: 8rem 2rem 4rem;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
    }

    .contact-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            radial-gradient(circle at 25% 25%, rgba(0,159,227,0.05) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(0,212,170,0.05) 0%, transparent 50%);
        pointer-events: none;
    }

    .contact-hero__shape {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.3;
    }

    .contact-hero__shape--1 {
        width: 500px;
        height: 500px;
        background: linear-gradient(135deg, rgba(0,159,227,0.2), rgba(0,212,170,0.15));
        top: -150px;
        right: -150px;
        animation: contactFloat 20s ease-in-out infinite;
    }

    .contact-hero__shape--2 {
        width: 400px;
        height: 400px;
        background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(0,159,227,0.1));
        bottom: -100px;
        left: -100px;
        animation: contactFloat 25s ease-in-out infinite reverse;
    }

    @keyframes contactFloat {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(20px, -20px); }
    }

    .contact-hero__container {
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        position: relative;
        z-index: 10;
        text-align: center;
    }

    .contact-hero__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1.5rem;
        background: linear-gradient(135deg, rgba(0,159,227,0.1), rgba(0,212,170,0.1));
        border: 1.5px solid rgba(0,159,227,0.3);
        border-radius: 100px;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--contact-primary);
        margin-bottom: 1.5rem;
    }

    .contact-hero__badge i {
        font-size: 1.1rem;
    }

    .contact-hero__title {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        letter-spacing: -0.03em;
    }

    .contact-hero__title span {
        display: block;
        color: var(--contact-text-dark);
    }

    .contact-hero__title-gradient {
        background: linear-gradient(135deg, var(--contact-primary) 0%, var(--contact-accent) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .contact-hero__subtitle {
        font-size: 1.15rem;
        line-height: 1.8;
        color: var(--contact-text-gray);
        max-width: 700px;
        margin: 0 auto;
    }

    /* ==========================================
       MAIN CONTACT SECTION
    ========================================== */
    .contact-main {
        background: var(--contact-white);
        padding: 6rem 2rem;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .contact-container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    /* ==========================================
       CONTACT INFO SIDE
    ========================================== */
    .contact-info-side {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .info-section {
        background: var(--contact-white);
        border: 1px solid rgba(0,159,227,0.1);
        padding: 2.5rem;
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        transition: all 0.3s ease;
    }

    .info-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0,159,227,0.15);
        border-color: rgba(0,159,227,0.2);
    }

    .info-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--contact-text-dark);
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .info-title i {
        font-size: 1.3rem;
        color: var(--contact-primary);
    }

    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.25rem;
        background: linear-gradient(135deg, rgba(0,159,227,0.03), rgba(0,212,170,0.03));
        border: 1px solid rgba(0,159,227,0.08);
        border-radius: 16px;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }

    .info-item:last-child {
        margin-bottom: 0;
    }

    .info-item:hover {
        transform: translateX(5px);
        border-color: rgba(0,159,227,0.2);
        box-shadow: 0 8px 25px rgba(0,159,227,0.1);
    }

    .info-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--contact-primary), var(--contact-accent));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--contact-white);
        font-size: 1.2rem;
        flex-shrink: 0;
        box-shadow: 0 8px 20px rgba(0,159,227,0.3);
    }

    .info-text {
        flex: 1;
    }

    .info-label {
        font-size: 0.85rem;
        color: var(--contact-primary);
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 700;
    }

    .info-value {
        font-size: 1rem;
        color: var(--contact-text-dark);
        font-weight: 500;
        line-height: 1.6;
    }

    .info-value a {
        color: var(--contact-text-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .info-value a:hover {
        color: var(--contact-primary);
    }

    /* Horarios */
    .schedule-grid {
        display: grid;
        gap: 1rem;
    }

    .schedule-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(0,159,227,0.05), rgba(0,212,170,0.05));
        border: 1px solid rgba(0,159,227,0.1);
        border-radius: 12px;
    }

    .schedule-day {
        font-weight: 700;
        color: var(--contact-text-dark);
    }

    .schedule-time {
        color: var(--contact-text-gray);
        font-weight: 600;
    }

    .schedule-time.closed {
        color: var(--contact-orange);
    }

    /* WhatsApp destacado */
    .whatsapp-highlight {
        background: linear-gradient(135deg, rgba(37,211,102,0.1), rgba(37,211,102,0.05));
        border: 2px solid rgba(37,211,102,0.3);
        padding: 2rem;
        border-radius: 20px;
        text-align: center;
        margin-top: 1rem;
    }

    .whatsapp-highlight__icon {
        width: 70px;
        height: 70px;
        background: var(--contact-whatsapp);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: var(--contact-white);
        margin: 0 auto 1rem;
        box-shadow: 0 10px 30px rgba(37,211,102,0.4);
        animation: whatsappPulse 2s infinite;
    }

    @keyframes whatsappPulse {
        0%, 100% {
            box-shadow: 0 10px 30px rgba(37,211,102,0.4);
        }
        50% {
            box-shadow: 0 10px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1);
        }
    }

    .whatsapp-highlight__title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--contact-text-dark);
        margin-bottom: 0.5rem;
    }

    .whatsapp-highlight__text {
        color: var(--contact-text-gray);
        margin-bottom: 1.5rem;
    }

    .whatsapp-highlight__btn {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        background: var(--contact-whatsapp);
        color: var(--contact-white);
        border-radius: 100px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 8px 30px rgba(37,211,102,0.3);
    }

    .whatsapp-highlight__btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(37,211,102,0.4);
        background: #128C7E;
        color: var(--contact-white);
    }

    .whatsapp-highlight__btn i {
        font-size: 1.3rem;
    }

    /* ==========================================
       CONTACT FORM SIDE
    ========================================== */
    .contact-form-side {
        background: var(--contact-white);
        border: 1px solid rgba(0,159,227,0.1);
        padding: 2.5rem;
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        position: sticky;
        top: 100px;
    }

    .form-header {
        margin-bottom: 2rem;
    }

    .form-header h3 {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--contact-text-dark);
        margin-bottom: 0.75rem;
    }

    .form-header p {
        color: var(--contact-text-gray);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--contact-text-dark);
        margin-bottom: 0.5rem;
    }

    .form-group label .required {
        color: var(--contact-orange);
        margin-left: 3px;
    }

    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        padding: 0.875rem 1rem;
        background: var(--contact-white);
        border: 1px solid rgba(0,159,227,0.2);
        border-radius: 12px;
        color: var(--contact-text-dark);
        font-size: 0.95rem;
        font-family: 'Inter', sans-serif;
        transition: all 0.3s ease;
    }

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
        outline: none;
        border-color: var(--contact-primary);
        box-shadow: 0 0 0 3px rgba(0,159,227,0.1);
    }

    .form-textarea {
        height: 120px;
        resize: vertical;
        min-height: 120px;
        max-height: 250px;
    }

    .form-select {
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23009FE3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .form-submit {
        width: 100%;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, var(--contact-primary), var(--contact-primary-dark));
        border: none;
        border-radius: 100px;
        color: var(--contact-white);
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        box-shadow: 0 10px 40px rgba(0,159,227,0.3);
    }

    .form-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 50px rgba(0,159,227,0.4);
    }

    .form-submit:active {
        transform: translateY(0);
    }

    .form-submit:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none !important;
    }

    .form-submit i {
        font-size: 1.2rem;
    }

    .spinner {
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .form-text {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.85rem;
        color: var(--contact-text-gray);
    }

    /* reCAPTCHA */
    .g-recaptcha {
        margin-bottom: 1rem;
    }

    /* ==========================================
       RESPONSIVE
    ========================================== */
    @media (max-width: 1024px) {
        .contact-container {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .contact-form-side {
            position: static;
        }
    }

    @media (max-width: 768px) {
        .contact-hero {
            padding: 6rem 1.5rem 3rem;
            min-height: 50vh;
        }

        .contact-main {
            padding: 4rem 1.5rem;
        }

        .contact-form-side,
        .info-section {
            padding: 2rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .whatsapp-highlight {
            padding: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .contact-hero__title {
            font-size: 2rem;
        }

        .contact-form-side,
        .info-section {
            padding: 1.5rem;
        }

        .form-input,
        .form-textarea,
        .form-select {
            padding: 0.75rem;
            font-size: 0.9rem;
        }

        .info-item {
            padding: 1rem;
        }

        .g-recaptcha {
            transform: scale(0.85);
            transform-origin: 0 0;
        }
    }

    /* fin css contacto*/



