/* San Diego Medical Service - Premium Corporate CSS */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    /* Color Palette Premium */
    --primary-navy: #1a2744;
    --primary-navy-light: #2d3e5f;
    --primary-orange: #E3702F;
    --primary-orange-light: #f4944f;
    --accent-gold: #d4a853;
    --accent-gold-light: #e8c878;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --white: #ffffff;
    --bg-cream: #fdfbf7;
    
    /* Legacy support */
    --primary-teal: var(--primary-orange);
    --primary-teal-light: var(--primary-orange-light);
    --primary-dark: var(--primary-navy);
    --primary-blue-light: var(--neutral-100);
    --bg-light: var(--neutral-50);
    --bg-white: var(--white);
    --bg-mid: var(--neutral-100);
    --text-dark: var(--neutral-800);
    --text-light: var(--neutral-500);
    --text-white: var(--white);
    --border-color: var(--neutral-200);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 80px rgba(0,0,0,0.16);
    --shadow-glow: 0 0 40px rgba(227, 112, 47, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

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

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800; 
    letter-spacing: -0.02em;
}
h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 700;
    letter-spacing: -0.01em;
}
h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem); 
    font-weight: 600;
}
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-navy);
}

/* Navigation */
.sd-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.sd-navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.sd-navbar-brand img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

.sd-navbar.scrolled .sd-navbar-brand img {
    height: 45px;
}

.sd-navbar-menu {
    display: flex;
    align-items: center;
}

.sd-navbar-nav {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Navbar toggler */

.sd-nav-link {
    color: var(--neutral-700);
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.sd-nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary-teal);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.sd-nav-link:hover,
.sd-nav-link.active {
    color: var(--primary-teal);
    background: rgba(13, 148, 136, 0.06);
}

.sd-nav-link:hover::after,
.sd-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
    background: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-navy);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-navy);
    transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler.active .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler.active .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 991px) {
    .sd-nav-link {
        padding: 1rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

/* Main Content */
.main-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

/* Hero Section - Premium Design */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-navy);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-orange);
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-overlay {
    display: none;
}

.hero-section.has-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 39, 68, 0.85);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(227, 112, 47, 0.15);
    border: 1px solid rgba(227, 112, 47, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-orange-light);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-orange-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--primary-orange);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: var(--primary-orange);
    opacity: 0.3;
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    font-family: 'DM Sans', sans-serif;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.scroll-down-btn {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons - Premium */
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c25a24 0%, var(--primary-teal) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.btn-secondary:hover {
    background: var(--accent-gold-light);
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.4);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-light {
    background-color: var(--neutral-50);
}

.section-dark {
    background-color: var(--primary-navy);
    color: var(--white);
}

.section-cream {
    background-color: var(--bg-cream);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-teal);
    margin-bottom: 1rem;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary-teal);
    opacity: 0.4;
}

.section-label::before {
    right: calc(100% + 15px);
}

.section-label::after {
    left: calc(100% + 15px);
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--neutral-500);
    line-height: 1.8;
}

/* Cards - Premium */
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--neutral-100);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
    font-size: 1.75rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

.service-card p {
    color: var(--neutral-500);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-card .card-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card .card-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* Feature Box */
.feature-box {
    background: var(--white);
    border-radius: 24px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
}

.feature-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Metrics */
.metric-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.metric-box:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.metric-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    font-family: 'DM Sans', sans-serif;
}

.metric-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin-top: 0.75rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .metric-box {
        padding: 1.5rem 1rem;
        overflow: hidden;
    }
    .metric-number {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .metric-label {
        font-size: 0.75rem;
    }
}

/* Service List - Premium */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
}

.service-list-item:hover {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.service-list-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-list-item:hover .service-list-icon {
    background: var(--primary-teal);
    color: white;
}

.service-list-content h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.service-list-content p {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 0;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.trust-badge i {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #c25a24 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Forms */
.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid var(--neutral-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--neutral-50);
}

.form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
    background: var(--white);
}

.form-select {
    padding: 1rem 1.25rem;
    border: 2px solid var(--neutral-200);
    border-radius: 12px;
    font-size: 1rem;
}

/* Contact */
.contact-info-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-item h6 {
    color: var(--neutral-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--neutral-800);
    font-weight: 500;
    margin-bottom: 0;
}

/* Footer - Premium */
.site-footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo-box {
    display: inline-block;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary-teal);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-teal-light);
    padding-left: 5px;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    color: var(--primary-teal-light);
    width: 20px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item a:hover {
    color: var(--primary-teal-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Trust Badges in Footer */
.footer-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-badge i {
    color: var(--accent-gold);
}

/* Back to Top */
.back-to-top-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.back-to-top-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.back-to-top-button.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Utility Classes */
.text-teal, .text-orange { color: var(--primary-orange) !important; }
.text-navy { color: var(--primary-navy) !important; }
.text-gold { color: var(--accent-gold) !important; }

.bg-teal, .bg-orange { background-color: var(--primary-orange) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }
.bg-cream { background-color: var(--bg-cream) !important; }

/* Responsive */
@media (max-width: 991px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-stat {
        text-align: left;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-stat-number {
        font-size: 1.25rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat {
        flex: 0 0 calc(33.333% - 1rem);
        text-align: center;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
    
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
}

/* Image Effects */
.img-premium {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: all 0.5s ease;
}

.img-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.img-hover-zoom {
    overflow: hidden;
    border-radius: 20px;
}

.img-hover-zoom img {
    transition: transform 0.6s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Image styles */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.img-shadow {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}

/* Selection */
::selection {
    background: var(--primary-teal);
    color: white;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Policy List */
.policy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

/* Privacy Policy specific fixes */
.policy-card {
    height: auto !important;
    min-height: auto;
}

.policy-card .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.policy-card h5,
.policy-card h4 {
    margin-bottom: 0.75rem;
}

.policy-card p {
    margin-bottom: 0.5rem;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

/* Print styles - prevent page breaks in policy cards */
@media print {
    .service-card {
        page-break-inside: avoid;
        page-break-after: auto;
        break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 1rem !important;
    }
    
    .service-card:last-child {
        page-break-after: avoid;
    }
    
    .policy-list li {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    .no-print {
        display: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Staff Image Box - Chi Siamo */
.staff-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-orange);
    z-index: 10;
    transition: width 0.3s ease;
}

.staff-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(227,112,47,0.1);
}

.staff-image-box:hover::before {
    width: 100%;
}

.staff-image-box img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}
