* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
:root {
    --primary: #0D4B2E;
    --primary-light: #3FA53F;
    --secondary: #082E6B;
    --accent: #F2A900;
    --gray-bg: #F8FAFE;
    --gray-border: #eef2f6;
    --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-md: 0 20px 25px -12px rgba(0,0,0,0.08);
}

/* Structure full width */
.full-container {
    width: 100%;
}
.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* Header */
header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-border);
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    flex-wrap: wrap;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}
.logo-img {
    height: 70px;
    width: auto;
    border-radius: 50%;
    background: white;
    padding: 4px;
    border: 1px solid #e2e8f0;
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-text p {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--secondary);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.search-bar-header {
    display: flex;
    background: white;
    border: 1px solid var(--gray-border);
    border-radius: 40px;
    padding: 0.2rem 0.2rem 0.2rem 1rem;
    box-shadow: var(--shadow-sm);
}
.search-bar-header input {
    border: none;
    outline: none;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    width: 180px;
    background: transparent;
}
.search-bar-header button {
    background: var(--primary-light);
    border: none;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
}
.menu-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}
/* Menu latéral */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}
.side-menu.open {
    right: 0;
}
.side-menu-header {
    display: flex;
    justify-content: flex-end;
}
.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}
.side-menu nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.side-menu nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-border);
}
.side-menu .language-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}
.side-menu .lang-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
}
.side-menu .lang-btn.active {
    background: var(--primary-light);
    color: white;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}
.overlay.active {
    display: block;
}
/* Carrousel full width */
.hero-carousel {
    width: 100%;
    overflow: hidden;
    margin: 1rem 0 2rem;
    box-shadow: var(--shadow-md);
}
.carousel-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.2,0.9,0.4,1.1);
}
.carousel-slide {
    min-width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.slide-caption {
    background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    width: 100%;
    padding: 1.5rem;
    color: white;
}
.slide-caption h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.slide-caption p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .carousel-slide {
        height: 550px;
    }
    .slide-caption h2 {
        font-size: 2.2rem;
    }
}
/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-border);
}
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    border-left: 5px solid var(--accent);
    padding-left: 1rem;
}
.card-container,
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: 0.25s;
    text-align: center;
}
.card-img-circle {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-light);
}
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    text-align: center;
    border-top: 4px solid var(--accent);
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--primary-light);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}
/* Footer full width */
footer {
    background: var(--primary);
    color: #e2e8f0;
    padding: 2rem 0 1rem;
    margin-top: auto;
    width: 100%;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.social-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    color: #e2e8f0;
}
.copyright {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}
/* Pages */
.page {
    display: none;
    animation: fadeIn 0.3s ease;
}
.page.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.page-header {
    background: var(--primary);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 2rem;
}
.map-container {
    width: 100%;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    margin: 1.5rem 0;
}
iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Chatbot */
.chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
    z-index: 998;
    font-size: 1.4rem;
}
.chatbot-window {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
}
.chatbot-window.active {
    display: flex;
}
.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}
.chatbot-messages {
    height: 280px;
    overflow-y: auto;
    padding: 12px;
    background: #f9fafb;
}
.chatbot-input-area {
    display: flex;
    padding: 8px;
    border-top: 1px solid #ddd;
}
.chatbot-input-area input {
    flex: 1;
    padding: 8px;
    border-radius: 30px;
    border: 1px solid #ccc;
    outline: none;
}
.chatbot-input-area button {
    background: var(--primary-light);
    border: none;
    color: white;
    width: 40px;
    border-radius: 30px;
    margin-left: 6px;
    cursor: pointer;
}
.message {
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    max-width: 85%;
    font-size: 0.85rem;
}
.user-message {
    background: var(--primary-light);
    color: white;
    margin-left: auto;
    text-align: right;
}
.bot-message {
    background: #e9ecef;
    color: #1e293b;
}
/* Admin */
.admin-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
}
.admin-modal,
.admin-panel {
    position: fixed;
    background: white;
    border-radius: 28px;
    box-shadow: 0 30px 40px rgba(0,0,0,0.2);
    z-index: 2000;
    width: 90%;
    max-width: 750px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    display: none;
    max-height: 85vh;
    overflow-y: auto;
}
.admin-modal.active,
.admin-panel.active {
    display: block;
}
.admin-group {
    margin-bottom: 1rem;
}
.admin-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    color: var(--secondary);
}
.admin-input,
.admin-textarea {
    width: 100%;
    padding: 0.6rem;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    font-family: inherit;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.team-member {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}
.member-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .search-bar-header input {
        width: 120px;
    }
    .logo-text h1 {
        font-size: 1rem;
    }
    .logo-text p {
        font-size: 0.55rem;
    }
    .logo-img {
        height: 55px;
    }
    .content-wrapper {
        padding: 0 1rem;
    }
    .header-container {
        padding: 0.6rem 1rem;
    }
}