/* ==========================================================================
   PREMIUM DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette (Logo inspired: No Yellow, Black Header, Brand Blue Accent) */
    --primary: #72A1D9;                 /* Brand logo blue */
    --primary-glow: rgba(114, 161, 217, 0.4);
    --primary-dark: #1F3A60;            /* Premium dark blue */
    --primary-dark-hover: #152842;
    --dark-bg: #0A0F1D;                 /* Luxury dark background for accents */
    --dark-header: #070708;             /* Absolute black for header */
    --bg-white: #ffffff;
    --bg-light: #F4F7FC;                /* Sleek light background */
    --bg-alt: #EBF1F9;                  /* Subtle tint light background */
    --text-dark: #0F172A;               /* Dark Slate */
    --text-muted: #475569;              /* Slate Gray */
    --text-light: #F8FAFC;              /* Ice White */
    --border: rgba(114, 161, 217, 0.15); /* Tinted border */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Premium Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(31, 58, 96, 0.06);
    --shadow-lg: 0 16px 36px rgba(31, 58, 96, 0.1);
    --shadow-glow: 0 0 25px rgba(114, 161, 217, 0.35);
    
    /* Transitions & Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ==========================================================================
   RESET & STRUCTURE
   ========================================================================== */
*, *::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;
}

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

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

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

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

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

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

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

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

/* Button Premium styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 0.6rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-accent {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    box-shadow: 0 4px 14px rgba(114, 161, 217, 0.3);
}

.btn-accent:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 58, 96, 0.2);
}

.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(-3px);
}

/* ==========================================================================
   HEADER SECTION (Premium Black Header with Glassmorphism)
   ========================================================================== */
