/* ==========================================================================
   CIRUGÍA PLÁSTICA EN BOLIVIA - DESIGN SYSTEM & MASTER STYLESHEET
   Luxury Palette: Blanco, Negro y la Trilogía de Tonos Dorados:
   - Oro Brillante: #FFD700
   - Oro Clásico:   #D7B615
   - Oro Cálido:    #DAA520
   Stack: Bootstrap 5.3 + Vanilla CSS + Google Fonts (Outfit & Inter) + BoxIcons
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS (BLACK, WHITE & TRIPLE GOLD TONES)
   -------------------------------------------------------------------------- */
:root {
    /* Pure & Obsidian Black */
    --primary-color: #121212;
    --primary-dark: #000000;
    --primary-light: #242424;
    --primary-gradient: linear-gradient(135deg, #121212 0%, #262626 100%);

    /* Trilogía de Tonos Dorados Seleccionados */
    --gold-bright: #FFD700;
    /* 1. Oro Brillante / Radiant Gold */
    --gold-primary: #D7B615;
    /* 2. Oro Clásico / Pure Classic Gold */
    --gold-deep: #DAA520;
    /* 3. Oro Cálido / Warm Amber Gold */

    --accent-color: var(--gold-deep);
    --accent-gold: var(--gold-primary);
    --accent-gold-dark: var(--gold-deep);
    --accent-gold-light: #fff3b0;
    --accent-gold-soft: #fdfbf5;

    /* Gradientes Dorados de Alta Gama */
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #D7B615 50%, #DAA520 100%);
    --gold-gradient-dark: linear-gradient(135deg, #D7B615 0%, #DAA520 100%);
    --gold-subtle-gradient: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --gold-glow: 0 8px 25px rgba(218, 165, 32, 0.4);

    /* Messaging */
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;

    /* Neutrals & Surfaces */
    --bg-main: #fdfdfd;
    --bg-card: #ffffff;
    --bg-soft-gold: #fcfaf3;
    --bg-surface-gold: #fbf8f0;
    --bg-dark-surface: #141414;
    --border-color: #ede7da;
    --border-light: #f5f1e8;
    --border-gold: rgba(218, 165, 32, 0.45);

    /* Text Colors */
    --text-heading: #121212;
    --text-body: #3c3c3c;
    --text-muted: #737373;
    --text-gold: #c49312;
    --text-white: #ffffff;

    /* Glassmorphism Specs */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-dark: rgba(18, 18, 18, 0.95);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.05);
    --glass-shadow-hover: 0 20px 45px 0 rgba(218, 165, 32, 0.2);

    /* Radii & Transitions */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

a:hover {
    color: var(--gold-deep);
}

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

/* Gold Text Utilities */
.text-gold {
    color: var(--gold-deep) !important;
}

.text-gold-bright {
    color: var(--gold-bright) !important;
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   3. TOPBAR & MEDICAL CONTACT INFO
   -------------------------------------------------------------------------- */
.topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(218, 165, 32, 0.25);
}

.topbar a {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.topbar a:hover {
    color: var(--gold-bright);
}

.topbar-badge {
    background: rgba(218, 165, 32, 0.15);
    color: var(--gold-bright);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.78rem;
    border: 1px solid var(--gold-primary);
}

/* --------------------------------------------------------------------------
   4. HEADER & GLASSMORPHISM NAVBAR
   -------------------------------------------------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.navbar-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    padding: 14px 0;
    transition: var(--transition);
}

.navbar-scrolled .navbar-custom {
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--gold-primary);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.navbar-logo {
    height: 52px;
    max-width: 250px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.navbar-scrolled .navbar-logo {
    height: 45px;
}

.footer-logo {
    height: 60px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

/* Nav Links & Dropdowns */
.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-deep) !important;
    background: rgba(218, 165, 32, 0.12);
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--glass-shadow-hover);
    padding: 10px;
    min-width: 290px;
    animation: fadeInDropdown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px !important;
    border-top: 3px solid var(--gold-primary);
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.dropdown-item i {
    font-size: 1.15rem;
    color: var(--gold-primary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-surface-gold);
    color: var(--primary-dark);
    transform: translateX(4px);
}

.dropdown-item:hover i {
    color: var(--gold-deep);
}

.dropdown-item.active {
    background: var(--primary-gradient);
    color: var(--gold-bright);
}

.dropdown-item.active i {
    color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   5. BUTTONS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    color: #ffffff;
    border: 1px solid var(--border-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom:hover {
    color: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.btn-accent,
.btn-gold {
    background: var(--gold-gradient-dark);
    color: #ffffff;
    box-shadow: var(--gold-glow);
}

.btn-accent:hover,
.btn-gold:hover {
    color: #121212;
    background: var(--gold-gradient);
    font-weight: 700;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.5);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-outline-custom {
    background: transparent;
    color: var(--gold-deep);
    border: 2px solid var(--gold-primary);
}

.btn-outline-custom:hover {
    background: var(--gold-primary);
    color: #121212;
    font-weight: 700;
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION & BREADCRUMBS
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.92) 100%), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 90px 0 70px 0;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-primary);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.2), transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: var(--gold-bright);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--gold-primary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-bottom: 28px;
    line-height: 1.8;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-custom a:hover {
    color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   7. QUICK SPECS / PROCEDURE SUMMARY BAR
   -------------------------------------------------------------------------- */
.specs-bar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow-hover);
    padding: 26px 30px;
    margin-top: -45px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
}

