/* ==========================================================================
   PREMIUM DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette (Deep Navy `#051145` & Emerald Teal `#56C1A7`) */
    --primary: #56C1A7;                 /* Premium Emerald Teal */
    --primary-glow: rgba(86, 193, 167, 0.35);
    --primary-dark: #051145;            /* Deep Corporate Navy */
    --primary-dark-hover: #030b2e;
    --dark-bg: #030b2e;                 /* Dark section bg */
    --bg-white: #ffffff;
    --bg-light: #F8FAFC;                /* Sleek light slate */
    --bg-alt: #EEF2F6;                  /* Subtle alt light bg */
    --text-dark: #0F172A;               /* Slate Dark */
    --text-muted: #475569;              /* Slate Gray */
    --text-light: #F8FAFC;              /* Ice White */
    --border: rgba(86, 193, 167, 0.15); /* Tinted border */
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Premium Shadows */
    --shadow-sm: 0 2px 8px rgba(5, 17, 69, 0.04);
    --shadow-md: 0 8px 24px rgba(5, 17, 69, 0.06);
    --shadow-lg: 0 16px 36px rgba(5, 17, 69, 0.09);
    --shadow-glow: 0 0 20px rgba(86, 193, 167, 0.3);
    
    /* Transitions & Radii */
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-muted);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 130px;
}

body.has-transparent-header {
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

/* Title Decorator */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: 2.35rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

.section-title-wrapper p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.75rem auto 0;
}

.section-bg-dark .section-title {
    color: var(--text-light);
}

.section-bg-dark .section-title-wrapper p {
    color: rgba(248, 250, 252, 0.7);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--bg-white) !important;
    box-shadow: 0 4px 14px rgba(5, 17, 69, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-accent {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    box-shadow: 0 4px 14px rgba(86, 193, 167, 0.25);
}

.btn-accent:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 17, 69, 0.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    transform: translateY(-2px);
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================================
   HEADER & TOP BAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

/* Transparent Header initially (Over dark navy Hero) */
.main-header.header-transparent {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header.header-transparent .top-bar {
    margin-top: -38px;
    opacity: 0;
    pointer-events: none;
}

/* Make text links white initially */
.main-header.header-transparent .desktop-menu a {
    color: rgba(255, 255, 255, 0.9);
}

.main-header.header-transparent .desktop-menu a:hover {
    color: var(--primary);
}

/* Style logo as a clean white container initially over dark hero */
.main-header.header-transparent .site-logo {
    background-color: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* Mobile bars white initially */
.main-header.header-transparent .mobile-menu-toggle .bar {
    background-color: var(--bg-white);
}

/* Scrolled State (Transitions back to solid white header with dark text) */
.main-header.header-transparent.header-scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
}

.main-header.header-transparent.header-scrolled .desktop-menu a {
    color: var(--text-dark);
}

.main-header.header-transparent.header-scrolled .site-logo {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

.main-header.header-transparent.header-scrolled .mobile-menu-toggle .bar {
    background-color: var(--primary-dark);
}

.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: margin-top var(--transition-smooth), opacity var(--transition-smooth);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-link:hover {
    color: var(--primary);
}

.top-tagline {
    font-weight: 500;
}

.nav-bar {
    padding: 0.9rem 0;
    transition: var(--transition-smooth);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: filter var(--transition-smooth), transform var(--transition-fast);
}

.desktop-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.desktop-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.desktop-menu a:hover::after {
    width: 100%;
}

.desktop-menu a:hover {
    color: var(--primary);
}

.nav-cta-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition-fast);
}

/* Header Scrolled state */
.header-scrolled {
    box-shadow: var(--shadow-md);
}

.header-scrolled .top-bar {
    margin-top: -36px;
    opacity: 0;
    pointer-events: none;
}

.header-scrolled .nav-bar {
    padding: 0.6rem 0;
}

/* Mobile Menu Drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 17, 69, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1010;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-container {
    width: 100%;
    max-width: 320px;
    background-color: var(--bg-white);
    height: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-menu-header .site-logo {
    height: 40px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav-links {
    margin-bottom: auto;
}

.mobile-nav-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.mobile-contacts a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Spacer for Fixed Header */
.header-spacer {
    height: 120px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 5rem;
    background: linear-gradient(135deg, #051145 0%, #0c1c62 100%);
    color: var(--bg-white);
    overflow: hidden;
    position: relative;
    text-align: center;
}

/* Graphic grid/medical overlay for hero background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(86, 193, 167, 0.15) 0%, transparent 50%),
                      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath fill-rule='evenodd' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    pointer-events: none;
}

.hero-container-centered {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-tag i {
    color: var(--primary); /* Teal */
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.15;
    color: var(--bg-white);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--primary); /* Teal */
}

.hero-desc {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Hero 2-Column Grid Layout with Video & Canvas Particles */
.hero-container-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

#hero-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content-col {
    text-align: left;
}

