/* ========================================
   MÁS VISTA MÁS VIDA - CENTRO OFTALMOLÓGICO
   Modern & Professional Design with Animations
   ======================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    /* Colors */
    --primary: #0891B2; /* Cyan 600 */
    --primary-dark: #0E7490; /* Cyan 700 */
    --primary-light: #06B6D4; /* Cyan 500 */
    --secondary: #14B8A6; /* Teal 500 */
    --accent: #F59E0B; /* Amber 500 */
    
    --dark: #0F172A; /* Slate 900 */
    --dark-light: #1E293B; /* Slate 800 */
    --gray: #64748B; /* Slate 500 */
    --gray-light: #CBD5E1; /* Slate 300 */
    --gray-lighter: #F1F5F9; /* Slate 100 */
    
    --white: #FFFFFF;
    --success: #10B981; /* Green 500 */
    --error: #EF4444; /* Red 500 */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0891B2 0%, #14B8A6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(8, 145, 178, 0.95) 0%, rgba(20, 184, 166, 0.9) 100%);
    --gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

/* ========== FLOATING BUTTONS ========== */
.whatsapp-float,
.phone-float {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    box-shadow: var(--shadow-2xl);
    z-index: 9999;
    transition: all var(--transition-normal);
    animation: pulse-float 2s infinite;
}

.whatsapp-float {
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.phone-float {
    right: 110px;
    background: var(--gradient-primary);
}

.whatsapp-float:hover,
.phone-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

@keyframes pulse-float {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========== HEADER / NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 20px;
    color: var(--primary);
    font-weight: 800;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA Button */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Hero Content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: slide-in-left 0.6s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: slide-in-left 0.8s ease;
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
    animation: slide-in-left 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: slide-in-left 1.2s ease;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    animation: slide-in-left 1.4s ease;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.stat-label i {
    color: var(--accent);
    font-size: 12px;
}

/* Hero Image */
.hero-image {
    animation: slide-in-right 1s ease;
}

.image-card {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slide-in-bottom 1.5s ease;
}

.image-badge i {
    color: var(--primary);
    font-size: 24px;
}

.image-badge span {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-bottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== PROMISE SECTION ========== */
.promise-section {
    padding: 60px 0;
}

.promise-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.promise-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.promise-content {
    flex: 1;
}

.promise-title {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.promise-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.promise-decoration {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.decoration-circle {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-description {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

/* Service Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-full);
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    display: none;
}

.service-card[data-category="ninos"] {
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dark);
}

.service-description {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.service-link:hover {
    gap: 12px;
}

/* ========== DOCTORS SECTION ========== */
.doctors-section {
    padding: var(--section-padding);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-social {
    display: flex;
    gap: 15px;
}

.doctor-social a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition-normal);
}

.doctor-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.doctor-info {
    padding: 30px;
    text-align: center;
}

.doctor-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.doctor-specialty {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.doctor-sub-specialty {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.doctor-credentials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.doctor-credentials span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray);
    padding: 6px 12px;
    background: var(--gray-lighter);
    border-radius: var(--radius-full);
}

.doctor-credentials i {
    color: var(--accent);
}

/* ========== APPOINTMENT SECTION ========== */
.appointment-section {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Appointment Info */
.appointment-benefits {
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.benefit-text p {
    color: var(--gray);
    font-size: 15px;
}

.contact-alternatives {
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-alternatives p {
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Appointment Form */
.appointment-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-2xl);
    position: sticky;
    top: 100px;
}

.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-lighter);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 33.33%;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-lighter);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition-normal);
}

.step.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fade-in 0.4s ease;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.time-slot:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.time-slot.selected {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions button {
    flex: 1;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 40px;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.form-success p {
    color: var(--gray);
    margin-bottom: 20px;
}

.success-details {
    background: var(--gray-lighter);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: var(--section-padding);
}

.stars-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.stars-rating i {
    color: var(--accent);
    font-size: 24px;
}

.rating-text {
    color: var(--gray);
    font-size: 16px;
    margin-left: 10px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 14px;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
}

/* ========== FACILITIES SECTION ========== */
.facilities-section {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.facility-card:hover img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: var(--gradient-overlay);
    transition: var(--transition-normal);
}

.facility-card:hover .facility-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 145, 178, 0.95) 100%);
}

.facility-overlay h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

/* Map */
.contact-map {
    position: relative;
    height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.map-wrapper {
    width: 100%;
    height: 100%;
}

.map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
}

.map-badge i {
    color: var(--primary);
    font-size: 20px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.8;
    margin: 20px 0;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 15px;
    transition: var(--transition-normal);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--gray-light);
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }
    
    .appointment-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Typography */
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }
    
    /* Hero */
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Promise */
    .promise-card {
        flex-direction: column;
        text-align: center;
        padding: 35px;
    }
    
    .promise-decoration {
        display: none;
    }
    
    /* Services */
    .services-tabs {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .form-row,
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Floating Buttons */
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
    }
    
    .phone-float {
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}
