/* ==========================================================================

   ITALMED TEMA - HOJA DE ESTILOS MAESTRA (V6.0 FINAL & CLEAN)

   Estado: Optimizado, Sin Duplicados, Arancel Universitario, Reviews Fix.

   ========================================================================== */

:root {

    /* --- PALETA DE COLORES ITALMED --- */
    --color-primario: #0AA2D1;            
    --color-secundario: #22C5B4;          
    --fondo-principal: #FFFFFF;           
    --fondo-secundario: #f8fbfd;          
    --fondo-hover: #eef6f9;               
    --borde-color: #e1e8ed;               
    --texto-principal: #2c3e50;           
    --texto-secundario: #5f7d95;          
    
    --color-acento: var(--color-primario);
    --gradiente-logo: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    --sombra-acento: 0 8px 25px rgba(10, 162, 209, 0.3);
    --sombra-suave: 0 4px 15px rgba(0,0,0,0.05);
    --border-radius: 16px;
    --font-headings: 'Sora', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --transition-speed: 0.3s;
}

/* HOME 2026 mobile full-bleed: eliminar franjas laterales internas */
@media (max-width: 760px) {
    html:has(.itm-home-v5),
    body:has(.itm-home-v5),
    body:has(.itm-home-v5) #page,
    body:has(.itm-home-v5) .site-content,
    body:has(.itm-home-v5) .app-container.itm-home-v5,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .app-main-content {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    body:has(.itm-home-v5) .header-new,
    body:has(.itm-home-v5) .pre-header,
    body:has(.itm-home-v5) .itm-premium-hero {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        border-radius: 0 !important;
    }

    body:has(.itm-home-v5) .header-new-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: clamp(1rem, 5vw, 1.35rem) !important;
        padding-right: clamp(1rem, 5vw, 1.35rem) !important;
    }

    body:has(.itm-home-v5) .itm-premium-hero {
        padding-left: clamp(1rem, 5vw, 1.25rem) !important;
        padding-right: clamp(1rem, 5vw, 1.25rem) !important;
        background-color: #eaf9ff !important;
    }

    body:has(.itm-home-v5) .v5-hero-copy,
    body:has(.itm-home-v5) .v5-hero-aside,
    body:has(.itm-home-v5) .itm-hero-visual-stage {
        max-width: 100% !important;
    }

    body:has(.itm-home-v5) .section-badge {
        max-width: calc(100vw - 2rem) !important;
        white-space: normal !important;
    }

    body:has(.itm-home-v5) .v5-hero-actions {
        width: 100% !important;
    }

    body:has(.itm-home-v5) .v5-hero-actions .btn-new {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================

   1. RESET Y BASE

   ========================================================================== */

html { height: 100%; }

body {
    font-family: var(--font-body); 
    background-color: var(--fondo-principal);
    color: var(--texto-principal); 
    margin: 0; 
    font-size: 16px; 
    line-height: 1.7;
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    width: 100%; 
    overflow-x: hidden;
}

#page { flex: 1 0 auto; width: 100%; overflow: hidden; }

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-headings); 
    font-weight: 700; 
    color: var(--texto-principal); 
    word-wrap: break-word; 
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primario); text-decoration: none; transition: all var(--transition-speed) ease; }

a:hover { color: var(--color-secundario); }

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

/* ==========================================================================

   2. ESTRUCTURA Y LAYOUT GLOBAL

   ========================================================================== */

.app-container { width: 100%; position: relative; }

.app-main-content { 
    padding: 2rem 1.5rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
    box-sizing: border-box; 
}

/* --- MODIFICADORES DE ESTRUCTURA (SERVICIOS WIDE) --- */

body:has(#italmed-eco-master) .app-main-content,
body:has(#italmed-kine-master) .app-main-content,
body:has(#italmed-lab-master) .app-main-content,
body:has(#italmed-rx-master) .app-main-content {
    max-width: 1250px !important;
}

body:has(#italmed-eco-master) .entry-header,
body:has(#italmed-kine-master) .entry-header,
body:has(#italmed-lab-master) .entry-header,
body:has(#italmed-rx-master) .entry-header {
    display: none !important;
}

body:has(#italmed-eco-master) .glass-card,
body:has(#italmed-kine-master) .glass-card,
body:has(#italmed-lab-master) .glass-card,
body:has(#italmed-rx-master) .glass-card {
    padding: 2rem !important;
}

body.page .app-main-content {
    max-width: 1200px !important; 
    width: 100% !important; 
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
}

body.page .entry-content,
body.page .entry-content-wrapper,
body.page .glass-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================

   3. HEADER Y NAVEGACIÓN - REDISEÑO MODERNO 2.0

   ========================================================================== */

.header-inner { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 1rem; 
    box-sizing: border-box; 
}

/* ==================== PRE-HEADER ==================== */

.pre-header { 
    background: linear-gradient(135deg, var(--color-primario) 0%, #0891b2 100%); 
    color: #fff; 
    padding: 0.5rem 0; 
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pre-header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pre-header-left { 
    display: flex; 
    align-items: center; 
    gap: 8px;
    flex-wrap: wrap;
}

.pre-header-right { 
    display: flex; 
    align-items: center;
    gap: 5px;
}

.pre-header-link { 
    color: #fff; 
    display: inline-flex; 
    gap: 6px; 
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
}

.pre-header-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.pre-header-link.whatsapp-link:hover {
    background: #25D366;
}

.marketing-tag { 
    background: rgba(255,255,255,0.15); 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 500; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}

.marketing-tag:hover {
    background: rgba(255,255,255,0.25);
}

.marketing-tag .tag-text {
    display: inline;
}

/* Pre-Header Responsive */
@media (max-width: 900px) {
    .pre-header-container {
        justify-content: center;
    }
    .pre-header-left {
        justify-content: center;
    }
    .tag-horario { display: none; }
}

@media (max-width: 600px) {
    .pre-header {
        padding: 0.4rem 0;
    }
    .pre-header-left {
        gap: 5px;
    }
    .marketing-tag {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
    .marketing-tag .tag-text {
        display: none;
    }
    .tag-location .tag-text, .tag-fonasa .tag-text {
        display: inline;
    }
    .pre-header-link .link-text {
        display: none;
    }
    .pre-header-link {
        padding: 6px 10px;
        font-size: 1rem;
    }
}

/* ==================== HEADER PRINCIPAL V3 - DISEÑO LIMPIO ==================== */

.site-header-v3 {
    background: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.header-v3-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.header-v3-logo {
    flex-shrink: 0;
    display: block;
}

.header-v3-logo .logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.header-v3-logo:hover .logo-img {
    transform: scale(1.03);
}

/* Navegación de Servicios */
.header-v3-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-v3-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--texto-principal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-v3-link i {
    font-size: 1rem;
    color: var(--color-primario);
    transition: transform 0.2s ease;
}

.nav-v3-link span {
    transition: color 0.2s ease;
}

/* ======================================================================
   ITALMED V5.0 - OVERRIDES GLOBALES Y PORTADA EDITORIAL
   ====================================================================== */

:root {
    --color-primario: #0c9dcc;
    --color-secundario: #19c2af;
    --color-oscuro: #10324a;
    --fondo-principal: #f7fafc;
    --fondo-secundario: #ffffff;
    --fondo-terciario: #ecf5f8;
    --texto-principal: #18384d;
    --texto-secundario: #5f7384;
    --borde-color: rgba(12, 157, 204, 0.12);
    --gradiente-logo: linear-gradient(135deg, #0c9dcc 0%, #19c2af 100%);
    --sombra-acento: 0 14px 30px rgba(8, 74, 109, 0.12);
    --sombra-suave: 0 8px 20px rgba(11, 53, 77, 0.06);
    --border-radius: 18px;
    --font-headings: 'Sora', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

body {
    background: var(--fondo-principal);
    color: var(--texto-principal);
}

.app-main-content {
    max-width: 1280px;
    padding: 3.25rem 1.25rem 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(12, 157, 204, 0.18);
    box-shadow: 0 10px 25px rgba(9, 62, 89, 0.06);
    color: var(--color-oscuro);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 1rem 0 0.75rem;
}

.section-subtitle {
    max-width: 760px;
    margin: 0;
    color: var(--texto-secundario);
    font-size: 1.05rem;
}

.pre-header {
    position: relative;
    z-index: 1002;
    background: linear-gradient(90deg, #08344f 0%, #0c9dcc 42%, #19c2af 100%);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pre-header-container {
    min-height: 52px;
}

.marketing-tag,
.pre-header-link {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.header-new {
    position: sticky;
    top: 0;
    z-index: 1001;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(12, 157, 204, 0.10);
    transition: padding 0.25s ease;
}

.header-new.scrolled {
    box-shadow: 0 8px 22px rgba(15, 44, 63, 0.06);
}

.header-new-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1rem;
    background: transparent;
}

.header-new-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--texto-principal);
}

.header-new-brand img {
    width: auto;
    height: 44px;
}

.header-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header-brand-copy strong {
    font-family: var(--font-headings);
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.header-brand-copy small {
    color: var(--texto-secundario);
    font-size: 0.77rem;
}

.header-new-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

.menu-link,
.menu-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: var(--texto-principal);
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
}

.menu-link:hover,
.menu-link.active,
.menu-dropdown-trigger:hover,
.menu-dropdown-trigger.active {
    background: rgba(12, 157, 204, 0.09);
    color: var(--color-oscuro);
}

.menu-dropdown {
    position: relative;
}

.menu-dropdown-content {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    min-width: 270px;
    padding: 0.8rem;
    display: grid;
    gap: 0.35rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(12, 157, 204, 0.15);
    box-shadow: 0 10px 24px rgba(8, 56, 82, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.menu-dropdown:hover .menu-dropdown-content,
.menu-dropdown:focus-within .menu-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    color: var(--texto-principal);
    font-weight: 700;
}

.menu-dropdown-content a:hover,
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: rgba(12, 157, 204, 0.08);
}

.header-new-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0 1.2rem;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-new:hover {
    transform: translateY(-2px);
}

.btn-new-solid {
    color: #fff;
    background: var(--gradiente-logo);
    box-shadow: 0 18px 35px rgba(12, 157, 204, 0.28);
}

.btn-new-solid:hover {
    color: #fff;
}

.btn-new-ghost {
    color: var(--color-oscuro);
    background: rgba(12, 157, 204, 0.08);
    border-color: rgba(12, 157, 204, 0.14);
}

/* Pro-access small circle button in header */
.btn-pro-access {
    width: 34px; height: 34px; min-width: 34px;
    padding: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(220,38,38,.08);
    color: #dc2626; border: 1.5px solid rgba(220,38,38,.2);
    font-size: .85rem; transition: background .2s, transform .2s;
    text-decoration: none; margin-right: .3rem;
}
.btn-pro-access:hover { background: rgba(220,38,38,.16); transform: scale(1.08); color: #dc2626; }
.btn-pro-mobile { color: #dc2626 !important; border-color: rgba(220,38,38,.3) !important; }

.header-new-toggle {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 16px;
    background: rgba(12, 157, 204, 0.08);
}

.header-new-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-oscuro);
    border-radius: 2px;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 23, 35, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1098;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-new {
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, 410px);
    height: 100vh;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8fbfd;
    box-shadow: -10px 0 30px rgba(8, 56, 82, 0.12);
    transform: translateX(102%);
    transition: transform 0.3s ease;
    z-index: 1099;
}

.mobile-menu-new.is-open {
    transform: translateX(0);
}

.mobile-menu-header,
.mobile-menu-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.mobile-menu-brand img {
    height: 38px;
}

.mobile-menu-brand strong,
.mobile-menu-brand small {
    display: block;
}

.mobile-menu-brand small {
    color: var(--texto-secundario);
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: none;
    background: rgba(12, 157, 204, 0.08);
    color: var(--color-oscuro);
    font-size: 1.1rem;
}

.mobile-menu-nav {
    display: grid;
    gap: 0.35rem;
    padding: 0.6rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--sombra-suave);
}

.mobile-menu-label {
    margin-top: 0.45rem;
    padding: 0.6rem 0.75rem 0.2rem;
    color: var(--texto-secundario);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 50px;
    padding: 0 0.9rem;
    border-radius: 14px;
    color: var(--texto-principal);
    font-weight: 700;
}

.mobile-menu-footer {
    margin-top: auto;
    display: grid;
    gap: 0.85rem;
}

.mobile-menu-contact-card {
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(12, 157, 204, 0.12), rgba(25, 194, 175, 0.16));
    border: 1px solid rgba(12, 157, 204, 0.12);
}

.mobile-menu-contact-card span,
.mobile-menu-contact-card a {
    display: block;
}

.mobile-menu-contact-card span {
    color: var(--texto-secundario);
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mobile-menu-contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: #25D366;
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.40);
}

.mobile-menu-contact-card a:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.site-footer {
    margin-top: 3rem;
    background: #0c2b40;
    color: rgba(255,255,255,0.92);
    padding: 2.5rem 0 1.5rem;
}

.footer-kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8ee7d9;
}

.footer-cta-content h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.footer-cta-actions {
    display: flex;
    gap: 0.75rem;
}

.footer-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.footer-column {
    padding: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand span {
    display: flex;
    flex-direction: column;
}

.footer-brand small,
.footer-contact-list span,
.footer-hours-list span,
.footer-tagline {
    color: rgba(255,255,255,0.68);
}

.footer-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1.1rem;
}

.footer-contact-list,
.footer-hours-list,
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.9rem;
}

.footer-contact-list li,
.footer-hours-list li,
.footer-links-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.footer-links-list a,
.footer-contact-list a,
.footer-hours-list a {
    color: rgba(255,255,255,0.92);
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.footer-mini-note {
    margin: 0.5rem 0 0;
    color: rgba(255,255,255,0.68);
}

.footer-copyright {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1ed760, #21b44d);
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 18px 30px rgba(14, 101, 46, 0.35);
    z-index: 999;
}

.itm-home-v5 {
    position: relative;
}

.v5-hero,
.v5-final-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.v5-hero {
    position: relative;
    overflow: hidden;
    padding: 2.3rem;
    margin-top: 0;
    border: 1px solid rgba(12, 157, 204, 0.12);
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 180, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(135deg, #fbfeff 0%, #eef9ff 48%, #f8fffd 100%);
    box-shadow: 0 30px 80px rgba(14, 53, 79, 0.10);
}

.v5-hero::before,
.v5-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.v5-hero::before {
    width: 240px;
    height: 240px;
    top: -110px;
    right: -80px;
    background: rgba(12, 157, 204, 0.08);
}

.v5-hero::after {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -70px;
    background: rgba(34, 197, 180, 0.10);
}

.v5-hero-copy,
.v5-hero-aside {
    position: relative;
    z-index: 1;
}

.v5-eyebrow {
    margin: 0.85rem 0 0;
    color: var(--color-primario);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.v5-hero-title {
    margin: 0.85rem 0 1rem;
    font-family: var(--font-headings);
    font-size: clamp(2.2rem, 4.4vw, 3.7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    max-width: 10ch;
}

.v5-hero-text {
    max-width: 38ch;
    color: var(--texto-secundario);
    font-size: 0.98rem;
    line-height: 1.62;
}

.v5-hero-actions,
.v5-final-actions,
.v5-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.v5-hero-actions,
.v5-hero-trust {
    margin-top: 1.2rem;
}

.v5-hero-actions {
    gap: 0.95rem;
}

.v5-hero-actions .btn-new {
    min-height: 54px;
    padding: 0 1.45rem;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(14, 53, 79, 0.10);
}

.v5-hero-actions .btn-new i {
    font-size: 0.95rem;
}

.v5-hero-actions .v5-hero-btn-primary {
    background: linear-gradient(135deg, #0aa2d1 0%, #0d88c7 100%);
    color: #ffffff;
    border: 1px solid rgba(10, 162, 209, 0.22);
    box-shadow: 0 18px 38px rgba(10, 162, 209, 0.26);
}

.v5-hero-actions .v5-hero-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 22px 42px rgba(10, 162, 209, 0.32);
}

.v5-hero-actions .v5-hero-btn-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--texto-principal);
    border: 1px solid rgba(12, 157, 204, 0.16);
}

.v5-hero-actions .v5-hero-btn-secondary:hover {
    color: var(--texto-principal);
    background: #ffffff;
}

.v5-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(12, 157, 204, 0.12);
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(14, 53, 79, 0.05);
}

.v5-hero-aside {
    display: grid;
    gap: 1rem;
}

.v5-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, #f2f8fb 0%, #ffffff 100%);
    border: 1px solid rgba(12, 157, 204, 0.12);
    box-shadow: 0 28px 60px rgba(14, 53, 79, 0.14);
}

.v5-hero-slider-track {
    position: relative;
    min-height: 420px;
}

.v5-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.v5-hero-slide.is-active {
    opacity: 1;
}

.v5-hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #f6fbfd;
}

.v5-hero-floating-card {
    position: absolute;
    left: 18px;
    bottom: 78px;
    display: grid;
    gap: 0.25rem;
    max-width: 250px;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(12, 43, 64, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 18px 34px rgba(12, 43, 64, 0.26);
    backdrop-filter: blur(10px);
}

.v5-floating-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.v5-hero-floating-card strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.v5-hero-floating-card span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
}

.v5-hero-contact-row {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 0.9fr;
    gap: 0.8rem;
}

.v5-hero-slider-controls {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.v5-hero-slider-arrow {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(12, 43, 64, 0.78);
    color: #fff;
    cursor: pointer;
}

.v5-hero-slider-dots {
    display: flex;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: rgba(12, 43, 64, 0.52);
}

.v5-hero-slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.46);
    cursor: pointer;
}

.v5-hero-slider-dot.is-active {
    background: #ffffff;
}

.v5-convenios-section .convenios-grid {
    margin-top: 1.8rem;
}

.v5-info-card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid rgba(12, 157, 204, 0.10);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,250,253,0.96) 100%);
    box-shadow: 0 18px 36px rgba(14, 53, 79, 0.08);
}

.v5-info-card--accent {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b8db3 0%, #0d6f95 100%);
    border-color: rgba(12, 157, 204, 0.24);
    box-shadow: 0 22px 42px rgba(11, 141, 179, 0.22);
}

.v5-info-card--accent::after {
    content: "";
    position: absolute;
    top: -28px;
    right: -18px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
}

.v5-info-card.v5-info-card--accent .v5-card-kicker,
.v5-info-card.v5-info-card--accent strong,
.v5-info-card.v5-info-card--accent p {
    position: relative;
    z-index: 1;
}

.v5-info-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.v5-info-card-accent-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 0.95rem;
}

.v5-info-card.v5-info-card--accent .v5-card-kicker {
    color: rgba(255,255,255,0.74);
}

.v5-info-card.v5-info-card--accent strong {
    color: #ffffff;
    font-size: 1.38rem;
    line-height: 1.02;
}

.v5-info-card.v5-info-card--accent p {
    color: rgba(255,255,255,0.92);
    max-width: 16ch;
    line-height: 1.45;
}

.v5-card-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--texto-secundario);
}

.v5-info-card strong {
    display: block;
    margin: 0.35rem 0 0.25rem;
    font-size: 1.05rem;
    line-height: 1.12;
}

.v5-info-card p {
    margin: 0;
    color: var(--texto-secundario);
    font-size: 0.92rem;
    line-height: 1.45;
}

.v5-info-card a {
    display: inline-flex;
    margin-top: 0.8rem;
    font-weight: 700;
}

.v5-quick-links,
.v5-services-grid,
.v5-journey-grid,
.v5-blog-grid,
.v5-reviews-grid {
    display: grid;
    gap: 1rem;
}

.v5-quick-links {
    margin-top: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.v5-quick-card,
.v5-service-card,
.v5-journey-card,
.v5-widget-card,
.v5-blog-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(12, 157, 204, 0.10);
    box-shadow: var(--sombra-suave);
}

.v5-quick-card {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    min-height: 120px;
    padding: 1.15rem;
    color: var(--texto-principal);
}

.v5-quick-card--featured {
    background: linear-gradient(135deg, #eef9ff 0%, #f7fffd 100%);
    border-color: rgba(12, 157, 204, 0.20);
    box-shadow: 0 12px 30px rgba(12, 157, 204, 0.12);
}

.v5-quick-card--featured i {
    background: linear-gradient(135deg, rgba(12, 157, 204, 0.14), rgba(34, 197, 180, 0.18));
}

.v5-quick-card i,
.v5-service-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(12, 157, 204, 0.1);
    color: var(--color-primario);
    font-size: 1.25rem;
}

.v5-quick-card strong,
.v5-quick-card span {
    display: block;
}

.v5-quick-card span {
    margin-top: 0.3rem;
    color: var(--texto-secundario);
}

.v5-section {
    margin-top: 4.4rem;
}

.v5-section-heading {
    margin-bottom: 1.35rem;
}

.v5-heading-inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

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

.v5-service-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    color: var(--texto-principal);
}

.v5-service-card h3,
.v5-journey-card h3,
.v5-blog-card h3,
.v5-widget-card h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.v5-service-card p,
.v5-journey-card p,
.v5-blog-card p,
.v5-widget-card p {
    margin: 0;
    color: var(--texto-secundario);
}

.v5-service-link,
.v5-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    font-weight: 800;
    color: var(--color-oscuro);
}

.v5-services-showcase {
    display: grid;
    grid-template-columns: minmax(170px, 200px) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding: 1.2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(12, 157, 204, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.96) 100%);
    border: 1px solid rgba(12, 157, 204, 0.12);
    box-shadow: 0 24px 70px rgba(14, 53, 79, 0.08);
}

.v5-services-panel {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #0b8db3 0%, #0d6f95 100%);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(11, 141, 179, 0.28);
}

.v5-services-panel-label {
    display: inline-flex;
    width: fit-content;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.v5-services-panel h3 {
    margin: 0;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.v5-services-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.v5-services-panel-list {
    display: grid;
    gap: 0.45rem;
}

.v5-services-panel-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.v5-services-panel-link:hover,
.v5-services-panel-link.is-active {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.36);
    color: #ffffff;
}

.v5-services-panel-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1rem;
}

.v5-services-panel-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.v5-services-panel-copy strong,
.v5-services-panel-copy small {
    display: block;
}

.v5-services-panel-copy small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.35;
}

.v5-services-panel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.6rem;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.v5-services-panel-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.v5-services-featured-grid {
    display: block;
}

.v5-service-showcase-card {
    display: none;
}

.v5-service-showcase-card.is-active {
    display: block;
}

/* --- Mini cards grid (3 columnas dentro de la categoría activa) --- */

.v5-mini-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.v5-mini-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(12, 157, 204, 0.14);
    box-shadow: 0 4px 16px rgba(14, 53, 79, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v5-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(14, 53, 79, 0.12);
}

.v5-mini-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.v5-mini-card-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(12, 157, 204, 0.1);
    color: var(--color-primario);
    font-size: 1rem;
    flex-shrink: 0;
}

.v5-mini-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(10, 162, 209, 0.12);
    color: var(--color-primario);
    font-size: 0.73rem;
    font-weight: 800;
    white-space: nowrap;
}

.v5-mini-card-name {
    margin: 0.25rem 0 0;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--texto-principal);
}

.v5-mini-card-price {
    margin: 0;
    font-size: 0.87rem;
    color: var(--texto-secundario);
    line-height: 1.3;
}