.hero-content-col .hero-ctas {
    justify-content: flex-start;
}

.hero-video-col {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-video-wrapper {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(86, 193, 167, 0.2);
    border: 1.5px solid rgba(86, 193, 167, 0.35);
    position: relative;
    background-color: #051145;
}

.hero-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(5, 17, 69, 0.6) 100%);
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .hero-content-col {
        text-align: center;
        order: 2;
    }
    
    .hero-content-col .hero-ctas {
        justify-content: center;
    }
    
    .hero-video-col {
        order: 1;
    }
    
    .hero-video-wrapper {
        margin: 0 auto;
        max-width: 350px;
        width: 90%;
    }
}

/* ==========================================================================
   DOCTOR INTRO & SPOTLIGHT SECTION (BELOW HERO)
   ========================================================================== */
.doctor-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.doctor-image-col {
    width: 100%;
}

.doctor-profile-image-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-profile-image-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.doctor-photo-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(5, 17, 69, 0.4);
    white-space: nowrap;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.doctor-profile-image-container:hover .doctor-photo-badge {
    transform: translateX(-50%) translateY(-3px);
    background-color: var(--primary);
    color: var(--primary-dark);
}

.doctor-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-content-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.doctor-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doctor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doctor-profile-name {
    font-size: 1.65rem;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 0.2rem;
}

.doctor-profile-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.doctor-profile-cedulas {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    margin: 0.25rem 0;
}

.doctor-profile-location {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.doctor-profile-location i {
    color: var(--primary);
    margin-right: 0.35rem;
}

.doctor-profile-reviews-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    background-color: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.doctor-profile-reviews-badge .rating-stars {
    color: #FBBF24;
    font-size: 0.85rem;
}

.doctor-profile-ctas {
    margin-top: 1rem;
}

/* Right Column: Spotlight Testimonial Card */
.spotlight-testimonial-borderless {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-left: 2px solid var(--primary);
    transition: var(--transition-smooth);
    margin-top: 1.25rem;
    max-width: 580px;
}

.spotlight-testimonial-borderless:hover {
    border-left-color: var(--primary-light);
    transform: translateX(3px);
}

.quote-icon-box {
    color: rgba(86, 193, 167, 0.08);
    font-size: 2.25rem;
    line-height: 1;
    position: absolute;
    top: -0.75rem;
    left: 0.5rem;
    pointer-events: none;
}

.spotlight-quote-text {
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.spotlight-testimonial-borderless .spotlight-author-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    border-top: none;
    padding-top: 0;
}

.spotlight-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--bg-alt);
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 1px; /* Subtle pixel adjustment for perfect vertical alignment */
}

.spotlight-author-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}

.spotlight-author-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.85rem;
    line-height: 1.2;
}

.spotlight-author-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.verified-tag {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.7rem;
}