.spec-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-gold);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.spec-item:hover .spec-icon {
    background: var(--gold-gradient);
    color: #121212;
    border-color: var(--gold-bright);
    transform: scale(1.08);
}

.spec-content .spec-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-content .spec-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   8. CONTENT CARDS & SECTIONS
   -------------------------------------------------------------------------- */
.section-padding {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    color: var(--gold-deep);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.75;
}

.glass-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 35px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--gold-primary);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-gold);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.glass-card:hover .card-icon-wrapper {
    background: var(--gold-gradient);
    color: #121212;
    border-color: var(--gold-bright);
    transform: rotate(5deg) scale(1.05);
}

/* Medical Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.feature-list li i {
    color: var(--gold-deep);
    font-size: 1.25rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Procedure Media Frame / Photo Placeholder */
.procedure-media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1.5px dashed var(--border-gold);
    background: var(--bg-surface-gold);
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.procedure-media-frame:hover {
    border-color: var(--gold-primary);
    border-style: solid;
    box-shadow: var(--glass-shadow-hover);
}

.media-placeholder-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
}

.media-placeholder-box .media-icon {
    font-size: 3.2rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
    opacity: 0.9;
    transition: var(--transition);
}

.procedure-media-frame:hover .media-placeholder-box .media-icon {
    transform: scale(1.1);
    color: var(--gold-bright);
}

.media-placeholder-box .media-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.media-placeholder-box .media-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.procedure-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.procedure-media-frame:hover .procedure-image {
    transform: scale(1.04);
}

/* Badges */
.badge-gold {
    background: var(--bg-surface-gold);
    color: var(--gold-deep);
    border: 1px solid var(--border-gold);
    font-weight: 600;
}

.badge-dark-custom {
    background: var(--primary-color);
    color: var(--gold-bright);
    border: 1px solid var(--border-gold);
}

/* --------------------------------------------------------------------------
   9. STEP-BY-STEP PROCESS
   -------------------------------------------------------------------------- */
.step-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    height: 100%;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--gold-gradient-dark);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: var(--gold-glow);
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION (CUSTOM LUXURY)
   -------------------------------------------------------------------------- */
.accordion-custom .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.accordion-custom .accordion-item:hover {
    border-color: var(--gold-primary);
}

.accordion-custom .accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    background: #ffffff;
    padding: 18px 24px;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--gold-deep);
    background: var(--bg-surface-gold);
    border-bottom: 1px solid var(--border-color);
}

