/* ==========================================
   STYLE SHEET: LANDING PAGE & CLIENT PORTAL RTO (ITV OLIVA)
   Design System: Stripe / Linear — Premium Light Mode
   ========================================== */

/* ── Design Tokens / CSS Variables ──────────────────────────── */
:root {
    /* Color Palette */
    --bg-app:               #ECEFF3; /* Less white, soft anti-glare slate-gray */
    --bg-surface:           #FFFFFF;
    --bg-card:              #FFFFFF;
    --bg-card-hover:        #E2E8F0;
    --bg-input:             #FFFFFF;
    --bg-accent-soft:       #EFF6FF; /* Soft corporate blue tint */

    /* Brand Colors */
    --primary-color:        #0F2C59; /* Deep corporate blue */
    --primary-hover:        #1A3F7A;
    --primary-glow:         rgba(15, 44, 89, 0.15);
    
    --accent-orange:        #FF6B00; /* Vibrant traffic orange (Main CTA) */
    --accent-orange-hover:  #E05E00;
    --accent-orange-glow:   rgba(255, 107, 0, 0.25);

    --accent-indigo:        #4F46E5;
    --accent-gradient:      linear-gradient(135deg, #0F2C59 0%, #1E3A8A 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(15, 44, 89, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);

    /* Borders */
    --border-color:         #CBD5E1; /* Darker border for higher contrast */
    --border-subtle:        #E2E8F0;
    --border-focus:         #0F2C59;

    /* Text */
    --text-primary:         #090D16; /* Bolder, darker slate-black */
    --text-secondary:       #273240; /* Darker slate-gray for higher contrast */
    --text-muted:           #64748B; /* Slate 500 */
    --text-white:           #090D16; /* Used in headings, reskinned to dark */
    --text-light:           #FFFFFF; /* Actual white text */

    /* Semantic Status */
    --success-color:        #10B981;
    --success-hover:        #059669;
    --success-glow:         rgba(16, 185, 129, 0.15);
    --danger-color:         #EF4444;
    --danger-hover:         #DC2626;
    --warning-color:        #F59E0B;
    --info-color:           #06B6D4;

    /* Turno Status Colors (Reskinned for Light Theme) */
    --status-disp-bg:       #F1F5F9;
    --status-disp-border:   #E2E8F0;
    --status-disp-text:     #475569;

    --status-asig-bg:       #E0F2FE;
    --status-asig-border:   #BAE6FD;
    --status-asig-text:     #0369A1;

    --status-conf-bg:       #FEF3C7;
    --status-conf-border:   #FDE68A;
    --status-conf-text:     #B45309;

    --status-canc-bg:       #FEE2E2;
    --status-canc-border:   #FCA5A5;
    --status-canc-text:     #B91C1C;

    --status-real-bg:       #EEF2FF;
    --status-real-border:   #C7D2FE;
    --status-real-text:     #4338CA;

    /* Radii */
    --radius-sm:            8px;
    --radius-md:            14px;
    --radius-lg:            20px;
    --radius-xl:            28px;

    /* Shadows */
    --shadow-card:          0 1px 3px rgba(0,0,0,0.05), 0 10px 20px -5px rgba(15,23,42,0.04);
    --shadow-premium:       0 4px 6px rgba(0,0,0,0.02), 0 20px 40px -10px rgba(15,23,42,0.08);
    --shadow-glow:          0 0 20px rgba(15, 44, 89, 0.1);
    --shadow-orange-glow:   0 0 20px rgba(255, 107, 0, 0.3);

    /* Motion */
    --transition-smooth:    all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Base Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar           { width: 8px; height: 8px; }
::-webkit-scrollbar-track     { background: transparent; }
::-webkit-scrollbar-thumb     { background: rgba(15, 44, 89, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* ── Utility Classes ─────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ── Navigation Header ───────────────────────────────────────── */
.app-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.logo-text span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Header Buttons styling */
.header-btn-secondary {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.header-btn-secondary:hover {
    background-color: var(--border-subtle);
    border-color: var(--primary-color);
}

.header-btn-primary {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-light);
    background: var(--accent-orange);
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.15);
    transition: var(--transition-smooth);
}

.header-btn-primary:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-orange-glow);
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 80px 0 100px 0;
    background-color: var(--bg-app);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(15, 44, 89, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(255, 107, 0, 0.02) 0%, transparent 40%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: var(--bg-accent-soft);
    border: 1px solid rgba(15, 44, 89, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}

.hero-badge span {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 36px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    width: 100%;
}

.hero-btn-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-light);
    background-color: var(--accent-orange);
    background-image: linear-gradient(135deg, var(--accent-orange) 0%, #FF8A00 100%);
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.25);
    flex: 1;
    max-width: 280px;
}

.hero-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.4);
    filter: brightness(1.05);
}

