/* Vanguard Apex Legal - Complete CSS Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4A574;
    --dark-gold: #B8935F;
    --navy: #0F1B2E;
    --blue: #1C3659;
    --light-gray: #F8F9FA;
    --text-gray: #6C757D;
    --white: #FFFFFF;
    --accent: #E74C3C;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(212, 165, 116, 0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Header */
header {
    background: rgba(15, 27, 46, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

header.scrolled {
    background: rgba(15, 27, 46, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header-top {
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    padding: 0.5rem 0;
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-top-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    animation: rotateIcon 20s linear infinite;
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--gold);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--navy) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.nav-cta:hover::before {
    width: 300px;
    height: 300px;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15,27,46,0.95), rgba(28,54,89,0.9)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmZmZjEwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
    opacity: 0.3;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typed-text {
    color: var(--gold);
    position: relative;
}

.typed-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--navy);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.4);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.cta-secondary:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,165,116,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212,165,116,0.2);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-light {
    background: var(--light-gray);
}

h2 {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold), var(--gold));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    transform: scaleX(0);
    transition: transform 0.3s;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* About Page Styles */
.about-hero {
    margin-top: 100px;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, rgba(15,27,46,0.95), rgba(28,54,89,0.9)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920') center/cover;
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline {
    position: relative;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin: 50px 0;
    width: 50%;
    opacity: 0;
    animation: fadeInTimeline 1s ease forwards;
}

@keyframes fadeInTimeline {
    to {
        opacity: 1;
    }
}

.timeline-item:nth-child(odd) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-item-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    background-color: white;
    padding: 2rem;
    position: relative;
    width: 400px;
    max-width: 90%;
    transition: all 0.3s;
}

.timeline-item-content:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.timeline-item-content::after {
    content: ' ';
    background-color: white;
    position: absolute;
    width: 15px;
    height: 15px;
    top: calc(50% - 7.5px);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-item-content::after {
    left: -7.5px;
}

.timeline-item:nth-child(even) .timeline-item-content::after {
    right: -7.5px;
}

.timeline-item-content .year {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-item-content h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.timeline-item-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

.timeline-dot {
    background-color: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 12px);
    width: 25px;
    height: 25px;
    left: calc(50% - 12px);
    z-index: 100;
    box-shadow: 0 0 0 4px rgba(212,165,116,0.2);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(212,165,116,0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(212,165,116,0.1);
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(212,165,116,0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.team-member-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.team-member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(15,27,46,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-member:hover .team-member-image::after {
    opacity: 1;
}

/* Contact Form Animations */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,165,116,0.1);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold), var(--gold));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ripple 1.5s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1) rotate(10deg);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    z-index: 10000;
    transition: width 0.2s;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    z-index: 10000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.page-transition.active {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        margin-left: 0;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item-content::after {
        left: -7.5px !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }
}
/* Mejora para imágenes del equipo */
.team-member-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    /* Mejora la calidad de imagen */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background-attachment: scroll;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .team-member-image {
        height: 250px;
    }
}
/* Team member bio truncation */
.team-member-bio {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more-btn:hover {
    color: var(--dark-gold);
}

.team-member {
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    /* Header improvements */
    .header-top {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    nav {
        padding: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    /* Hero section */
    .hero {
        padding: 2rem 1rem;
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Team grid mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
        margin: 2rem auto 0;
    }
    
    /* Sections */
    section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
/* Contact Form Mobile Fix */
@media (max-width: 768px) {
    #contact .container > div:first-of-type {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    #contact .container > div > div {
        padding: 2rem !important;
    }
    
    /* Form inputs mobile optimization */
    #contact input,
    #contact select,
    #contact textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0.8rem !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    #contact form {
        width: 100% !important;
    }
}
/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    nav {
        position: relative;
        justify-content: flex-start; /* Cambiado de space-between */
        align-items: center;
    }
    .logo {
        margin-right: auto; /* Empuja el logo hacia la izquierda */
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(212,165,116,0.2);
        padding: 0.5rem 0;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        padding: 0.5rem;
        width: 100%;
    }
    
    .nav-cta {
        margin-top: 1rem !important;
        border-radius: 25px !important;
    }
}
/* Additional Mobile Improvements */
@media (max-width: 768px) {
    /* Hero section mobile */
    .hero {
        padding: 2rem 1rem;
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    /* Map mobile */
    #map {
        height: 300px !important;
        margin-top: 2rem !important;
    }
    
    /* Stats mobile */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Services mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Sections mobile */
    section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 60vh;
    }
}