.v5-mini-card-price strong {
    color: var(--color-primario);
    font-weight: 800;
}

.v5-mini-card-consult {
    font-style: italic;
    color: var(--texto-secundario);
}

.v5-mini-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.v5-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v5-mini-btn:hover {
    transform: translateY(-1px);
}

.v5-mini-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #12a8cc 0%, #159dd8 100%);
    box-shadow: 0 6px 18px rgba(18, 168, 204, 0.22);
}

.v5-mini-btn-secondary {
    color: var(--texto-principal);
    background: rgba(12, 157, 204, 0.08);
}

.v5-service-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.v5-service-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 157, 204, 0.1);
    color: var(--color-primario);
    font-size: 0.78rem;
    font-weight: 800;
}

.v5-service-chip-soft {
    background: rgba(255, 193, 7, 0.16);
    color: #9a6a00;
}

.v5-service-showcase-card h3 {
    margin: 1rem 0 0.55rem;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.v5-service-showcase-card p {
    margin: 0;
    color: var(--texto-secundario);
}

.v5-service-showcase-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.v5-service-showcase-item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(12, 157, 204, 0.08);
    color: var(--color-oscuro);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
}

.v5-service-actions {
    display: grid;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.15rem;
}

.v5-service-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.v5-service-action:hover {
    transform: translateY(-2px);
}

.v5-service-action-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #12a8cc 0%, #159dd8 100%);
    box-shadow: 0 14px 30px rgba(18, 168, 204, 0.24);
}

.v5-service-action-secondary {
    color: var(--color-oscuro);
    background: rgba(12, 157, 204, 0.08);
}

/* Tarjeta única (Kine, Psicología) */
.v5-mini-cards-grid--single {
    grid-template-columns: 1fr;
}

.v5-mini-cards-grid--single .v5-mini-card {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.v5-mini-cards-grid--single .v5-mini-card-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 80px;
}

.v5-mini-cards-grid--single .v5-mini-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 18px;
}

.v5-mini-cards-grid--single .v5-mini-card-name {
    font-size: 1.25rem;
    margin: 0;
}

.v5-mini-cards-grid--single .v5-mini-card-price {
    font-size: 1rem;
}

.v5-mini-cards-grid--single .v5-mini-card-actions {
    flex-direction: row;
    padding-top: 0;
    margin-left: auto;
    min-width: 200px;
}

.v5-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.v5-journey-card {
    padding: 1.35rem;
}

.v5-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(12, 157, 204, 0.14), rgba(25, 194, 175, 0.18));
    color: var(--color-primario);
    font-weight: 800;
}

.v5-reviews-grid {
    grid-template-columns: 1.15fr 0.85fr;
}

.v5-reviews-layout .v5-section-heading {
    text-align: center;
}

.v5-reviews-layout .section-badge {
    margin-inline: auto;
}

.v5-reviews-layout .section-subtitle {
    max-width: 600px;
    margin-inline: auto;
}

.v5-widget-card {
    padding: 1.3rem;
}

.v5-widget-card iframe {
    width: 100%;
    margin-top: 1rem;
    border: 0;
    border-radius: 18px;
}

.v5-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v5-blog-card {
    overflow: hidden;
    color: var(--texto-principal);
}

.v5-blog-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ddebf1;
}

.v5-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v5-blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-primario);
    font-size: 2rem;
}

.v5-blog-body {
    padding: 1.2rem;
}

.v5-blog-body span {
    color: var(--texto-secundario);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.v5-final-cta {
    margin-top: 4.4rem;
    padding: 1.8rem 0 0;
    border-radius: 0;
    background: transparent;
    border: 1px solid rgba(12, 157, 204, 0.12);
    border-left: 0;
    border-right: 0;
    box-shadow: none;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .header-new-container {
        grid-template-columns: auto 1fr auto;
    }

    .header-new-menu,
    .header-new-actions {
        display: none;
    }

    .header-new-toggle {
        display: inline-block;
    }

    .v5-hero,
    .v5-final-cta {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .v5-blog-grid,
    .v5-journey-grid,
    .v5-quick-links,
    .v5-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v5-services-showcase {
        grid-template-columns: 1fr;
    }

    .v5-services-panel {
        position: static;
    }

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

    .v5-hero-contact-row {
        grid-template-columns: 1fr 1fr;
    }

    .v5-hero-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .app-main-content {
        padding-inline: 0.85rem;
    }

    .pre-header-container,
    .v5-heading-inline,
    .v5-hero-actions,
    .v5-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header-brand-copy {
        display: none;
    }

    .v5-hero,
    .v5-final-cta {
        padding-top: 1.25rem;
    }

    .v5-hero {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .v5-hero-contact-row {
        grid-template-columns: 1fr;
    }

    .v5-hero-slider-track {
        min-height: 250px;
    }

    .v5-hero-floating-card {
        position: static;
        max-width: none;
        margin: 0.9rem;
    }

    .v5-hero-slider-controls {
        position: static;
        padding: 0 0.9rem 0.9rem;
    }

    .v5-hero-title,
    .section-title {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .v5-hero-metrics {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .v5-blog-grid,
    .v5-journey-grid,
    .v5-quick-links,
    .v5-reviews-grid {
        grid-template-columns: 1fr;
    }

    .v5-services-showcase {
        padding: 1rem;
        border-radius: 22px;
    }

    .v5-services-panel {
        padding: 1.1rem;
        border-radius: 20px;
    }

    .v5-mini-cards-grid {
        grid-template-columns: 1fr;
    }

    .v5-services-panel-link {
        padding: 0.8rem;
    }

    .v5-service-action {
        min-height: 46px;
    }

    .footer-column {
        padding: 1.1rem;
    }

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

.nav-v3-link:hover {
    background: var(--fondo-secundario);
    color: var(--color-primario);
}

.nav-v3-link:hover i {
    transform: scale(1.15);
}

/* Botones CTA */
.header-v3-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-v3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn-v3 i {
    font-size: 0.95rem;
}

.btn-v3-outline {
    background: transparent;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
}

.btn-v3-outline:hover {
    background: var(--color-primario);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 162, 209, 0.3);
}

.btn-v3-primary {
    background: linear-gradient(135deg, var(--color-primario), #0891b2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 162, 209, 0.35);
}

.btn-v3-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 162, 209, 0.45);
    filter: brightness(1.05);
}

/* Botón Menú Móvil */
.header-v3-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--fondo-secundario);
    border: 1px solid var(--borde-color);
    border-radius: 12px;
    color: var(--color-primario);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-v3-menu-btn:hover {
    background: var(--color-primario);
    color: #fff;
    border-color: var(--color-primario);
}

/* ==================== RESPONSIVE HEADER V3 ==================== */

@media (max-width: 1200px) {
    .header-v3-inner {
        gap: 1rem;
    }
    
    .nav-v3-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .nav-v3-link i {
        font-size: 0.9rem;
    }
}

@media (max-width: 1050px) {
    .header-v3-nav {
        display: none;
    }
    
    .header-v3-menu-btn {
        display: flex;
    }
    
    .header-v3-actions {
        display: none;
    }
}

@media (max-width: 600px) {
    .header-v3-inner {
        padding: 0.75rem 1rem;
    }
    
    .header-v3-logo .logo-img {
        height: 42px;
    }
    
    .header-v3-menu-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* ==================== PANEL MÓVIL V3 ==================== */

.mobile-panel-v3 {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 10002;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 50px rgba(0,0,0,0.2);
}

.mobile-panel-v3.is-open {
    transform: translateX(0);
}

.mobile-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-panel-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Header del panel */
.mobile-panel-v3-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--borde-color);
    background: var(--fondo-secundario);
}

.mobile-panel-logo {
    height: 38px;
    width: auto;
}

.mobile-panel-close {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--borde-color);
    border-radius: 10px;
    color: var(--texto-secundario);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-panel-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

/* Body del panel */
.mobile-panel-v3-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.mobile-panel-section {
    margin-bottom: 2rem;
}

.mobile-panel-section:last-child {
    margin-bottom: 0;
}

.mobile-panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--texto-secundario);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--borde-color);
}

/* Lista de servicios móvil */
.mobile-services-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-service-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--texto-principal);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: var(--fondo-secundario);
    border: 1px solid transparent;
}

.mobile-service-link i {
    font-size: 1.1rem;
    color: var(--color-primario);
    width: 24px;
    text-align: center;
}

.mobile-service-link:hover,
.mobile-service-link:active {
    background: var(--fondo-hover);
    border-color: var(--color-primario);
    color: var(--color-primario);
}

/* Enlaces rápidos móvil */
.mobile-links-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--texto-secundario);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mobile-quick-link i {
    font-size: 1rem;
    color: var(--color-primario);
    width: 20px;
    text-align: center;
}

.mobile-quick-link:hover {
    background: var(--fondo-secundario);
    color: var(--color-primario);
}

/* Footer del panel */
.mobile-panel-v3-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--borde-color);
    background: var(--fondo-secundario);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.mobile-cta-btn i {
    font-size: 1rem;
}

.mobile-cta-primary {
    background: linear-gradient(135deg, var(--color-primario), #0891b2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 162, 209, 0.3);
}

.mobile-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 162, 209, 0.4);
}

.mobile-cta-secondary {
    background: #fff;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
}

.mobile-cta-secondary:hover {
    background: var(--color-primario);
    color: #fff;
}

.mobile-cta-whatsapp {
    background: #25D366;
    color: #fff;
}

.mobile-cta-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.mobile-nav-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--borde-color);
    background: var(--fondo-secundario);
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.mobile-menu-close { 
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem; 
    cursor: pointer; 
    color: var(--texto-secundario);
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--borde-color);
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

/* Quick Info móvil */
.mobile-quick-info {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--color-primario), #0891b2);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}

.quick-info-item i {
    width: 16px;
    text-align: center;
    opacity: 0.9;
}

/* Grid de servicios móvil */
.mobile-services-grid {
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.mobile-section-title {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--texto-secundario);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.mobile-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    text-decoration: none;
    border-radius: 12px;
    background: var(--fondo-secundario);
    border: 1px solid var(--borde-color);
    transition: all 0.2s ease;
}

.mobile-service-item:hover,
.mobile-service-item:active {
    background: var(--fondo-hover);
    border-color: var(--color-primario);
    transform: scale(0.98);
}

.mobile-service-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    color: var(--color-primario);
    font-size: 0.95rem;
}

.mobile-service-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--texto-principal);
    text-align: center;
    line-height: 1.2;
}

/* Enlaces adicionales móvil */
.mobile-nav-links { 
    padding: 0.75rem 1.25rem;
    flex-grow: 1;
    overflow-y: auto;
    border-top: 1px solid var(--borde-color);
}

.mobile-nav-link { 
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0; 
    border-bottom: 1px solid var(--borde-color); 
    color: var(--texto-principal); 
    font-weight: 500; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--color-primario);
    padding-left: 5px;
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    color: var(--color-primario);
}

/* Footer móvil */
.mobile-nav-footer {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--borde-color);
    background: var(--fondo-secundario);
    margin-top: auto;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, var(--color-primario), #0891b2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 162, 209, 0.3);
}

.mobile-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 162, 209, 0.4);
}

.mobile-btn-secondary {
    background: #fff;
    color: var(--color-primario);
    border: 1px solid var(--borde-color);
}

.mobile-btn-secondary:hover {
    background: var(--fondo-hover);
    border-color: var(--color-primario);
}

.mobile-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.mobile-btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* Responsive del panel móvil */
@media (max-width: 400px) {
    .mobile-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================

   4. COMPONENTES GENERALES

   ========================================================================== */

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 30px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; cursor: pointer; text-decoration: none; border: 2px solid transparent; }

.btn-primary { background: var(--gradiente-logo); color: #fff !important; box-shadow: var(--sombra-acento); }

.btn-secondary { background: transparent; color: var(--texto-principal); border: 2px solid var(--borde-color); }

.btn-secondary:hover { border-color: var(--color-acento); color: var(--color-acento); background-color: var(--fondo-hover); }

.btn-secondary-dark { background: transparent; border: 2px solid var(--color-primario); color: var(--color-primario) !important; }

.btn-secondary-dark:hover { background: var(--color-primario); color: #fff !important; }

/* FIX GLOBAL: Separación de iconos en botones */

.btn i, .btn svg, 
.btn-primary i, .btn-primary svg, 
.btn-secondary i, .btn-secondary svg,
.italmed-btn-action i, .italmed-btn-action svg {
    margin-right: 10px; 
    vertical-align: middle;
}

/* Botón Acción */

.contenedor-boton-centro { display: flex; justify-content: center; align-items: center; width: 100%; margin: 3rem 0; clear: both; }

.italmed-btn-action {
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%); color: #ffffff !important;
    padding: 15px 35px; border-radius: 50px; font-size: 1.1rem; font-weight: 700;
    text-decoration: none !important; box-shadow: 0 4px 15px rgba(10, 162, 209, 0.4);
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px;
}

.italmed-btn-action:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(10, 162, 209, 0.6); color: #ffffff !important; }

/* Tarjetas */

.glass-card, .portal-card, .blog-post-card, .trust-hook-card {
    position: relative; overflow: hidden; background: #fff; border: 1px solid var(--borde-color); 
    border-radius: 16px; transition: all 0.3s ease; box-shadow: var(--sombra-suave); padding: 2rem;
    display: flex; flex-direction: column;
}

.glass-card::before, .portal-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--color-primario) 0%, var(--color-secundario) 100%);
}

.glass-card:hover, .trust-hook-card:hover, .portal-card:hover { transform: translateY(-8px); border-color: rgba(10, 162, 209, 0.3); box-shadow: var(--sombra-acento); }

.glass-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }

.glass-card .icon { font-size: 1.8rem; color: var(--color-acento); background-color: var(--fondo-secundario); width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.glass-card .title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; margin: 0; }

.glass-card .description { color: #666; font-size: 0.95rem; line-height: 1.6; margin-top: 0.5rem; }

/* Cards estáticas */

.glass-card.static-card, .italmed-static-card { transform: none !important; transition: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.glass-card.static-card:hover, .italmed-static-card:hover { transform: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; border-color: #e1e8ed !important; }

/* Grillas */

.card-grid, .icons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }

/* Loader */

.scanner-loader { width: 100px; height: 100px; position: relative; display: flex; align-items: center; justify-content: center; margin: 5rem auto; }

.scanner-loader::before, .scanner-loader::after { content: ''; position: absolute; border-radius: 50%; inset: 0; border: 2px solid var(--borde-color); }

.scanner-loader::after { border: 4px solid var(--color-acento); border-top-color: transparent; animation: spin 1s linear infinite; }

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

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

/* ==========================================================================

   5. HOME PAGE

   ========================================================================== */

.hero-split-section { padding: 2rem 0; background: var(--fondo-principal); }

.hero-split-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }

.hero-split-left { 
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid var(--borde-color); 
    box-shadow: var(--sombra-suave); 
    background: transparent; 
    display: block;
    width: 100%;
}

.hero-split-right { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }

.trust-hook-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; flex-grow: 1; flex-direction: row; }

.trust-hook-card .icon { width: 50px; height: 50px; background: var(--fondo-secundario); color: var(--color-primario); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; border: 1px solid var(--borde-color); }

.trust-hook-card h4 { margin: 0 0 5px; font-size: 1.1rem; }

.trust-hook-card p { margin: 0; font-size: 0.9rem; color: var(--texto-secundario); line-height: 1.4; }

.cta-banner-modern { background: var(--gradiente-logo); border-radius: 20px; padding: 4rem 2rem; text-align: center; color: #fff; margin: 4rem 0; box-shadow: 0 15px 30px rgba(10, 162, 209, 0.3); position: relative; overflow: hidden; }

.cta-banner-modern::before { content: ''; position: absolute; top: -50%; left: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.1); border-radius: 50%; pointer-events: none; }

.home-cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; justify-content: center; }

.cta-banner-modern .btn-secondary { border-color: #fff; color: #fff; } 

.cta-banner-modern .btn-secondary:hover { background: #fff; color: var(--color-primario) !important; }

.team-reviews-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; align-items: start; }

.team-profile-content { text-align: center; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: center; }

.team-profile-content img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 4px solid var(--fondo-secundario); box-shadow: var(--sombra-suave); }

.convenios-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }

.convenios-grid img { max-height: 100px; width: auto; opacity: 0.85; filter: grayscale(100%); transition: all 0.4s ease; }

.convenios-grid img:hover { filter: none; opacity: 1; transform: scale(1.1); }

.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: -2rem; position: relative; z-index: 10; }

.portal-card { padding: 3rem 2rem; text-align: center; display: block; color: var(--texto-principal); }

.portal-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--fondo-secundario); border-radius: 50%; color: var(--color-primario); transition: 0.3s; }

.portal-card:hover .portal-icon { background: var(--gradiente-logo); color: #fff; transform: scale(1.1) rotate(5deg); }

.portal-btn { display: block; width: 100%; background: var(--fondo-secundario); color: var(--color-primario); padding: 15px; border-radius: 50px; font-weight: 600; transition: 0.3s; margin-top: 2rem; border: 2px solid transparent; }

.portal-card:hover .portal-btn { background: var(--color-primario); color: #fff; box-shadow: 0 4px 15px rgba(10, 162, 209, 0.4); }

.dashed-box-help-portal { background: var(--fondo-secundario); border: 2px dashed var(--color-primario); border-radius: 16px; padding: 2.5rem; text-align: center; margin-top: 4rem; box-shadow: var(--sombra-suave); }

.reservo-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 20px; }

.tab-button { padding: 12px; background: var(--fondo-secundario); border: 1px solid var(--borde-color); border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--texto-secundario); transition: 0.3s; text-align: center; }

.tab-button.active { background: var(--gradiente-logo); color: #fff; border-color: transparent; box-shadow: var(--sombra-acento); }

.tab-content { display: none; width: 100%; padding: 1.5rem 0; }

.tab-content.active { display: block; animation: fadeIn 0.5s; }

/* ==========================================================================

   6. FOOTER

   ========================================================================== */

.site-footer { 
    background: linear-gradient(135deg, #1e293b 0%, #2c3e50 100%);
    color: #ecf0f1; 
    padding: 4rem 0 2rem; 
    margin-top: auto; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 2.5rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-secundario);
    display: inline-block;
}

.footer-contact-list,
.footer-hours-list,
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li,
.footer-hours-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-list li i,
.footer-hours-list li i {
    color: var(--color-secundario);
    width: 18px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-list a,
.footer-links-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-list a:hover,
.footer-links-list a:hover {
    color: var(--color-secundario);
    padding-left: 5px;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links-list a::before {
    content: '→';
    color: var(--color-secundario);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links-list a:hover::before {
    transform: translateX(5px);
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-social-icon { 
    font-size: 1.2rem; 
    transition: all 0.3s ease; 
    background: rgba(255,255,255,0.1); 
    width: 45px; 
    height: 45px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 12px; 
    color: #fff; 
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-icon:hover { 
    transform: translateY(-3px); 
    color: #fff; 
}

.footer-social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.footer-social-icon.facebook:hover {
    background: #1877F2;
}

.footer-social-icon.whatsapp:hover {
    background: #25D366;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 180, 0.15);
    border: 1px solid rgba(34, 197, 180, 0.3);
    color: var(--color-secundario);
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-badge i {
    font-size: 1.2rem;
}

.footer-copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.footer-site-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-site-credit-label {
    color: #64748b;
    font-size: 0.8rem;
}

.footer-site-credit-label strong {
    color: #94a3b8;
    font-weight: 600;
}

.footer-site-credit-icons {
    display: flex;
    gap: 0.5rem;
}

.fsc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.fsc-icon:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.fsc-wa  { background: #25D366; }
.fsc-li  { background: #0A66C2; }
.fsc-ig  { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.fsc-mail{ background: #475569; }

.footer-tagline {
    color: var(--color-secundario);
    font-weight: 500;
}

.social-disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(1); }

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact-list li,
    .footer-hours-list li {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-badge {
        justify-content: center;
    }
    
    .footer-links-list a {
        justify-content: center;
    }
}

/* ==========================================================================

   7. MÓDULO: KINESIOLOGÍA (#italmed-kine-master)

   ========================================================================== */

#italmed-kine-master { background-color: #ffffff; width: 100%; overflow-x: hidden; font-family: 'Poppins', sans-serif; color: #2c3e50; }

#italmed-kine-master * { box-sizing: border-box; }

#italmed-kine-master .hero-section {
    position: relative; background-color: #333; background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?q=80&w=2000&auto=format&fit=crop');
    background-size: cover; background-position: center; padding: 6rem 1.5rem; text-align: center; border-radius: 0 0 40px 40px; margin-bottom: 4rem;
}

#italmed-kine-master .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 162, 209, 0.9) 0%, rgba(0, 95, 122, 0.95) 100%); border-radius: 0 0 40px 40px; z-index: 1; }

#italmed-kine-master .hero-content { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; color: #fff; }

#italmed-kine-master .badge-pill {
    background: rgba(255,255,255,0.2); color: #fff; padding: 6px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: bold;
    border: 1px solid rgba(255,255,255,0.3); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
}

#italmed-kine-master h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin: 0 0 20px 0; line-height: 1.1; color: #ffffff; text-shadow: 0 4px 10px rgba(0,0,0,0.2); }

#italmed-kine-master .hero-text { font-size: 1.1rem; margin: 0 auto 30px auto; max-width: 800px; opacity: 0.95; font-weight: 400; line-height: 1.6; color: #ffffff; }

#italmed-kine-master .hero-btn {
    background-color: #ffffff; color: #0AA2D1; font-weight: 800; padding: 15px 40px; border-radius: 50px; text-decoration: none;
    display: inline-block; box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: transform 0.3s; border: none;
}

#italmed-kine-master .hero-btn:hover { transform: translateY(-3px); background: #f0f9ff; }

/* KINE Styles */

#italmed-kine-master .kine-wrapper { max-width: 100%; margin: 0 auto; padding: 0 10px 40px 10px; }

#italmed-kine-master .card-box {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; transition: 0.3s; display: flex;
    flex-direction: column; gap: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); height: 100%;
}

#italmed-kine-master .card-box:hover { border-color: #0AA2D1; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(10,162,209,0.15); }

#italmed-kine-master .grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }

#italmed-kine-master .grid-2 { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }

#italmed-kine-master .comp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #eee; margin: 0 auto 40px auto; max-width: 100%; }

#italmed-kine-master .comp-table th, #italmed-kine-master .comp-table td { padding: 15px; text-align: center; border-bottom: 1px solid #f1f5f9; }

#italmed-kine-master .comp-table th { background: #f8fbfd; color: #2c3e50; text-transform: uppercase; font-size: 0.85rem; font-weight: 700; }

#italmed-kine-master .comp-table td:first-child { text-align: left; font-weight: 600; color: #2c3e50; }

#italmed-kine-master .check-list { list-style: none; padding: 0; margin: 0; }

#italmed-kine-master .check-list li { margin-bottom: 8px; color: #64748b; display: flex; align-items: flex-start; gap: 8px; }

#italmed-kine-master .check-list li i { color: #22C5B4; margin-top: 4px; }

#italmed-kine-master .tri-block-section { margin-bottom: 60px; }

#italmed-kine-master .tri-main-card { margin-bottom: 20px; }

#italmed-kine-master .tri-bottom-grid { display: flex !important; flex-direction: column !important; gap: 20px; }

#italmed-kine-master .tri-bottom-grid .card-box { width: 100%; height: auto; }

#italmed-kine-master .method-list li { display: flex !important; align-items: flex-start; gap: 10px; }

#italmed-kine-master .method-list li i { margin-top: 3px; flex-shrink: 0; }

#italmed-kine-master .method-list li div { flex: 1; }

#italmed-kine-master .profile-card {
    display: flex; flex-direction: column; gap: 2rem; background: #fff; border-radius: 20px; padding: 2.5rem;
    border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin: 3rem 0;
}

#italmed-kine-master .profile-header { display: flex; flex-direction: column; gap: 1.5rem; }

#italmed-kine-master .profile-img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 5px solid #f0f9ff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); flex-shrink: 0; }

#italmed-kine-master .profile-label { color: #0AA2D1; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; }

#italmed-kine-master .profile-name { margin: 5px 0 10px 0; color: #2c3e50; font-size: 1.8rem; }

#italmed-kine-master .profile-quote { background: #f0fdf4; color: #166534; padding: 15px; border-radius: 10px; border-left: 4px solid #22C5B4; font-style: italic; margin: 10px 0 0 0; }

#italmed-kine-master .profile-details { display: grid; grid-template-columns: 1fr; gap: 10px; }

#italmed-kine-master .profile-detail { display: flex; align-items: flex-start; gap: 8px; color: #64748b; }

#italmed-kine-master .profile-detail i { color: #0AA2D1; margin-top: 3px; }

#italmed-kine-master .price-box {
    background: #fff; border: 2px solid #f1f5f9; border-radius: 20px; padding: 3.5rem 2rem; text-align: center;
    position: relative; max-width: 100%; margin: 0 auto 50px auto;
}

#italmed-kine-master .price-label {
    background: #22C5B4; color: #fff; padding: 10px 30px; border-radius: 50px; font-weight: 800; font-size: 1rem;
    position: absolute; top: -22px; left: 50%; transform: translateX(-50%); box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

#italmed-kine-master .form-container { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 3rem; max-width: 100%; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }

#italmed-kine-master .form-inner-wrapper { max-width: 800px; margin: 0 auto; }

#italmed-kine-master .input-field {
    width: 100%; padding: 18px; border: 2px solid #e2e8f0; border-radius: 12px; margin-bottom: 20px; font-family: inherit;
    font-size: 1.05rem; background-color: #f8fafc; transition: 0.3s;
}

#italmed-kine-master .input-field:focus { border-color: #0AA2D1; background-color: #fff; outline: none; box-shadow: 0 0 0 4px rgba(10, 162, 209, 0.1); }

#italmed-kine-master .alert-box {
    background: #fffbeb; border: 2px solid #fbbf24; color: #92400e; padding: 18px; border-radius: 12px; margin-bottom: 30px;
    text-align: center; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 12px;
}

#italmed-kine-master .whatsapp-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; max-width: 600px; margin: 0 auto;
    padding: 20px; background-color: #25D366; color: #fff !important; font-weight: 800; font-size: 1.3rem;
    border-radius: 50px; text-decoration: none; border: none; box-shadow: 0 8px 25px rgba(37,211,102,0.3);
    transition: all 0.3s ease; gap: 12px; cursor: pointer; line-height: 1;
}

