/* ==========================================================================
   STYLE SYSTEM: DR. LUIS RODRIGO SÁNCHEZ GONZÁLEZ (PREMIUM FERTILITY SPA)
   ========================================================================== */

/* 1. Global Reset & Variables
   ========================================================================== */
:root {
    /* Color Palette - HSL Tailored for Medical Luxury & Life (Clean Light Theme) */
    --primary-h: 168;
    --primary-s: 73%;
    --primary-l: 40%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l)); /* #1bb295 */
    --primary-hover: hsl(var(--primary-h), var(--primary-s), 34%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
    --primary-faded: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);

    --secondary-h: 207;
    --secondary-s: 49%;
    --secondary-l: 23%;
    --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l)); /* #1e3d59 */
    --secondary-hover: hsl(var(--secondary-h), var(--secondary-s), 17%);
    --secondary-light: hsl(var(--secondary-h), var(--secondary-s), 96%);

    --accent-h: 11;
    --accent-s: 100%;
    --accent-l: 77%;
    --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l)); /* #ff9f89 */
    --accent-dark: hsl(var(--accent-h), 80%, 65%);

    /* Neutral Colors (Clean Light Theme) */
    --dark: #121d24;
    --text-color: #384852;
    --text-muted: #627582;
    --bg-white: #ffffff;
    --bg-light: #f4fbf9;
    --bg-ultra: #fafbfc;
    --border-color: #e2edea;
    --border-light: rgba(27, 178, 149, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, hsl(172, 85%, 33%) 100%);
    --gradient-soft: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    --gradient-luxury: linear-gradient(135deg, var(--secondary) 0%, #152c40 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #ff8366 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 251, 249, 0.95) 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-luxury: 0 30px 60px -15px rgba(30, 61, 89, 0.15);
    --shadow-glow: 0 0 20px rgba(27, 178, 149, 0.4);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Layout */
    --header-height: 85px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 40px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--bg-ultra);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

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

/* Utilities & Buttons
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 10px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
}

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

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

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

.btn-secondary {
    background-color: var(--bg-white);
    border-color: var(--border-color);
    color: var(--secondary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(27, 178, 149, 0.6);
}

/* Sections Global Structure
   ========================================================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
    opacity: 0.8;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 2. Top Ribbon Bar
   ========================================================================== */
.top-ribbon {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 100;
}

.top-ribbon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
}

.pulse {
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 3. Header & Navigation
   ========================================================================== */
.main-header {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 99;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
    filter: none;
    /* Fallback if logo has transparency and blends into white bg */
}

.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
}

/* 4. CINEMATIC HERO — Full Screen Dark Fertilization Spectacle
   ========================================================================== */
.cinematic-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #050d12 0%, #0a171f 30%, #0d1f2b 60%, #091a24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#fertility-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 50%, rgba(20, 210, 176, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 30%, rgba(255, 147, 125, 0.04) 0%, transparent 50%);
}

.cinematic-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 30px;
    animation: heroFadeIn 1.5s ease-out both;
}

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

.hero-badge-intro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 210, 176, 0.1);
    border: 1px solid rgba(20, 210, 176, 0.25);
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #14d2b0;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    animation: heroFadeIn 1.5s ease-out 0.3s both;
}

.hero-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14d2b0;
    animation: pulseDot 2s infinite;
    box-shadow: 0 0 8px rgba(20, 210, 176, 0.6);
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.cinematic-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: heroFadeIn 1.5s ease-out 0.5s both;
}

.cinematic-highlight {
    background: linear-gradient(135deg, #14d2b0, #1bb295, #ff9f89);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.cinematic-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: heroFadeIn 1.5s ease-out 0.7s both;
}

.cinematic-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1.5s ease-out 0.9s both;
}

.btn-cinematic-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, #14d2b0, #1bb295);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 30px rgba(20, 210, 176, 0.3);
}

.btn-cinematic-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(20, 210, 176, 0.5);
    color: #fff;
}

