/* MAIN CSS - COCHE ESCUELA ANDRÉS */

/* --- CSS VARIABLES --- */
:root {
    --primary: #b3a925;
    /* Amber 600 - más oscuro y legible */
    --primary-hover: #b49a09;
    --primary-light: rgba(217, 119, 6, 0.15);
    --dark: #0f172a;
    --dark-lighter: #334155;
    --dark-border: #1e293b;
    --text-muted: #64748b;
    --light: #FFFFFF;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASESTYLES --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-lighter);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Prevenir scroll extraño cuando carga */
body.loading {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

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

.loader-wheel {
    width: 60px;
    height: 60px;
    border: 5px dashed var(--primary);
    border-radius: 50%;
    animation: spin 3s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --- ANIMATIONS FRAMEWORK --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-left {
    transform: translateX(-40px);
}

.reveal.fade-right {
    transform: translateX(40px);
}

.reveal.zoom-in {
    transform: scale(0.9);
}

.reveal.zoom-out {
    transform: scale(1.1);
}

.reveal.active.fade-left,
.reveal.active.fade-right {
    transform: translateX(0);
}

.reveal.active.zoom-in,
.reveal.active.zoom-out {
    transform: scale(1);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Custom Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0px rgba(217, 119, 6, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(217, 119, 6, 0);
    }
}

@keyframes scroll-down {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 9999px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--dark);
    color: var(--light);
}

.btn-secondary:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    transform: translateY(-3px);
}


/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: var(--transition-fast);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.logo-container:hover .logo-img {
    transform: scale(1.05) rotate(-3deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition-normal);
    border-radius: 3px;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--dark);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-shapes, #tsparticles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

#tsparticles {
    pointer-events: auto; /* Allow particle interaction */
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    animation: float 12s ease-in-out infinite;
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #ffeba1;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-content h1 span {
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.hero-content h1 span::before {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -2%;
    width: 104%;
    height: 0.3em;
    background: var(--primary);
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    color: var(--dark-lighter);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-visuals-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-large-logo {
    max-width: 90%;
    width: 320px; /* Reduced from 420px to make room for widget */
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    animation: float 8s ease-in-out infinite;
}

/* Instagram Hero Widget (Node.js style aesthetics) */
.insta-hero-widget {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(217, 119, 6, 0.1);
    transition: var(--transition-normal);
}

.insta-hero-widget:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 60px rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.insta-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.insta-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.insta-info h5 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.insta-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.insta-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

/* --- STATS SECTION --- */
.stats {
    padding: 4rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(229, 231, 235, 0.5);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    display: inline-block;
    color: var(--dark);
}

.stat-item span {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.stat-item p {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}


/* --- SERVICES --- */
.services {
    padding: 2rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-light);
    color: #b38600;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    color: var(--dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-lighter);
}

.features-list i {
    color: var(--primary);
    margin-top: 0.15rem;
    background: var(--dark);
    border-radius: 50%;
    color: var(--primary);
    padding: 2px;
}

/* --- RANDOM FADER GALLERY --- */
.gallery {
    padding: 2rem 0;
    background: var(--dark);
    color: var(--light);
    overflow: hidden;
}

.gallery .section-header h2 {
    color: var(--light);
}

.random-fader {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #111;
    box-shadow: 0 30px 60px rgba(0,0,0, 0.4);
}

.fader-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 4s linear;
}

.fader-image.active {
    opacity: 1;
    transform: scale(1);
}

.fader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.fader-overlay h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 8rem 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.stars {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--dark-lighter);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.25rem;
}

/* --- FAQ ACCORDION --- */
.faq {
    padding: 8rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--light);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-fast);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--light);
}

.accordion-content p {
    padding: 0 2rem 1.5rem;
    color: var(--dark-lighter);
}

.accordion-item.active {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}


/* --- CONTACT SECTION --- */
.contact {
    padding: 8rem 0;
    background: var(--light);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    width: 100%;
    max-width: 600px;
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 4rem;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
}

.contact-info h2 {
    color: var(--light);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.info-item:hover .info-icon {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
}

.info-content h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
    color: #94a3b8;
    transition: var(--transition-fast);
}

.info-content a:hover {
    color: var(--primary);
}

.map-wrapper {
    width: 100%;
    height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) opacity(0.8);
    transition: var(--transition-slow);
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) opacity(1);
}


/* --- FOOTER --- */
footer {
    background: #020617;
    color: #e2e8f0;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--light);
    margin-bottom: 1rem;
    display: block;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-glow 2s infinite;
    z-index: -1;
}

.whatsapp-float::after {
    animation-delay: 1s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-10deg);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    .hero-wrapper,
    .contact-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 span::before {
        left: 0;
        width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .map-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--light);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 10rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }
}