#italmed-kine-master .whatsapp-btn:hover { background-color: #20bd5a; transform: scale(1.02) translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.4); }

#italmed-kine-master .step-card { text-align: center; align-items: center; padding: 1.4rem 1rem 1.7rem; }

#italmed-kine-master .step-badge {
    background: #0AA2D1; color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 10px auto; font-weight: bold;
}

#italmed-kine-master .step-card h4 { margin-bottom: 6px; font-size: 1rem; }

#italmed-kine-master .step-card p { font-size: 0.9rem; line-height: 1.4; max-width: 210px; margin: 0.4rem auto 0; }

#italmed-kine-master .patient-box {
    background: #f8fafc; border-radius: 20px; padding: 2.5rem 2rem;
    border: 1px solid #e2e8f0; box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

#italmed-kine-master .patient-title {
    margin-top: 0; margin-bottom: 1.5rem; color: #0AA2D1; font-size: 1.4rem; font-weight: 800;
}

#italmed-kine-master .testi-slider { position: relative; min-height: 130px; }

#italmed-kine-master .testi-item { display: none; }

#italmed-kine-master .testi-item.is-active { display: block; }

#italmed-kine-master .testi-text { color: #4b5563; line-height: 1.7; margin-bottom: 0.75rem; }

#italmed-kine-master .testi-meta { color: #94a3b8; font-size: 0.9rem; }

#italmed-kine-master .testi-nav {
    display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 1.5rem;
}

#italmed-kine-master .testi-arrow {
    background: #0AA2D1; color: #fff; border-radius: 999px; border: 1px solid #e2e8f0;
    width: 32px; height: 32px; display: inline-flex; align-items: center;
    justify-content: center; cursor: pointer; font-size: 0.85rem;
}

#italmed-kine-master .testi-arrow i { font-size: 0.9rem; color: #fff; }

#italmed-kine-master .testi-dots { display: flex; gap: 6px; align-items: center; }

#italmed-kine-master .testi-dot {
    width: 8px; height: 8px; border-radius: 999px; border: none;
    background: #cbd5e1; padding: 0; cursor: pointer;
}

#italmed-kine-master .testi-dot.is-active { width: 18px; background: #0AA2D1; }

@media (min-width: 600px) { #italmed-kine-master .grid-4 { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1000px) { #italmed-kine-master .grid-4 { grid-template-columns: repeat(4, 1fr); } }

@media (min-width: 768px) {
    #italmed-kine-master .grid-2 { grid-template-columns: 1fr 1fr; }
    #italmed-kine-master .profile-card { padding: 3rem; }
    #italmed-kine-master .profile-header { flex-direction: row; align-items: center; }
    #italmed-kine-master .profile-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    #italmed-kine-master .hero-section { padding: 4rem 1.2rem; }
    #italmed-kine-master .price-box { padding: 2.5rem 1.2rem; }
}

/* ==========================================================================

   8. MÓDULO: ECOGRAFÍAS (#italmed-eco-master)

   ========================================================================== */

#italmed-eco-master { max-width: 100%; margin: 0 auto 0 auto !important; padding-top: 0 !important; padding-bottom: 0 !important; }

#italmed-eco-master .eco-hero-title {
    font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; text-align: center; margin-top: 0 !important;
    margin-bottom: 0.8rem; color: var(--texto-principal); letter-spacing: 0.01em; max-width: 900px; margin-left: auto; margin-right: auto;
}

#italmed-eco-master .eco-hero-cta { text-align: center; margin-bottom: 2rem; }

#italmed-eco-master .eco-hero-cta-text { margin-bottom: 0.9rem; font-size: 0.98rem; color: var(--texto-secundario); line-height: 1.5; }

#italmed-eco-master .service-hero-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }

#italmed-eco-master .service-hero-buttons .btn { min-width: 260px; font-size: 0.98rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }

#italmed-eco-master .service-hero-buttons .btn i { margin-right: 0; }

#italmed-eco-master .why-italmed-wrapper { margin: 1.8rem 0 2.1rem; }

#italmed-eco-master .why-italmed-title { text-align: left; font-size: 1.45rem; font-weight: 800; color: var(--color-primario); margin-bottom: 0.4rem; }

#italmed-eco-master .why-italmed-intro { font-size: 0.98rem; color: var(--texto-secundario); margin-bottom: 1.1rem; line-height: 1.55; max-width: 800px; }

#italmed-eco-master .why-italmed-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }

#italmed-eco-master .why-italmed-card {
    display: flex; align-items: flex-start; gap: 0.75rem; background: #ffffff; border-radius: 14px; padding: 0.9rem 1rem;
    border: 1px solid var(--borde-color); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#italmed-eco-master .why-italmed-card .icon {
    width: 38px; height: 38px; border-radius: 12px; background: var(--fondo-secundario); display: flex;
    align-items: center; justify-content: center; color: var(--color-primario); flex-shrink: 0; font-size: 1rem; border: 1px solid var(--borde-color);
}

#italmed-eco-master .why-italmed-card h4 { margin: 0 0 0.1rem 0; font-size: 0.98rem; font-weight: 700; }

#italmed-eco-master .why-italmed-card p { margin: 0; font-size: 0.9rem; color: var(--texto-secundario); line-height: 1.45; }

#italmed-eco-master .why-italmed-card:hover { transform: translateY(-3px); border-color: rgba(10, 162, 209, 0.45); box-shadow: 0 10px 24px rgba(10, 162, 209, 0.16); }

#italmed-eco-master .patient-guide-section { margin-bottom: 2.3rem; }

#italmed-eco-master .patient-guide-title { font-size: 1.45rem; margin-bottom: 0.5rem; color: var(--color-primario); }

#italmed-eco-master .patient-guide-section > p { color: var(--texto-secundario); line-height: 1.6; font-size: 0.97rem; max-width: 800px; }

#italmed-eco-master .patient-guide-section > ul { list-style: none; padding-left: 0; margin: 0.6rem 0 1.4rem; font-size: 0.97rem; }

#italmed-eco-master .patient-guide-section > ul li { margin-bottom: 0.35rem; color: var(--texto-secundario); }

#italmed-eco-master .patient-guide-section > ul li::before { content: "•"; color: var(--color-primario); font-weight: 800; display: inline-block; width: 1rem; margin-left: 0; }

#italmed-eco-master .patient-guide-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.1rem; }

#italmed-eco-master .patient-guide-col h3 { font-size: 1.05rem; margin-bottom: 0.22rem; color: var(--texto-principal); }

#italmed-eco-master .patient-guide-col p { margin-bottom: 0.55rem; color: var(--texto-secundario); font-size: 0.96rem; line-height: 1.55; }

#italmed-eco-master .patient-guide-col ul { list-style: none; padding-left: 0; margin-top: 0.35rem; }

#italmed-eco-master .patient-guide-col ul li { margin-bottom: 0.45rem; font-size: 0.96rem; color: var(--texto-secundario); }

#italmed-eco-master .prep-note { font-weight: 600; color: var(--texto-principal); }

#italmed-eco-master .prices-section { margin-bottom: 2.5rem; }

#italmed-eco-master .eco-price-intro-title { text-align: center; font-size: 1.55rem; margin: 0 0 0.4rem 0; color: var(--color-primario); }

#italmed-eco-master .eco-price-intro-text { text-align: center; color: var(--texto-secundario); max-width: 620px; margin: 0 auto 1.1rem auto; line-height: 1.6; font-size: 0.96rem; }

#italmed-eco-master .eco-price-table-outer { max-width: 100%; margin: 0 auto; }

#italmed-eco-master .eco-price-table-container { border-radius: 14px; overflow: hidden; border: 1px solid var(--borde-color); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06); background: #ffffff; }

#italmed-eco-master .eco-price-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

#italmed-eco-master .eco-price-table thead th { background-color: var(--fondo-secundario); padding: 0.7rem 0.75rem; text-align: left; font-weight: 600; border-bottom: 1px solid var(--borde-color); white-space: nowrap; }

#italmed-eco-master .eco-price-table tbody td { padding: 0.65rem 0.75rem; border-bottom: 1px solid #edf2f7; }

#italmed-eco-master .eco-price-table tbody tr:nth-child(even) { background-color: #fafcff; }

#italmed-eco-master .eco-price-table tbody tr:hover { background-color: var(--fondo-hover); }

#italmed-eco-master .eco-price-note { margin-top: 0.6rem; text-align: center; font-size: 0.9rem; color: var(--texto-secundario); }

#italmed-eco-master .eco-price-cta { margin-top: 1.2rem; text-align: center; }

#italmed-eco-master .paso-a-paso-section { margin-bottom: 2.4rem; }

#italmed-eco-master .paso-a-paso-title { text-align: center; font-size: 1.5rem; color: var(--color-primario); margin-bottom: 1.1rem; }

#italmed-eco-master .paso-a-paso-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }

#italmed-eco-master .paso-a-paso-card {
    background: #ffffff; border-radius: 14px; border: 1px solid var(--borde-color); padding: 1.35rem 1.15rem 1.25rem; text-align: center;
    position: relative; overflow: hidden; box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#italmed-eco-master .paso-a-paso-card .icon {
    width: 40px; height: 40px; border-radius: 50%; background: var(--fondo-secundario); display: flex; align-items: center;
    justify-content: center; color: var(--color-primario); margin: 0 auto 0.35rem auto; font-size: 1.1rem; border: 1px solid var(--borde-color);
}

#italmed-eco-master .step-number {
    position: absolute; top: 9px; left: 11px; width: 22px; height: 22px; border-radius: 999px; background: var(--color-primario); color: #fff;
    font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(10, 162, 209, 0.4);
}

#italmed-eco-master .paso-a-paso-card h4 { margin-top: 0.4rem; margin-bottom: 0.22rem; font-size: 1.02rem; }

#italmed-eco-master .paso-a-paso-card p { font-size: 0.9rem; color: var(--texto-secundario); max-width: 230px; margin: 0.3rem auto 0; line-height: 1.5; }

#italmed-eco-master .paso-a-paso-card:hover { transform: translateY(-3px); border-color: rgba(10, 162, 209, 0.45); box-shadow: 0 10px 24px rgba(10, 162, 209, 0.16); }

#italmed-eco-master .eco-final-cta { border-top: 1px solid var(--borde-color); padding-top: 1.9rem; margin-bottom: 0; text-align: center; }

#italmed-eco-master .eco-final-cta h2 { font-size: 1.55rem; margin-bottom: 0.55rem; color: var(--color-primario); }

#italmed-eco-master .eco-final-cta p { max-width: 640px; margin: 0 auto 1rem auto; color: var(--texto-secundario); font-size: 0.96rem; line-height: 1.6; }

#italmed-eco-master .eco-internal-links { margin-top: 1.1rem; font-size: 0.9rem; color: var(--texto-secundario); padding-bottom: 10px; }

@media (min-width: 720px) {
    #italmed-eco-master .service-hero-buttons { flex-direction: row; }
    #italmed-eco-master .service-hero-buttons .btn { min-width: 0; }
    #italmed-eco-master .why-italmed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #italmed-eco-master .patient-guide-grid { grid-template-columns: 1.1fr 1fr; align-items: flex-start; }
    #italmed-eco-master .paso-a-paso-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) { #italmed-eco-master .why-italmed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 768px) { #italmed-eco-master { padding: 0 0.5rem; } }

/* ==========================================================================

   9. MÓDULO: LABORATORIO (#italmed-lab-master)

   ========================================================================== */

#italmed-lab-master { width: 100%; background-color: #ffffff; font-family: 'Poppins', sans-serif; }

/* ==========================================================================

   10. MÓDULO: RAYOS X - NUEVO DISEÑO (#italmed-rx-master)

   ========================================================================== */

/* Contenedor General */

#italmed-rx-master.rx-modern-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: var(--font-body, sans-serif);
    color: var(--texto-principal);
    background-color: #ffffff; 
    overflow-x: hidden;
}

#italmed-rx-master section {
    margin-bottom: 5rem;
}

/* Hero Section */

.rx-hero {
    text-align: center;
    padding: 3rem 1rem 1rem 1rem;
}

.rx-badge-pulse {
    background: #e0f2fe;
    color: var(--color-primario);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 3px rgba(10, 162, 209, 0.1);
}

.rx-main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #1e293b;
}

.rx-main-title .highlight-text {
    background: linear-gradient(120deg, rgba(34, 197, 180, 0.2) 0%, rgba(34, 197, 180, 0) 100%);
    padding: 0 5px;
    border-radius: 8px;
    color: var(--color-secundario);
}

.rx-subtitle {
    font-size: 1.2rem;
    color: var(--texto-secundario);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.rx-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.rx-cta-btn {
    padding: 18px 40px !important;
    font-size: 1.1rem !important;
    box-shadow: 0 10px 25px rgba(10, 162, 209, 0.3);
    transform: scale(1);
    border: none;
}

.rx-cta-btn:hover {
    transform: scale(1.05);
}

.rx-trust-badges {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.rx-trust-badges i {
    color: var(--color-secundario);
}

/* Grid de Comparación (Versus) */

.rx-versus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }

.section-header p { color: var(--texto-secundario); font-size: 1.1rem; }

.rx-card-old {
    background: #f1f5f9;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
    opacity: 0.9;
}

.rx-card-new {
    border: 2px solid var(--color-secundario);
    padding: 3rem;
    box-shadow: 0 20px 50px -10px rgba(34, 197, 180, 0.25);
    position: relative;
    overflow: visible;
}

.card-status {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.status-bad { color: #94a3b8; }

.status-good { color: var(--color-secundario); }

.rx-card-old ul, .rx-card-new ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.rx-card-old li, .rx-card-new li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rx-card-old li i { color: #ef4444; }

.rx-card-new li i { color: var(--color-secundario); font-size: 1.2rem; }

/* Precios Grid */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.pricing-icon {
    font-size: 2.5rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.pricing-divider {
    display: none;
    width: 1px;
    height: 100px;
    background: #e2e8f0;
}

/* Chips de Servicios */

.rx-chips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rx-category h4 {
    margin-bottom: 1rem;
    color: var(--color-primario);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips span {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--texto-secundario);
    transition: 0.2s;
}

.chips span:hover {
    border-color: var(--color-secundario);
    color: var(--color-secundario);
    background: #f0fdfa;
}

/* FAQ Moderno */

.rx-faq-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.rx-faq-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.rx-faq-item.warning-item {
    background: #fffafa;
    border-color: #fee2e2;
}

.rx-faq-item.warning-item .faq-icon {
    background: #fee2e2;
    color: #ef4444;
}

.faq-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--color-primario);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* CTA Final */

.rx-final-cta {
    background: linear-gradient(135deg, var(--color-primario) 0%, #0284c7 100%);
    padding: 4rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(10, 162, 209, 0.3);
}

.cta-content h2 { color: #fff; font-size: 2.2rem; margin-bottom: 1rem; }

.cta-content p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.95; }

.btn-white-action {
    background: #fff;
    color: var(--color-primario) !important;
    padding: 18px 45px;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-white-action:hover {
    transform: scale(1.05);
    background: #f8fafc;
}

.rx-final-cta small {
    display: block;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* Media Queries Específicos para Rayos X */

@media (min-width: 850px) {
    .rx-versus-grid {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
    }
    .pricing-divider { display: block; }
}

/* ==========================================================================

   11. BLOG Y SINGLE POSTS

   ========================================================================== */

body.single-post .app-main-content,
body.single-post .entry-content-wrapper,
body.single-post .entry-content {
    max-width: 1250px !important; width: 100% !important; margin: 0 auto !important;
    padding-left: 15px !important; padding-right: 15px !important; box-sizing: border-box !important;
}

body.single-post .entry-header { display: none !important; }

.blog-banner-header {
    position: relative; width: 100%; height: 350px; border-radius: 20px; overflow: hidden;
    margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-banner-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; z-index: 0; transition: transform 0.5s ease; }

.blog-banner-header:hover .blog-banner-bg { transform: scale(1.05); }

.blog-banner-overlay {
    position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 162, 209, 0.95) 0%, rgba(44, 62, 80, 0.8) 100%);
    z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px 50px;
}

.banner-badge {
    background: rgba(255,255,255,0.25); color: #fff; padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; display: inline-block;
}

.banner-badge-container { margin-bottom: 15px; padding-top: 10px; }

.banner-title {
    color: #fff !important; margin: 0 0 15px 0 !important; font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 700 !important; line-height: 1.2 !important; text-shadow: 0 4px 15px rgba(0,0,0,0.2); max-width: 900px;
}

.banner-subtitle { color: #eef6f9 !important; font-size: 1.15rem !important; max-width: 800px; margin: 0 !important; opacity: 0.95; line-height: 1.6 !important; }

.single-post .blog-banner-header {
    width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 350px;
    border-radius: 20px !important; margin: 0 0 40px 0 !important; position: relative !important; overflow: hidden !important;
    left: auto !important; right: auto !important; transform: none !important; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.single-post .blog-banner-bg { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; position: absolute; top: 0; left: 0; }

.intro-text { font-size: 1.08rem; line-height: 1.7; color: #1f2933; margin-bottom: 25px; }

.med-list, .single-post .entry-content ul { list-style: none !important; padding-left: 0 !important; margin-left: 0 !important; }

.med-list li, .single-post .entry-content li {
    position: relative !important; display: flex !important; align-items: flex-start !important; gap: 15px !important;
    margin-bottom: 15px !important; line-height: 1.6 !important;
}

.med-list li i, .single-post .entry-content li i, .single-post .entry-content li .fas, .single-post .entry-content li .fa-solid {
    min-width: 25px !important; width: 25px !important; margin-top: 5px !important; color: #22C5B4 !important; text-align: center !important; flex-shrink: 0 !important;
}

.single-post .icons-grid, .single-post .card-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 25px !important;
    margin: 40px 0 !important; width: 100% !important;
}

.icon-card { padding: 1.2rem 1rem !important; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; }

.icon-card h4, .single-post .icon-card h4 {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 10px !important; margin-top: 0 !important; width: 100%; font-size: 1.1rem;
}

.alert-box { background: #f0f9ff; border-left: 5px solid #0AA2D1; padding: 25px; border-radius: 8px; margin: 40px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }

.alert-box h3 { margin-top: 0; color: #0c4a6e; font-size: 1.3rem; }

.cta-promo-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%); border: 1px solid #dae1e7; border-radius: 20px;
    padding: 3rem 2rem; margin: 50px 0; text-align: center; box-shadow: 0 8px 25px rgba(0,0,0,0.06); position: relative; overflow: hidden;
}

.cta-icon { font-size: 3rem; color: #0AA2D1; margin-bottom: 20px; display: block; }

.cta-promo-card h3 { color: #1e293b; font-size: 1.6rem; margin-top: 0; margin-bottom: 10px; }

.prevention-box { background: #fff; border: 2px dashed #cbd5e1; border-radius: 16px; padding: 2rem; margin-top: 40px; }

.references-section { margin-top: 60px; padding-top: 30px; border-top: 1px solid #e2e8f0; font-size: 0.85rem; color: #94a3b8; line-height: 1.6; }

@media (max-width: 768px) {
    .single-post .icons-grid { grid-template-columns: 1fr !important; }
    .single-post .blog-banner-header { min-height: 250px !important; }
    .single-post .banner-title { font-size: 1.6rem !important; }
    .icons-grid, .card-grid { grid-template-columns: 1fr; }
    .blog-banner-overlay { padding: 30px 20px; }
}

/* ==========================================================================

   12. ESTILOS ESPECÍFICOS: PLANTILLA SERVICIO (page-servicio-plantilla.php)

   ========================================================================== */

.service-card {
    padding: 3rem;
    overflow-wrap: break-word; 
    word-wrap: break-word;
}

.service-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--texto-principal);
    max-width: 100%;
}

.service-body ul, .service-body ol { padding-left: 1.2rem; margin-bottom: 1.5rem; }

.service-body li { margin-bottom: 0.8rem; position: relative; display: flex; align-items: flex-start; gap: 10px; }

.service-body li i, .service-body li svg { flex-shrink: 0; margin-top: 5px; color: var(--color-primario); }

@media (max-width: 768px) {
    .service-title { font-size: 2rem !important; }
    .service-card { padding: 1.5rem !important; }
    .service-body { font-size: 1rem !important; line-height: 1.6 !important; }
}

/* ==========================================================================

   13. MEDIA QUERIES GLOBALES (ESCRITORIO GRANDE)

   ========================================================================== */

@media (min-width: 901px) { 
    .hero-split-grid { grid-template-columns: minmax(0, 1.5fr) 1fr; align-items: center; } 
    .main-nav { display: flex !important; }
    .mobile-menu-trigger { display: none !important; }
    .header-cta-buttons { display: flex !important; }
}

@media (min-width: 1120px) {
    .hero-split-grid { max-width: 1600px !important; grid-template-columns: 1fr !important; gap: 3rem; }
    .hero-split-left { width: 100%; max-width: 100%; margin: 0 auto; }
    .hero-split-right { width: 100%; display: block; }
    .trust-hooks-list { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 2rem; width: 100%; }
    .trust-hook-card {
        display: flex !important; flex-direction: row !important; align-items: center; justify-content: flex-start;
        text-align: left; background: #ffffff; padding: 1.5rem 2rem; border-radius: 16px; border: 1px solid var(--borde-color);
        box-shadow: 0 4px 20px rgba(0,0,0,0.06); height: 100%; box-sizing: border-box;
    }
    .trust-hook-card .icon { margin-right: 1.5rem; margin-bottom: 0 !important; }
}

/* ==========================================================================

   14. ESTILOS ARANCEL (FIX COMPLETO)

   ========================================================================== */

/* Contenedor estilo tarjeta */

.university-table-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Buscador ARREGLADO */

.search-box-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.search-box-wrapper input {
    width: 100%;
    padding: 18px 20px 18px 55px; 
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: 0.3s;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    box-sizing: border-box; 
}

.search-box-wrapper input:focus {
    border-color: var(--color-primario);
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 162, 209, 0.15);
}

.search-icon {
    position: absolute; 
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%);
    color: var(--color-primario); 
    font-size: 1.3rem; 
    pointer-events: none; 
    z-index: 5; 
}

/* TABLA ESCRITORIO (Estilo Universitario Limpio) */

.uni-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem; 
}

.uni-table thead th {
    background: #ffffff; 
    color: var(--color-primario);
    font-weight: 700;
    padding: 1.2rem 1.5rem;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--color-primario); 
    letter-spacing: 0.5px;
}

.uni-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eef2f6; 
    vertical-align: top;
    color: #4b5563;
    line-height: 1.5;
}

.uni-table tr:hover { background-color: #f8fafc; }

/* Tipografía suavizada */

.code-cell { 
    font-family: monospace; 
    font-weight: 500; 
    color: #64748b; 
    font-size: 0.95rem; 
}

.name-cell { 
    font-weight: 600; 
    color: #1e293b; 
    font-size: 1.05rem; 
}

.cat-pill {
    background: #e0f2fe; 
    color: #0284c7; 
    padding: 4px 10px;
    border-radius: 50px; 
    font-size: 0.72rem; 
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    letter-spacing: .01em;
}

.price-fonasa {
    color: var(--color-primario) !important;
    font-weight: 700; 
    font-size: 1.1rem;
}

.price-particular {
    color: #64748b; 
    font-weight: 500; 
}

.prep-text {
    font-size: 0.9rem;
    color: #64748b;
}

.table-footer-info {
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.95rem;
    color: #64748b;
}

/* ==========================================================================

   15. OPTIMIZACIONES MÓVILES FINALES (REVIEWS, ARANCEL, HOME)

   ========================================================================== */

@media (max-width: 900px) {

    /* Ajustes generales de cabecera móvil */
    .header-container { padding-left: 1rem; padding-right: 1rem; }
    .main-nav { display: none; }
    .mobile-menu-trigger { display: block; }
    .pre-header-container { flex-direction: column; gap: 8px; text-align: center; }
    .pre-header-right { justify-content: center; flex-wrap: wrap; }
    .pre-header-link { margin: 0 10px; }
    
    /* Home Split Hero Móvil */
    .hero-split-section { padding-top: 1rem !important; }
    .hero-split-grid { 
        display: flex !important; 
        flex-direction: column; 
        gap: 1.5rem; 
        text-align: center; 
        padding: 0 1rem; 
    }
    .hero-split-left { order: 1; margin-bottom: 10px; }
    .hero-split-right { order: 2; gap: 10px; }
    
    /* Tarjetas Home Móvil */
    .trust-hook-card { flex-direction: column; text-align: center; padding: 1.2rem; }
    .cta-banner-modern { padding: 3rem 1.5rem; margin: 2rem 0; border-radius: 16px; }
    
    /* Footer Móvil */
    .footer-grid { grid-template-columns: 1fr; text-align: center; } 
    .footer-contact-list li { justify-content: center; }
    .footer-socials { justify-content: center; }
    .team-reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    
    /* --- FIX REVIEWS (NUESTROS PACIENTES) --- */
    .team-reviews-grid .glass-card {
        padding: 1.5rem 1rem !important; 
        width: 100%;
        box-sizing: border-box;
    }
    .reviews-widget-container {
        width: 100% !important;
        overflow: hidden; 
    }
    .reviews-widget-container img, 
    .wp-google-reviews img {
        max-width: 100% !important;
        width: auto !important; 
        height: auto !important;
        box-shadow: none !important;
    }
    .reviews-widget-container iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* --- FIX ARANCEL MÓVIL (TARJETA) --- */
    .uni-table thead { display: none; } 
    
    .uni-table, .uni-table tbody, .uni-table tr, .uni-table td {
        display: block; width: 100%;
    }

    .uni-table tr {
        margin-bottom: 1.5rem;
        background: #fff;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        padding: 15px;
    }

    .uni-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1rem;
    }

    .uni-table td:last-child { border-bottom: none; }

    .uni-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.8rem;
        color: #94a3b8;
        margin-right: 15px;
        text-align: left;
    }

    /* Ajustes específicos para tarjeta móvil Arancel */
    .prep-text {
        display: block !important;
        text-align: left !important;
        margin-top: 10px;
        background: #fffbeb;
        padding: 12px !important;
        border-radius: 8px;
        width: 100%;
        color: #b45309;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .prep-text::before {
        display: block; width: 100%; margin-bottom: 5px; color: #d97706;
    }

    .name-cell {
        font-size: 1.2rem;
        color: var(--color-primario);
        text-align: left !important;
        display: block !important;
        margin-bottom: 5px;
        border-bottom: none !important;
        font-weight: 700;
    }

    .name-cell::before { display: none; } 
    
    .price-fonasa { font-size: 1.4rem; font-weight: 800; color: var(--color-primario); }
}

/* ==========================================================================

   16. SLIDER HERO ITALMED (RESPONSIVE & MOBILE FIRST)

   ========================================================================== */

/* Contenedor general del slider dentro del hero */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--borde-color);
    background: #000;
    box-shadow: var(--sombra-suave);
}

/* Fondos suaves */
.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(34,197,180,0.25), transparent 55%),
                radial-gradient(circle at bottom right, rgba(10,162,209,0.25), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* Cada slide */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.8rem 1.5rem;
    color: #ffffff;
    z-index: 1;
}

