/* ============================================
   DR. RAUL GONZÁLEZ HARSANYI
   Pediatría Integral – Diseño Moderno y Premium
   ============================================ */

:root {
    --primary: #5672b1;
    --primary-dark: #3a5a9e;
    --primary-light: #e6edf8;
    --primary-gradient: linear-gradient(135deg, #5672b1 0%, #3a5a9e 100%);
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-light: #94a3b8;
    --bg-main: #f8fafc;
    --white: #ffffff;
    
    --shadow-sm: 0 4px 6px -1px rgba(86, 114, 177, 0.05), 0 2px 4px -1px rgba(86, 114, 177, 0.03);
    --shadow-md: 0 10px 30px -3px rgba(86, 114, 177, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(86, 114, 177, 0.15);
    --shadow-floating: 0 15px 35px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 9999px;
}

/* === RESET & GLOBAL === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: all .3s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-dark);
}

/* === HEADER (MODERNIZADO) === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-top {
    background: var(--bg-main);
    line-height: 38px;
    height: 38px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    transition: height 0.3s ease;
}
.site-header.scrolled .header-top {
    height: 0;
}
.header-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
}
.header-top-phones { display: flex; gap: 2rem; align-items: center; }
.top-phone-link { color: var(--text-body); display: flex; align-items: center; gap: 6px; }
.top-phone-link:hover { color: var(--primary); transform: translateY(-1px); }
.top-phone-link.whatsapp i { color: #128C7E; font-size: 16px; }

.header-main { height: 90px; transition: height 0.3s ease; }
.site-header.scrolled .header-main { height: 70px; }
.header-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo-img { height: 60px; transition: all .3s ease; }
.site-header.scrolled .logo-img { height: 48px; }
.logo-link:hover .logo-img { transform: scale(1.05); }

.btn-cita-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    background: var(--primary-gradient);
    color: var(--white) !important;
    transition: all .4s ease;
    box-shadow: var(--shadow-sm);
}
.btn-cita-header:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* === HERO PEDIÁTRICO (FULL SCREEN MODERNO) === */
.hero-section-full {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
    border-radius: 0 0 40px 40px;
    box-shadow: var(--shadow-lg);
}
.hero-bg-full {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 25s ease-in-out infinite alternate;
}
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0.05) 80%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-gradient-overlay {
        background: radial-gradient(ellipse at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 70%);
    }
}