.btn-cinematic-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-cinematic-ghost:hover {
    border-color: rgba(20, 210, 176, 0.5);
    color: #14d2b0;
    background: rgba(20, 210, 176, 0.05);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scrollIndicatorFadeIn 1.5s ease-out 1.3s both;
}

@keyframes scrollIndicatorFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(20, 210, 176, 0.7);
    border-radius: 4px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* 4b. Doctor Introduction Section (below Hero) */
.doctor-intro-section {
    position: relative;
    background: var(--gradient-soft);
    padding: 100px 0;
    overflow: hidden;
}

.doctor-intro-section .hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
}


/* ==========================================================================
   DYNAMIC BLOG & PREMIUM ARTICLES STYLES
   ========================================================================== */
.articles-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Homepage blog preview: exactly 3 columns on desktop */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-faded);
}

.bpc-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-ultra);
}

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

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

.bpc-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(30, 61, 89, 0.85);
    backdrop-filter: blur(5px);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bpc-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bpc-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bpc-title {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.bpc-title a {
    color: var(--secondary);
}

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

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

.bpc-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-ultra);
}

.bpc-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.bpc-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* ==========================================================================
   REVIEW CAPTURE FORM STYLES
   ========================================================================== */
.review-form-card {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: left;
}

.form-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-instructions {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition-smooth);
    background-color: var(--bg-ultra);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    outline: none;
    box-shadow: 0 0 10px rgba(27, 178, 149, 0.1);
}

.star-rating-selector {
    display: flex;
    gap: 10px;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.star-item {
    transition: var(--transition-smooth);
}

.star-item:hover,
.star-item.active {
    color: #ffb703;
    transform: scale(1.15);
}

.form-status-msg {
    margin-top: 25px;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.mensaje-exito {
    background-color: #e8f7f4;
    border: 1px solid rgba(27, 178, 149, 0.2);
    color: #168e77;
}

.mensaje-error {
    background-color: #fdf2f2;
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary-faded);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.15);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background-color: rgba(30, 61, 89, 0.05);
    top: 50%;
    left: 50%;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-faded);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--border-radius-xl);
    font-size: 0.85rem;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* Cédulas Cards layout */
.cedula-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

.cedula-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.cedula-card:hover {
    transform: translateX(5px);
    background-color: var(--bg-white);
    border-color: var(--primary-faded);
    box-shadow: var(--shadow-md);
}

.cedula-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: var(--primary-faded);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cedula-details {
    display: flex;
    flex-direction: column;
}

.cedula-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.cedula-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stars-group {
    display: flex;
    color: #ffb703;
    gap: 4px;
}

.social-proof-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-proof-text a {
    color: var(--secondary);
    border-bottom: 1px solid rgba(30, 61, 89, 0.2);
}

.social-proof-text a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Hero Doctor Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.doctor-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.blob-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(255,159,137,0) 70%);
    top: 0;
    left: 0;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.5;
}

.doctor-image-container {
    width: 100%;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    background-color: var(--bg-white);
    border: 8px solid var(--bg-white);
    transform: rotate(1.5deg);
    transition: var(--transition-smooth);
}

.doctor-image-container:hover {
    transform: rotate(0) scale(1.02);
}

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

/* Floating badges in Hero */
.floating-badge {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.floating-badge:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: var(--bg-white);
}

.badge-experience {
    top: 20%;
    left: -40px;
}

.badge-care {
    bottom: 10%;
    right: -20px;
}

.fb-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-faded);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.fb-content {
    display: flex;
    flex-direction: column;
}

.fb-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1;
}

.fb-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 5. Press / Collaborations Section
   ========================================================================== */
