/* ==========================================================================
   PREMIUM DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette (Dr. Luis Obeth: Medical Blue Theme) */
    --primary: #0F3D59;                 /* Medical Deep Blue */
    --primary-glow: rgba(15, 61, 89, 0.2);
    --primary-dark: #072130;            /* Dark Slate Blue */
    --accent: #0090D0;                  /* Bright Medical Blue Accent */
    --accent-glow: rgba(0, 144, 208, 0.35);
    --accent-dark: #0073A8;             /* Darker Blue for hover */
    --dark-bg: #07121A;                 /* Deep Blue-Black background */
    --bg-white: #ffffff;
    --bg-light: #F4F8FA;                /* Ice Blue Slate */
    --bg-alt: #E8F1F5;                  /* Subtle tint light background */
    --text-dark: #121F28;               /* Dark Charcoal/Slate */
    --text-muted: #495C68;              /* Muted Slate Gray */
    --text-light: #F8FAFC;              /* Soft White */
    --border: rgba(15, 61, 89, 0.12);   /* 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 10px 25px rgba(15, 61, 89, 0.06);
    --shadow-lg: 0 20px 45px rgba(15, 61, 89, 0.1);
    --shadow-accent: 0 8px 24px rgba(0, 144, 208, 0.2);
    
    /* Transitions & Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --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.015em;
}

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

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

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

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

.section {
    padding: 6.5rem 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: 4.5rem;
}

.section-title {
    font-size: 2.35rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
    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(--accent);
    border-radius: var(--radius-full);
}

.section-title-wrapper p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0.8rem 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);
}

/* ==========================================================================
   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.6rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    box-shadow: var(--shadow-md);
}

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

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white) !important;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(86, 193, 167, 0.4);
}

.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-outline-white {
    background: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white) !important;
}

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

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

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.main-header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

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

.top-contacts .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-contacts .contact-link:hover {
    color: var(--accent);
}

.top-tagline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-bar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.nav-bar.sticky {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo-area img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.nav-bar.sticky .logo-area img {
    height: 48px;
}

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

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

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

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

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

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

.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: 2.5px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 18, 26, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.mobile-menu-header img {
    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.8rem;
}

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

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

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

.mobile-contacts a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

/* ==========================================================================
   HERO BANNER & PROFILE
   ========================================================================== */
.hero-banner {
    position: relative;
    background-color: #07121A;
    color: var(--text-light);
    padding: 10rem 0 11rem 0;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 17, 22, 0.45) 0%, rgba(10, 17, 22, 0.7) 100%);
    z-index: 1;
}

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

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(700px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 144, 208, 0.18), transparent 80%);
    z-index: 2;
    pointer-events: none;
}

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

.hero-banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 144, 208, 0.12);
    border: 1px solid rgba(0, 144, 208, 0.25);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    color: var(--bg-white);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.2rem;
}

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

.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 SECTION (Two-Column Layout)
   ========================================================================== */
.profile-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 4rem;
    align-items: center;
}

.profile-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.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);
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 400px;
}

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

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