/* Slide activo */
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Contenido interno */
.hero-slide-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

/* Eyebrow / pill */
.hero-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    margin-bottom: 0.75rem;
}

/* Título y texto */
.hero-slide-title {
    font-family: var(--font-headings);
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    margin: 0 0 0.5rem 0;
    line-height: 1.15;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-slide-text {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 32rem;
    opacity: 0.95;
    margin: 0 0 1.1rem 0;
}

/* Botones dentro del slide */
.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* Imagen / ilustración del slide */
.hero-slide-media {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 230px;
    max-height: 180px;
    z-index: 1;
}

.hero-slide-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(15,23,42,0.4);
}

/* Navegación: flechas + puntos */
.hero-slider-nav {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

/* Flechas */
.hero-slider-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-slider-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(15,23,42,0.5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.hero-slider-arrow:hover {
    background: #fff;
    color: var(--color-primario);
    transform: translateY(-1px);
}

/* Dots */
.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-slider-dot.is-active {
    width: 18px;
    background: #ffffff;
}

/* =========================
   RESPONSIVE SLIDER
   ========================= */

@media (max-width: 1024px) {
    .hero-slider {
        border-radius: 14px;
    }
    .hero-slide {
        padding: 1.6rem 1.3rem;
    }
    .hero-slide-media {
        max-width: 200px;
        max-height: 160px;
    }
}

/* Móviles */
@media (max-width: 768px) {

    .hero-slider {
        min-height: 260px;
        border-radius: 14px;
    }

    .hero-slide {
        position: relative;
        padding: 1.6rem 1.3rem 3.5rem 1.3rem; 
    }

    .hero-slide-media {
        position: static;
        margin-top: 1.2rem;
        max-width: 100%;
        max-height: none;
    }

    .hero-slide-media img {
        width: 100%;
        max-height: 220px;
        object-fit: cover;
    }

    .hero-slider-nav {
        position: static;
        margin-top: 0.9rem;
        padding: 0 0.1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-slider-arrows {
        order: 2;
    }

    .hero-slider-dots {
        order: 1;
    }

    .hero-slide-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slide-actions .btn,
    .hero-slide-actions .btn-primary,
    .hero-slide-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Extra-small */
@media (max-width: 480px) {
    .hero-slide-title {
        font-size: 1.5rem;
    }
    .hero-slide-text {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   17. ESTILOS DE CARGA PARA RESERVAS (NUEVO)
   ========================================================================== */

/* Contenedor relativo para posicionar el loader encima */
.iframe-wrapper {
    position: relative;
    width: 100%;
    min-height: 700px; /* Altura reservada para evitar saltos */
    background: #f8fbfd;
    border-radius: 16px;
    border: 1px solid var(--borde-color);
    overflow: hidden;
}

/* El loader que se ve mientras carga */
.iframe-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    color: var(--color-primario);
    width: 100%;
}

/* La bolita giratoria */
.spinner-circle {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(10, 162, 209, 0.15);
    border-top-color: var(--color-primario);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

/* El Iframe real (inicialmente invisible) */
.iframe-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 700px;
    border: 0;
    opacity: 0; /* Oculto al inicio */
    transition: opacity 0.6s ease;
    background: transparent;
}

/* Clase que se añade con JS cuando termina de cargar */
.iframe-content.loaded {
    opacity: 1;
}

/* Animación de rotación */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   18. ITALMED 2.0 - ESTILOS PREMIUM
   ========================================================================== */

/* --- PRE-HEADER PREMIUM --- */
.pre-header {
    background: linear-gradient(135deg, var(--color-primario) 0%, #0891b2 100%);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.pre-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pre-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.marketing-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.marketing-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.tag-fonasa {
    background: rgba(34, 197, 180, 0.3);
    border-color: rgba(34, 197, 180, 0.5);
}

.tag-fonasa i {
    color: #a7f3d0;
}

.pre-header-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pre-header-link {
    color: #fff;
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.pre-header-link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.whatsapp-link {
    background: #25D366;
    color: #fff !important;
}

.whatsapp-link:hover {
    background: #20bd5a;
    transform: scale(1.02);
}

/* --- BARRA DE ACCIONES RÁPIDAS --- */
.quick-actions-bar {
    background: var(--fondo-secundario);
    border-bottom: 1px solid var(--borde-color);
    padding: 0.6rem 0;
}

.quick-actions-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--texto-secundario);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-action-item i {
    color: var(--color-primario);
    font-size: 1rem;
}

.quick-action-item:hover {
    background: var(--color-primario);
    color: #fff;
}

.quick-action-item:hover i {
    color: #fff;
}

/* --- BOTONES HEADER MEJORADOS --- */
.header-cta-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header {
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-header i {
    font-size: 0.85rem;
}

.btn-header-resultados {
    background: #fff;
    color: var(--color-primario) !important;
    border: 2px solid var(--color-primario) !important;
}

.btn-header-resultados:hover {
    background: var(--color-primario);
    color: #fff !important;
}

.btn-header-agendar {
    background: var(--gradiente-logo);
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(10, 162, 209, 0.3);
}

.btn-header-agendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 162, 209, 0.4);
}

/* --- HERO PREMIUM --- */
.hero-premium-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, var(--fondo-secundario) 0%, #fff 100%);
}

.hero-premium-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-premium-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 162, 209, 0.1);
    color: var(--color-primario);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 162, 209, 0.2);
}

.hero-premium-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--texto-principal);
}

.text-gradient {
    background: var(--gradiente-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-premium-subtitle {
    font-size: 1.15rem;
    color: var(--texto-secundario);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-premium-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 32px !important;
    font-size: 1.05rem !important;
}

.hero-premium-slider {
    position: relative;
}

/* --- TRUST SIGNALS HORIZONTAL --- */
.trust-signals-section {
    padding: 2rem 0;
    background: #fff;
    border-bottom: 1px solid var(--borde-color);
}

.trust-signals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-signal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-signal-item:hover {
    background: var(--fondo-secundario);
}

.trust-signal-icon {
    width: 50px;
    height: 50px;
    background: var(--gradiente-logo);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.trust-signal-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--texto-principal);
    margin-bottom: 2px;
}

.trust-signal-text span {
    font-size: 0.85rem;
    color: var(--texto-secundario);
}

/* --- SECTION BADGES Y SUBTITULOS --- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 162, 209, 0.1);
    color: var(--color-primario);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--texto-secundario);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* --- SERVICIOS PREMIUM GRID --- */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.service-premium-card {
    background: #fff;
    border: 1px solid var(--borde-color);
    border-radius: 14px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 1rem;
    align-items: start;
}

.service-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradiente-logo);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10, 162, 209, 0.12);
    border-color: rgba(10, 162, 209, 0.3);
}

.service-premium-card:hover::before {
    transform: scaleY(1);
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gradiente-logo);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    grid-row: 1 / 4;
    transition: all 0.3s ease;
}

.service-premium-card:hover .service-icon-wrapper {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--texto-principal);
    line-height: 1.3;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--texto-secundario);
    line-height: 1.45;
    margin: 0.25rem 0 0.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primario);
    font-weight: 600;
    font-size: 0.8rem;
    transition: gap 0.3s ease;
}

.service-premium-card:hover .service-link {
    gap: 8px;
}

/* Responsive para móvil */
@media (max-width: 500px) {
    .services-premium-grid {
        grid-template-columns: 1fr;
    }
    .service-premium-card {
        grid-template-columns: 42px 1fr;
        gap: 0 0.75rem;
        padding: 1rem;
    }
    .service-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
}

/* --- SECCIÓN NUESTRA HISTORIA --- */
.our-story-section {
    padding: 4rem 0;
    margin: 3rem 0;
}

.our-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.our-story-image {
    position: relative;
}

.our-story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.story-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--gradiente-logo);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(10, 162, 209, 0.3);
}

.our-story-content p {
    font-size: 1.05rem;
    color: var(--texto-secundario);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-quote {
    background: var(--fondo-secundario);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-primario);
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--texto-principal);
    position: relative;
}

.story-quote i {
    color: var(--color-primario);
    opacity: 0.3;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* --- REVIEWS PREMIUM --- */
.reviews-premium-section {
    background: var(--fondo-secundario);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 30px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-widget-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- CTA CARD PREMIUM --- */
.cta-card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.btn-white {
    background: #fff;
    color: var(--color-primario) !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- ANIMACIONES DE ENTRADA --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE PREMIUM --- */
@media (max-width: 1024px) {
    .hero-premium-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-premium-content {
        max-width: 100%;
    }
    
    .hero-premium-actions {
        justify-content: center;
    }
    
    .our-story-grid {
        grid-template-columns: 1fr;
    }
    
    .our-story-content .section-title {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .trust-signals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-signal-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .quick-actions-container {
        gap: 0.5rem;
    }
    
    .quick-action-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .quick-action-item span {
        display: none;
    }
    
    .pre-header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .pre-header-left {
        justify-content: center;
    }
    
    .tag-horario {
        display: none;
    }
    
    .header-cta-buttons {
        display: none;
    }
    
    .reviews-premium-section {
        border-radius: 0;
        margin: 2rem -1rem;
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .trust-signals-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-premium-title {
        font-size: 1.8rem;
    }
    
    .hero-premium-actions {
        flex-direction: column;
    }
    
    .hero-premium-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ==========================================================================

   HERO ESTILO REDSALUD - SLIDER + SIDEBAR

   ========================================================================== */

.hero-redsalud-section {
    padding: 0;
    margin-bottom: 0;
}

.hero-redsalud-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 25px;
    padding: 20px 1rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.hero-slider-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* SIDEBAR ACCIONES RÁPIDAS */
.hero-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-section:last-of-type {
    border-bottom: none;
}

.sidebar-title {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primario);
    margin: 0 0 15px 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.sidebar-btn:last-child {
    margin-bottom: 0;
}

.sidebar-btn-primary {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: #fff;
}

.sidebar-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 162, 209, 0.4);
    color: #fff;
}

.sidebar-btn-secondary {
    background: var(--color-primario);
    color: #fff;
}

.sidebar-btn-secondary:hover {
    background: var(--color-secundario);
    transform: translateY(-2px);
    color: #fff;
}

.sidebar-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.sidebar-btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.sidebar-links {
    padding: 15px 20px;
    background: #f8fafc;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--texto-principal);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.sidebar-link:last-child {
    border-bottom: none;
}

.sidebar-link:hover {
    color: var(--color-primario);
}

.sidebar-link i {
    color: var(--color-primario);
    font-size: 0.8rem;
}

/* RESPONSIVE HERO REDSALUD */
@media (max-width: 900px) {
    .hero-redsalud-container {
        grid-template-columns: 1fr;
    }
    
    .hero-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    
    .sidebar-section {
        border-bottom: none;
        border-right: 1px solid #e5e7eb;
    }
    
    .sidebar-section:last-of-type {
        border-right: none;
    }
    
    .sidebar-links {
        grid-column: span 2;
        display: flex;
        justify-content: center;
        gap: 30px;
    }
    
    .sidebar-link {
        border-bottom: none;
        padding: 10px 0;
    }
}

@media (max-width: 600px) {
    .hero-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-section {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .sidebar-links {
        grid-column: span 1;
        flex-direction: column;
        gap: 0;
    }
    
    .sidebar-link {
        border-bottom: 1px solid #e5e7eb;
    }
}

/* ==========================================================================

   BADGES DE SERVICIOS ESTILO REDSALUD

   ========================================================================== */

.service-badges-section {
    background: transparent;
    padding: 30px 0;
}

.service-badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px 22px;
    border-radius: 60px;
    min-width: 180px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(10, 162, 209, 0.15);
    position: relative;
    overflow: hidden;
}

.service-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primario) 0%, var(--color-secundario) 100%);
}

.service-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 162, 209, 0.2);
    border-color: var(--color-primario);
}

.service-badge:hover .service-badge-icon {
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    transform: scale(1.1);
}

.service-badge:hover .service-badge-icon i {
    color: #fff;
}

.service-badge-icon {
    width: 42px;
    height: 42px;
    background: rgba(10, 162, 209, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-badge-icon i {
    font-size: 1.1rem;
    color: var(--color-primario);
    transition: color 0.3s ease;
}

.service-badge-text {
    line-height: 1.2;
}

.service-badge-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--texto-principal);
    margin-bottom: 2px;
}

.service-badge-text span {
    font-size: 0.8rem;
    color: var(--texto-secundario);
}

@media (max-width: 768px) {
    .service-badges-grid {
        gap: 12px;
        max-width: 100%;
    }
    
    .service-badge {
        min-width: 0;
        flex: 1 1 calc(50% - 12px);
        padding: 12px 16px;
        border-radius: 50px;
    }
    
    .service-badge-icon {
        width: 36px;
        height: 36px;
    }
    
    .service-badge-icon i {
        font-size: 0.95rem;
    }
    
    .service-badge-text strong {
        font-size: 0.85rem;
    }
    
    .service-badge-text span {
        font-size: 0.7rem;
    }
}

/* ==========================================================================

   MENÚ DE SERVICIOS INLINE EN HEADER

   ========================================================================== */

.services-nav-inline {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
}

.services-nav-inline .service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    color: var(--texto-principal);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.services-nav-inline .service-nav-item:hover {
    color: var(--color-primario);
}

.services-nav-inline .service-nav-item i {
    font-size: 1.25rem;
    color: var(--color-primario);
    transition: transform 0.3s ease;
}

.services-nav-inline .service-nav-item:hover i {
    transform: scale(1.15);
}

.services-nav-inline .service-nav-item span {
    white-space: nowrap;
}

/* Header container ajuste para servicios inline */
.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header-cta-buttons {
    margin-left: auto;
}

@media (max-width: 1100px) {
    .services-nav-inline {
        display: none;
    }
}

/* ==========================================================================

   PÁGINA ARANCELES - ESTILO PREMIUM

   ========================================================================== */

.arancel-page-hero {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    margin: -2rem -1.5rem 2rem -1.5rem;
}

.arancel-page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.arancel-page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.arancel-search-wrapper {
    max-width: 600px;
    margin: -30px auto 30px;
    position: relative;
    z-index: 10;
}

.arancel-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px 5px 5px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.arancel-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 15px 10px;
    background: transparent;
}

.arancel-search-box .search-btn {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.arancel-search-box .search-btn:hover {
    transform: scale(1.1);
}

.arancel-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.arancel-stat {
    text-align: center;
}

.arancel-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    display: block;
}

.arancel-stat-label {
    font-size: 0.9rem;
    color: var(--texto-secundario);
}

/* ==========================================================================

   PÁGINA RESERVAS - ESTILO PREMIUM

   ========================================================================== */

.reservas-page-hero {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    margin: -2rem -1.5rem 0 -1.5rem;
}

.reservas-page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.reservas-page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.reservas-tabs-wrapper {
    max-width: 900px;
    margin: -25px auto 0;
    position: relative;
    z-index: 10;
}

.reservas-tabs {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    flex-wrap: wrap;
}

.reservas-tab {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    border: none;
    background: #fff;
    color: var(--texto-secundario);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.reservas-tab i {
    font-size: 1.4rem;
    color: var(--texto-secundario);
    transition: all 0.3s ease;
}

.reservas-tab:hover {
    background: rgba(10, 162, 209, 0.05);
    color: var(--color-primario);
}

.reservas-tab:hover i {
    color: var(--color-primario);
}

.reservas-tab.active {
    background: rgba(10, 162, 209, 0.1);
    color: var(--color-primario);
    border-bottom-color: var(--color-primario);
}

.reservas-tab.active i {
    color: var(--color-primario);
}

.reservas-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 1rem;
}

.reservas-iframe-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 0;
}

.reservas-iframe-card iframe {
    width: 100%;
    height: 700px;
    border: none;
}

.reservas-contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
    text-align: center;
}

.reservas-contact-card h3 {
    color: var(--color-primario);
    font-size: 1.4rem;
    margin: 0 0 15px 0;
}

.reservas-contact-card p {
    color: var(--texto-secundario);
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.reservas-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reservas-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .reservas-tabs {
        border-radius: 12px;
    }
    
    .reservas-tab {
        min-width: 80px;
        padding: 15px 10px;
        font-size: 0.7rem;
    }
    
    .reservas-tab i {
        font-size: 1.2rem;
    }
}
/* ==========================================================================

   HERO PREMIUM GENÉRICO PARA TODAS LAS PÁGINAS

   ========================================================================== */