.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-container-full {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.hero-text-direct {
    max-width: 620px;
    text-align: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero-text-direct .hero-badge {
    margin: 0 auto 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(86, 114, 177, 0.15);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    backdrop-filter: blur(6px);
}
.hero-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    text-shadow: 0 2px 20px rgba(255,255,255,0.8);
}
.text-gradient-white {
    color: var(--primary);
    text-shadow: none;
}
.hero-subtitle-modern {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(255,255,255,0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    background: var(--primary-gradient);
    color: var(--white) !important;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    transition: all .4s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.btn-hero-primary i { font-size: 1.4rem; }
.hero-trust { display: flex; align-items: center; gap: 1rem; }
.avatars-group { display: flex; }
.avatars-group img {
    width: 45px; height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    margin-left: -15px;
    box-shadow: var(--shadow-sm);
}
.avatars-group img:first-child { margin-left: 0; }
.trust-text { display: flex; flex-direction: column; text-align: left; }
.trust-text .stars { color: #F59E0B; font-size: 12px; margin-bottom: 2px; }
.trust-text span { font-size: 13px; font-weight: 700; color: var(--text-dark); }

/* === DOCTOR PROFILE (MODERNO) === */
.doctor-profile-section {
    padding: 8rem 0 6rem;
    position: relative;
}
.profile-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}
.profile-photo-col { position: relative; }
.doctor-photo-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}
.doctor-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px -20px 30px 30px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.doctor-photo {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.experience-badge h4 { color: var(--primary); font-size: 2.5rem; margin-bottom: 0; line-height: 1; }
.experience-badge p { font-size: 13px; font-weight: 600; color: var(--text-light); text-transform: uppercase; margin: 0; }

.profile-info-col { padding-right: 2rem; }
.doctor-name-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 1.5rem;
}
.verified-icon { color: #10B981; }
.profile-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.cedulas-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}
.cedulas-card p { margin: 0; font-size: 15px; color: var(--text-body); line-height: 1.8; }
.cedulas-card strong { color: var(--text-dark); }

.mini-review-modern {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}
.mini-review-modern i.fa-quote-left {
    font-size: 2.5rem;
    color: var(--primary-light);
}
.mini-review-content p { font-size: 16px; font-weight: 600; font-style: italic; color: var(--text-dark); margin-bottom: 5px; }
.stars-modern { color: #F59E0B; font-size: 14px; margin-bottom: 5px; }
.review-count-modern a { font-size: 14px; font-weight: 600; color: var(--text-light); text-decoration: underline; text-underline-offset: 4px; }
.review-count-modern a:hover { color: var(--primary); }

/* Promotion Card (replaces testimonial when active) */
.mini-promo-modern {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid #F59E0B;
    position: relative;
    overflow: hidden;
}
.mini-promo-modern > i {
    font-size: 2rem;
    color: #F59E0B;
    flex-shrink: 0;
    margin-top: 4px;
}
.mini-promo-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.mini-promo-content p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 8px;
    line-height: 1.6;
}
.promo-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(86,114,177,0.1);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-agenda-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    transition: all .4s ease;
}
.btn-agenda-modern:hover {
    background: var(--primary);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* === PRESS SECTION (MODERNO) === */
.press-section {
    padding: 7rem 0;
    background-color: #dceaf5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83 2.221-2.221-.83-.83-2.221 2.221.83zM25.438 18.06l1.248 1.248-1.768 1.768-1.248-1.248 1.768-1.768zM14.73 45.454l1.663 1.663-2.353 2.353-1.663-1.663 2.353-2.353zM46.73 34.454l1.663 1.663-2.353 2.353-1.663-1.663 2.353-2.353zM35.627 54l.83 2.221-2.221-.83-.83-2.221 2.221.83zM8.627 24l.83 2.221-2.221-.83-.83-2.221 2.221.83z' fill='%236d9fd3' fill-opacity='0.25' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}
.press-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 4rem; 
    color: var(--primary-dark); 
    position: relative; 
    z-index: 2; 
}
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}
.press-card-modern {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    background: var(--white);
}
.press-card-modern img { 
    width: 100%;
    display: block;
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.press-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.press-card-modern:hover img { 
    transform: scale(1.05); 
}
.press-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 84, 142, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s ease;
}
.press-card-modern:hover .press-overlay {
    opacity: 1;
}
.btn-press-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.press-card-modern:hover .btn-press-modern {
    transform: translateY(0);
}
.btn-press-modern i { transition: transform .3s; }
.press-card-modern:hover .btn-press-modern i { transform: translateX(5px); }
.press-card-modern:hover .btn-press-modern i { transform: translateX(8px); }

/* === PAQUETE TABS (MODERNO) === */
.paquete-section {
    padding: 8rem 0;
    background: var(--bg-main);
}
.section-header { text-align: center; margin-bottom: 5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

.paquete-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
}
.paquete-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 100%;
}
.paquete-image img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.paquete-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(86,114,177,0.2), transparent);
}
.lactancia-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(43, 84, 142, 0.85); /* Slightly more opaque for readability at the top */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 1.5rem;
    width: 50%;
    max-width: 230px;
    z-index: 2;
    border-bottom-left-radius: var(--radius-lg);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.15);
}
.lactancia-badge h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--white);
}
.lactancia-badge p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0;
}

.paquete-info-modern {
    display: flex;
    flex-direction: column;
}
.tabs-nav-modern {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.tab-btn-modern {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tab-btn-modern:hover { color: var(--primary); }
.tab-btn-modern.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(86,114,177,0.3);
}

.tab-content-modern {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: none;
    animation: fadeIn .5s ease;
    flex-grow: 1;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-content-modern.active { display: block; }

.tab-content-modern h4 { font-size: 1.5rem; margin-bottom: 2rem; color: var(--primary-dark); display: flex; align-items: center; gap: 10px; }
.tab-content-modern h4 i { color: var(--primary); background: var(--primary-light); padding: 10px; border-radius: 50%; font-size: 1.2rem; }
.modern-list { list-style: none; padding: 0; }
.modern-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 1.2rem;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}
.modern-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #10B981;
    font-size: 20px;
}

/* === CONTACT SECTION (MODERNO) === */
.contact-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}
.contact-info-card {
    background: var(--primary-gradient);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.contact-info-card h3 { color: var(--white); font-size: 2.5rem; margin-bottom: 3rem; position: relative; z-index: 2; }
.info-item-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.info-icon-modern {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}
.info-text-modern h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 5px; opacity: 0.9; }
.info-text-modern p { font-size: 1.1rem; font-weight: 600; margin: 0; }
.info-text-modern a { color: var(--white) !important; transition: opacity .3s; }
.info-text-modern a:hover { opacity: 0.8; }

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.2rem;
    width: 100%;
    margin-top: 1rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white) !important;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    transition: all .3s;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