.main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--dark-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar {
    background-color: #0c0c0e;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

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

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

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

.logo-area img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.desktop-menu ul {
    display: flex;
    gap: 2.25rem;
}

.desktop-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.desktop-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.btn-nav-cta {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: var(--bg-white) !important;
}

.btn-nav-cta:hover {
    background-color: var(--primary-dark);
}

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

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

/* Mobile Overlay Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 8, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-menu-container {
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--dark-header);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--bg-white);
    cursor: pointer;
}

.mobile-nav-links ul {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 3rem;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.mobile-contacts a {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

/* ==========================================================================
   HERO BANNER (Premium Interactive Gradient Motion Background)
   ========================================================================== */
@keyframes meshMovement {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-banner {
    position: relative;
    background: linear-gradient(-45deg, #070a14, #121d33, #0a0f1d, #14233c);
    background-size: 400% 400%;
    animation: meshMovement 15s ease infinite;
    color: var(--bg-white);
    padding: 11rem 0 10rem 0;
    overflow: hidden;
}

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

.hero-banner .container {
    position: relative;
    z-index: 2;
}

/* Glowing background effects */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(114, 161, 217, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(31, 58, 96, 0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
}

.hero-banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(114, 161, 217, 0.12);
    border: 1px solid rgba(114, 161, 217, 0.3);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
    letter-spacing: -0.03em;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(135deg, #72A1D9 0%, #a2c4ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--bg-white) !important;
}

.hero-actions .btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 10;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   DOCTOR PROFILE (Clean Design, No Yellow accents)
   ========================================================================== */
.profile-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 5rem;
    align-items: center;
}

.profile-image-container {
    position: relative;
}

.profile-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-light);
    border: 1px solid var(--border);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-image-wrapper:hover .profile-img {
    transform: scale(1.04);
}

.doc-name {
    font-size: 2.75rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.verified-icon {
    color: var(--primary);  /* Brand Blue check circle */
    font-size: 2rem;
}

.doc-specialty {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.doc-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.star-icon {
    color: var(--primary) !important; /* Brand Blue instead of yellow */
    font-size: 1.1rem;
}

.doc-rating-num {
    font-weight: 700;
    color: var(--text-dark);
}

.doc-rating-text a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.doc-rating-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.doc-meta-list {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.doc-meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.doc-meta-item i {
    color: var(--primary);
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}

/* Premium featured quote card */
.featured-mini-testimonial {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #152742 100%);
    color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    position: relative;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.featured-mini-testimonial::before {
    content: '\201C';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
}

.mini-test-text {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

.mini-test-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ==========================================================================
   RECOGNIZED MEDIA (Luxury Cards with Floating Transitions)
   ========================================================================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.media-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(114, 161, 217, 0.15);
    border-color: var(--primary);
}

.media-logo-wrapper {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background-color: var(--bg-light);
}

.media-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-smooth);
}

.media-card:hover .media-logo-wrapper img {
    transform: scale(1.04);
}

.media-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   BIOGRAPHY & GALLERY (2-Column Grid Layout)
   ========================================================================== */
.bio-grid {
    display: grid;
    grid-template-columns: 1.2fr 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;
}

.cv-section-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cv-tabs-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cv-tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cv-tab-btn i {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.cv-tab-btn:hover {
    background-color: var(--bg-white);
    border-color: var(--primary);
    transform: translateX(6px);
}

.cv-tab-btn.active {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(31, 58, 96, 0.15);
}

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

.cv-tab-content-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Glowing design card detail */
.cv-tab-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.cv-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cv-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cv-pane-title {
    font-size: 1.85rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.cv-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cv-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cv-list-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

/* ==========================================================================
   PHOTO GALLERY (Hover zoom transitions)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 58, 96, 0.75);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom-icon {
    color: var(--bg-white);
    font-size: 2.25rem;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* ==========================================================================
   CLINICS & COSTS (Premium layout, Lazy Load visual loaders)
   ========================================================================== */
.clinics-section {
    background-color: var(--bg-alt);
}

.clinics-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 4.5rem;
    align-items: start;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
}

.price-title {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.price-value-container {
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}

.price-currency {
    font-size: 1.75rem;
    font-weight: 700;
    vertical-align: top;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.4rem;
    font-weight: 500;
}

.price-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.price-feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.price-feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.price-cta {
    width: 100%;
}

.clinics-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.clinic-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: block;
}

.clinic-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.clinic-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: rgba(114, 161, 217, 0.12);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.clinic-name {
    font-size: 1.65rem;
    color: var(--primary-dark);
}

.clinic-address {
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.clinic-address i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.clinic-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.clinic-actions .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
}

/* Maps Modal Pop-up */
.maps-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.maps-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.maps-modal-container {
    width: 90%;
    max-width: 750px;
    height: 520px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform var(--transition-smooth);
}

.maps-modal-overlay.active .maps-modal-container {
    transform: scale(1);
}

.maps-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.25rem;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.maps-modal-close:hover {
    color: var(--primary);
}

.maps-modal-body {
    width: 100%;
    height: 100%;
}

.maps-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS (Clean Cards, Blue verified accents)
   ========================================================================== */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.reviews-summary {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.verified-badge img {
    height: 26px;
    width: auto;
}

.verified-badge span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.verified-badge span i {
    color: var(--primary);
}

.reviews-rating-desc {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

.review-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(114, 161, 217, 0.1);
    border-color: var(--primary);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

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

.reviewer-name {
    font-family: var(--font-heading);
    font-weight: 650;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.reviewer-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    display: flex;
    gap: 0.15rem;
}

.review-stars i {
    color: var(--primary); /* Blue verification stars */
    font-size: 0.85rem;
}

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

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    border-top: 1px solid rgba(114, 161, 217, 0.1);
    padding-top: 0.85rem;
}

/* ==========================================================================
   INSURANCES LOGOS
   ========================================================================== */
.insurances-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
    border-bottom: 1px solid rgba(114, 161, 217, 0.15);
    overflow: hidden;
}

.insurances-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.insurances-track {
    display: flex;
    width: max-content;
    gap: 6rem;
    align-items: center;
    animation: scrollLogos 35s linear infinite;
}

.insurances-container:hover .insurances-track {
    animation-play-state: paused;
}

.insurance-logo-wrapper {
    width: 190px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
    opacity: 1;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.insurance-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.insurance-logo-wrapper:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   BLOG / ARTICLES (Premium cards, Blue details)
   ========================================================================== */
.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-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    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-lg), 0 0 20px rgba(114, 161, 217, 0.1);
    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-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.35;
    font-weight: 750;
    flex-grow: 1;
}

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

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

.blog-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    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 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.pagination-item:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-item.active {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border-color: var(--primary-dark);
}

.pagination-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ==========================================================================
   REVIEW FORM & SUBPAGES
   ========================================================================== */
.inner-hero {
    background: linear-gradient(135deg, var(--dark-header) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 6rem 0;
    text-align: center;
}

.inner-hero-title {
    font-size: 2.75rem;
    font-weight: 850;
    margin-bottom: 0.5rem;
    color: var(--bg-white);
}

.inner-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
}

.form-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(114, 161, 217, 0.15);
}

.star-rating-input {
    display: flex;
    gap: 0.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    margin-top: 0.3rem;
}

.star-rating-input span {
    color: #e2e8f0;
    transition: color 0.15s ease;
}

.star-rating-input span.active, .star-rating-input span:hover {
    color: var(--primary) !important; /* Star ratings in brand blue */
}

.mensaje-exito {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #10b981;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    font-weight: 600;
    text-align: center;
}

.mensaje-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #ef4444;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    font-weight: 600;
    text-align: center;
}

/* ==========================================================================
   ARTICLE VIEW (articulo.php)
   ========================================================================== */
.article-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4.5rem;
}

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

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta-item i {
    color: var(--primary);
}

.article-title {
    font-size: 2.75rem;
    color: var(--primary-dark);
    line-height: 1.2;
    font-weight: 800;
}

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

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

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

.article-body-content h2, .article-body-content h3 {
    color: var(--primary-dark);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 750;
}

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

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

.widget-title {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
}

.widget-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-post-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.widget-post-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.widget-post-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.widget-post-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}

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

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