/* Profile Quote Card */
.profile-quote-card {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.6rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.8rem 0;
    position: relative;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.profile-quote-card p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.profile-quote-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-quote-stars {
    color: #FBBF24;
    font-size: 0.85rem;
}

/* Profile Info details */
.profile-info {
    display: flex;
    flex-direction: column;
}

.doc-name {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.verified-icon {
    color: var(--accent);
    font-size: 1.4rem;
}

.doc-specialty {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.doc-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.average-stars {
    display: flex;
    gap: 0.15rem;
    color: #FBBF24;
}

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

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

.doc-rating-text a:hover {
    color: var(--accent);
}

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

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

.doc-meta-item i {
    width: 20px;
    color: var(--accent);
    font-size: 1.1rem;
}

/* ==========================================================================
   STATS BAR & TRUST SIGNALS
   ========================================================================== */
.stats-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 2.2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-value span {
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Credentials Block (cedulas) */
.doc-credentials {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.doc-credential-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.doc-credential-item i {
    color: var(--accent);
}

/* ==========================================================================
   PRESS & ARTICLES SECTION
   ========================================================================== */
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(86, 193, 167, 0.3);
}

.press-logo-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.press-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.press-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.press-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

/* ==========================================================================
   ACADEMIC TABS & GALLERY
   ========================================================================== */
.academic-section-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.tabs-wrapper {
    display: flex;
    flex-direction: column;
}

.tabs-header {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
    gap: 0.8rem;
    overflow-x: visible;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    width: 100%;
    white-space: nowrap;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
}

.tab-btn i {
    font-size: 0.95rem;
    color: var(--accent);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--accent);
    color: var(--accent);
}

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

.tab-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.tab-content-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.tab-content-panel.active {
    display: block;
}

.tab-content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.tab-content-list li {
    position: relative;
    padding-left: 2.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Custom circular checked icon wrapper */
.tab-content-list li .check-icon-wrapper {
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background-color: rgba(0, 144, 208, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.tab-content-list li:hover .check-icon-wrapper {
    background-color: var(--accent);
    color: var(--bg-white);
}

/* Certificate Gallery Grid */
.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;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 61, 89, 0.85) 0%, rgba(15, 61, 89, 0.2) 100%);
    opacity: 0;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--accent);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-accent);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: translateY(0);
}

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

/* ==========================================================================
   CITAS & LOCATION SECTION
   ========================================================================== */
.location-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(86, 193, 167, 0.2);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-card-details h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.info-card-details p,
.info-card-details a {
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-card-details a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Torre Alterna Photo & Map Widget */
.location-visual-area {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.building-photo-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.building-photo-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.building-photo-wrapper:hover img {
    transform: scale(1.03);
}

/* Integrated Maps Embed Modal */
.modal-maps-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 18, 26, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-maps-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-maps-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-maps-overlay.active .modal-maps-container {
    transform: translateY(0);
}

.modal-maps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-maps-header h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.modal-maps-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
}

.modal-maps-body iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    border: none;
}

/* ==========================================================================
   PATIENT TESTIMONIALS SECTION (RESEÑAS)
   ========================================================================== */
.testimonials-summary-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
}

.summary-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.summary-score-col {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.summary-badge-wrapper {
    display: flex;
    flex-direction: column;
}

.summary-badge-wrapper img {
    height: 42px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.google-verificado-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.google-verificado-badge i {
    color: #28A745;
}

.summary-numbers {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.summary-rating-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.summary-stars-count {
    display: flex;
    flex-direction: column;
}

.summary-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    display: flex;
    gap: 0.15rem;
}

.summary-reviews-total {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Testimonial slider / Grid */
.testimonials-slider-container {
    position: relative;
    width: 100%;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding: 1rem 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-slide-card {
    flex: 0 0 calc(50% - 1rem);
    scroll-snap-align: start;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-slide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(86, 193, 167, 0.2);
}

.testimonial-slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.patient-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.patient-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
}

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

.testimonial-stars {
    color: #FBBF24;
    font-size: 0.9rem;
    display: flex;
    gap: 0.1rem;
}

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

.testimonial-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* ==========================================================================
   INSURANCE LOGOS SECTION (TICKER)
   ========================================================================== */
.insurance-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

.insurance-slider::before,
.insurance-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.insurance-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}

.insurance-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}

.insurance-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scrollTicker 30s linear infinite;
}

.insurance-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 120px;
}

.insurance-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.insurance-logo-wrapper img:hover {
    filter: grayscale(0);
    opacity: 1;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 6rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4.5rem;
    padding-bottom: 5rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-title {
    font-size: 1.2rem;
    color: var(--bg-white);
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

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

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

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

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

.contact-item {
    display: flex;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.contact-item i {
    font-size: 1rem;
    margin-top: 4px;
}

.color-accent {
    color: var(--accent);
}

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

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

.social-networks a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-networks a:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

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

.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 a:hover {
    color: var(--accent);
}

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

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

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

.floating-wa-bubble:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    color: var(--bg-white);
}

.floating-wa-bubble .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.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

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

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 997;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

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

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

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

/* ==========================================================================
   INNER PAGES: HERO & FORM & LISTS
   ========================================================================== */
.inner-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 5.5rem 0;
    text-align: center;
}

.inner-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 0.8rem;
}

