/*
 * VisionCare Eye Clinic - Main Stylesheet
 * Modern, professional design with medical-grade aesthetics
 */

/* =============================================
   CSS CUSTOM PROPERTIES (Variables)
   ============================================= */
:root {
    /* Color Palette */
    --primary: #0A2647;
    --primary-light: #144272;
    --secondary: #2C74B3;
    --accent: #00D9FF;
    --accent-glow: rgba(0, 217, 255, 0.3);

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Layout */
    --container-max: 1280px;
    --header-height: 80px;
}

/* =============================================
   CSS RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.section-label i {
    color: var(--accent);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-500);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-2);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(44, 116, 179, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 116, 179, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--primary);
    font-weight: 700;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--primary);
}

.nav-logo i {
    font-size: var(--text-2xl);
    color: var(--accent);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link i {
    font-size: var(--text-sm);
    opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    background: var(--gray-50);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--gray-600);
    background: var(--gray-50);
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
}

.nav-icon-btn:hover {
    color: var(--secondary);
    background: var(--gray-100);
}

.nav-toggle {
    display: none;
    font-size: var(--text-xl);
    color: var(--primary);
    padding: var(--space-2);
}

.nav-close {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: var(--space-20) var(--space-8);
        transition: right var(--transition-slow);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .nav-link {
        padding: var(--space-4);
        font-size: var(--text-lg);
    }

    .nav-close {
        display: flex;
        position: absolute;
        top: var(--space-6);
        right: var(--space-6);
        font-size: var(--text-2xl);
        color: var(--gray-500);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-btn span {
        display: none;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-bg video,
.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 38, 71, 0.9) 0%, rgba(20, 66, 114, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: var(--header-height);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--gray-300);
    margin-bottom: var(--space-8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Floating Elements */
.hero-floating {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: none;
}

@media (min-width: 1200px) {
    .hero-floating {
        display: block;
    }
}

.hero-float-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    animation: float 6s ease-in-out infinite;
}

.hero-float-card:nth-child(2) {
    animation-delay: -2s;
    margin-left: var(--space-12);
}

.hero-float-card:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
    padding: var(--space-16) 0;
}

.services-slider {
    position: relative;
    padding: 0;
    margin: 0 -15px;
}

.services-slider-container {
    overflow: hidden;
    padding: 0 80px;
}

.services-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-slide {
    flex: 0 0 100%;
    padding: 0 var(--space-4);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .service-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .service-slide {
        flex: 0 0 33.333%;
    }
}

.services-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.services-prev,
.services-next {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--primary);
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.services-prev:hover,
.services-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.services-slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.services-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.services-slider-dots .dot.active {
    background: var(--secondary);
    width: 30px;
}

/* Keep grid for backwards compatibility */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-xl);
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.service-content {
    padding: var(--space-6);
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-description {
    color: var(--gray-500);
    margin-bottom: var(--space-4);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--secondary);
    font-weight: 600;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* =============================================
   DOCTORS SECTION
   ============================================= */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.doctor-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-xl);
}

.doctor-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(to top, rgba(10, 38, 71, 0.9), transparent);
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.doctor-card:hover .doctor-social {
    opacity: 1;
    transform: translateY(0);
}