.btn-white-outline:hover {
    background: var(--white);
    color: var(--primary-dark) !important;
    border-color: var(--white);
}

/* Gallery Masonry/Grid Moderna */
.gallery-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.gallery-modern-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
}
.gallery-modern-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-modern-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-modern-item:hover img { transform: scale(1.1); }
.gallery-modern-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.gallery-modern-item:hover::after { opacity: 1; }

/* === TESTIMONIALS (MODERNO) === */
.testimonials-section {
    background: var(--bg-main);
    padding: 8rem 0;
    position: relative;
}
.verified-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}
.verified-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf5;
    color: #059669;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 1rem;
}
.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.testimonial-card-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all .4s ease;
    position: relative;
    border: 1px solid rgba(86,114,177,0.05);
}
.testimonial-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.t-badge {
    position: absolute;
    top: 2.5rem; right: 2.5rem;
    color: #10B981;
    font-size: 1.5rem;
    opacity: 0.2;
}
.testimonial-header-modern {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.t-avatar {
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.g-icon {
    position: absolute;
    right: -5px; bottom: -5px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--white);
    padding: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.t-info h4 { font-size: 16px; margin: 0; color: var(--text-dark); }
.t-info span { font-size: 13px; color: var(--text-light); }
.t-text { font-size: 16px; color: var(--text-body); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.t-stars { color: #F59E0B; font-size: 14px; display: flex; gap: 2px; }

.btn-all-reviews-modern {
    display: table;
    margin: 0 auto;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}
.btn-all-reviews-modern:hover { color: var(--primary-dark); border-color: var(--primary-dark); }

/* === FOOTER (MODERNO) === */
.site-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 5px solid var(--primary);
}
.footer-logo { max-width: 200px; margin: 0 auto 2rem; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-name { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: .5rem; font-family: 'Poppins', sans-serif; }
.footer-cedulas { font-size: 14px; margin-bottom: 2rem; }
.footer-copy { font-size: 13px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.footer-copy a { color: var(--primary-light); font-weight: 600; }
.footer-copy a:hover { color: var(--white); }

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    font-size: 34px;
    box-shadow: 0 10px 25px rgba(37,211,102,.4);
    z-index: 9999;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37,211,102,.5);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 10px 25px rgba(37,211,102,.4); }
    50% { box-shadow: 0 10px 40px rgba(37,211,102,.6); }
}

/* === MAP MODAL === */
.map-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.map-modal-overlay.active { display: flex; opacity: 1; }
.map-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(20px);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.map-modal-overlay.active .map-modal { transform: scale(1) translateY(0); }
.map-modal-header {
    background: var(--bg-main);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.map-modal-header h4 { font-size: 1.2rem; margin: 0; }
.map-modal-close {
    background: var(--white);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-dark);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
}
.map-modal-close:hover { background: #ef4444; color: var(--white); transform: rotate(90deg); }
.map-modal-body iframe { width: 100%; height: 500px; border: 0; display: block; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .profile-grid { grid-template-columns: 1fr; gap: 3rem; }
    .doctor-photo-wrapper { max-width: 500px; margin: 0 auto; }
    .paquete-grid { grid-template-columns: 1fr; }
    .paquete-image { height: 400px; order: -1; }
    .lactancia-badge {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 2rem;
    }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .header-main { height: 75px; }
    .logo-img { height: 50px; }
    .btn-cita-header { padding: .8rem 1.2rem; font-size: 12px; }
    
    .hero-section { margin-top: 75px; border-radius: 0 0 20px 20px; }
    .hero-title { font-size: 3rem; }
    
    .profile-title { font-size: 2.2rem; }
    .press-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .section-header h2 { font-size: 2.2rem; }
    .tabs-nav-modern { flex-direction: column; border-radius: var(--radius-md); }
    .tab-btn-modern { border-radius: var(--radius-md); }
    .tab-content-modern { padding: 2rem 1.5rem; }
    
    .contact-info-card { padding: 3rem 2rem; }
    .contact-info-card h3 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-content { padding: 2rem 1rem; }
    .doctor-photo-wrapper { padding: 1rem; }
    .gallery-modern { grid-template-columns: 1fr 1fr; }
    .gallery-modern-item:first-child { grid-column: span 2; }
    .testimonials-grid-modern { grid-template-columns: 1fr; }
}