.page-hero-premium {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    margin: -2rem -1.5rem 0 -1.5rem;
}

.page-hero-premium h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-hero-premium h1 i {
    font-size: 0.9em;
}

.page-hero-premium p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Ajuste para que el hero se vea edge-to-edge */
.app-main-content:has(.page-hero-premium) {
    padding-top: 0 !important;
}

/* ==========================================================================

   PÁGINA 404 PREMIUM

   ========================================================================== */

.error-404-page {
    text-align: center;
    padding: 80px 20px;
}

.error-404-icon {
    font-size: 6rem;
    color: var(--color-primario);
    margin-bottom: 30px;
    opacity: 0.8;
}

.error-404-title {
    font-size: 3rem;
    color: var(--texto-principal);
    margin-bottom: 15px;
}

.error-404-text {
    font-size: 1.2rem;
    color: var(--texto-secundario);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-404-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 162, 209, 0.4);
    color: #fff;
}

/* ==========================================================================

   SINGLE POST / BLOG PREMIUM

   ========================================================================== */

.single-post-hero {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    margin: -2rem -1.5rem 2rem -1.5rem;
}

.single-post-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.single-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.single-post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-content img {
    border-radius: 12px;
    margin: 2rem 0;
}

/* ==========================================================================
   KINESIOLOGÍA HERO PREMIUM
   ========================================================================== */

.kine-hero-premium {
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
    position: relative;
}

.kine-hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.kine-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.kine-hero-premium .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #0AA2D1;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 1);
}

.kine-hero-premium h1 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff !important;
}

.kine-hero-premium .hero-text {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.kine-hero-premium .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.kine-hero-premium .btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0AA2D1;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.kine-hero-premium .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.kine-hero-premium .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.kine-hero-premium .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@media (max-width: 768px) {
    .kine-hero-premium {
        padding: 60px 15px 50px;
    }
    
    .kine-hero-premium h1 {
        font-size: 1.9rem;
    }
    
    .kine-hero-premium .hero-text {
        font-size: 1rem;
    }
    
    .kine-hero-premium .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .kine-hero-premium .btn-hero-primary,
    .kine-hero-premium .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ==========================================================================
   KINESIOLOGÍA - PÁGINA COMPLETA
   ========================================================================== */

.kine-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

.kine-section {
    margin-bottom: 60px;
}

/* Títulos */
.kine-title-center {
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.kine-subtitle-center {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 35px;
}

.kine-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px;
}

.kine-subtitle {
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 10px;
}

/* Cards */
.kine-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.kine-card-full {
    margin-bottom: 25px;
}

.kine-card-light {
    background: #f8fbfd;
    border: none;
}

.kine-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0AA2D1;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kine-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 15px;
}

.kine-card p:last-child {
    margin-bottom: 0;
}

.kine-emphasis {
    color: #2c3e50 !important;
    font-weight: 500;
}

.kine-note {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* Grids */
.kine-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.kine-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

@media (max-width: 600px) {
    .kine-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Check list */
.kine-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kine-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
    line-height: 1.5;
}

.kine-check-list li i {
    color: #0AA2D1;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Method list */
.kine-method-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kine-method-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.kine-method-list li i {
    font-size: 1.3rem;
    color: #0AA2D1;
    margin-top: 2px;
}

.kine-method-list li div {
    flex: 1;
}

.kine-method-list li strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 4px;
}

.kine-method-list li span {
    color: #64748b;
    font-size: 0.95rem;
}

/* Service cards */
.kine-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.kine-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 162, 209, 0.15);
    border-color: #0AA2D1;
}

.kine-service-card i {
    font-size: 2.5rem;
    color: #0AA2D1;
    margin-bottom: 15px;
}

.kine-service-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px;
}

.kine-service-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Comparison table */
.kine-comp-table-wrapper {
    overflow-x: auto;
}

.kine-comp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.kine-comp-table th,
.kine-comp-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.kine-comp-table th {
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.kine-comp-table th:first-child {
    border-radius: 16px 0 0 0;
}

.kine-comp-table th:last-child {
    border-radius: 0 16px 0 0;
}

.kine-comp-table tbody tr:last-child td {
    border-bottom: none;
}

.kine-comp-table tbody tr:hover {
    background: #f8fbfd;
}

.kine-highlight {
    color: #0AA2D1;
    font-weight: 700;
}

.kine-highlight i {
    margin-right: 6px;
}

.kine-muted {
    color: #94a3b8;
}

/* Profile card */
.kine-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.kine-profile-header {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.kine-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0AA2D1;
    flex-shrink: 0;
}

.kine-profile-label {
    display: inline-block;
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.kine-profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
}

.kine-profile-quote {
    color: #64748b;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.kine-profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.kine-profile-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8fbfd;
    border-radius: 10px;
    color: #374151;
    font-size: 0.95rem;
}

.kine-profile-detail i {
    color: #0AA2D1;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

@media (max-width: 600px) {
    .kine-profile-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .kine-profile-img {
        width: 100px;
        height: 100px;
    }
}

/* Testimonials */
.kine-testimonials-box {
    background: linear-gradient(135deg, #f8fbfd 0%, #eef6f9 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.kine-testimonials-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.kine-testimonials-title i {
    color: #0AA2D1;
}

.kine-testi-slider {
    position: relative;
    min-height: 150px;
}

.kine-testi-item {
    display: none;
    animation: kineFadeIn 0.5s ease;
}

.kine-testi-item.is-active {
    display: block;
}

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

.kine-testi-text {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.8;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 15px;
}

.kine-testi-meta {
    color: #0AA2D1;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.kine-testi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.kine-testi-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #0AA2D1;
    background: #fff;
    color: #0AA2D1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kine-testi-arrow:hover {
    background: #0AA2D1;
    color: #fff;
}

.kine-testi-dots {
    display: flex;
    gap: 8px;
}

.kine-testi-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kine-testi-dot.is-active {
    background: #0AA2D1;
    transform: scale(1.2);
}

/* Price box */
.kine-price-box {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #0AA2D1;
    position: relative;
    overflow: hidden;
}

.kine-price-label {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 50px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.kine-price-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0AA2D1;
    margin: 0 0 10px;
}

.kine-price-subtitle {
    color: #64748b;
    margin-bottom: 25px;
}

.kine-price-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0AA2D1;
    margin: 20px 0;
}

.kine-price-big small {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.kine-price-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.kine-price-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.kine-price-table th,
.kine-price-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.kine-price-table th {
    background: #f0f9ff;
    color: #2c3e50;
    font-weight: 600;
}

.kine-price-table td:first-child {
    text-align: left;
}

.kine-price-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* Steps */
.kine-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kine-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
}

.kine-step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kine-step-card i {
    font-size: 2rem;
    color: #0AA2D1;
    margin-bottom: 15px;
}

.kine-step-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px;
}

.kine-step-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .kine-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .kine-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Form container */
.kine-form-container {
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    border-radius: 20px;
    padding: 45px;
    color: #fff;
}

.kine-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.kine-form-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.kine-form-header p {
    opacity: 0.9;
    margin: 0;
}

.kine-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.kine-textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.kine-textarea:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
}

.kine-alert-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.kine-alert-box i {
    font-size: 1.5rem;
}

.kine-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 18px 30px;
    background: #25D366;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.kine-whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.kine-whatsapp-btn i {
    font-size: 1.4rem;
}

.kine-form-note {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 15px 0 0;
}

/* ==========================================================================

   SERVICIOS PREMIUM - ESTILOS GLOBALES (.service-*)

   Para: Lavado Oídos, Psicología, Cardiología, Laboratorio, Radiografías, Ecografías

   ========================================================================== */

/* --- HERO PREMIUM --- */
.service-hero-premium {
    background: linear-gradient(135deg, #0AA2D1 0%, #0369a1 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-hero-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero-premium .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.22);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}

.service-hero-premium h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.service-hero-premium .hero-text {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 30px;
}

.service-hero-premium .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.service-hero-premium .btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0AA2D1;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-hero-premium .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.service-hero-premium .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.service-hero-premium .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* --- CARDIOLOGÍA: hero rojo --- */
body.page-template-page-cardiologia .service-hero-premium {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}
body.page-template-page-cardiologia .service-hero-premium .btn-hero-primary {
    color: #dc2626;
}

/* --- ECOCARDIOGRAMA: azul profundo --- */
body.page-template-page-ecocardiograma .service-hero-premium {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
}
body.page-template-page-ecocardiograma .service-hero-premium .btn-hero-primary {
    color: #1565C0;
}

/* --- DOPPLER: azul naval --- */
body.page-template-page-ecografia-doppler .service-hero-premium {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2340 100%);
}
body.page-template-page-ecografia-doppler .service-hero-premium .btn-hero-primary {
    color: #1e3a5f;
}

/* --- RADIOGRAFÍAS: grafito oscuro --- */
body.page-template-page-radiografias .service-hero-premium {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}
body.page-template-page-radiografias .service-hero-premium .btn-hero-primary {
    color: #2d3748;
}

/* --- PSICOLOGÍA: morado profundo --- */
body.page-template-page-psicologia .service-hero-premium {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
}
body.page-template-page-psicologia .service-hero-premium .btn-hero-primary {
    color: #7B1FA2;
}

/* --- CONSULTA MATRONA: rosado/fucsia --- */
body.page-template-page-consulta-matrona .service-hero-premium {
    background: linear-gradient(135deg, #E91E63 0%, #880E4F 100%);
}
body.page-template-page-consulta-matrona .service-hero-premium .btn-hero-primary {
    color: #E91E63;
}

/* --- WRAPPER Y SECCIONES --- */
.service-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.service-section {
    margin-bottom: 50px;
}

.service-section:last-child {
    margin-bottom: 0;
}

/* --- TÍTULOS --- */
.service-title-center {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--texto-principal);
    margin-bottom: 35px;
}

.service-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--texto-principal);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-primario);
    display: inline-block;
}

/* --- INTRO CARD --- */
.service-intro-card {
    background: var(--fondo-secundario);
    padding: 35px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--color-primario);
}

.service-intro-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primario);
}

.service-intro-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--texto-secundario);
}

.service-schedule-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 28px 30px;
    border-radius: 16px;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.service-schedule-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.service-schedule-box h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.service-schedule-box .schedule-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    margin: 0 0 10px;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 14px;
    border-left: 3px solid rgba(255,255,255,0.3);
}

.service-schedule-box .schedule-time:last-of-type {
    margin-bottom: 0;
}

.service-schedule-box .schedule-time span {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.service-schedule-box small {
    display: block;
    margin-top: 14px;
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- GRIDS --- */
.service-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 900px) {
    .service-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-grid-2,
    .service-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- STEP CARDS --- */
.service-step-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--sombra-suave);
    border: 1px solid var(--borde-color);
    transition: all 0.3s ease;
}

.service-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.service-step-card .step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-step-card .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.service-step-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--texto-principal);
}

.service-step-card p {
    font-size: 0.95rem;
    color: var(--texto-secundario);
    line-height: 1.6;
    margin: 0;
}

/* --- FEATURE CARDS --- */
.service-feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--sombra-suave);
    border: 1px solid var(--borde-color);
    transition: all 0.3s ease;
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.service-feature-card .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 18px;
}

.service-feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--texto-principal);
}

.service-feature-card p {
    font-size: 0.9rem;
    color: var(--texto-secundario);
    line-height: 1.6;
    margin: 0;
}

/* --- PRICE BOX --- */
.service-price-box {
    background: linear-gradient(135deg, var(--fondo-secundario) 0%, #e8f4f8 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--borde-color);
}

.service-price-box h3 {
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: var(--color-primario);
    text-align: center;
}

.service-price-box .price-subtitle {
    text-align: center;
    color: var(--texto-secundario);
    margin-bottom: 30px;
}

.service-price-table-wrapper {
    overflow-x: auto;
}

.service-price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-price-table th,
.service-price-table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid var(--borde-color);
}

.service-price-table th {
    background: var(--color-primario);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-price-table tbody tr:hover {
    background: var(--fondo-hover);
}

.service-price-table tbody tr:last-child td {
    border-bottom: none;
}

.service-price-table .price-fonasa {
    font-weight: 700;
    color: var(--color-primario);
    font-size: 1.05rem;
}

.service-price-table .prep-cell {
    font-size: 0.85rem;
    color: var(--texto-secundario);
}

.service-price-box .price-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--texto-secundario);
    margin-top: 20px;
}

/* --- ALERT BOXES --- */
.service-alert-box {
    padding: 25px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.service-alert-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.service-alert-box p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.service-alert-box ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.service-alert-box ul li {
    margin-bottom: 8px;
}

.service-alert-info {
    background: #e3f2fd;
    border-left: 5px solid #2196F3;
}

.service-alert-info h4 {
    color: #1565C0;
}

.service-alert-danger {
    background: #fce4ec;
    border-left: 5px solid #E91E63;
}

.service-alert-danger h4 {
    color: #C2185B;
}

.service-alert-success {
    background: #e8f5e9;
    border-left: 5px solid #4CAF50;
}

.service-alert-success h4 {
    color: #2E7D32;
}

.service-alert-warning {
    background: #fff8e1;
    border-left: 5px solid #FFC107;
}

.service-alert-warning h4 {
    color: #F57C00;
}

/* --- PREP LIST --- */
.service-prep-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-prep-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--borde-color);
    transition: all 0.3s ease;
}

.service-prep-item:hover {
    box-shadow: var(--sombra-suave);
}

.service-prep-item .prep-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.service-prep-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--texto-principal);
    margin-bottom: 5px;
}

/* strong embebido dentro del texto descriptivo — debe ser inline */
.service-prep-item span strong {
    display: inline;
    font-size: inherit;
    color: var(--texto-principal);
}

.service-prep-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--texto-secundario);
    line-height: 1.6;
}

/* --- FAQ GRID --- */
.service-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 700px) {
    .service-faq-grid {
        grid-template-columns: 1fr;
    }
}

.service-faq-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--borde-color);
    box-shadow: var(--sombra-suave);
}

.service-faq-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: var(--color-primario);
    margin: 0 0 12px;
}

.service-faq-card h4 i {
    color: var(--color-secundario);
}

.service-faq-card p {
    font-size: 0.9rem;
    color: var(--texto-secundario);
    line-height: 1.7;
    margin: 0;
}

.service-faq-card a {
    color: var(--color-primario);
    font-weight: 600;
}

/* --- HIGHLIGHT CARD --- */
.service-highlight-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #f48fb1;
}

.service-highlight-card .highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-highlight-card .highlight-content h4 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #880E4F;
}

.service-highlight-card .highlight-content p {
    font-size: 0.95rem;
    color: #6d0a3f;
    line-height: 1.7;
    margin: 0 0 15px;
}

.service-highlight-card .highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #AD1457;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-highlight-card .highlight-link:hover {
    gap: 12px;
}

@media (max-width: 600px) {
    .service-highlight-card {
        flex-direction: column;
        text-align: center;
    }
}

/* --- INFO CARDS (Requisitos Mamografía) --- */
.service-info-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--borde-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.info-card-header {
    padding: 20px 20px 30px;
    color: #fff;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    overflow: visible;
}

.info-card-header i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    opacity: 0.9;
    color: #fff;
}

.info-card-header h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.info-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card-body {
    padding: 20px;
}

.info-card-body > p {
    margin: 0 0 15px;
    color: var(--texto-secundario);
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-card-body .service-check-list {
    margin: 0;
}

.info-card-body .service-check-list li {
    padding: 8px 4px;
    font-size: 0.85rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    margin-bottom: 0;
}

.info-card-body .service-check-list li:last-child {
    border-bottom: none;
}

/* --- CTA FINAL --- */
.service-cta-final {
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    color: #fff;
}

.service-cta-final h2 {
    font-size: 1.8rem;
    margin: 0 0 12px;
    color: #fff;
}

.service-cta-final p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 30px;
}

.service-cta-final .cta-buttons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--color-primario);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.service-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.service-cta-btn-secondary:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.service-cta-final small {
    display: block;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* --- CLASES ADICIONALES SERVICIOS --- */

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--sombra-suave);
    border: 1px solid var(--borde-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--texto-principal);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--texto-secundario);
    line-height: 1.6;
    margin: 0 0 15px;
}

.service-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-mini-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--texto-secundario);
    margin-bottom: 8px;
}

.service-mini-list li i {
    color: var(--color-secundario);
    font-size: 0.8rem;
}

.service-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--borde-color);
    transition: all 0.3s ease;
}

.service-check-list li:hover {
    box-shadow: var(--sombra-suave);
}

.service-check-list li i {
    color: var(--color-primario);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-check-list li strong {
    display: block;
    color: var(--texto-principal);
    margin-bottom: 4px;
}

.service-inline-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
}

.service-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.service-btn-secondary:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    color: #fff;
}

.italmed-blog-flow,
.italmed-related-posts {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    border: 1px solid rgba(10, 162, 209, 0.12);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(11, 79, 108, 0.08);
}

.italmed-blog-flow__head,
.italmed-related-posts__head {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.italmed-blog-flow__head .service-title-center,
.italmed-related-posts__head .service-title-center {
    text-align: left;
    margin: 0;
}

.italmed-blog-flow__text,
.italmed-related-posts__text {
    margin: 0;
    color: var(--texto-secundario);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 780px;
}

.italmed-blog-flow__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.italmed-blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(10, 162, 209, 0.16);
    background: #fff;
    color: #0b4f6c;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(11, 79, 108, 0.06);
}

.italmed-blog-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(10, 162, 209, 0.1);
    color: #0aa2d1;
    font-size: 0.82rem;
}

.italmed-blog-chip:hover,
.italmed-blog-chip.is-active {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0b4f6c 0%, #0aa2d1 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(10, 162, 209, 0.22);
}

.italmed-blog-chip:hover span,
.italmed-blog-chip.is-active span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.italmed-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.italmed-related-posts__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.italmed-related-posts__image {
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dff6fb 0%, #f8fdff 100%);
}

.italmed-related-posts__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.italmed-related-posts__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0aa2d1;
    font-size: 2rem;
}

.italmed-related-posts__body {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.italmed-related-posts__category {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(10, 162, 209, 0.1);
    color: #0b4f6c;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.italmed-related-posts__body h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.italmed-related-posts__body h3 a {
    color: var(--texto-principal);
    text-decoration: none;
}

.italmed-related-posts__body p {
    margin: 0;
    color: var(--texto-secundario);
    line-height: 1.7;
}

.italmed-related-posts__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: 0.88rem;
}

.italmed-related-posts__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.italmed-related-posts__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
}

.italmed-related-posts__empty {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px dashed rgba(10, 162, 209, 0.24);
}

.italmed-related-posts__empty h3 {
    margin: 0 0 10px;
    color: #0b4f6c;
}

.italmed-related-posts__empty p {
    margin: 0;
    color: var(--texto-secundario);
    line-height: 1.7;
}

/* --- VARIANTES DE PRECIO EN TABLAS --- */
.service-price-table .price-highlight {
    font-weight: 700;
    color: #E91E63;
    font-size: 1.15rem;
}

.service-price-table .price-muted {
    color: var(--texto-secundario);
    font-style: italic;
    font-size: 0.9rem;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 600px) {
    .service-hero-premium {
        padding: 60px 15px 45px;
    }
    
    .service-hero-premium h1 {
        font-size: 1.8rem;
    }
    
    .service-hero-premium .hero-text {
        font-size: 1rem;
    }
    
    .service-hero-premium .btn-hero-primary,
    .service-hero-premium .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-wrapper {
        padding: 30px 15px 40px;
    }
    
    .service-intro-card,
    .service-price-box {
        padding: 25px 20px;
    }
    
    .service-cta-final {
        padding: 35px 20px;
    }
    
    .service-cta-btn,
    .service-cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .italmed-blog-flow,
    .italmed-related-posts {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .italmed-related-posts__grid {
        grid-template-columns: 1fr;
    }

    .italmed-related-posts__actions {
        justify-content: stretch;
    }

    .italmed-related-posts__actions .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================

   MEJORAS RESPONSIVE GLOBALES 2025

   ========================================================================== */

/* --- DESKTOP GRANDE (1400px+) --- */
@media (min-width: 1400px) {
    .header-inner {
        max-width: 1400px;
    }
    
    .service-nav-item {
        padding: 10px 14px;
        min-width: 75px;
    }
    
    .service-nav-item .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .service-nav-item .service-label {
        font-size: 0.75rem;
    }
}

/* --- TABLETS LANDSCAPE (1024px - 1200px) --- */
@media (max-width: 1200px) and (min-width: 1025px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* --- TABLETS (768px - 1024px) --- */
@media (max-width: 1024px) and (min-width: 769px) {
    .card-grid, 
    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-split-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner-modern {
        padding: 3rem 1.5rem;
    }
    
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- MÓVILES GRANDES (600px - 768px) --- */
@media (max-width: 768px) {
    /* Layout general */
    body {
        font-size: 15px;
    }
    
    .app-container,
    .app-main-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Hero y banners */
    .hero-split-section {
        padding: 1.5rem 0;
    }
    
    .hero-split-grid {
        gap: 1rem;
        padding: 0 15px;
    }
    
    .trust-hook-card {
        padding: 1.2rem;
    }
    
    .trust-hook-card .icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .trust-hook-card h4 {
        font-size: 1rem;
    }
    
    .trust-hook-card p {
        font-size: 0.85rem;
    }
    
    /* CTA banners */
    .cta-banner-modern {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
        margin: 2rem 0;
    }
    
    .cta-banner-modern h2 {
        font-size: 1.5rem;
    }
    
    .home-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .home-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grillas */
    .card-grid,
    .icons-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: -1rem;
    }
    
    .portal-card {
        padding: 2rem 1.5rem;
    }
    
    .portal-icon {
        font-size: 2.5rem;
        width: 65px;
        height: 65px;
    }
    
    /* Footer */
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .footer-title {
        display: block;
        text-align: center;
    }
    
    .footer-contact-list li,
    .footer-hours-list li {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-badge {
        margin: 0 auto;
    }
    
    .footer-links-list a {
        justify-content: center;
    }
    
    /* Tabs */
    .reservo-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-button {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    /* Convenios */
    .convenios-grid {
        gap: 1.5rem;
    }
    
    .convenios-grid img {
        max-height: 70px;
    }
    
    /* Tarjetas de servicio */
    .service-grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-feature-card,
    .service-step-card {
        padding: 1.25rem;
    }
    
    /* Tablas de precios */
    .service-price-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-price-table {
        min-width: 500px;
        font-size: 0.85rem;
    }
    
    .service-price-table th,
    .service-price-table td {
        padding: 10px 8px;
    }
}

/* --- MÓVILES (hasta 600px) --- */
@media (max-width: 600px) {
    /* Tipografía */
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.4rem !important;
    }
    
    h3 {
        font-size: 1.15rem !important;
    }
    
    /* Botones */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .italmed-btn-action {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Tarjetas */
    .glass-card,
    .portal-card,
    .trust-hook-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .glass-card .icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* Grillas */
    .footer-grid {
        gap: 1.5rem;
    }
    
    /* Tabs */
    .reservo-tabs {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Convenios */
    .convenios-grid {
        gap: 1rem;
    }
    
    .convenios-grid img {
        max-height: 50px;
    }
    
    /* Loader CTA */
    .dashed-box-help-portal {
        padding: 1.5rem;
    }
    
    /* Scroll horizontal para tablas */
    table {
        display: block;
        overflow-x: auto;
    }
}

/* --- MÓVILES PEQUEÑOS (hasta 400px) --- */
@media (max-width: 400px) {
    .header-inner {
        padding: 0 10px;
    }
    
    .custom-logo-img {
        max-height: 45px;
    }
    
    .mobile-menu-trigger {
        width: 40px;
        height: 40px;
    }
    
    .trust-hook-card {
        flex-direction: column;
        text-align: center;
    }
    
    .portal-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-banner-modern {
        padding: 2rem 1rem;
    }
    
    .cta-banner-modern h2 {
        font-size: 1.3rem;
    }
}

/* ==========================================================================

   CORRECCIONES VISUALES GENERALES

   ========================================================================== */

/* Evitar overflow horizontal */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.site-content {
    overflow-x: hidden;
}

/* Imágenes responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Links sin subrayado feo */
a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Mejor scroll suave */
html {
    scroll-behavior: smooth;
}

/* Focus visible accesible */
*:focus-visible {
    outline: 2px solid var(--color-primario);
    outline-offset: 2px;
}

/* Animación de aparición para elementos */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--fondo-secundario);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primario);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

/* Selección de texto */
::selection {
    background: var(--color-primario);
    color: #fff;
}

/* Botón WhatsApp flotante mejorado */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float i {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }
}

/* Header con scroll */
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom-color: transparent;
}

/* Ocultar header en scroll down (opcional) */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Estado ACTIVO en navegación de servicios */
.service-nav-item.active .service-icon,
.mobile-service-item.active .mobile-service-icon {
    background: var(--color-primario);
    color: #fff;
}

.service-nav-item.active .service-label,
.mobile-service-item.active .mobile-service-label {
    color: var(--color-primario);
    font-weight: 700;
}

/* ============================================================
   NUEVO HEADER MINIMALISTA V4
   ============================================================ */

.header-new {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.header-new-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

/* Logo */
.header-new-brand {
    flex-shrink: 0;
}

.header-new-brand img {
    height: 48px;
    width: auto;
    display: block;
}

/* Menu Principal */
.header-new-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-link {
    padding: 0.6rem 1rem;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.menu-link:hover {
    color: var(--color-primario);
    background: #f3f4f6;
}

/* Dropdown Servicios */
.menu-dropdown {
    position: relative;
}

.menu-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-dropdown-trigger i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.menu-dropdown:hover .menu-dropdown-trigger {
    color: var(--color-primario);
    background: #f3f4f6;
}

.menu-dropdown:hover .menu-dropdown-trigger i {
    transform: rotate(180deg);
}

.menu-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s;
    z-index: 100;
}

.menu-dropdown:hover .menu-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.menu-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s;
}

.menu-dropdown-content a i {
    width: 20px;
    color: var(--color-primario);
    font-size: 1rem;
}

.menu-dropdown-content a:hover {
    background: var(--fondo-secundario);
    color: var(--color-primario);
}

/* Botones Acciones */
.header-new-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-new-ghost {
    color: var(--color-primario);
    background: transparent;
    border: 1.5px solid var(--color-primario);
}

.btn-new-ghost:hover {
    background: var(--color-primario);
    color: #fff;
}

.btn-new-solid {
    background: var(--color-primario);
    color: #fff;
    border: 1.5px solid var(--color-primario);
}

.btn-new-solid:hover {
    background: #0891b2;
    border-color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 162, 209, 0.35);
}

/* Botón Toggle Móvil */
.header-new-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 6px;
    transition: opacity 0.2s;
}

