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

:root {
    --blue-primary: #003865;
    --blue-dark: #002a4e;
    --blue-light: #0a5a9e;
    --gold: #F7A81B;
    --gold-hover: #e69a10;
    --white: #ffffff;
    --gray-light: #f5f6f8;
    --gray-medium: #e0e3e8;
    --gray-text: #6b7280;
    --dark: #1a1a2e;
    --text: #333333;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 56, 101, 0.08);
    --shadow-hover: 0 8px 32px rgba(0, 56, 101, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

ul {
    list-style: none;
}

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

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--gray-medium);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

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

.nav-logo img {
    height: 52px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue-primary);
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gray-light);
    color: var(--blue-light);
}

.nav-links .btn-nav {
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    margin-left: 8px;
}

.nav-links .btn-nav:hover {
    background: var(--gold-hover);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--blue-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 56, 101, 0.1) 0%,
        rgba(0, 56, 101, 0.25) 20%,
        rgba(0, 42, 78, 0.7) 45%,
        rgba(0, 42, 78, 0.88) 70%,
        rgba(26, 26, 46, 0.94) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 24px 80px;
    will-change: transform, opacity;
}

.hero-logo {
    width: 280px;
    margin: 0 auto 32px;
    filter: brightness(0) invert(1);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 12px;
}

.hero .district {
    font-size: 0.95rem;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-lema {
    width: 220px;
    margin: 0 auto 40px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247, 168, 27, 0.35);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    margin-left: 16px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-primary);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-light);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--blue-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin-bottom: 56px;
}

.section-center {
    text-align: center;
}

.section-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT / QUIENES SOMOS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4a4a5a;
}

.about-text .highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-primary);
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    margin: 32px 0;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== STATS ===== */
.stats {
    background: var(--blue-primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ===== AREAS DE ENFOQUE - CAROUSEL ===== */
.carousel-wrapper {
    position: relative;
    padding: 0 56px;
    max-width: 1320px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 24px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.area-card-img {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.area-card-img:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: var(--shadow-hover);
}

.area-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transform: translateZ(0);
}

.area-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--white) 0%, rgba(255,255,255,0) 100%);
}

.area-card-content {
    padding: 0 24px 28px;
    text-align: center;
    position: relative;
    margin-top: -20px;
    z-index: 1;
}

.area-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 10px;
}

.area-card-content p {
    font-size: 0.88rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-medium);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-btn:hover {
    border-color: var(--blue-primary);
    background: var(--blue-primary);
}

.carousel-btn:hover svg {
    color: var(--white);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    color: var(--blue-primary);
}

.carousel-btn-prev {
    left: 8px;
}

.carousel-btn-next {
    right: 8px;
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 16px;
    }

    .area-card-img {
        flex: 0 0 260px;
    }

    .carousel-btn {
        display: none;
    }
}

/* ===== ALIADOS INSTITUCIONALES ===== */
.aliados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: stretch;
}

.aliado-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.aliado-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.aliado-card img {
    height: 72px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.aliado-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-primary);
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .aliados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .aliados-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .aliado-card {
        padding: 20px 16px;
    }

    .aliado-card img {
        height: 56px;
    }
}

/* ===== DIRECTORIO ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 4px;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

/* ===== REUNIONES ===== */
.meeting-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    border-top: 4px solid var(--gold);
}

.meeting-card h3 {
    font-size: 1.4rem;
    color: var(--blue-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.meeting-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #4a4a5a;
}

.meeting-detail svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--gold);
}

/* ===== CONTACTO ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--blue-primary);
}

.contact-item h4 {
    font-size: 0.95rem;
    color: var(--blue-primary);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--gray-text);
}

.contact-item a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--blue-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* ===== FORMS ===== */
.form-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--gray-light);
    border-radius: 10px;
    padding: 4px;
}

.form-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-text);
    border-radius: 8px;
    transition: all var(--transition);
    font-family: inherit;
}

.form-tab.active {
    background: var(--white);
    color: var(--blue-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-panel {
    display: none;
}

.form-panel.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--blue-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-brand img {
    height: 48px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.7;
    max-width: 320px;
}

.footer h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
    transition: all var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ===== RELOJ SOLAR PAGE ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-hero .hero-bg::after {
    background: linear-gradient(
        180deg,
        rgba(0, 56, 101, 0.7) 0%,
        rgba(0, 42, 78, 0.85) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.85;
}

/* Reloj Solar Content */
.reloj-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.reloj-intro img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.reloj-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.spec-item {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.spec-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue-primary);
}

.spec-item p {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-top: 4px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* News/Press */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.news-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-header img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--blue-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-card .news-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-primary);
    transition: color var(--transition);
    margin-top: auto;
}

.news-card .news-link:hover {
    color: var(--gold);
}

/* ===== AMIGOS / EN DESARROLLO ===== */
.coming-soon {
    text-align: center;
    padding: 80px 24px;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.coming-soon-icon svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
}

.coming-soon h2 {
    font-size: 1.8rem;
    color: var(--blue-primary);
    margin-bottom: 16px;
}

.coming-soon p {
    font-size: 1.05rem;
    color: var(--gray-text);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid,
    .reloj-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        align-items: flex-start;
        gap: 4px;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-links .btn-nav {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-lema {
        width: 160px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 12px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .section {
        padding: 64px 0;
    }

    .meeting-card {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .reloj-specs {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 40px;
    }

    .nav {
        height: 64px;
    }

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

    .form-tabs {
        flex-direction: column;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== OVERLAY for mobile menu ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