.doctor-social a {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.doctor-social a:hover {
    background: var(--accent);
    color: var(--primary);
}

.doctor-content {
    padding: var(--space-6);
}

.doctor-name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.doctor-specialty {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.doctor-qualifications {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%;
    }
}

.testimonial-inner {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-quote {
    font-size: var(--text-3xl);
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.testimonial-text {
    font-size: var(--text-lg);
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-info h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.testimonial-info span {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.star-rating {
    color: var(--warning);
    margin-top: var(--space-1);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.testimonials-nav button {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.testimonials-nav button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 38, 71, 0.8), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--white);
    font-weight: 600;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.faq-item.active .faq-icon {
    background: var(--secondary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-label span {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-error {
    color: var(--error);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-5);
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #B91C1C;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1D4ED8;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-close {
    margin-left: auto;
    font-size: var(--text-xl);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.alert-close:hover {
    opacity: 1;
}

.flash-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-4));
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 100%;
    max-width: 500px;
    padding: 0 var(--space-4);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gray-900) 100%);
    color: var(--gray-300);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    color: var(--white);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    padding: var(--space-24) 0 var(--space-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.footer-logo i {
    color: var(--accent);
}

.footer-tagline {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.footer-description {
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-5);
}

.footer-menu li {
    margin-bottom: var(--space-3);
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.footer-menu a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--accent);
    padding-left: var(--space-3);
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.contact-list i {
    color: var(--accent);
    margin-top: 4px;
}

.contact-list a:hover {
    color: var(--accent);
}

.emergency-box {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-top: var(--space-6);
}

.emergency-box i {
    font-size: var(--text-2xl);
    color: #FCA5A5;
}

.emergency-box span {
    display: block;
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.emergency-box a {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: var(--text-sm);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* =============================================
   PAGE PRELOADER
   ============================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white);
}

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
}

.preloader-logo i {
    font-size: var(--text-5xl);
    color: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    animation: spin 1s linear infinite;
}

.preloader-text {
    font-size: var(--text-sm);
    opacity: 0.8;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* =============================================
   FLOATING ACTION BUTTONS
   ============================================= */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    z-index: 98;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.call-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.btn-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gray-800);
    color: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    white-space: nowrap;
    margin-right: var(--space-3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--gray-800);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-4) var(--space-6);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cookie-content>i {
    font-size: var(--text-2xl);
    color: var(--secondary);
}

.cookie-content p {
    flex: 1;
    min-width: 200px;
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.cookie-actions {
    display: flex;
    gap: var(--space-2);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* =============================================
   ENHANCED BUTTON ANIMATIONS
   ============================================= */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* =============================================
   EMERGENCY STICKY BANNER
   ============================================= */
.emergency-banner {
    background: linear-gradient(90deg, var(--error) 0%, #DC2626 100%);
    color: var(--white);
    padding: var(--space-2) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9997;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.emergency-banner.hidden {
    transform: translateY(-100%);
}

.emergency-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.emergency-left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.emergency-left i {
    font-size: var(--text-xl);
    animation: pulse 1.5s ease-in-out infinite;
}

.emergency-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.emergency-call-btn {
    background: var(--white);
    color: var(--error);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.emergency-call-btn:hover {
    background: var(--gray-100);
    transform: scale(1.05);
}

.emergency-close {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: var(--space-2);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.emergency-close:hover {
    opacity: 1;
}

/* Adjust header position when emergency banner is visible */
body.has-emergency-banner .header {
    top: 40px;
}

body.has-emergency-banner .scroll-progress {
    top: 40px;
}

/* =============================================
   SOCIAL SHARE SIDEBAR
   ============================================= */
.social-share-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: var(--shadow-lg);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    z-index: 97;
    transition: transform 0.3s ease;
}

.social-share-sidebar:hover {
    transform: translateY(-50%) translateX(0);
}

.share-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: var(--space-2);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.share-btn:hover {
    transform: scale(1.15);
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.linkedin {
    background: #0A66C2;
}

.share-btn.copy {
    background: var(--gray-600);
}

.share-btn.copied {
    background: var(--success);
}

/* =============================================
   BREADCRUMB NAVIGATION
   ============================================= */
.breadcrumb {
    padding: var(--space-4) 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    font-size: var(--text-sm);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.breadcrumb-item a {
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--secondary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--gray-400);
}

/* =============================================
   INTERACTIVE MAP
   ============================================= */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 38, 71, 0.9), transparent);
    padding: var(--space-6);
    color: var(--white);
}

.map-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.map-info-item i {
    color: var(--accent);
}

.map-directions-btn {
    background: var(--accent);
    color: var(--primary);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
    margin-top: var(--space-4);
}

.map-directions-btn:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* =============================================
   VIDEO PLAYER
   ============================================= */
.video-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container video {
    width: 100%;
    display: block;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--primary);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.video-thumbnail:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent);
}

.video-info {
    padding: var(--space-4);
    background: var(--white);
}

.video-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.video-duration {
    font-size: var(--text-sm);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: var(--text-2xl);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.video-modal-close:hover {
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .emergency-banner-content {
        justify-content: center;
        text-align: center;
    }

    .social-share-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: var(--space-2) var(--space-4);
    }

    .share-label {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
        margin-right: var(--space-2);
    }

    .map-container {
        height: 300px;
    }
}

/* =============================================
   NEWSLETTER MODAL
   ============================================= */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 38, 71, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.newsletter-modal.show {
    opacity: 1;
    visibility: visible;
}

.newsletter-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.newsletter-modal.show .newsletter-content {
    transform: scale(1) translateY(0);
}

.newsletter-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.newsletter-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.newsletter-body {
    text-align: center;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: var(--text-3xl);
    color: var(--white);
}

.newsletter-body h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    color: var(--primary);
}

.newsletter-body>p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-note {
    font-size: var(--text-xs);
    color: var(--gray-400);
}

/* =============================================
   IMAGE LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: var(--space-4);
    font-size: var(--text-base);
}

/* =============================================
   RESPONSIVE ADJUSTMENTS FOR NEW FEATURES
   ============================================= */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 80px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: var(--text-lg);
    }

    .btn-tooltip {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
}

/* =============================================
   PREFERS REDUCED MOTION
   ============================================= */
/* =============================================
   CONSOLIDATED PAGE HERO (shared by inner pages)
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,217,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-3);
}

/* =============================================
   DARK MODE
   ============================================= */
body.dark-mode {
    --white: #0F172A;
    --gray-50: #1E293B;
    --gray-100: #1E293B;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #94A3B8;
    --gray-500: #CBD5E1;
    --gray-600: #E2E8F0;
    --gray-700: #F1F5F9;
    --gray-800: #F8FAFC;
    --gray-900: #FFFFFF;
    background-color: #0F172A;
}

body.dark-mode .header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(255,255,255,0.05);
}

body.dark-mode .nav-logo { color: #F8FAFC; }

body.dark-mode .service-card,
body.dark-mode .doctor-card,
body.dark-mode .testimonial-inner,
body.dark-mode .faq-item {
    background: #1E293B;
    border-color: #334155;
}

body.dark-mode .footer {
    background: linear-gradient(135deg, #020617 0%, #0F172A 100%);
}

body.dark-mode .cookie-banner {
    background: #1E293B;
}

body.dark-mode .btn-secondary {
    background: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}

body.dark-mode #darkModeToggle i::before {
    content: "\f185";
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .header, .footer, .floating-buttons, .social-share-sidebar,
    .cookie-banner, .emergency-banner, .back-to-top, .scroll-progress,
    .nav-actions, .btn { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .page-hero { background: #f0f0f0 !important; -webkit-print-color-adjust: exact; }
    .page-title { color: #000 !important; -webkit-text-fill-color: #000 !important; }
    .appointment-confirmation { border: 2px solid #000; padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}