.hero-btn-main:active {
    transform: translateY(0);
}

.hero-btn-secondary {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    background-color: var(--bg-surface);
    border: 2px solid var(--border-color);
    padding: 18px 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex: 1;
    max-width: 280px;
}

.hero-btn-secondary:hover {
    background-color: var(--bg-app);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-premium);
    padding: 32px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(15,23,42,0.12);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.hero-card-title {
    font-size: 18px;
    font-weight: 700;
}

.hero-card-status {
    background: #DCFCE7;
    color: #15803D;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.hero-card-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.hero-card-info h4 {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.hero-card-info p {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Decorative grid background for hero */
.hero-deco-grid {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-image: radial-gradient(rgba(15, 44, 89, 0.07) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* ── Requirements Section ────────────────────────────────────── */
.section {
    padding: 100px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-overtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.main-doc-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    padding: 40px;
    display: flex;
    gap: 32px;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.main-doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(15, 44, 89, 0.15);
}

.main-doc-icon {
    font-size: 48px;
    background: var(--bg-accent-soft);
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-doc-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.main-doc-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.elements-row-title {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 8px;
    text-align: center;
}

.elements-row-subtitle {
    font-size: 14.5px;
    text-align: center;
    margin-bottom: 36px;
    color: var(--text-secondary);
}

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

.element-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.element-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(15, 44, 89, 0.1);
}

.element-icon {
    font-size: 32px;
    margin-bottom: 18px;
    display: inline-block;
}

.element-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.element-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ── Fees Tabs & Cards (Reskinned for 10 categories) ────────── */
.fees-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.fees-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.tab-btn:hover {
    background-color: var(--bg-card-hover);
    color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(15, 44, 89, 0.2);
}

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

.fee-card {
    background: var(--bg-app);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fee-card.hidden {
    display: none !important;
}

.fee-card:hover {
    transform: translateY(-5px);
    background: var(--bg-surface);
    box-shadow: var(--shadow-premium);
    border-color: rgba(15, 44, 89, 0.12);
}

.fee-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.fee-image-container {
    width: 100%;
    height: 120px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 80%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.fee-card:hover .fee-image-container {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 80%);
    border-color: rgba(255, 255, 255, 0.08);
}

.fee-card-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 6px;
    filter: brightness(1.35) contrast(1.05);
    transition: var(--transition-smooth);
}

.fee-card:hover .fee-card-img {
    filter: brightness(1.5) contrast(1.1) scale(1.05);
}

.fee-card h3 {
    font-size: 17px;
    margin-bottom: 4px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fee-price-wrapper {
    margin: 12px 0 16px 0;
}

.fee-price {
    font-size: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.fee-price-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.fee-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Tooltip Dropdown for payment methods */
.payment-methods-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 24px;
    background-color: var(--bg-accent-soft);
    padding: 6px 14px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    user-select: none;
}

.payment-methods-trigger:hover {
    background-color: var(--border-color);
}

.payment-methods-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    padding: 16px;
    width: 210px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-align: left;
}

.payment-methods-trigger:hover .payment-methods-tooltip,
.payment-methods-trigger.tooltip-active .payment-methods-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.tooltip-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-row span {
    color: var(--text-secondary);
}

.tooltip-row strong {
    color: var(--primary-color);
}

.fee-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--primary-color);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.fee-card:hover .fee-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* ── Location & Hours Section ────────────────────────────────── */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.info-icon {
    font-size: 24px;
    background: var(--bg-accent-soft);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.info-content p {
    font-size: 14.5px;
    line-height: 1.6;
}

.whatsapp-support-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #128C7E;
    background-color: #E8F5E9;
    border: 1px solid #C8E6C9;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    margin-top: 10px;
    align-self: flex-start;
}

.whatsapp-support-btn:hover {
    background-color: #C8E6C9;
    border-color: #A5D6A7;
    transform: translateY(-1px);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    height: 400px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Footer ──────────────────────────────────────────────────── */
.app-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: auto;
}

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

.footer-left {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-right {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

/* ── Booking Modal Overlay ────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.modal-content {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-backdrop.show .modal-content {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 110;
    transition: var(--transition-smooth);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal-btn:hover {
    background-color: var(--border-subtle);
    color: var(--primary-color);
}

body.modal-open {
    overflow: hidden;
}

/* Wrap portal-cliente to scroll nicely */
#portal-cliente {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

/* ── Stepper UI (Reskinned for Light Theme) ───────────────────── */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    background: var(--bg-surface);
    padding: 0 10px;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-app);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.step-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
}

.step.active .step-num {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 12px rgba(15, 44, 89, 0.2);
}

.step.active .step-label {
    color: var(--primary-color);
}

.step.completed .step-num {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: var(--text-light);
}

.step.completed .step-label {
    color: var(--success-color);
}

.step-line {
    position: absolute;
    top: 20px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

#step-line-1 { left: 10%; width: 35%; }
#step-line-2 { left: 55%; width: 35%; }

.step-active-progress {
    position: absolute;
    top: 20px;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 1;
    transition: width 0.4s ease;
}

/* Stepper progress transitions controlled by app.js */

/* ── Forms and Inputs (Reskinned for Light Theme) ─────────────── */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

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

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

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

.form-section-title {
    grid-column: span 2;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.required {
    color: var(--danger-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    transition: var(--transition-smooth);
    width: 100%;
    outline: none;
}

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

.uppercase-input { text-transform: uppercase; }

.input-helper {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--text-secondary);
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: var(--border-subtle);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ── Stepper Buttons / Form Actions ───────────────────────────── */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 32px;
}

.form-actions.split {
    justify-content: space-between;
}

.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.15);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 44, 89, 0.25);
}

.btn-secondary {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--border-subtle);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-success:hover:not(:disabled) {
    background-color: var(--success-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-outline-danger {
    background-color: transparent;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.btn-outline-danger:hover {
    background-color: var(--danger-color);
    color: var(--text-light);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.svg-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

/* ── Reschedule quick panel (Inside Step 1) ────────────────────── */
.reschedule-panel {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 32px;
}

.reschedule-panel h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.reschedule-panel p {
    font-size: 13px;
    margin-bottom: 16px;
}

.reschedule-input-wrap {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.reschedule-input-wrap input {
    text-align: center;
    font-family: monospace;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.05em;
}

/* ── Scheduler Grid (Step 2 Calendar) ─────────────────────────── */
.booking-scheduler {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    margin-top: 10px;
}

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

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
}

.calendar-controls h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--primary-color);
}

.calendar-nav-btn {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.calendar-nav-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background-color: var(--bg-card-hover);
    color: var(--primary-color);
}

.calendar-day.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    color: var(--text-muted);
}

.calendar-day.empty {
    cursor: default;
    pointer-events: none;
}

.calendar-day.today {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2);
}

.calendar-day.has-slots:not(.disabled):not(.selected) {
    background-color: #F0FDFA; /* Soft green-blue tint */
    border-bottom: 2px solid #0D9488;
    color: #0F766E;
}

.calendar-day.has-slots:not(.disabled):not(.selected):hover {
    background-color: #CCFBF1;
}

/* Hours section */
.hours-wrapper {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.selected-date-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-align: center;
    background: var(--bg-surface);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.hour-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    padding: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.hour-btn:hover:not(.selected) {
    background-color: var(--bg-card-hover);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.hour-btn.selected {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.15);
}

.no-hours-message,
.no-slots-alert {
    grid-column: span 2;
    text-align: center;
    color: var(--text-muted);
    font-size: 13.5px;
    margin: auto 0;
    padding: 20px;
}

.no-slots-alert {
    color: var(--warning-color);
    background-color: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* ── Recap Section (Step 3) ──────────────────────────────────── */
.recap-container {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 24px;
}

.recap-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

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

.recap-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.recap-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.recap-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.recap-policy {
    display: flex;
    gap: 12px;
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.5;
}

.policy-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #1E40AF;
    stroke-width: 2;
}

/* ── Success view and Ticket receipt ──────────────────────────── */
.success-panel {
    padding: 20px 0;
}

.success-icon-wrap {
    width: 64px;
    height: 64px;
    background-color: #D1FAE5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.success-icon {
    width: 36px;
    height: 36px;
    stroke-width: 2.5;
}

.success-panel h2 {
    font-size: 26px;
    margin-bottom: 8px;
    color: var(--success-color);
}

.success-subtitle {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.ticket-card {
    background-color: var(--bg-app);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    max-width: 480px;
    margin: 0 auto 30px auto;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.ticket-header {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.ticket-row span {
    color: var(--text-secondary);
}

.ticket-row strong {
    font-weight: 700;
    color: var(--primary-color);
}

#success-ticket-id {
    font-family: monospace;
    font-size: 16px;
    color: var(--accent-indigo);
}

.ticket-footer {
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

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

/* ── Toast Notifications (Premium Styling) ───────────────────── */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13.5px;
    min-width: 320px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

/* ── Responsive adjustments ──────────────────────────────────── */
@media (max-width: 992px) {
    .hero {
        padding: 60px 0 80px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        align-items: center;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-illustration {
        order: -1;
    }
    .elements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
    .map-wrapper {
        height: 300px;
    }
    .booking-scheduler {
        grid-template-columns: 1fr;
    }
    .hours-wrapper {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu can toggle or be omitted for simplicity */
    }
    .header-actions {
        gap: 8px;
    }
    .header-btn-secondary {
        display: none; /* Hide cancel btn on small mobile header to save space */
    }
    .hero h1 {
        font-size: 34px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-btn-main, .hero-btn-secondary {
        max-width: 100%;
        width: 100%;
    }
    .main-doc-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .elements-grid {
        grid-template-columns: 1fr;
    }
    .fees-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .form-section-title {
        grid-column: span 1;
    }
    .recap-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        max-height: 95vh;
        border-radius: var(--radius-md);
    }
    #portal-cliente {
        padding: 24px 16px;
    }
    .stepper {
        margin-bottom: 24px;
    }
    .step-label {
        font-size: 9px;
    }
    .success-actions {
        flex-direction: column;
    }
    .success-actions button {
        width: 100%;
    }
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ── Process Steps Section ───────────────────────────────────── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.process-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(15, 44, 89, 0.12);
}

.process-step-num {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2);
}

.process-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.process-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.process-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ── FAQ Accordion Section ────────────────────────────────────── */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 32px;
    box-shadow: var(--shadow-card);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.faq-question:hover {
    color: var(--primary-hover);
}

.faq-icon-toggle {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    font-family: monospace;
    font-weight: bold;
}

.faq-item.active .faq-icon-toggle {
    transform: rotate(45deg); /* Rotates the + to x or similar */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Responsive FAQ and Process */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .faq-accordion {
        padding: 12px 20px;
    }
    .faq-question {
        font-size: 15px;
        padding: 20px 0;
    }
}

/* ── Hero Video & Pulse Dot ─────────────────────────────────── */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 4px solid #FFFFFF;
    background-color: var(--primary-color);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 44, 89, 0.9);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 5;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ── Plant Gallery & Info Layout ────────────────────────────── */
.plant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.plant-info-content {
    display: flex;
    flex-direction: column;
}

.info-block {
    margin-bottom: 28px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block-icon {
    font-size: 20px;
}

.info-block p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.info-list li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.info-list-icon {
    color: var(--success-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* Gallery Grid */
.plant-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    position: relative;
    height: 280px;
}

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

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    height: 140px;
}

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

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

@media (max-width: 992px) {
    .plant-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .main-gallery-item {
        height: 240px;
    }
}

/* Media Section Tabs */
.media-tabs {
    display: flex;
    gap: 12px;
}

.media-tab-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.media-tab-btn:hover:not(.active) {
    background: var(--border-subtle);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.media-tab-btn.active {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

/* Video Player Card */
.video-player-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    background: #000;
    height: 436px;
    position: relative;
}

.video-player-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-content-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.media-content-pane.active {
    display: block;
}

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

@media (max-width: 992px) {
    .video-player-card {
        height: 320px;
    }
}

/* Stages Control Tab Grid */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    height: 436px; /* Matches the gallery/video height */
}

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

.stage-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-color);
}

.stage-img-wrap {
    height: 120px;
    overflow: hidden;
    position: relative;
    background: #000;
}

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

.stage-card:hover .stage-img-wrap img {
    transform: scale(1.05);
}

.stage-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stage-card-body h4 {
    font-size: 14.5px;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.stage-card-body p {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Video Sources Picker */
.video-sources-picker {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.video-src-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-src-btn:hover:not(.active) {
    background: var(--bg-app);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.video-src-btn.active {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .stages-grid {
        height: auto;
        grid-template-columns: 1fr;
    }
    .stage-img-wrap {
        height: 160px;
    }
}

/* ── Dark Mode for Booking Modal (Turnero) ───────────────────── */
#booking-modal {
    --bg-app:               #090D16; /* Deep dark blue-black background */
    --bg-surface:           #131B2E; /* Slate dark surface */
    --bg-card:              #1E293B; /* Slightly lighter slate for cards */
    --bg-card-hover:        #29354F;
    --bg-input:             #090D16;
    --bg-accent-soft:       rgba(56, 189, 248, 0.1);
    
    --primary-color:        #38BDF8; /* sky-500 brand color inside dark mode */
    --primary-hover:        #7DD3FC;
    --primary-glow:         rgba(56, 189, 248, 0.2);
    
    --border-color:         #334155; /* Slate 700 borders */
    --border-subtle:        #1E293B;
    --border-focus:         #38BDF8;
    
    --text-primary:         #F8FAFC; /* Slate 50 white text */
    --text-secondary:       #94A3B8; /* Slate 400 muted text */
    --text-muted:           #64748B; /* Slate 500 */
    --text-white:           #F8FAFC;
    
    --status-disp-bg:       #1E293B;
    --status-disp-border:   #334155;
    --status-disp-text:     #94A3B8;
    
    --status-asig-bg:       rgba(14, 165, 233, 0.15);
    --status-asig-border:   rgba(14, 165, 233, 0.3);
    --status-asig-text:     #38BDF8;
    
    --status-conf-bg:       rgba(245, 158, 11, 0.15);
    --status-conf-border:   rgba(245, 158, 11, 0.3);
    --status-conf-text:     #FBBF24;
    
    --status-canc-bg:       rgba(239, 68, 68, 0.15);
    --status-canc-border:   rgba(239, 68, 68, 0.3);
    --status-canc-text:     #FCA5A5;
}

#booking-modal .calendar-day.has-slots:not(.disabled):not(.selected) {
    background-color: rgba(13, 148, 136, 0.15);
    border-bottom: 2px solid #2dd4bf;
    color: #2dd4bf;
}

#booking-modal .calendar-day.has-slots:not(.disabled):not(.selected):hover {
    background-color: rgba(13, 148, 136, 0.3);
    color: #5eead4;
}

#booking-modal .checkmark {
    background-color: #090D16;
    border: 2px solid #38BDF8; /* Borde celeste brillante muy visible */
}

#booking-modal .custom-checkbox:hover input ~ .checkmark {
    background-color: #1E293B;
    border-color: #7DD3FC;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

#booking-modal input,
#booking-modal select {
    color: #F8FAFC;
}

#booking-modal input::placeholder {
    color: #475569;
}

#booking-modal select option {
    background-color: #131B2E;
    color: #F8FAFC;
}

#booking-modal .close-modal-btn:hover {
    background-color: #1E293B;
    color: #F8FAFC;
}

#booking-modal .ticket-body {
    background-color: #090D16;
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid #1E293B;
}

#booking-modal .ticket-row strong {
    color: #38BDF8;
}

#booking-modal .reschedule-input-wrap input {
    background-color: #090D16;
    color: #F8FAFC;
}

#booking-modal .recap-policy {
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38BDF8;
}

#booking-modal .policy-icon {
    color: #38BDF8;
}