.header-new-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    margin: 0 auto;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.25s;
}

.header-new-toggle:hover {
    opacity: 0.8;
}

.header-new-toggle.is-active span:nth-child(1) {
    transform: none;
}

.header-new-toggle.is-active span:nth-child(2) {
    opacity: 1;
}

.header-new-toggle.is-active span:nth-child(3) {
    transform: none;
}

/* ============================================================
   MENÚ MÓVIL NUEVO
   ============================================================ */

.mobile-menu-new {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 10002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-new.is-open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header img {
    height: 36px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.mobile-menu-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.25rem 0 0.5rem;
    padding-left: 0.5rem;
}

.mobile-menu-label:first-child {
    margin-top: 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 0.75rem;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.15s;
}

.mobile-menu-nav a i {
    width: 22px;
    color: var(--color-primario);
    font-size: 1rem;
}

.mobile-menu-nav a:hover {
    background: var(--fondo-secundario);
    color: var(--color-primario);
}

.mobile-menu-footer {
    padding: 1.25rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Responsive Header */
@media (max-width: 1100px) {
    .header-new-menu {
        display: none;
    }
    .header-new-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-new-actions {
        display: none;
    }
    .header-new-container {
        padding: 0.75rem 1rem;
    }
    .header-new-brand img {
        height: 40px;
    }
}

/* ============================================================
   TARJETAS DE SERVICIOS - DISEÑO HORIZONTAL FORZADO
   ============================================================ */

.services-premium-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 1rem !important;
}

.service-premium-card {
    display: grid !important;
    grid-template-columns: 50px 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 0 1rem !important;
    align-items: start !important;
    padding: 1.25rem !important;
    background: #fff !important;
    border: 1px solid var(--borde-color) !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.25s ease !important;
    position: relative !important;
}

.service-premium-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(10, 162, 209, 0.15) !important;
    border-color: rgba(10, 162, 209, 0.3) !important;
}

.service-premium-card::before {
    display: none !important;
}

.service-icon-wrapper {
    grid-row: 1 / 4 !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--gradiente-logo) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.service-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: var(--texto-principal) !important;
    line-height: 1.3 !important;
    grid-column: 2 !important;
}

.service-desc {
    font-size: 0.875rem !important;
    color: var(--texto-secundario) !important;
    line-height: 1.5 !important;
    margin: 0.3rem 0 0.5rem !important;
    grid-column: 2 !important;
}

.service-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: var(--color-primario) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    grid-column: 2 !important;
}

.service-premium-card:hover .service-link {
    gap: 10px !important;
}

@media (max-width: 600px) {
    .services-premium-grid {
        grid-template-columns: 1fr !important;
    }
    .service-premium-card {
        grid-template-columns: 44px 1fr !important;
        gap: 0 0.75rem !important;
        padding: 1rem !important;
    }
    .service-icon-wrapper {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }
}

/* ============================================================
   ITALMED PREMIUM REFRESH - HOME + GLOBAL NAV
   ============================================================ */

:root {
    --itm-ink: #102235;
    --itm-muted: #637589;
    --itm-line: #dbe8ef;
    --itm-surface: #ffffff;
    --itm-soft: #f4f9fb;
    --itm-deep: #063f58;
    --itm-primary: #0AA2D1;
    --itm-teal: #22C5B4;
    --itm-gold: #0b8fb4;
    --itm-shadow: 0 24px 70px rgba(12, 43, 64, 0.12);
    --itm-shadow-sm: 0 14px 34px rgba(12, 43, 64, 0.08);
}

body {
    background:
        linear-gradient(180deg, #f7fbfd 0%, #ffffff 38%, #f7fbfd 100%);
    color: var(--itm-ink);
}

.app-main-content {
    max-width: 1480px;
    padding: 1.15rem clamp(1rem, 3vw, 2.5rem) 2rem;
}

.pre-header {
    background: linear-gradient(90deg, #0797c4 0%, #20bfae 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.marketing-tag,
.pre-header-link {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
}

.header-new {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(219, 232, 239, 0.9);
    box-shadow: 0 16px 44px rgba(12, 43, 64, 0.07);
    backdrop-filter: blur(18px);
}

.header-new.scrolled {
    box-shadow: 0 18px 48px rgba(12, 43, 64, 0.11);
}

.header-new-container {
    max-width: 1360px;
    padding: 0.78rem 1.35rem;
}

.header-new-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
    color: var(--itm-ink);
}

.header-new-brand img {
    height: 46px;
}

.header-brand-copy strong,
.mobile-menu-brand strong,
.footer-brand strong {
    color: var(--itm-ink);
    letter-spacing: 0;
}

.header-brand-copy small,
.mobile-menu-brand small {
    color: var(--itm-muted);
}

.menu-link,
.menu-dropdown-trigger {
    color: #31475b;
    border-radius: 999px;
}

.menu-link:hover,
.menu-link.active,
.menu-dropdown:hover .menu-dropdown-trigger,
.menu-dropdown-trigger.active {
    color: var(--itm-primary);
    background: rgba(4, 150, 199, 0.08);
}

.menu-dropdown-content {
    min-width: 292px;
    padding: 0.65rem;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(12, 43, 64, 0.16);
}

.menu-dropdown-content a {
    border-radius: 12px;
}

.btn-new {
    border-radius: 999px;
    min-height: 44px;
    font-weight: 800;
}

.btn-new-solid {
    background: linear-gradient(135deg, var(--itm-primary) 0%, #0878b2 100%);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(4, 150, 199, 0.24);
}

.btn-new-solid:hover {
    background: linear-gradient(135deg, #0878b2 0%, #05618e 100%);
    border-color: transparent;
}

.btn-new-ghost {
    color: var(--itm-primary);
    background: #ffffff;
    border-color: rgba(4, 150, 199, 0.26);
}

.btn-new-ghost:hover {
    background: rgba(4, 150, 199, 0.08);
    color: var(--itm-primary);
}

.itm-home-v5 .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    width: fit-content;
    padding: 0.45rem 0.78rem;
    border: 1px solid rgba(4, 150, 199, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--itm-primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.itm-home-v5 .section-title {
    margin: 0.72rem 0 0;
    color: var(--itm-ink);
    font-size: clamp(1.85rem, 3.4vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.itm-home-v5 .section-subtitle {
    max-width: 720px;
    margin: 0.85rem 0 0;
    color: var(--itm-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.itm-premium-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    grid-template-columns: minmax(360px, 0.82fr) minmax(460px, 1.18fr);
    gap: clamp(1.4rem, 3vw, 2.8rem);
    min-height: min(640px, calc(100vh - 140px));
    padding: clamp(1.4rem, 3.2vw, 3.1rem) clamp(1rem, 4vw, 4.8rem);
    border: 0;
    border-top: 1px solid rgba(10, 162, 209, 0.10);
    border-bottom: 1px solid rgba(10, 162, 209, 0.10);
    border-radius: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(34, 197, 180, 0.20), transparent 28%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 252, 254, 0.96) 48%, rgba(235, 250, 249, 0.94) 100%);
    box-shadow: 0 22px 62px rgba(10, 162, 209, 0.13);
}

.itm-premium-hero.fade-in-up {
    opacity: 1;
    transform: none;
}

.v5-hero::before,
.v5-hero::after {
    display: none;
}

.v5-eyebrow {
    color: #0c8db8;
    letter-spacing: 0.09em;
}

.v5-hero-title {
    max-width: 10.5ch;
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

.v5-hero-text {
    max-width: 58ch;
    color: var(--itm-muted);
    font-size: 1.08rem;
}

.v5-hero-trust span {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(219, 232, 239, 0.95);
    color: #30485c;
}

.v5-hero-trust i {
    color: var(--itm-teal);
}

.v5-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.78rem;
    margin-top: 1.35rem;
    max-width: 500px;
}

.v5-hero-metrics span {
    min-height: 88px;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(219, 232, 239, 0.95);
    box-shadow: var(--itm-shadow-sm);
}

.v5-hero-metrics strong,
.v5-hero-metrics small {
    display: block;
}

.v5-hero-metrics strong {
    color: var(--itm-deep);
    font-size: 1.28rem;
    line-height: 1;
}

.v5-hero-metrics small {
    margin-top: 0.4rem;
    color: var(--itm-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.v5-hero-slider {
    border-radius: 24px;
    background: #ffffff;
    border-color: rgba(10, 162, 209, 0.14);
    box-shadow: 0 22px 56px rgba(10, 162, 209, 0.14);
}

.v5-hero-slider-track {
    min-height: clamp(390px, 43vw, 560px);
}

.v5-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f7fbfd;
}

.v5-hero-slide.is-image-error::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 162, 209, 0.12), rgba(34, 197, 180, 0.18)),
        url("../images/logo-italmed.png") center / min(52%, 320px) auto no-repeat,
        #f7fbfd;
}

.v5-hero-floating-card {
    bottom: 82px;
    background: rgba(7, 53, 74, 0.88);
    border-color: rgba(255, 255, 255, 0.16);
}

.v5-hero-contact-row {
    gap: 0.9rem;
}

.v5-info-card,
.v5-quick-card,
.v5-journey-card,
.v5-widget-card,
.v5-mini-card {
    border-color: rgba(219, 232, 239, 0.95);
    box-shadow: var(--itm-shadow-sm);
}

.v5-info-card {
    background: rgba(255, 255, 255, 0.92);
}

.v5-info-card--accent {
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
}

.itm-premium-quick-links {
    margin-top: 1.5rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.v5-quick-card {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    min-height: 158px;
    padding: 1.15rem;
    border-radius: 20px;
    overflow: hidden;
}

.v5-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(12, 43, 64, 0.14);
    color: var(--itm-ink);
}

.v5-quick-card i,
.v5-service-icon,
.v5-mini-card-icon,
.v5-step-number {
    background: rgba(4, 150, 199, 0.10);
    color: var(--itm-primary);
}

.v5-quick-card--featured {
    background: linear-gradient(140deg, #0AA2D1 0%, #22C5B4 100%);
    border-color: transparent;
    color: #ffffff;
}

.v5-quick-card--featured span,
.v5-quick-card--featured strong {
    color: #ffffff;
}

.v5-quick-card--featured i {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.v5-section {
    margin-top: clamp(3.2rem, 6vw, 5.6rem);
}

.v5-section-heading {
    margin-bottom: 1.6rem;
}

.itm-local-seo-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    align-items: center;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid rgba(10, 162, 209, 0.14);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(240,250,253,0.96) 100%);
    box-shadow: 0 18px 48px rgba(10, 162, 209, 0.10);
}

.itm-local-seo-copy .section-title {
    max-width: 760px;
}

.itm-local-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.itm-local-seo-grid a {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(10, 162, 209, 0.14);
    color: var(--itm-ink);
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(12, 43, 64, 0.06);
}

.itm-local-seo-grid a:hover {
    transform: translateY(-2px);
    color: var(--itm-primary);
}

.itm-local-seo-grid i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(10, 162, 209, 0.10);
    color: var(--itm-primary);
}

.v5-services-showcase {
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(219, 232, 239, 0.95);
    box-shadow: var(--itm-shadow);
}

.v5-services-panel {
    top: 118px;
    border-radius: 22px;
    background: linear-gradient(180deg, #0899c4 0%, #18aaac 100%);
    box-shadow: none;
}

.v5-services-panel-label {
    color: #dff8ff;
}

.v5-services-panel-link {
    justify-content: space-between;
    min-height: 46px;
    background: rgba(255, 255, 255, 0.08);
}

.v5-services-panel-link::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.68rem;
    opacity: 0.72;
}

.v5-mini-cards-grid {
    gap: 1rem;
}

.v5-mini-card {
    min-height: 238px;
    padding: 1.18rem;
    border-radius: 20px;
}

.v5-mini-card:hover {
    border-color: rgba(4, 150, 199, 0.30);
}

.v5-mini-card-badge {
    background: rgba(201, 154, 59, 0.13);
    color: #93670f;
}

.v5-mini-card-actions {
    gap: 0.55rem;
}

.v5-mini-btn-primary {
    background: linear-gradient(135deg, var(--itm-primary) 0%, #0878b2 100%);
}

.v5-mini-btn-secondary {
    color: var(--itm-ink);
    background: #f3f8fb;
}

.v5-journey-card {
    position: relative;
    min-height: 230px;
    padding: 1.5rem;
    border-radius: 22px;
    overflow: hidden;
}

.v5-journey-card::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 0 1.5rem;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--itm-primary), var(--itm-teal));
}

.itm-premium-reviews {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f2f9fb 100%);
    box-shadow: var(--itm-shadow-sm);
}

.itm-premium-reviews .v5-widget-card,
.itm-premium-reviews .v5-survey-card {
    background: #ffffff;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 20px;
}

.v5-convenios-section .convenios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.v5-convenios-section .convenios-grid img {
    width: 100%;
    height: 104px;
    object-fit: contain;
    padding: 1rem;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(12, 43, 64, 0.06);
}

.itm-premium-final-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 0;
    padding: clamp(2rem, 4vw, 3.6rem) clamp(1rem, 5vw, 5rem);
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #0AA2D1 0%, #22C5B4 100%);
    box-shadow: 0 22px 62px rgba(10, 162, 209, 0.20);
}

.itm-premium-final-cta .section-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    color: #dff8ff;
}

.itm-premium-final-cta .section-title,
.itm-premium-final-cta .section-subtitle {
    color: #ffffff;
}

.itm-premium-final-cta .section-subtitle {
    opacity: 0.86;
}