.press-section {
    background: linear-gradient(135deg, #0a171f 0%, #0d1f2b 40%, #152c40 100%);
    border-bottom: none;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(20, 210, 176, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

.article-logo-wrapper {
    height: 70px;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.press-logo {
    max-height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.article-card:hover .press-logo {
    transform: scale(1.05);
}

.article-body {
    flex-grow: 1;
}

.article-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 700;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.article-link:hover {
    color: var(--primary-hover);
    gap: 12px;
}

/* 6. About Section & Tabs
   ========================================================================== */
.about-section {
    background-color: var(--bg-ultra);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.profile-sticky-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 120px;
}

.profile-badge {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.profile-name {
    font-size: 2rem;
    margin-bottom: 20px;
}

.profile-summary {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.profile-quick-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Academic tabs styling */
.tabs-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tabs-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--bg-ultra);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--primary);
    background-color: rgba(27, 178, 149, 0.02);
}

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

.tabs-content-wrapper {
    padding: 40px;
}

.tab-panel {
    display: none;
    animation: fadeInTab 0.5s ease;
}

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

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

.panel-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.panel-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Tab contents specs */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.specialty-item {
    display: flex;
    gap: 16px;
}

.specialty-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-faded);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.specialty-info h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.specialty-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Timeline academic */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 5px;
    bottom: 5px;
    left: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    left: -30px;
    top: 6px;
    border: 2px solid var(--bg-white);
    z-index: 2;
    box-shadow: 0 0 0 3px var(--primary-faded);
}

.timeline-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.timeline-institution {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Awards style */
.premios-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.premios-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.award-icon {
    font-size: 1.25rem;
    background-color: var(--bg-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.text-gold { color: #ffb703; }
.text-silver { color: #8d99ae; }

.award-details h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.award-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Diplomas Carousel
   ========================================================================== */
.credentials-gallery-wrapper {
    margin-top: 80px;
}

.gallery-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.carousel-outer {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-slide {
    flex: 0 0 calc(25% - 15px); /* Show 4 slides on large screens */
    height: 250px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: var(--bg-white);
    transition: var(--transition-smooth);
}

.carousel-slide:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

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

.carousel-control {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--secondary);
    transition: var(--transition-smooth);
    z-index: 10;
    flex-shrink: 0;
}

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

/* 7. Pricing Section
   ========================================================================== */
.pricing-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.price-card {
    background-color: var(--bg-ultra);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.price-card.popular {
    background-color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
}

.price-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.4;
}

.price-value-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 6px;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--primary);
}

/* Payment Methods Area */
.payment-methods-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--bg-ultra);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.payment-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.payment-img {
    max-width: 250px;
    margin: 0 auto 30px auto;
}

.help-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: var(--bg-white);
    padding: 16px 28px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    text-align: left;
}

.help-box p {
    margin: 0;
    line-height: 1.5;
}

.help-icon {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 8. Appointment Booking Form (Booknetic Clone Widget)
   ========================================================================== */
.booking-section {
    background-color: var(--bg-light);
}

.booking-widget {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-luxury);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--bg-ultra);
    border-bottom: 1px solid var(--border-color);
}

.step-indicator {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

.step-indicator::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    z-index: 5;
}

.step-indicator:last-child::after {
    display: none;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.step-indicator.active {
    color: var(--primary);
    background-color: var(--bg-white);
}

.step-indicator.active .step-num {
    background-color: var(--primary);
    color: var(--bg-white);
}

.step-indicator.completed {
    color: var(--secondary);
}

.step-indicator.completed .step-num {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.booking-panel {
    display: none;
    padding: 40px;
}

.booking-panel.active {
    display: block;
    animation: slidePanel 0.4s ease;
}

@keyframes slidePanel {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.panel-heading {
    font-size: 1.4rem;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

/* Service step specs */
.booking-services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.booking-service-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.booking-service-card:hover {
    border-color: var(--primary-faded);
    background-color: var(--bg-light);
}

.booking-service-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-faded);
}

.bsc-name {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.bsc-duration {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.bsc-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.bsc-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary);
}

.booking-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* Calendar & Slots step 2 */
.date-time-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    margin-bottom: 30px;
}

.calendar-wrapper {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    background-color: var(--bg-ultra);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cal-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.cal-btn:hover {
    background-color: var(--primary-faded);
    color: var(--primary);
}

.calendar-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-days span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--secondary);
}

.calendar-days span:hover:not(.empty):not(.disabled) {
    background-color: var(--primary-faded);
    color: var(--primary);
}

.calendar-days span.disabled {
    color: #c4d2db;
    cursor: not-allowed;
}

.calendar-days span.selected {
    background-color: var(--primary) !important;
    color: var(--bg-white) !important;
    font-weight: 700;
}

.calendar-days span.today {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.time-slots-wrapper {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    background-color: var(--bg-ultra);
    display: flex;
    flex-direction: column;
}

.slots-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.slots-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 250px;
    overflow-y: auto;
}

.time-slot {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--bg-white);
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.time-slot:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.time-slot.selected {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
}

.no-date-selected {
    grid-column: span 2;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 40px 0;
}

/* Form inputs step 3 */
.booking-form {
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

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

.form-group input,
.form-group textarea {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
    background-color: var(--bg-ultra);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-faded);
}

.form-group textarea {
    height: 120px;
    resize: none;
    grid-column: span 2;
}

/* Success panel step 4 */
.success-checkmark {
    margin-bottom: 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.success-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-summary-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-list li span:first-child {
    font-weight: 600;
    color: var(--text-muted);
}

.summary-list li span:last-child {
    font-weight: 700;
    color: var(--secondary);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 9. Patient Opinions Section
   ========================================================================== */
.opiniones-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.reviews-hub-container {
    max-width: 1000px;
    margin: 0 auto;
}

.reviews-hub-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.reviews-score-card {
    background: var(--gradient-luxury);
    color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.verified-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: var(--border-radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.google-badge-img {
    height: 18px;
    width: auto;
}

.score-value {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--accent);
}

.score-stars {
    display: flex;
    color: #ffb703;
    font-size: 1.5rem;
    gap: 6px;
    margin-bottom: 16px;
}

.score-count {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Review Skeletons Placeholders (Instruction specific) */
.reviews-placeholder-card {
    background-color: var(--bg-ultra);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.google-icon-glow {
    color: var(--primary);
    animation: glowBrand 3s infinite alternate;
}

@keyframes glowBrand {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(27,178,149,0.2)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(27,178,149,0.5)); }
}

.reviews-placeholder-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.reviews-placeholder-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.skeletons-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0.65;
    pointer-events: none;
    user-select: none;
}

.sk-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sk-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

.sk-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sk-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
}

.sk-stars {
    color: #ffb703;
    font-size: 0.75rem;
}

.sk-text-placeholder {
    height: 12px;
    width: 85%;
    background-color: var(--bg-light);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.sk-text-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 20%, rgba(255,255,255,0.8) 60%, rgba(255,255,255,0) 100%);
    animation: sk-shimmer 2s infinite;
}

@keyframes sk-shimmer {
    100% { transform: translateX(100%); }
}

/* 10. Insurances & Partners
   ========================================================================== */
.insurances-section {
    background-color: var(--bg-ultra);
}

.insurance-banner-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.insurance-img-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.insurance-banner-img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
}

.insurance-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.insurance-note i {
    color: var(--primary);
}

/* 11. Contact & Map Embed
   ========================================================================== */
.contact-section {
    background: linear-gradient(135deg, #0a171f 0%, #0d1f2b 40%, #152c40 100%);
    border-top: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.info-badge {
    color: #14d2b0;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.info-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.info-item {
    display: flex;
    gap: 16px;
}

.item-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(20, 210, 176, 0.1);
    border: 1px solid rgba(20, 210, 176, 0.2);
    color: #14d2b0;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: none;
}

.item-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.item-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    line-height: 1.4;
}

.item-text p a {
    color: #14d2b0;
}

.item-text p a:hover {
    color: #1bb295;
}

.item-text a {
    color: var(--secondary);
    font-weight: 700;
}

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

.map-embed-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-md);
}