/* ==========================================================================
   FOOTER (Sleek Dark Indigo/Black with complete details)
   ========================================================================== */
.main-footer {
    background-color: var(--dark-header);
    color: rgba(255, 255, 255, 0.65);
    padding-top: 6rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

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

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
}

.verified-badge-footer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

.verified-badge-footer img {
    height: 20px;
}

.verified-badge-footer span {
    font-size: 0.85rem;
    color: var(--bg-white);
    font-weight: 500;
}

.footer-title {
    font-size: 1.3rem;
    color: var(--bg-white);
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
}

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

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.links-col a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.links-col a i {
    font-size: 0.75rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.links-col a:hover i {
    transform: translateX(4px);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
}

.contact-item i {
    margin-top: 0.3rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.contact-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

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

.social-networks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--bg-white);
    transition: var(--transition-smooth);
}

.social-networks a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #030304;
    padding: 2rem 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.legal-text {
    line-height: 1.7;
}

.legal-text strong {
    color: var(--bg-white);
}

.legal-text span {
    display: inline-block;
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.designer-text a:hover {
    color: var(--bg-white);
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.floating-wa-bubble {
    position: fixed;
    bottom: 95px;
    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: 2.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-wa-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.tooltip-text {
    position: absolute;
    right: 80px;
    background-color: var(--dark-header);
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: var(--dark-header);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Mobile Sticky CTA Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: var(--dark-header);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 998;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.call-action {
    background-color: var(--primary-dark);
    color: var(--bg-white) !important;
}

.wa-action {
    background-color: #25d366;
    color: var(--bg-white) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .profile-grid {
        gap: 3.5rem;
    }
    
    .cv-section-container {
        gap: 2.5rem;
    }
    
    .cv-tabs-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .cv-tab-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .cv-tab-content-wrapper {
        min-height: auto;
        padding: 2.5rem;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .pricing-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-detail-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    
    .contact-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .top-bar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-menu, .btn-nav-cta {
        display: none;
    }
    
    .logo-area img {
        height: 44px;
    }
    
    .hero-banner {
        padding: 8rem 0 6rem 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-image-container {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-col {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-wa-bubble {
        bottom: 80px;
    }
    
    .mobile-sticky-bar {
        display: grid;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .form-container {
        padding: 2.5rem 2rem;
    }
    
    .article-content-card {
        padding: 2.5rem 2rem;
    }
    
    .article-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .doc-name {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
