/**
 * Instituto Talentos do Morro - Stylesheet
 * Design: Preto #0A0A0A + Dourado #E5A623
 * Fontes: Montserrat + Open Sans
 */

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

:root {
    --primary-black: #0A0A0A;
    --primary-gold: #E5A623;
    --gold-light: #F4C95D;
    --gold-dark: #B8860B;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E0E0E0;
    --gray-300: #BDBDBD;
    --gray-600: #757575;
    --gray-800: #424242;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-black);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--gold-dark);
}

/* ===== HEADER - CORREÇÃO DE ALINHAMENTO ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: var(--primary-black);
    box-shadow: var(--shadow-md);
    height: 70px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    height: 100%;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

/* ===== NAVIGATION - ALINHAMENTO CORRETO ===== */
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
    background: transparent;
}

/* Dropdown */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-black);
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    border-top: 3px solid var(--primary-gold);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    height: auto;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--white);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: none;
    height: auto;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(229, 166, 35, 0.15);
    color: var(--primary-gold);
    padding-left: 1.5rem;
}

/* Botão Entrar */
.btn-login {
    background: var(--primary-gold);
    color: var(--primary-black) !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    margin-left: 0.5rem;
    border-bottom: none !important;
    height: auto !important;
}

.btn-login:hover {
    background: var(--gold-light);
    color: var(--primary-black) !important;
    border-bottom: none !important;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0 0.75rem;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .header {
        height: 70px;
    }

    .nav-link {
        padding: 0 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-black);
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        z-index: 999;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: 100%;
    }

    .nav-list > li {
        height: auto;
        width: 100%;
    }

    .nav-link {
        height: auto;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border: none;
        width: 100%;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .btn-login {
        margin: 1rem 0;
        width: 100%;
        justify-content: center;
    }
}
/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23E5A623" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.stat-label {
    color: var(--white);
    font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--primary-black);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

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

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: var(--gray-100);
    border-radius: 12px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--gray-300);
    font-size: 1.5rem;
    border: 2px dashed var(--gray-200);
}

.image-placeholder.large {
    height: 500px;
}

.about-content .lead-text {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.contact-info-box {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info-box h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.project-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Projects Page */
.projects-detailed-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-detailed-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-detailed-card .project-image {
    height: 100%;
    min-height: 300px;
}

.project-detailed-card .project-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.project-info {
    padding: 2rem;
}

.project-tag {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-details {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.detail-item {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--gray-300);
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-black);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    background: var(--primary-black);
    color: var(--white);
}

.impact-section .section-title {
    color: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.impact-item {
    padding: 2rem;
}

.impact-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--primary-black);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn-secondary {
    border-color: var(--primary-black);
    color: var(--primary-black);
}

.cta-buttons .btn-secondary:hover {
    background: var(--primary-black);
    color: var(--primary-gold);
}

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

.course-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin-bottom: 0.5rem;
}

.course-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    flex-grow: 1;
}

.course-meta {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.course-meta span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status.open {
    background: #d4edda;
    color: #155724;
}

.status.waiting {
    background: #fff3cd;
    color: #856404;
}

.status.closed {
    background: #f8d7da;
    color: #721c24;
}

/* ===== SOCIAL ACTIONS ===== */
.social-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.action-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.action-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--white);
}

.action-card.featured h3 {
    color: var(--primary-gold);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 1rem;
}

.action-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.action-card.featured .action-details {
    border-color: rgba(255,255,255,0.2);
}

/* ===== EVENTS ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: var(--primary-gold);
    color: var(--primary-black);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.event-date.past {
    background: var(--gray-300);
}

.event-date .day {
    font-size: 2rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-info {
    flex-grow: 1;
}

.event-category {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-info h3 {
    margin-bottom: 0.5rem;
}

.event-info p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.annual-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.annual-event {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.annual-event h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

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

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-image {
    height: 200px;
}

.blog-card.featured .blog-image {
    height: 100%;
}

.blog-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-content h2,
.blog-content h3 {
    margin-bottom: 0.75rem;
}

.blog-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-black);
}

/* ===== NEWSLETTER ===== */
.newsletter-box {
    background: var(--primary-black);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.newsletter-box h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

/* ===== PARTNERS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.partner-card h3 {
    margin-bottom: 0.75rem;
}

.partner-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.partner-type {
    display: inline-block;
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.partner-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.partner-cta-content h2 {
    margin-bottom: 1rem;
}

.partner-benefits {
    list-style: none;
    margin: 2rem 0;
}

.partner-benefits li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.partner-cta-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.partner-cta-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.transparency-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.transparency-card:hover {
    border-color: var(--primary-gold);
}

.transparency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.transparency-card h3 {
    margin-bottom: 0.75rem;
}

.transparency-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.public-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.info-block h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.info-table td:first-child {
    font-weight: 600;
    width: 30%;
    color: var(--gray-800);
}

.stats-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-row span:first-child {
    min-width: 200px;
}

.bar {
    flex-grow: 1;
    height: 24px;
    background: var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
}

.bar div {
    height: 100%;
    background: var(--primary-gold);
    border-radius: 12px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    margin-top: 2rem;
}

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

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--primary-black);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(229, 166, 35, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
}

.map-section {
    padding-top: 0;
}

.map-placeholder {
    background: var(--gray-100);
    height: 400px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--gray-600);
    text-align: center;
}

.map-placeholder span {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    text-decoration: none;
}

.auth-logo .logo-icon {
    color: var(--primary-gold);
}

.auth-logo .logo-text {
    color: var(--primary-black);
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-box > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.remember input {
    width: auto;
}

.forgot-link {
    color: var(--primary-gold);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    position: relative;
    background: var(--white);
    padding: 0 1rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.auth-links {
    text-align: center;
}

.auth-links p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.auth-links .btn {
    margin-bottom: 0.5rem;
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.auth-footer a {
    color: var(--gray-600);
}

.auth-footer a:hover {
    color: var(--primary-gold);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--primary-black);
    padding: 8rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    color: var(--gray-300);
}

.breadcrumb a {
    color: var(--primary-gold);
}

/* ===== TIMELINE ===== */
.timeline-section {
    background: var(--gray-100);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-gold);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-black);
}

.timeline-content {
    width: 80%;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

/* ===== MVV ===== */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mvv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mvv-card.full-width {
    grid-column: 1 / -1;
}

.mvv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mvv-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

.valor-item {
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.valor-item strong {
    display: block;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
}

.valor-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ===== TEAM ===== */
.team-section {
    background: var(--gray-100);
}

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

.team-card {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-200);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== LEGAL PAGES ===== */
.legal-section {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    margin-bottom: 0.5rem;
}

.legal-date {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-text {
    color: var(--gray-300);
    margin-top: 1rem;
    font-size: 0.95rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-300);
}

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

.footer-contact p {
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-gold);
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert-info {
    background: #cce5ff;
    color: #004085;
}

.alert-icon {
    font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .partner-cta {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .project-detailed-card {
        grid-template-columns: 1fr;
    }

    .project-detailed-card .project-image {
        min-height: 200px;
    }

    .blog-card.featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-black);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .event-card {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 3rem 0;
    }

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

    .cta-buttons {
        flex-direction: column;
    }
}
