/* Dr. Rodrigo Pico - Premium Clinic Style Sheet */

:root {
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.3);
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(56, 189, 248, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.12) 0%, transparent 45%);
    background-attachment: fixed;
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-center { text-align: center; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mb-4 { margin-bottom: 2rem; }

/* Top Bar */
.top-bar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-wa {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
.top-wa:hover {
    color: #34d399;
}

/* Header Navigation */
header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.3));
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--primary-light);
}
.nav-btn-turnos {
    color: var(--primary-light) !important;
    font-weight: 600 !important;
}
.btn-wa-header {
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}
.btn-wa-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Hero Section */
.hero {
    padding: 4.5rem 0 3.5rem 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.doctor-badge {
    display: inline-flex;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.2rem 0;
}
.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #059669);
    color: #fff;
    font-weight: 700;
    padding: 0.95rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-highlight);
    color: #fff;
    font-weight: 600;
    padding: 0.95rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.15);
    transform: translateY(-2px);
}
.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.h-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Profile Card */
.hero-card-profile {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(12px);
}
.profile-media-wrapper {
    width: 100%;
    max-height: 260px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid var(--border-color);
}
.profile-doc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-card-profile h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}
.profile-title {
    color: var(--primary-light);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.profile-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections Common */
.section {
    padding: 5rem 0;
}
.section-tagline {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
    margin-bottom: 0.5rem;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 0.8rem 0;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Bio Section */
.bio-section {
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.bio-text-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
}
.bio-header-flex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.bio-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.bio-text-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
}
.lead-bio {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 1.2rem;
}
.bio-quote {
    background: rgba(2, 132, 199, 0.1);
    border-left: 4px solid var(--primary-light);
    padding: 1.2rem 1.5rem;
    border-radius: 0 16px 16px 0;
    margin: 1.8rem 0;
    font-style: italic;
    color: #f1f5f9;
}
.bio-contact-strip {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Media Banner Cards */
.doc-media-banner {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-highlight);
    box-shadow: var(--shadow-card);
}
.doc-img-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.doc-img-card {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Especialidades (3 Recuadros) */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.spec-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}
.spec-card-featured {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.2);
}
.spec-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.spec-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}
.spec-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 1.5rem;
}
.card-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.card-link:hover {
    color: #7dd3fc;
}

/* PRP Section */
.prp-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.15);
}
.badge-accent {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.8rem;
}
.prp-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}
.prp-intro {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 900px;
    margin-bottom: 2.5rem;
}
.prp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.prp-benefits h3, .prp-candidates h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.b-icon {
    font-size: 1.8rem;
}
.benefit-item h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.05rem;
    color: #fff;
}
.benefit-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.sedation-note {
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* Finance Section */
.finance-banner {
    background: linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}
.finance-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.finance-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}
.finance-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
}
.finance-sub {
    font-size: 1.2rem;
    color: #bae6fd;
    margin-bottom: 2rem;
    font-weight: 600;
}
.finance-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.finance-highlight {
    font-weight: 700;
    font-size: 1.15rem !important;
    color: #7dd3fc;
    margin-top: 1.5rem;
}
.finance-action {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-finance-wa {
    background: #25d366;
    color: #fff;
    font-weight: 800;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}
.btn-finance-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Fiftty Section */
.fiftty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 24px;
    padding: 3rem;
}
.badge-fiftty {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.8rem;
}
.fiftty-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.fiftty-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}
.fiftty-lead {
    font-size: 1.1rem;
    color: #f1f5f9;
}
.btn-fiftty {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    transition: var(--transition);
}
.btn-fiftty:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* Booking Section */
.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #e2e8f0;
}
.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}
.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.price-summary {
    display: flex;
    flex-direction: column;
}
.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.price-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
}
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Time Slots Grid Styles */
.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}
.slot-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    color: #e2e8f0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.slot-btn:hover:not(:disabled) {
    border-color: var(--primary-light);
    background: rgba(56, 189, 248, 0.15);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}
.slot-btn.selected {
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
    border-color: var(--primary-light) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5) !important;
    transform: scale(1.03);
}
.slot-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    text-decoration: line-through;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-brand h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin: 0 0 0.4rem 0;
}
.footer-brand p {
    margin: 0.2rem 0;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}
.wa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .prp-grid, .booking-grid, .fiftty-grid, .finance-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}