.itm-premium-final-cta .btn-new-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.site-footer {
    width: 100%;
    background:
        linear-gradient(180deg, #073f58 0%, #052c40 100%);
    padding: clamp(2.4rem, 4vw, 4rem) clamp(1rem, 3vw, 2.5rem) 1.4rem;
}

.footer-column {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.footer-grid {
    max-width: 1480px;
    margin: 0 auto;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-copyright {
    max-width: 1480px;
    margin: 2rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand strong,
.footer-title,
.footer-contact-list a,
.footer-hours-list a,
.footer-links-list a {
    color: #ffffff;
}

.footer-brand small,
.footer-contact-list span,
.footer-hours-list span,
.footer-tagline,
.footer-mini-note,
.footer-copyright {
    color: rgba(255, 255, 255, 0.72);
}

.footer-copyright p,
.footer-site-credit-label,
.footer-site-credit-label strong {
    color: rgba(255, 255, 255, 0.72);
}

.footer-site-credit {
    border-top-color: rgba(255, 255, 255, 0.10);
}

.whatsapp-float {
    background: #20c768;
    box-shadow: 0 18px 44px rgba(32, 199, 104, 0.34);
}

@media (max-width: 1180px) {
    .itm-premium-hero,
    .itm-premium-final-cta {
        grid-template-columns: 1fr;
    }

    .itm-premium-quick-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v5-services-showcase {
        grid-template-columns: 1fr;
    }

    .itm-local-seo-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .app-main-content {
        padding-inline: 0.82rem;
    }

    .itm-premium-hero {
        min-height: 0;
        padding: 1.15rem 0.82rem;
    }

    .v5-hero-title {
        max-width: none;
        font-size: clamp(2.18rem, 11vw, 3.25rem);
    }

    .v5-hero-text {
        font-size: 0.98rem;
    }

    .v5-hero-actions .btn-new,
    .v5-final-actions .btn-new {
        width: 100%;
        justify-content: center;
    }

    .v5-hero-metrics,
    .itm-premium-quick-links,
    .v5-journey-grid {
        grid-template-columns: 1fr;
    }

    .v5-hero-metrics span {
        min-height: 0;
    }

    .v5-hero-slider-track {
        min-height: 280px;
    }

    .v5-hero-slide img {
        object-fit: contain;
    }

    .v5-quick-card {
        min-height: 118px;
        flex-direction: row;
        align-items: center;
    }

    .v5-services-showcase,
    .itm-premium-reviews {
        border-radius: 22px;
    }

    .itm-premium-final-cta {
        padding: 1.6rem 0.82rem;
    }

    .v5-mini-cards-grid--single .v5-mini-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .v5-mini-cards-grid--single .v5-mini-card-actions {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
    }

    .v5-reviews-grid {
        grid-template-columns: 1fr;
    }

    .itm-local-seo-section {
        padding: 1.15rem;
        border-radius: 22px;
    }

    .itm-local-seo-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HOME ALIGNMENT WITH SERVICIOS PUENTE ALTO PALETTE
   ============================================================ */

.pre-header {
    padding: 0.28rem 0;
    background: linear-gradient(135deg, #0AA2D1 0%, #0b6fa0 100%);
    font-size: 0.76rem;
}

.pre-header-container {
    min-height: 30px;
}

.marketing-tag,
.pre-header-link {
    padding: 3px 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: none;
}

.header-new {
    min-height: 70px !important;
}

.header-new-container {
    min-height: 70px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.header-new-brand img {
    height: 40px;
}

.header-brand-copy strong {
    font-size: 0.98rem;
}

.header-brand-copy small {
    font-size: 0.72rem;
}

.menu-link,
.menu-dropdown-trigger {
    padding: 0.48rem 0.82rem;
    font-size: 0.88rem;
}

.header-new-actions {
    gap: 0.5rem;
}

.header-new-actions .btn-new {
    min-height: 38px;
    padding: 0.52rem 0.92rem;
    font-size: 0.82rem;
}

.header-new-actions .btn-pro-access {
    width: 38px;
    padding-inline: 0;
    justify-content: center;
}

.itm-premium-hero {
    min-height: min(580px, calc(100vh - 112px));
    padding-top: clamp(1.6rem, 3.6vw, 3.6rem);
    padding-bottom: clamp(1.8rem, 3.8vw, 3.8rem);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,180,.18) 0%, transparent 70%),
        linear-gradient(135deg, #0AA2D1 0%, #0b6fa0 55%, #0d5a82 100%);
    box-shadow: none;
}

.itm-premium-hero .section-badge {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.28);
    color: #ffffff;
}

.v5-eyebrow {
    color: #a5f3fc;
}

.v5-hero-title,
.v5-hero-text {
    color: #ffffff;
}

.v5-hero-text {
    color: rgba(255,255,255,.9);
}

.v5-hero-actions .v5-hero-btn-primary {
    background: #ffffff;
    color: #0369a1;
    border-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,.15);
}

.v5-hero-actions .v5-hero-btn-primary:hover {
    color: #0369a1;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.v5-hero-actions .v5-hero-btn-secondary {
    background: rgba(255,255,255,.12);
    color: #ffffff;
    border-color: rgba(255,255,255,.32);
    box-shadow: none;
}

.v5-hero-actions .v5-hero-btn-secondary:hover {
    color: #ffffff;
    background: rgba(255,255,255,.22);
}

.v5-hero-trust span,
.v5-hero-metrics span {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.22);
    color: rgba(255,255,255,.92);
    box-shadow: none;
}

.v5-hero-metrics strong,
.v5-hero-metrics small {
    color: #ffffff;
}

.v5-hero-metrics small {
    color: rgba(255,255,255,.78);
}

.v5-hero-slider {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    box-shadow: 0 22px 58px rgba(0, 45, 70, .22);
    padding-top: 2.35rem;
}

.v5-hero-slider::before {
    content: "";
    position: absolute;
    top: 0.9rem;
    left: 1rem;
    width: 0.7rem;
    height: 0.7rem;
    z-index: 3;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 1.08rem 0 0 #ffbd2e, 2.16rem 0 0 #28c840;
}

.v5-hero-slider::after {
    content: "Vista Italmed";
    position: absolute;
    top: 0.64rem;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    padding: 0.24rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v5-hero-slide img {
    background: rgba(255,255,255,.08);
}

.v5-info-card {
    background: #ffffff;
    border-color: #e8f4fb;
    box-shadow: 0 2px 16px rgba(10,162,209,.10);
}

.v5-info-card--accent,
.v5-quick-card--featured,
.v5-services-panel,
.itm-premium-final-cta {
    background: linear-gradient(135deg, #0AA2D1 0%, #0b6fa0 100%);
}

.itm-local-seo-section,
.v5-services-showcase,
.itm-premium-reviews {
    background: #f8fafc;
    border-color: #e8f4fb;
    box-shadow: 0 2px 16px rgba(10,162,209,.10);
}

@media (max-width: 760px) {
    .pre-header {
        padding: 0.22rem 0;
    }

    .header-new,
    .header-new-container {
        min-height: 62px !important;
    }

    .header-new-brand img {
        height: 36px;
    }

    .itm-premium-hero {
        padding-top: 1.35rem;
        padding-bottom: 1.45rem;
    }
}

/* ============================================================
   HOME POLISH + NAV PERFORMANCE
   ============================================================ */

.header-new,
.header-new *,
.pre-header,
.pre-header * {
    transition-duration: 0.16s !important;
    transition-property: color, background-color, border-color, box-shadow, opacity !important;
}

.header-new {
    backdrop-filter: none;
    box-shadow: 0 8px 22px rgba(12, 43, 64, 0.07);
}

.header-new.scrolled {
    box-shadow: 0 10px 28px rgba(12, 43, 64, 0.10);
}

.menu-dropdown-content {
    transform: translateY(4px);
    transition: opacity 0.16s ease, visibility 0.16s ease;
    box-shadow: 0 18px 42px rgba(12, 43, 64, 0.13);
}

.menu-dropdown:hover .menu-dropdown-content {
    transform: translateY(4px);
}

.menu-link:hover,
.menu-dropdown:hover .menu-dropdown-trigger,
.pre-header-link:hover,
.marketing-tag:hover {
    transform: none !important;
}

.v5-hero-contact-row {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 3.05rem 0.95rem 0.95rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 42px rgba(0, 45, 70, 0.16);
}

.v5-hero-contact-row::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 1.08rem 0 0 #ffbd2e, 2.16rem 0 0 #28c840;
}

.v5-hero-contact-row::after {
    content: "Italmed rápido";
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.24rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v5-hero-contact-row .v5-info-card {
    min-height: 132px;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    border-color: rgba(255,255,255,0.72);
    box-shadow: 0 12px 28px rgba(12, 43, 64, 0.10);
}

.v5-hero-contact-row .v5-info-card--accent {
    background: linear-gradient(135deg, #0AA2D1 0%, #0b6fa0 100%);
    border-color: rgba(255,255,255,0.28);
    color: #ffffff;
}

.v5-hero-contact-row .v5-info-card--accent .v5-card-kicker,
.v5-hero-contact-row .v5-info-card--accent strong,
.v5-hero-contact-row .v5-info-card--accent p {
    color: #ffffff;
}

.v5-hero-contact-row .v5-info-card--accent .v5-card-kicker,
.v5-hero-contact-row .v5-info-card--accent p {
    opacity: 0.9;
}

.v5-hero-contact-row .v5-info-card--accent .v5-info-card-accent-icon {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
}

.v5-hero-contact-row .v5-info-card:not(.v5-info-card--accent)::before {
    content: "";
    width: 42px;
    height: 42px;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10,162,209,0.14), rgba(34,197,180,0.20));
}

.v5-hero-contact-row .v5-info-card:nth-child(1)::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    font-size: 1.25rem;
}

.v5-hero-contact-row .v5-info-card:nth-child(2)::before {
    content: "\f017";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0AA2D1;
    font-size: 1.15rem;
}

.v5-mini-card-badge {
    background: rgba(34, 197, 94, 0.14);
    color: #128045;
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.itm-local-seo-section {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    justify-items: center;
    border: 2px solid rgba(255,255,255,0.24);
    border-radius: 32px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,180,.18) 0%, transparent 70%),
        linear-gradient(135deg, #0AA2D1 0%, #0b6fa0 100%);
    color: #ffffff;
}

.itm-local-seo-section .section-badge {
    margin-inline: auto;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.28);
    color: #ffffff;
}

.itm-local-seo-section .section-title,
.itm-local-seo-section .section-subtitle {
    color: #ffffff;
}

.itm-local-seo-section .section-subtitle {
    max-width: 920px;
    margin-inline: auto;
    color: rgba(255,255,255,.88);
}

.itm-local-seo-grid {
    width: min(100%, 980px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.itm-premium-reviews {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(2rem, 4vw, 3.4rem) clamp(1rem, 5vw, 5rem);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    text-align: center;
}

.itm-premium-reviews .v5-section-heading,
.itm-premium-reviews .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.itm-premium-reviews .v5-reviews-grid {
    max-width: 1240px;
    margin: 0 auto;
    text-align: left;
}

.itm-premium-final-cta .v5-final-actions .btn-new-solid {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.26);
}

.itm-premium-final-cta .v5-final-actions .btn-new-solid:hover {
    background: #1da851;
    border-color: #1da851;
    color: #ffffff;
}

@media (max-width: 1180px) {
    .itm-local-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .v5-hero-contact-row {
        grid-template-columns: 1fr;
        padding: 2.2rem 0.8rem 0.8rem;
    }

    .v5-hero-contact-row::after {
        display: none;
    }

    .itm-local-seo-section {
        border-radius: 24px;
    }

    .itm-local-seo-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HOME 2026: portal hero, convenios y blog directo
   ============================================================ */

.itm-premium-hero {
    background:
        linear-gradient(180deg, rgba(231, 249, 253, 0.96) 0%, rgba(240, 252, 254, 0.96) 100%);
    color: #08245c;
}

.itm-premium-hero .section-badge {
    background: #ffffff;
    border-color: rgba(10, 162, 209, 0.20);
    color: #0a6f91;
}

.v5-eyebrow {
    color: #627995;
}

.v5-hero-title {
    color: #08245c;
}

.v5-hero-text {
    color: #435d75;
}

.v5-hero-actions .v5-hero-btn-primary {
    background: #0a6f91;
    border-color: #0a6f91;
    color: #ffffff;
}

.v5-hero-actions .v5-hero-btn-primary:hover {
    background: #064f75;
    border-color: #064f75;
    color: #ffffff;
}

.v5-hero-actions .v5-hero-btn-secondary {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.v5-hero-actions .v5-hero-btn-secondary:hover {
    background: #1fb45a;
    color: #ffffff;
}

.v5-hero-trust span,
.v5-hero-metrics span {
    background: #ffffff;
    border-color: rgba(10, 162, 209, 0.16);
    color: #29475f;
    box-shadow: 0 10px 28px rgba(12, 43, 64, 0.07);
}

.v5-hero-metrics strong {
    color: #08245c;
}

.v5-hero-metrics small {
    color: #627995;
}

.v5-hero-slider {
    padding-top: 4.8rem;
    border: 1px solid rgba(10, 162, 209, 0.16);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(12, 43, 64, 0.14);
    overflow: hidden;
}

.v5-hero-slider::before {
    top: 1.55rem;
    left: 1.7rem;
    background: #ff5f57;
    box-shadow: 1.08rem 0 0 #ffbd2e, 2.16rem 0 0 #28c840;
}

.v5-hero-slider::after {
    content: "\f0c2  Portal clinico Italmed";
    top: 0;
    left: 0;
    width: 100%;
    height: 4.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    border-radius: 0;
    background: #08245c;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Font Awesome 6 Free", "Manrope", sans-serif;
    font-size: clamp(1rem, 2vw, 1.34rem);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.v5-hero-slider-track {
    min-height: clamp(360px, 39vw, 510px);
    background:
        linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
}

.v5-hero-slide img {
    padding: clamp(0.8rem, 2vw, 1.8rem);
    object-fit: contain;
    background: transparent;
}

.v5-hero-slider-controls {
    bottom: 1.05rem;
}

.v5-hero-contact-row {
    display: none;
}

.itm-local-seo-section {
    margin-top: clamp(2rem, 4vw, 3.4rem);
}

.itm-local-seo-grid a:last-child {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.itm-local-seo-grid a:last-child i {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}

.v5-convenios-section {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid rgba(10, 162, 209, 0.14);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(12, 43, 64, 0.08);
}

.v5-convenios-section .convenios-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.itm-convenio-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-height: 138px;
    padding: 1rem;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 20px;
    background: #f8fcfd;
    box-shadow: 0 10px 28px rgba(12, 43, 64, 0.06);
}

.itm-convenio-card--featured {
    grid-column: span 2;
    background:
        linear-gradient(135deg, #e9fbff 0%, #ffffff 100%);
    border-color: rgba(10, 162, 209, 0.24);
}

.itm-convenio-logo {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(219, 232, 239, 0.95);
}

.v5-convenios-section .convenios-grid .itm-convenio-logo img {
    width: 74px;
    height: 74px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

.itm-convenio-card h3 {
    margin: 0 0 0.32rem;
    color: #08245c;
    font-size: 1rem;
}

.itm-convenio-card p {
    margin: 0;
    color: #627995;
    font-size: 0.88rem;
    line-height: 1.45;
}

.itm-home-blog {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f3fbfd 100%);
    box-shadow: 0 18px 48px rgba(12, 43, 64, 0.07);
}

.itm-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.itm-home-blog-card {
    overflow: hidden;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 20px;
    background: #ffffff;
}

.itm-home-blog-media {
    height: 160px;
    display: grid;
    place-items: center;
    background: #eaf8fc;
}

.itm-home-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itm-home-blog-media span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #0a6f91;
    background: #ffffff;
}

.itm-home-blog-body {
    padding: 1rem;
}

.itm-home-blog-body span {
    color: #0a6f91;
    font-size: 0.78rem;
    font-weight: 800;
}

.itm-home-blog-body h3 {
    margin: 0.45rem 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.itm-home-blog-body h3 a {
    color: #08245c;
}

.itm-home-blog-body p {
    margin: 0;
    color: #627995;
    font-size: 0.9rem;
    line-height: 1.55;
}

.itm-home-blog-actions {
    margin-top: 1.2rem;
    text-align: center;
}

@media (max-width: 1180px) {
    .itm-convenio-card--featured {
        grid-column: auto;
    }

    .itm-home-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .v5-hero-slider {
        padding-top: 3.7rem;
        border-radius: 22px;
    }

    .v5-hero-slider::before {
        top: 1.25rem;
        left: 1.1rem;
    }

    .v5-hero-slider::after {
        height: 3.35rem;
        font-size: 0.92rem;
    }

    .itm-convenio-card {
        grid-template-columns: 68px minmax(0, 1fr);
        min-height: 112px;
    }

    .itm-convenio-logo {
        width: 68px;
        height: 68px;
    }

    .v5-convenios-section .convenios-grid .itm-convenio-logo img {
        width: 58px;
        height: 58px;
    }
}

/* HOME 2026: ajustes finales de orden, mapa, convenios y blog */
.itm-local-seo-section {
    width: min(100%, 1480px);
    margin-inline: auto;
    padding: clamp(1.3rem, 3vw, 2.2rem);
    border: 1px solid rgba(10, 162, 209, 0.18);
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f2fbfe 100%);
    box-shadow: 0 18px 48px rgba(12, 43, 64, 0.07);
}

.itm-local-seo-copy {
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
}

.itm-local-seo-visual {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
    max-width: 1180px;
    margin: clamp(1.2rem, 2.4vw, 1.7rem) auto 0;
}

.itm-local-map {
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(10, 162, 209, 0.16);
    border-radius: 24px;
    background: #eaf8fc;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.82);
}

.itm-local-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.v5-convenios-section {
    overflow: hidden;
    width: min(100%, 1480px);
    margin-inline: auto;
    padding: clamp(1.1rem, 2vw, 1.7rem) 0;
}

.v5-convenios-section .v5-section-heading {
    margin-bottom: 1rem;
}

.itm-convenios-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0.25rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.itm-convenios-track {
    display: flex;
    width: max-content;
    gap: clamp(0.9rem, 2vw, 1.3rem);
    align-items: center;
    animation: itmConveniosSlide 26s linear infinite;
}

.itm-convenios-marquee:hover .itm-convenios-track {
    animation-play-state: paused;
}

.itm-convenios-track .itm-convenio-logo {
    flex: 0 0 clamp(150px, 16vw, 210px);
    height: 96px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(12, 43, 64, 0.07);
}

.itm-convenios-track .itm-convenio-logo img {
    width: 78%;
    max-width: 150px;
    height: 64px;
    object-fit: contain;
}

@keyframes itmConveniosSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.itm-home-blog-card {
    display: grid;
    grid-template-rows: 180px 1fr;
    min-height: 100%;
}

.itm-home-blog-media {
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 180px;
    text-decoration: none;
}

.itm-home-blog-body {
    position: relative;
    z-index: 2;
    min-height: 190px;
    background: #ffffff;
}

.itm-home-blog-body h3,
.itm-home-blog-body h3 a,
.itm-home-blog-body p {
    overflow-wrap: anywhere;
}

.itm-premium-quick-links--footer {
    width: min(100%, 1480px);
    margin: clamp(2rem, 4vw, 3rem) auto 0;
}

@media (max-width: 900px) {
    .itm-local-seo-visual {
        grid-template-columns: 1fr;
    }

    .itm-convenios-track .itm-convenio-logo {
        flex-basis: 142px;
        height: 82px;
    }

    .itm-home-blog-card {
        grid-template-rows: 168px auto;
    }

    .itm-home-blog-media {
        height: 168px;
    }
}

/* HOME 2026: correccion fuerte para Como llegar full width */
.itm-home-v5 .itm-local-seo-section {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(2.2rem, 4vw, 3.6rem) clamp(1rem, 5vw, 5rem);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #eefaff 0%, #ffffff 100%);
    color: #0b2437;
}

.itm-home-v5 .itm-local-seo-section .itm-local-seo-copy,
.itm-home-v5 .itm-local-seo-section .itm-local-seo-visual {
    width: min(100%, 1220px);
    margin-left: auto;
    margin-right: auto;
}

.itm-home-v5 .itm-local-seo-section .section-badge {
    margin-inline: auto;
    background: #dff7fc;
    border-color: rgba(10, 162, 209, 0.18);
    color: #075f7b;
}

.itm-home-v5 .itm-local-seo-section .section-title {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: #08245c;
}

.itm-home-v5 .itm-local-seo-section .section-subtitle {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    color: #5d748b;
}

.itm-home-v5 .itm-local-seo-visual {
    grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
    align-items: stretch;
    margin-top: clamp(1.25rem, 2.8vw, 2rem);
}

.itm-home-v5 .itm-local-seo-grid {
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.itm-home-v5 .itm-local-seo-grid a,
.itm-home-v5 .itm-local-seo-grid a:last-child {
    min-height: 118px;
    padding: 1rem;
    border: 1px solid rgba(10, 162, 209, 0.16);
    border-radius: 18px;
    background: #ffffff;
    color: #102a43;
    box-shadow: 0 12px 28px rgba(12, 43, 64, 0.07);
}

.itm-home-v5 .itm-local-seo-grid i,
.itm-home-v5 .itm-local-seo-grid a:last-child i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #dff7fc;
    color: #0aa2d1;
}

.itm-home-v5 .itm-local-map {
    min-height: 300px;
    border-radius: 20px;
}

.itm-home-v5 .itm-local-map iframe {
    min-height: 300px;
}

.itm-home-v5 .v5-convenios-section {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(2rem, 3.4vw, 3rem) 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #ffffff 0%, #eefaff 100%);
}

.itm-home-v5 .v5-convenios-section .v5-section-heading,
.itm-home-v5 .v5-convenios-section .itm-convenios-marquee {
    width: min(100%, 1220px);
    margin-left: auto;
    margin-right: auto;
}

.itm-home-v5 .itm-home-blog .v5-section-heading {
    margin-bottom: 1rem;
}

@media (max-width: 960px) {
    .itm-home-v5 .itm-local-seo-visual {
        grid-template-columns: 1fr;
    }

    .itm-home-v5 .itm-local-seo-grid a,
    .itm-home-v5 .itm-local-seo-grid a:last-child {
        min-height: 86px;
    }
}

@media (max-width: 620px) {
    .itm-home-v5 .itm-local-seo-grid {
        grid-template-columns: 1fr;
    }
}

/* HOME 2026: hero visual amplio con pacientes superpuestos */
.itm-home-v5 .itm-premium-hero {
    position: relative;
    width: 100vw;
    max-width: none;
    min-height: clamp(620px, 74vh, 760px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(4rem, 7vw, 6.4rem) clamp(1rem, 6vw, 7rem) 0;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(460px, 1.08fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 96% 36%, rgba(10, 162, 209, 0.2) 0 18%, transparent 18.2%),
        radial-gradient(circle at -5% 75%, rgba(10, 162, 209, 0.14) 0 15%, transparent 15.2%),
        linear-gradient(180deg, #e8f7ff 0%, #f7fcff 100%);
    box-shadow: none;
}

.itm-home-v5 .itm-premium-hero::before,
.itm-home-v5 .itm-premium-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.itm-home-v5 .itm-premium-hero::before {
    width: 210px;
    height: 210px;
    right: 11%;
    top: 18%;
    border-radius: 48px;
    border: 4px solid rgba(10, 162, 209, 0.16);
    transform: rotate(-4deg);
}

.itm-home-v5 .itm-premium-hero::after {
    width: 58px;
    height: 58px;
    right: 33%;
    top: 39%;
    background:
        linear-gradient(#0aa2d1, #0aa2d1) center/100% 16px no-repeat,
        linear-gradient(#0aa2d1, #0aa2d1) center/16px 100% no-repeat;
    border-radius: 16px;
    opacity: 0.75;
}

.itm-home-v5 .v5-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 660px;
}

.itm-home-v5 .v5-hero-title {
    max-width: 720px;
    font-size: clamp(2.7rem, 5.6vw, 5.45rem);
    line-height: 1.02;
    color: #24245c;
}

.itm-home-v5 .v5-hero-text {
    max-width: 620px;
    color: #556f88;
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.itm-hero-visual-stage {
    position: relative;
    z-index: 2;
    display: block;
    min-height: clamp(500px, 63vh, 680px);
    align-self: end;
}

.itm-hero-shape {
    position: absolute;
    pointer-events: none;
}

.itm-hero-shape--left {
    width: 310px;
    height: 240px;
    left: 14%;
    bottom: 11%;
    border-radius: 54px;
    background: #2d285f;
}

.itm-hero-shape--right {
    width: clamp(310px, 31vw, 500px);
    height: clamp(310px, 31vw, 500px);
    right: -9%;
    bottom: 11%;
    border-radius: 50%;
    background: rgba(10, 162, 209, 0.16);
}

.itm-hero-main-figure {
    position: absolute;
    right: clamp(0rem, 4vw, 4rem);
    bottom: 0;
    z-index: 3;
    width: min(64vw, 620px);
    margin: 0;
}

.itm-hero-main-figure img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 28px 42px rgba(12, 43, 64, 0.22));
}

.itm-hero-status-card {
    position: absolute;
    z-index: 5;
    left: 2%;
    top: 24%;
    width: min(280px, 44vw);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 20px 44px rgba(12, 43, 64, 0.16);
    backdrop-filter: blur(12px);
}

.itm-hero-status-card span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.28rem;
    color: #0c9a48;
    font-size: 0.86rem;
    font-weight: 900;
}

.itm-hero-status-card strong {
    display: block;
    color: #08245c;
    font-size: 1.04rem;
}

.itm-hero-support-grid {
    position: absolute;
    z-index: 4;
    right: 4%;
    bottom: clamp(1rem, 3vw, 2.3rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 118px));
    gap: 0.78rem;
}

.itm-hero-support-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 18px 36px rgba(12, 43, 64, 0.14);
}

.itm-hero-support-card img {
    display: block;
    width: 100%;
    height: 92px;
    object-fit: contain;
    object-position: bottom center;
    background: #e9f7fc;
}

.itm-hero-support-card figcaption {
    padding: 0.48rem 0.55rem 0.55rem;
    color: #08245c;
    font-size: 0.74rem;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 1080px) {
    .itm-home-v5 .itm-premium-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 0;
    }

    .itm-home-v5 .v5-hero-copy {
        max-width: 760px;
        text-align: center;
        margin-inline: auto;
    }

    .itm-home-v5 .v5-hero-actions,
    .itm-home-v5 .v5-hero-trust,
    .itm-home-v5 .v5-hero-metrics {
        justify-content: center;
    }

    .itm-hero-visual-stage {
        min-height: 560px;
        width: min(100%, 780px);
        margin-inline: auto;
    }
}

@media (max-width: 1320px) and (min-width: 1081px) {
    .itm-home-v5 .itm-premium-hero {
        grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
        gap: clamp(1.2rem, 3vw, 2.6rem);
        padding-left: clamp(1.4rem, 4vw, 3.4rem);
        padding-right: clamp(1.4rem, 4vw, 3.4rem);
    }

    .app-container.itm-home-v5 .v5-hero-title,
    .itm-home-v5 .v5-hero-title {
        font-size: clamp(2.6rem, 5vw, 4.25rem);
    }

    .app-container.itm-home-v5 .itm-hero-main-figure {
        width: min(48vw, 470px);
    }

    .app-container.itm-home-v5 .v5-hero-metrics {
        max-width: 500px;
    }
}

@media (max-width: 720px) {
    .itm-home-v5 .itm-premium-hero {
        padding-top: 2.6rem;
    }

    .itm-home-v5 .v5-hero-title {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .itm-hero-visual-stage {
        min-height: 520px;
    }

    .itm-hero-main-figure {
        width: min(96vw, 440px);
        right: 50%;
        transform: translateX(50%);
    }

    .itm-hero-status-card {
        left: 50%;
        top: 1rem;
        transform: translateX(-50%);
        width: min(88vw, 300px);
    }

    .itm-hero-support-grid {
        left: 50%;
        right: auto;
        bottom: 0.8rem;
        grid-template-columns: repeat(3, minmax(82px, 1fr));
        width: min(94vw, 390px);
        transform: translateX(-50%);
    }

    .itm-hero-support-card img {
        height: 76px;
    }
}

/* HOME 2026: header unido al hero y capas visuales extra */
body:has(.itm-home-v5) .pre-header {
    position: relative;
    z-index: 30;
    width: 100%;
    background: #078fe2;
    box-shadow: none;
}

body:has(.itm-home-v5) .pre-header-container {
    max-width: 1720px;
    min-height: 48px;
    padding-inline: clamp(1rem, 5vw, 6rem);
}

body:has(.itm-home-v5) .pre-header-link,
body:has(.itm-home-v5) .marketing-tag {
    color: #ffffff;
}

body:has(.itm-home-v5) .header-new {
    position: relative;
    z-index: 28;
    min-height: 94px;
    background: #e8f7ff;
    border-bottom: 0;
    box-shadow: none;
}

body:has(.itm-home-v5) .header-new.scrolled {
    background: rgba(232, 247, 255, 0.96);
    box-shadow: 0 12px 30px rgba(12, 43, 64, 0.08);
}

body:has(.itm-home-v5) .header-new-container {
    max-width: 1720px;
    padding-inline: clamp(1rem, 5vw, 6rem);
}

body:has(.itm-home-v5) .site-content {
    padding-top: 0;
}

.itm-home-v5 .itm-premium-hero {
    margin-top: 0;
    padding-top: clamp(2.4rem, 4.8vw, 4.8rem);
    background:
        radial-gradient(circle at 96% 36%, rgba(10, 162, 209, 0.2) 0 18%, transparent 18.2%),
        radial-gradient(circle at -5% 75%, rgba(10, 162, 209, 0.14) 0 15%, transparent 15.2%),
        linear-gradient(180deg, #e8f7ff 0%, #f7fcff 100%);
}

.itm-hero-feature-card {
    position: absolute;
    z-index: 5;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(219, 232, 239, 0.95);
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 22px 48px rgba(12, 43, 64, 0.18);
    backdrop-filter: blur(14px);
}

.itm-hero-feature-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    background: #eaf8fc;
}

.itm-hero-feature-card figcaption {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.5rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: #08245c;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.itm-hero-feature-card--burdeo {
    left: -2%;
    bottom: 8%;
    width: clamp(150px, 16vw, 230px);
    height: clamp(180px, 21vw, 300px);
}

.itm-hero-feature-card--rx {
    right: 2%;
    top: 10%;
    width: clamp(130px, 14vw, 210px);
    height: clamp(160px, 19vw, 280px);
}

.itm-hero-support-grid {
    right: 19%;
    bottom: clamp(0.9rem, 2.2vw, 1.5rem);
}

@media (max-width: 1080px) {
    body:has(.itm-home-v5) .header-new {
        min-height: 82px;
    }

    .itm-hero-feature-card--burdeo {
        left: 1rem;
        bottom: 6rem;
    }

    .itm-hero-feature-card--rx {
        right: 1rem;
        top: 4rem;
    }
}

@media (max-width: 720px) {
    body:has(.itm-home-v5) .pre-header-container {
        min-height: 42px;
    }

    .itm-hero-feature-card--burdeo {
        width: 118px;
        height: 152px;
        left: 0.8rem;
        bottom: 6rem;
    }

    .itm-hero-feature-card--rx {
        width: 108px;
        height: 142px;
        right: 0.8rem;
        top: 5.2rem;
    }

    .itm-hero-feature-card figcaption {
        display: none;
    }

    .itm-hero-support-grid {
        display: none;
    }
}

/* HOME 2026: limpieza final hero/menu */
.itm-home-v5 .app-main-content,
.app-container.itm-home-v5 .app-main-content {
    max-width: none;
    padding: 0;
    margin-top: 0;
}

.app-container.itm-home-v5 .itm-premium-hero {
    min-height: clamp(520px, 64vh, 650px);
    padding-top: clamp(1.4rem, 2.6vw, 2.8rem);
    padding-bottom: clamp(2.2rem, 3.2vw, 3rem);
    margin-top: 0;
}

.app-container.itm-home-v5 .v5-hero-title {
    font-size: clamp(2.75rem, 4.8vw, 4.65rem);
}

.app-container.itm-home-v5 .v5-hero-metrics {
    max-width: 560px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.app-container.itm-home-v5 .v5-hero-metrics span {
    min-width: 0;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
}

.app-container.itm-home-v5 .v5-hero-metrics strong {
    font-size: clamp(1.08rem, 1.45vw, 1.35rem);
    line-height: 1.05;
}

.app-container.itm-home-v5 .v5-hero-metrics small {
    font-size: 0.78rem;
    line-height: 1.22;
}

.app-container.itm-home-v5 .itm-hero-visual-stage {
    min-height: clamp(405px, 50vh, 520px);
}

.app-container.itm-home-v5 .itm-hero-main-figure {
    width: min(53vw, 535px);
}

.app-container.itm-home-v5 .itm-hero-status-card {
    top: 15%;
}

.app-container.itm-home-v5 .itm-hero-feature-card--burdeo {
    bottom: 4%;
    width: clamp(132px, 13vw, 198px);
    height: clamp(158px, 17vw, 248px);
}

.app-container.itm-home-v5 .itm-hero-feature-card--rx {
    top: 6%;
    width: clamp(118px, 11.5vw, 180px);
    height: clamp(142px, 16vw, 232px);
}

.app-container.itm-home-v5 .itm-hero-support-grid {
    display: none;
}

.app-container.itm-home-v5 .v5-convenios-section {
    background: transparent;
    box-shadow: none;
    border: 0;
}

@media (max-width: 1080px) {
    .app-container.itm-home-v5 .itm-premium-hero {
        padding-bottom: 1.6rem;
    }

    .app-container.itm-home-v5 .v5-hero-metrics {
        margin-inline: auto;
    }
}

/* HOME 2026: franjas limpias de Servicios, Convenios y Opiniones */
.app-container.itm-home-v5 .itm-premium-services {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(2.6rem, 5vw, 4.4rem) clamp(1rem, 5vw, 5rem);
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
    box-shadow: none;
}

.app-container.itm-home-v5 .itm-premium-services > .v5-section-heading,
.app-container.itm-home-v5 .itm-premium-services > .v5-services-showcase {
    width: min(100%, 1220px);
    margin-left: auto;
    margin-right: auto;
}

.app-container.itm-home-v5 .v5-services-showcase {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.app-container.itm-home-v5 .v5-service-showcase-card,
.app-container.itm-home-v5 .v5-services-panel {
    box-shadow: 0 14px 36px rgba(12, 43, 64, 0.07);
}

.app-container.itm-home-v5 .v5-convenios-section {
    background: transparent;
    box-shadow: none;
    border: 0;
}

.app-container.itm-home-v5 .itm-premium-reviews {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(2.4rem, 4.5vw, 4rem) clamp(1rem, 5vw, 5rem);
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #eefaff 0%, #ffffff 100%);
    box-shadow: none;
}

.app-container.itm-home-v5 .itm-premium-reviews > .v5-section-heading,
.app-container.itm-home-v5 .itm-premium-reviews > .v5-reviews-grid {
    width: min(100%, 1220px);
    margin-left: auto;
    margin-right: auto;
}

.app-container.itm-home-v5 .itm-premium-reviews .v5-widget-card {
    background: #ffffff;
}

/* INTERNAL 2026: base visual premium para paginas internas */
body.page:not(.home) .pre-header {
    background: #078fe2;
    box-shadow: none;
}

body.page:not(.home) .pre-header-container {
    max-width: 1720px;
    padding-inline: clamp(1rem, 5vw, 6rem);
}

body.page:not(.home) .pre-header-link,
body.page:not(.home) .marketing-tag {
    color: #ffffff;
}

body.page:not(.home) .header-new {
    background: #e8f7ff;
    border-bottom: 0;
    box-shadow: none;
}

body.page:not(.home) .header-new-container {
    max-width: 1720px;
    padding-inline: clamp(1rem, 5vw, 6rem);
}

body.page:not(.home) .site-content {
    background: linear-gradient(180deg, #e8f7ff 0%, #ffffff 34rem);
}

body.page:not(.home) .app-main-content {
    padding-top: 0;
}

body.page:not(.home) .service-hero-premium,
body.page-template-page-ecotomografia-doppler .service-hero-premium,
body.page:not(.home) .page-hero-premium,
body.page:not(.home) .spal-hero,
body.page:not(.home) #itm-arancel-hero,
body.page:not(.home) #itm-cot-hero,
body.page:not(.home) #itm-con-hero,
body.page:not(.home) #itm-res-hero,
body.page:not(.home) #itm-res-hero-ag,
body.page:not(.home) #sr-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: clamp(2.5rem, 5vw, 4.6rem) clamp(1rem, 6vw, 7rem) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 96% 34%, rgba(10, 162, 209, 0.18) 0 18%, transparent 18.2%),
        radial-gradient(circle at -5% 76%, rgba(10, 162, 209, 0.12) 0 14%, transparent 14.2%),
        linear-gradient(180deg, #e8f7ff 0%, #f7fcff 100%) !important;
    box-shadow: none !important;
    color: #08245c !important;
    overflow: hidden;
}

body.page:not(.home) .service-hero-premium *,
body.page-template-page-ecotomografia-doppler .service-hero-premium *,
body.page:not(.home) .page-hero-premium *,
body.page:not(.home) .spal-hero *,
body.page:not(.home) #itm-arancel-hero *,
body.page:not(.home) #itm-cot-hero *,
body.page:not(.home) #itm-con-hero *,
body.page:not(.home) #itm-res-hero *,
body.page:not(.home) #itm-res-hero-ag *,
body.page:not(.home) #sr-hero * {
    color: inherit;
}

body.page:not(.home) .service-hero-premium h1,
body.page-template-page-ecotomografia-doppler .service-hero-premium h1,
body.page:not(.home) .page-hero-premium h1,
body.page:not(.home) .spal-hero h1,
body.page:not(.home) #itm-arancel-hero h1,
body.page:not(.home) #itm-cot-hero h1,
body.page:not(.home) #itm-con-hero h1,
body.page:not(.home) #itm-res-hero h1,
body.page:not(.home) #itm-res-hero-ag h1,
body.page:not(.home) #sr-hero h1 {
    color: #24245c !important;
}

body.page:not(.home) .hero-badge,
body.page:not(.home) .spal-hero-badge,
body.page:not(.home) .cot-badge,
body.page:not(.home) .sr-hero-tag,
body.page:not(.home) .con-hero-badge,
body.page:not(.home) .res-ag-stat,
body.page:not(.home) .hero-stat,
body.page:not(.home) .cot-hero-pill,
body.page:not(.home) .cot-stat-card {
    background: rgba(255,255,255,0.86) !important;
    border: 1px solid rgba(10, 162, 209, 0.16) !important;
    color: #0b4f6c !important;
    box-shadow: 0 12px 30px rgba(12, 43, 64, 0.07) !important;
}

body.page:not(.home) .hero-text,
body.page:not(.home) .hero-sub,
body.page:not(.home) .spal-hero-sub,
body.page:not(.home) .cot-hero-sub,
body.page:not(.home) #itm-res-hero p,
body.page:not(.home) #sr-hero p {
    color: #556f88 !important;
}

.psicologia-balance-card {
    align-self: stretch;
    display: flex;
    gap: 1rem;
    border: 1px solid rgba(10, 162, 209, 0.16) !important;
    background: linear-gradient(135deg, #eefaff 0%, #ffffff 100%) !important;
    box-shadow: 0 18px 44px rgba(12, 43, 64, 0.08);
}

.psicologia-balance-card .highlight-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #dff7fc;
    color: #0AA2D1;
}

.psicologia-balance-card h3 {
    margin: 0 0 0.55rem;
    color: #08245c;
}

.psicologia-balance-card p {
    margin: 0 0 1rem;
    color: #556f88;
    line-height: 1.65;
}

.psicologia-balance-list {
    margin: 0;
    padding: 0;
}

.psicologia-balance-list li {
    padding: 0.8rem 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

/* HOME 2026: evitar doble scrollbar/scroll interno */
html:has(.itm-home-v5),
body:has(.itm-home-v5) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
}

body:has(.itm-home-v5) #page,
body:has(.itm-home-v5) .site-content {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-y: visible !important;
    overflow-x: clip !important;
}

body:has(.itm-home-v5) .app-container.itm-home-v5,
body:has(.itm-home-v5) .app-container.itm-home-v5 .app-main-content {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 760px) {
    html:has(.itm-home-v5),
    body:has(.itm-home-v5) {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-x: none;
        touch-action: pan-y;
    }

    body:has(.itm-home-v5) #page,
    body:has(.itm-home-v5) .site-content,
    body:has(.itm-home-v5) .app-container.itm-home-v5,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .app-main-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        transform: none !important;
    }

    body:has(.itm-home-v5) .itm-premium-hero,
    body:has(.itm-home-v5) .itm-home-care-strip,
    body:has(.itm-home-v5) .itm-premium-services,
    body:has(.itm-home-v5) .itm-local-seo-section,
    body:has(.itm-home-v5) .v5-convenios-section,
    body:has(.itm-home-v5) .itm-premium-reviews,
    body:has(.itm-home-v5) .itm-premium-final-cta {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }

    body:has(.itm-home-v5) .itm-premium-hero,
    .app-container.itm-home-v5 .itm-premium-hero,
    .itm-home-v5 .itm-premium-hero {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        padding: 1.6rem 1rem 0.9rem !important;
        gap: 1rem !important;
        overflow: hidden !important;
    }

    .itm-home-v5 .v5-hero-copy {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .itm-home-v5 .v5-hero-title,
    .app-container.itm-home-v5 .v5-hero-title {
        max-width: 100% !important;
        font-size: clamp(2rem, 10vw, 2.85rem) !important;
        line-height: 1.04 !important;
    }

    .itm-home-v5 .v5-hero-actions,
    .itm-home-v5 .v5-hero-trust {
        justify-content: center !important;
    }

    .app-container.itm-home-v5 .v5-hero-metrics {
        grid-template-columns: 1fr 1fr 1fr !important;
        max-width: 100% !important;
    }

    .app-container.itm-home-v5 .v5-hero-metrics span {
        padding: 0.72rem 0.55rem !important;
    }

    .app-container.itm-home-v5 .itm-hero-visual-stage,
    .itm-hero-visual-stage {
        width: 100% !important;
        min-height: clamp(270px, 74vw, 370px) !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .itm-hero-shape--left {
        left: 8% !important;
        bottom: 10% !important;
        width: 78vw !important;
        height: 42vw !important;
        border-radius: 34px !important;
    }

    .itm-hero-shape--right {
        right: -28% !important;
        bottom: 4% !important;
        width: 82vw !important;
        height: 82vw !important;
    }

    .app-container.itm-home-v5 .itm-hero-main-figure,
    .itm-hero-main-figure {
        width: min(86vw, 360px) !important;
        right: 50% !important;
        bottom: 0 !important;
        transform: translateX(50%) !important;
    }

    .app-container.itm-home-v5 .itm-hero-status-card,
    .itm-hero-status-card {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: min(100%, 320px) !important;
        margin: 0 auto 0.2rem !important;
        transform: none !important;
    }
}

/* ARANCEL 2026: contraste sobre hero celeste */
body.page:not(.home) #itm-arancel-hero .hero-sub {
    color: #556f88 !important;
}

body.page:not(.home) #itm-arancel-hero .hero-stat {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(10, 162, 209, 0.16) !important;
    box-shadow: 0 14px 34px rgba(12, 43, 64, 0.08) !important;
}

body.page:not(.home) #itm-arancel-hero .hero-stat-num {
    color: #24245c !important;
}

body.page:not(.home) #itm-arancel-hero .hero-stat-lbl {
    color: #556f88 !important;
}

/* SERVICIOS 2026: contraste para botones secundarios sobre heroes claros */
body.page:not(.home) .service-hero-premium .btn-hero-secondary,
body.page:not(.home) .kine-hero-premium .btn-hero-secondary,
body.page:not(.home) .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(10, 162, 209, 0.20) !important;
    color: #08245c !important;
    box-shadow: 0 14px 30px rgba(12, 43, 64, 0.09) !important;
}

body.page:not(.home) .service-hero-premium .btn-hero-secondary i,
body.page:not(.home) .kine-hero-premium .btn-hero-secondary i,
body.page:not(.home) .btn-hero-secondary i {
    color: #0a6f91 !important;
}

body.page:not(.home) .service-hero-premium .btn-hero-secondary:hover,
body.page:not(.home) .kine-hero-premium .btn-hero-secondary:hover,
body.page:not(.home) .btn-hero-secondary:hover {
    background: #0AA2D1 !important;
    border-color: #0AA2D1 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

body.page:not(.home) .service-hero-premium .btn-hero-secondary:hover i,
body.page:not(.home) .kine-hero-premium .btn-hero-secondary:hover i,
body.page:not(.home) .btn-hero-secondary:hover i {
    color: #ffffff !important;
}

/* SERVICIOS 2026: bloque SEO local para vecinos de CESFAM y consultorios */
.itm-local-network-section {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(1.7rem, 3.4vw, 3rem) clamp(1rem, 5vw, 5rem);
    background: linear-gradient(180deg, #f7fcff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(10, 162, 209, 0.12);
}

.itm-local-network-inner {
    width: min(100%, 1220px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(270px, 0.9fr) minmax(300px, 1fr) minmax(250px, 0.72fr);
    gap: clamp(1.1rem, 3vw, 2rem);
    align-items: center;
}

.itm-local-network-copy h2 {
    margin: 0.85rem 0 0.75rem;
    color: #08245c;
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    line-height: 1.1;
}

.itm-local-network-copy p {
    margin: 0;
    color: #556f88;
    line-height: 1.68;
}

.itm-local-network-panel {
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(10, 162, 209, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(12, 43, 64, 0.07);
}

.itm-local-network-panel h3 {
    margin: 0 0 0.85rem;
    color: #08245c;
    font-size: 1.05rem;
}

.itm-local-network-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.itm-local-network-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: #e8f7ff;
    color: #0b4f6c;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.15;
}

.itm-local-network-panel small {
    display: block;
    margin-top: 0.9rem;
    color: #6b7f90;
    line-height: 1.45;
}

.itm-local-network-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.72rem;
    align-items: stretch;
}

.itm-local-network-photo {
    position: relative;
    min-height: 150px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(10, 162, 209, 0.15);
    border-radius: 20px;
    background: #e8f7ff;
    box-shadow: 0 16px 34px rgba(12, 43, 64, 0.08);
}

.itm-local-network-photo:first-child {
    grid-column: 1 / -1;
    min-height: 190px;
}

.itm-local-network-photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
    object-position: bottom center;
    background:
        radial-gradient(circle at 80% 20%, rgba(34, 197, 180, 0.18) 0 22%, transparent 22.3%),
        linear-gradient(180deg, #e8f7ff 0%, #ffffff 100%);
}

.itm-local-network-photo figcaption {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #08245c;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 8px 20px rgba(12, 43, 64, 0.08);
}

@media (max-width: 820px) {
    .itm-local-network-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 1.4rem 1rem;
    }

    .itm-local-network-inner {
        grid-template-columns: 1fr;
    }

    .itm-local-network-media {
        grid-template-columns: 1fr;
    }

    .itm-local-network-photo,
    .itm-local-network-photo:first-child {
        min-height: 170px;
    }
}

body:has(.itm-home-v5) .itm-premium-hero,
body:has(.itm-home-v5) .itm-home-care-strip,
body:has(.itm-home-v5) .itm-premium-services,
body:has(.itm-home-v5) .itm-local-seo-section,
body:has(.itm-home-v5) .v5-convenios-section,
body:has(.itm-home-v5) .itm-premium-reviews {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.itm-home-care-strip {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(2rem, 3.8vw, 3.2rem) clamp(1rem, 5vw, 5rem);
    background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
}

.itm-care-strip-inner {
    width: min(100%, 1220px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: center;
}

.itm-care-strip-copy h2 {
    margin: 0.75rem 0 0.7rem;
    color: #08245c;
    font-size: clamp(1.65rem, 2.6vw, 2.55rem);
    line-height: 1.08;
}

.itm-care-strip-copy p {
    margin: 0;
    color: #556f88;
    line-height: 1.65;
}

.itm-care-strip-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.itm-care-strip-card {
    overflow: hidden;
    min-height: 250px;
    border: 1px solid rgba(10, 162, 209, 0.14);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(12, 43, 64, 0.08);
}

.itm-care-strip-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: bottom center;
    background: #e8f7ff;
}

.itm-care-strip-card div {
    padding: 0.9rem;
}

.itm-care-strip-card h3 {
    margin: 0 0 0.35rem;
    color: #08245c;
    font-size: 1rem;
}

.itm-care-strip-card p {
    margin: 0;
    color: #61758a;
    font-size: 0.86rem;
    line-height: 1.45;
}

@media (max-width: 960px) {
    .itm-care-strip-inner {
        grid-template-columns: 1fr;
    }

    .itm-care-strip-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.page:not(.home) .service-hero-premium,
    body.page-template-page-ecotomografia-doppler .service-hero-premium,
    body.page:not(.home) .page-hero-premium,
    body.page:not(.home) .spal-hero,
    body.page:not(.home) #itm-arancel-hero,
    body.page:not(.home) #itm-cot-hero,
    body.page:not(.home) #itm-con-hero,
    body.page:not(.home) #itm-res-hero,
    body.page:not(.home) #itm-res-hero-ag,
    body.page:not(.home) #sr-hero {
        padding: 2.2rem 1rem !important;
    }
}

/* HOME 2026: ultima correccion movil contra doble scroll lateral */
@media (max-width: 760px) {
    html:has(.itm-home-v5),
    body:has(.itm-home-v5) {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        touch-action: pan-y !important;
    }

    body:has(.itm-home-v5) #page,
    body:has(.itm-home-v5) .site-content,
    body:has(.itm-home-v5) .app-container.itm-home-v5,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .app-main-content {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    body:has(.itm-home-v5) .itm-premium-hero,
    body:has(.itm-home-v5) .itm-home-care-strip,
    body:has(.itm-home-v5) .itm-premium-services,
    body:has(.itm-home-v5) .itm-local-seo-section,
    body:has(.itm-home-v5) .v5-convenios-section,
    body:has(.itm-home-v5) .itm-premium-reviews,
    body:has(.itm-home-v5) .itm-premium-final-cta {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }

    body:has(.itm-home-v5) .itm-premium-hero,
    .app-container.itm-home-v5 .itm-premium-hero,
    .itm-home-v5 .itm-premium-hero {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        padding: 1.5rem 1rem 0.9rem !important;
        gap: 1rem !important;
    }

    body:has(.itm-home-v5) .itm-hero-visual-stage,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .itm-hero-visual-stage {
        min-height: clamp(260px, 72vw, 360px) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body:has(.itm-home-v5) .itm-hero-main-figure,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .itm-hero-main-figure {
        width: min(86vw, 360px) !important;
        right: 50% !important;
        bottom: 0 !important;
        transform: translateX(50%) !important;
    }

    body:has(.itm-home-v5) .itm-hero-status-card,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .itm-hero-status-card {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: min(100%, 320px) !important;
        margin: 0 auto !important;
        transform: none !important;
    }
}

/* HOME 2026 mobile full-bleed: eliminar franjas laterales internas */
@media (max-width: 760px) {
    html:has(.itm-home-v5),
    body:has(.itm-home-v5),
    body:has(.itm-home-v5) #page,
    body:has(.itm-home-v5) .site-content,
    body:has(.itm-home-v5) .app-container.itm-home-v5,
    body:has(.itm-home-v5) .app-container.itm-home-v5 .app-main-content {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    body:has(.itm-home-v5) .header-new,
    body:has(.itm-home-v5) .pre-header,
    body:has(.itm-home-v5) .itm-premium-hero {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        border-radius: 0 !important;
    }

    body:has(.itm-home-v5) .header-new-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: clamp(1rem, 5vw, 1.35rem) !important;
        padding-right: clamp(1rem, 5vw, 1.35rem) !important;
    }

    body:has(.itm-home-v5) .itm-premium-hero {
        padding-left: clamp(1rem, 5vw, 1.25rem) !important;
        padding-right: clamp(1rem, 5vw, 1.25rem) !important;
        background-color: #eaf9ff !important;
    }

    body:has(.itm-home-v5) .v5-hero-copy,
    body:has(.itm-home-v5) .v5-hero-aside,
    body:has(.itm-home-v5) .itm-hero-visual-stage {
        max-width: 100% !important;
    }

    body:has(.itm-home-v5) .section-badge {
        max-width: calc(100vw - 2rem) !important;
        white-space: normal !important;
    }

    body:has(.itm-home-v5) .v5-hero-actions {
        width: 100% !important;
    }

    body:has(.itm-home-v5) .v5-hero-actions .btn-new {
        width: 100% !important;
        max-width: 100% !important;
    }
}