.spotlight-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-link-style {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.btn-link-style:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.google-badge-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.google-badge-logo {
    height: 16px;
    width: auto;
}

/* ==========================================================================
   FEATURED ARTICLES SECTION (NEWSPAPER MOCKUPS)
   ========================================================================== */
.articles-section {
    background-color: var(--bg-white);
    padding: 6rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.article-featured-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.article-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-image-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #f7f9fb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.article-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-featured-card:hover .article-image-box img {
    transform: scale(1.03);
}

.article-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-source {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-card-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    min-height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   BIOGRAPHY & SPECIALTIES (TABS)
   ========================================================================== */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
}

.bio-info-column {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.bio-gallery-column {
    width: 100%;
}

.bio-gallery-column .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bio-name {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.bio-title {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bio-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bio-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.bio-list i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.bio-list strong {
    color: var(--text-dark);
}

/* Tabs UI styling */
.tabs-widget {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tabs-nav {
    display: flex;
    background-color: transparent;
    padding: 0;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: none;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 0;
    color: var(--text-muted);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    color: var(--primary-dark);
}

.tab-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.tab-btn.active {
    background-color: transparent;
    color: var(--primary-dark);
    box-shadow: none;
}

.tab-btn.active::after {
    transform: scaleX(1);
    transform-origin: left;
    background-color: var(--primary);
}

.tab-btn.active i {
    color: var(--primary);
}

.tab-panes-wrapper {
    position: relative;
    min-height: 250px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane-title {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.pathology-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    list-style: none;
}

.pathology-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.pathology-list i {
    color: var(--primary);
}

/* ==========================================================================
   IMAGE GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.gallery-item {
    background-color: transparent;
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item:nth-child(even):hover {
    transform: translateY(-5px);
}

.gallery-img-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 3;
    width: 100%;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.gallery-item:hover .gallery-img-box img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 17, 69, 0.4);
    opacity: 0;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    color: var(--bg-white);
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS SECTION
   ========================================================================== */
.reviews-section {
    background: radial-gradient(circle at 10% 80%, rgba(86, 193, 167, 0.05) 0%, transparent 50%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(5, 17, 69, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--primary);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.google-verified-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.review-rating-stars {
    color: #FBBF24;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.review-card-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--bg-alt);
    padding-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.reviews-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 3.5rem;
    border: 1px solid var(--border);
}

.summary-reviews-count {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-reviews-count img {
    height: 24px;
}

.summary-rating-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-rating-stars span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Testimonial Spotlight Section on Homepage */
.spotlight-testimonial-container {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.spotlight-testimonial-container::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.spotlight-quote {
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.spotlight-author-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.spotlight-author {
    display: flex;
    flex-direction: column;
}

.spotlight-author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.spotlight-author-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ==========================================================================
   INSURANCE BRANDS
   ========================================================================== */
.insurance-section {
    padding: 5rem 0;
    border-top: 1px solid var(--bg-alt);
    border-bottom: 1px solid var(--bg-alt);
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.insurance-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    height: 100px;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: none;
}

.insurance-logo-wrapper:hover {
    transform: translateY(-4px) scale(1.05);
}

.insurance-logo-img {
    max-height: 65px;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   CONTACT & LOCATION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4.5rem;
    align-items: start;
}

.contact-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-card-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method-item {
    display: flex;
    gap: 1rem;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-dark);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-method-details h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method-details p, .contact-method-details a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-method-details a:hover {
    color: var(--primary);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 480px;
    border: 1px solid var(--bg-alt);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.25fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.branding-col .footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
    background-color: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    object-fit: contain;
}

.branding-col .footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.verified-badge-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.verified-badge-footer .google-logo {
    height: 24px;
}

.verified-badge-footer span {
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-title {
    font-size: 1.15rem;
    color: var(--bg-white);
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateX(4px);
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--primary);
}

.contact-col .contact-item {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.contact-col .contact-item i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.contact-col .contact-item a {
    color: var(--bg-white);
    font-weight: 500;
}

.contact-col .contact-item a:hover {
    color: var(--primary);
}

.social-networks {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-networks a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.social-networks a:hover {
    background-color: var(--primary);
    color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.25rem 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-text span {
    display: inline-block;
    margin-top: 0.25rem;
}

.designer-text a {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.floating-wa-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-wa-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.tooltip-text {
    position: absolute;
    right: 75px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.floating-wa-bubble:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 16px rgba(5, 17, 69, 0.15);
}

.sticky-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    gap: 0.5rem;
    color: var(--bg-white);
}

.call-action {
    background-color: var(--primary-dark);
}

.wa-action {
    background-color: #25D366;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-grid, .bio-grid, .contact-grid {
        gap: 3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .desktop-menu, .nav-cta-area .btn-nav-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.85rem;
    }
    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .doctor-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .doctor-profile-image-container {
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        height: 340px;
    }
    .doctor-content-col {
        align-items: center;
        text-align: center;
    }
    .doctor-profile-cedulas {
        align-items: center;
    }
    .doctor-profile-reviews-badge {
        justify-content: center;
    }
    .bio-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-wrapper {
        height: 380px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .insurance-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 0;
    }
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bio-gallery-column .gallery-grid {
        grid-template-columns: 1fr;
    }
    .doctor-profile-image-container {
        width: 100%;
        max-width: 280px;
        height: 300px;
    }
    .spotlight-testimonial-borderless {
        padding: 1rem 0 1rem 1.25rem;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .article-image-box {
        height: 320px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .reviews-summary-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .mobile-sticky-bar {
        display: grid;
    }
    .floating-wa-bubble {
        bottom: 80px; /* shift up to not cover sticky bar */
    }
    .pathology-list {
        grid-template-columns: 1fr;
    }
    .spotlight-testimonial-container {
        padding: 2rem;
    }
}

/* ==========================================================================
   BLOG / ARTICLES SECTION (Sleek Navy & Emerald Theme)
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(5, 17, 69, 0.05);
    border-color: var(--primary);
}

.blog-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-date i {
    color: var(--primary);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    flex-grow: 1;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    align-self: flex-start;
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover {
    color: var(--primary);
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* Pagination styles */
.pagination-item {
    text-decoration: none;
}
.pagination-item.active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--bg-white) !important;
}
.pagination-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (articulo.php)
   ========================================================================== */
.article-detail-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 4rem;
}

.article-content-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.article-featured-image {
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
}

.article-body-content {
    font-size: 1.025rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.article-body-content p {
    margin-bottom: 1.5rem;
}

.article-body-content h2, .article-body-content h3 {
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.widget {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border);
}

.widget-post-title {
    text-decoration: none;
    transition: var(--transition-fast);
}

.widget-post-title:hover {
    color: var(--primary) !important;
}

/* ==========================================================================
   RESPONSIVE BLOG STYLING
   ========================================================================== */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .article-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .article-content-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 3rem auto;
    }
    /* En el Home, ocultar el segundo y tercer artículo para celular */
    .home-blog-section .blog-card:nth-child(n+2) {
        display: none !important;
    }
}