.map-container {
    width: 100%;
    height: 100%;
}

/* 12. Footer Area
   ========================================================================== */
.main-footer {
    background: var(--gradient-luxury);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px 0;
}

.footer-container {
    max-width: 1240px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

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

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    align-self: flex-start;
    filter: brightness(0) invert(1); /* make logo white */
}

.brand-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

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

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact-list .f-icon {
    color: var(--primary);
    font-size: 1rem;
}

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

.footer-contact-list a:hover {
    color: var(--primary);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    font-size: 0.8rem;
}

.club-text p {
    font-family: var(--font-heading);
    font-weight: 500;
    color: #a2b6c5;
}

.club-text p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
    transition: var(--transition-smooth);
}

.club-text p a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.cofepris-banner {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.permiso-cofepris-footer {
    color: var(--bg-white);
    margin-bottom: 0;
    font-size: 0.85rem;
}

.permiso-cofepris-footer strong {
    color: var(--primary);
}

/* 13. Floating Action Widgets
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 98;
}

.whatsapp-btn-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: var(--transition-smooth);
    animation: wa-glow 2s infinite;
}

.whatsapp-btn-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: var(--bg-white);
}

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-dark);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

@keyframes wa-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

/* 14. Lightbox / Credentials Zoom Modal
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(18, 29, 36, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 5px solid var(--bg-white);
    animation: zoomLightbox 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomLightbox {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary);
    text-decoration: none;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 14b. Educational Videos Section
   ========================================================================== */
.videos-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
}