.inner-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Reviews Grid (testimonios.php) */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

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

.verified-badge img {
    height: 28px;
}

.verified-badge span {
    font-weight: 700;
    color: var(--text-dark);
}

.verified-badge i {
    color: #28A745;
}

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

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

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(86, 193, 167, 0.2);
}

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

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

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
}

.reviewer-name {
    font-size: 1rem;
    color: var(--text-dark);
}

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

.review-stars {
    color: #FBBF24;
    font-size: 0.8rem;
    display: flex;
    gap: 0.08rem;
}

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

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 4rem 0 2rem;
}

.pagination-item {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
}

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

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

/* Review Submission Form (resenas.php) */
.form-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.form-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.star-rating-input {
    display: flex;
    gap: 0.5rem;
    font-size: 2.2rem;
    cursor: pointer;
    color: #CBD5E1;
    user-select: none;
}

.star-rating-input span {
    transition: var(--transition-fast);
}

.star-rating-input span.active {
    color: #FBBF24;
}

#form-mensaje {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mensaje-exito {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.mensaje-error {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #FBD5D5;
}

/* Blog Layout & Cards (blog.php) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(86, 193, 167, 0.2);
}

.blog-card-img-wrapper {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

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

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

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

.blog-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

.blog-card-link i {
    transition: var(--transition-fast);
}

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

/* Individual Article (articulo.php) */
.article-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.article-category {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

.article-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.article-featured-image img {
    width: 100%;
    display: block;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

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

.article-body h2,
.article-body h3 {
    color: var(--primary-dark);
    margin: 3rem 0 1.2rem;
}

.article-body h2 {
    font-size: 1.8rem;
}

.article-body h3 {
    font-size: 1.4rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

.article-footer {
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.article-share span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.share-btns {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-banner-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .doc-credentials {
        justify-content: center;
    }
    
    .hero-image-area {
        margin-top: 1.5rem;
    }
    
    .floating-testimonial-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .academic-section-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .location-section-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .branding-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta-area .btn-nav-cta {
        display: none;
    }

    /* Stacking doctor profile grid on mobile */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .profile-info {
        text-align: center;
        align-items: center;
    }
    .doc-name {
        justify-content: center;
        font-size: 1.8rem;
    }
    .doc-rating-summary {
        justify-content: center;
    }
    .doc-meta-list {
        align-items: center;
    }
    .profile-quote-card {
        margin: 1.5rem auto;
        max-width: 100%;
        text-align: left;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Transforming vertical tabs to horizontal pills on mobile */
    .tabs-header {
        flex-direction: row;
        background-color: var(--bg-light);
        border: 1px solid var(--border);
        padding: 0.4rem;
        border-radius: var(--radius-full);
        overflow-x: auto;
        scrollbar-width: none;
        gap: 0.3rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .tabs-header::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        padding: 0.7rem 1.2rem;
        border-radius: var(--radius-full);
        background-color: transparent;
        border: none;
        width: auto;
        font-size: 0.88rem;
        justify-content: center;
    }
    .tab-btn:hover {
        background-color: transparent;
        color: var(--primary);
    }
    .tab-btn.active {
        background-color: var(--primary);
        color: var(--bg-white);
        box-shadow: var(--shadow-sm);
    }
    .tab-btn.active i {
        color: var(--bg-white);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-summary-card {
        padding: 2rem;
    }
    
    .summary-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .summary-score-col {
        flex-direction: column;
    }
    
    .testimonial-slide-card {
        flex: 0 0 100%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .branding-col {
        grid-column: span 1;
    }
    
    .floating-wa-bubble {
        bottom: 75px;
        right: 20px;
    }
    
    .mobile-sticky-bar {
        display: grid;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.15rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}