.accordion-custom .accordion-body {
    padding: 22px 24px;
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   11. CONSULTATION FORM & CTA BOX (BLACK & GOLD)
   -------------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 60px 45px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.22), transparent 70%);
    border-radius: 50%;
}

.consultation-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--glass-shadow-hover);
    border: 1px solid var(--border-color);
}

.form-control,
.form-select {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
    --bs-secondary-color: rgba(0, 0, 0, 0.22);
}

/* Placeholders ultra tenues (Apenas visibles para máxima elegancia) */
.form-control::placeholder {
    color: #c0c5cb !important;
    opacity: 0.32 !important;
    font-weight: 300 !important;
}

input::placeholder,
textarea::placeholder {
    color: #c0c5cb !important;
    opacity: 0.32 !important;
    font-weight: 300 !important;
}

.form-control::-webkit-input-placeholder {
    color: #c0c5cb !important;
    opacity: 0.32 !important;
}

.form-control::-moz-placeholder {
    color: #c0c5cb !important;
    opacity: 0.32 !important;
}

.form-control:-ms-input-placeholder {
    color: #c0c5cb !important;
    opacity: 0.32 !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.2);
}

/* --------------------------------------------------------------------------
   12. FOOTER (DEEP NOIR & GOLD)
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 75px;
    position: relative;
    border-top: 3px solid var(--gold-primary);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

.footer-links a:hover {
    color: var(--gold-bright);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
    font-size: 1.25rem;
    color: var(--gold-bright);
    margin-top: 2px;
    flex-shrink: 0;
}

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

/* --------------------------------------------------------------------------
   13. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-floating {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn-pulse {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--whatsapp-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.whatsapp-btn-pulse:hover {
    color: #ffffff;
    transform: scale(1.1);
    background: var(--whatsapp-dark);
}

.whatsapp-btn-pulse::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: var(--radius-full);
    border: 2px solid var(--whatsapp-green);
    animation: radarPulse 2s infinite ease-out;
    opacity: 0.8;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.whatsapp-tooltip-bubble {
    background: #ffffff;
    color: var(--text-heading);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-gold);
    white-space: nowrap;
    animation: bounceTooltip 3s infinite ease-in-out;
}

@keyframes bounceTooltip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   15. SOBRE MÍ / DR. NADIR PROFILE STYLING
   -------------------------------------------------------------------------- */
.doctor-portrait-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, rgba(215, 182, 21, 0.1) 50%, rgba(218, 165, 32, 0.3) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.doctor-portrait-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: var(--glass-shadow);
}

.doctor-badge-floating {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background: #121212;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-badge-floating i {
    font-size: 2rem;
    color: var(--gold-bright);
}

.doctor-badge-floating .badge-txt-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.doctor-badge-floating .badge-txt-sub {
    font-size: 0.75rem;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Society / Membership Cards */
.society-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.society-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 30px rgba(215, 182, 21, 0.18);
}

.society-logo-img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 12px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.society-card:hover .society-logo-img {
    transform: scale(1.05);
}

.society-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

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

/* Hospital & Training Grid */
.hospital-item-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
}

.hospital-item-box:hover {
    border-color: var(--gold-primary);
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.hospital-icon-pin {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-surface-gold);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid var(--border-gold);
}

/* Media Showcase Video & Press Cards */
.media-video-card {
    background: #181818;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-frame-custom {
    position: relative;
    background: #000000;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-frame-custom video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card-body {
    padding: 24px;
    color: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.media-tag-channel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.media-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.media-card-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Press & Distinction Award Card */
.distinction-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold-primary);
    padding: 30px;
    box-shadow: var(--glass-shadow-hover);
    height: 100%;
    transition: var(--transition);
}

.distinction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(215, 182, 21, 0.2);
}

.distinction-img-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

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

.distinction-card:hover .distinction-img-frame img {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 15px;
        box-shadow: var(--glass-shadow-hover);
        border: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }

    .specs-bar {
        margin-top: -20px;
        padding: 20px;
    }

    .whatsapp-tooltip-bubble {
        display: none;
    }

    .doctor-badge-floating {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }
}