.video-card {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-title {
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    color: var(--secondary);
    margin: 0;
}

/* 15. Responsive Styling (Media Queries)
   ========================================================================== */

/* Tablets and Smaller Laptops */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .badge-premium {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cedula-badges {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-social-proof {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* visual on top for tablet */
    }
    
    .floating-badge {
        display: none; /* Hide floating badges to avoid clutter on small screens */
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-sticky-card {
        position: static;
    }
    
    .carousel-slide {
        flex: 0 0 calc(50% - 10px); /* Show 2 slides */
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .date-time-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-hub-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Cinematic Hero Responsive */
    .cinematic-hero {
        min-height: 600px;
    }
    
    .cinematic-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .scroll-indicator {
        bottom: 25px;
    }
    
    /* Blog preview: 2 columns on tablet */
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        gap: 20px;
        max-width: 800px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 24px;
    }

    /* Header menu hamburger styling */
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 101;
    }
    
    .hamburger {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--secondary);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: var(--transition-smooth);
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        width: 100%;
        height: 3px;
        background-color: var(--secondary);
        position: absolute;
        left: 0;
        transition: var(--transition-smooth);
    }
    
    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }
    
    /* Toggle Active menu state */
    .mobile-nav-toggle.active .hamburger {
        background-color: transparent;
    }
    
    .mobile-nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        z-index: 100;
        padding: 100px 40px 40px 40px;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .btn-header-cta {
        display: none; /* Hide header CTA to save space, user can use Hamburger */
    }
    
    /* Mobile Hero styling */
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Cinematic Hero Mobile */
    .cinematic-hero {
        min-height: 100svh;
        padding: 0 16px;
    }
    
    .cinematic-hero-content {
        padding: 0 10px;
    }
    
    .cinematic-title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        letter-spacing: -0.5px;
    }
    
    .cinematic-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .cinematic-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cinematic-primary,
    .btn-cinematic-ghost {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Blog preview: show only 1 article on mobile */
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-preview-grid .blog-post-card:nth-child(n+2) {
        display: none;
    }
    
    .tabs-header {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 14px;
        border-bottom: none;
        border-left: 3px solid transparent;
        justify-content: flex-start;
    }
    
    .tab-btn.active {
        border-left-color: var(--primary);
    }
    
    .tabs-content-wrapper {
        padding: 24px;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide {
        flex: 0 0 100%; /* Show 1 slide */
    }
    
    .booking-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .step-indicator {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .step-indicator::after {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-group textarea {
        grid-column: span 1;
    }
    
    .time-slots-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   DARK HEADER & HERO OVERRIDES (PREMIUM HYBRID THEME)
   ========================================================================== */
.main-header {
    background: rgba(10, 23, 31, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(30, 200, 167, 0.15) !important;
}

.main-header.scrolled {
    background: rgba(5, 13, 18, 0.98) !important;
}

/* Force header links to be bright and legible against the dark header background */
.main-header .nav-link {
    color: #a2b6c5 !important;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: #14d2b0 !important;
}

.main-header .btn-primary {
    background-color: #1bb295 !important;
    color: #ffffff !important;
}

.main-header .btn-primary:hover {
    background-color: #14d2b0 !important;
}

/* Logo must be white in dark header */
.main-header .logo-img {
    filter: brightness(0) invert(1) !important;
}

/* Hamburger must be white in dark header */
.hamburger,
.hamburger::before,
.hamburger::after {
    background-color: #ffffff !important;
}




/* ==========================================================================
   DARK SECTION HEADER OVERRIDES (Press, Contact)
   ========================================================================== */
.press-section .section-tagline,
.contact-section .section-tagline {
    color: #14d2b0;
}

.press-section .section-title,
.contact-section .section-title {
    color: #ffffff;
}

.press-section .section-desc,
.contact-section .section-desc {
    color: rgba(255, 255, 255, 0.55);
}

/* Contact section map card */
.contact-section .map-embed-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Contact section CTA button on dark bg */
.contact-section .btn-primary {
    background: linear-gradient(135deg, #14d2b0, #1bb295);
    box-shadow: 0 0 20px rgba(20, 210, 176, 0.25);
}

.contact-section .btn-primary:hover {
    box-shadow: 0 0 40px rgba(20, 210, 176, 0.45);
}

/* Info action area in dark contact section */
.contact-section .info-action {
    margin-top: auto;
}

/* ==========================================================================
   PREMIUM EDITORIAL TYPOGRAPHY FOR MEDICAL ARTICLES
   ========================================================================== */
.article-rich-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-color);
}

.article-rich-body p {
    margin-bottom: 24px;
    text-align: justify;
}

/* Headings with premium medical accents */
.article-rich-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.article-rich-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Beautiful ordered lists */
.article-rich-body ol {
    margin-bottom: 28px;
    padding-left: 20px;
}

.article-rich-body ol li {
    margin-bottom: 14px;
    line-height: 1.75;
    padding-left: 8px;
}

.article-rich-body ol li::marker {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Beautiful unordered lists with premium custom bullet points */
.article-rich-body ul {
    list-style: none;
    margin-bottom: 28px;
    padding-left: 0;
}

.article-rich-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.75;
}

.article-rich-body ul li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 1;
    top: -2px;
}

/* Highlighted key terms (strong) */
.article-rich-body strong {
    color: var(--secondary);
    font-weight: 700;
}

/* Emphasized quotes or key advice */
.article-rich-body blockquote {
    background-color: var(--bg-ultra);
    border-left: 4px solid var(--secondary);
    padding: 24px 30px;
    margin: 32px 0;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.article-rich-body blockquote p {
    margin-bottom: 0;
}

/* Beautiful Tables if used */
.article-rich-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.article-rich-body th, 
.article-rich-body td {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.article-rich-body th {
    background-color: var(--primary-faded);
    color: var(--secondary);
    font-weight: 700;
}

.article-rich-body tr:nth-child(even) {
    background-color: var(--bg-ultra);
}

/* Reviews grid on Homepage (Dynamic SaaS integration) */
.reviews-real-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .reviews-real-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-real-grid {
        grid-template-columns: 1fr;
    }
}



