/* ================= VARIABLES · PALETA ADI CAÑO NEGRO ================= */
:root {
    --verde-principal: #163320;
    --verde-medio: #2A6038;
    --verde-secundario: #3D7A4E;
    --verde-claro: #53B53C;
    --verde-hover: #4E9A5A;
    --verde-oscuro: #0E2116;
    --verde-suave: #E8F2E9;
    --naranja-acento: #D94F15;
    --naranja-hover: #B84010;
    --naranja-suave: #FCE9DF;
    --ambar: #C8900E;
    --fondo: #F3F1EB;
    --fondo-suave: #E9F0EA;
    --fondo-claro: #fcfbf7;
    --blanco: #FFFFFF;
    --texto: #151F16;
    --texto-suave: #3A4D3C;
    --texto-muted: #637065;
    --sombra: 0 10px 28px rgba(14, 33, 22, 0.11);
    --sombra-hover: 0 18px 40px rgba(14, 33, 22, 0.19);
}

/* ================= RESET ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p, h1, h2, h3, h4, h5, h6 { margin-bottom: 0; }
a { text-decoration: none !important; color: inherit; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--fondo);
    color: var(--texto);
    line-height: 1.6;
    padding-top: 90px;
    overflow-x: hidden;
}

h1, h2, h3, p, span, h4, a, small, button {
    font-family: 'Fraunces', serif;
}

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

.container {
    width: min(1200px, 90%);
    margin: auto;
}

/* ================= HERO ================= */
.adi-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 90px;
    color: white;
    position: relative;
    overflow: hidden;
}

.adi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(11, 28, 16, 0.25), rgba(11, 28, 16, 0.55)),
        url('../../img/sobreNosotros/Quiosko.png') center/cover no-repeat;
    transform: scaleX(-1);
    z-index: 0;
}

.hero-content {
    max-width: 760px;
    animation: fadeUp 1s ease;
    position: relative;
    z-index: 2;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(10, 20, 12, 0.42);
    border: 1px solid rgba(113, 201, 138, 0.45);
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.adi-hero h1 {
    font-size: 76px;
    line-height: 1.02;
    margin-bottom: 22px;
    font-weight: 800;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.60), 0 10px 30px rgba(0, 0, 0, 0.35);
    letter-spacing: -1px;
}

.adi-hero h1 span { color: var(--naranja-acento); }

.description {
    max-width: 680px;
    font-size: 21px;
    color: #eef0ee;
    margin-bottom: 28px;
    font-weight: 400;
}

.location {
    color: var(--verde-claro);
    font-size: 16px;
    font-weight: 600;
}

.location i { margin-right: 8px; color: var(--naranja-acento); }

/* ================= TEXTOS GENERALES ================= */
.section-label {
    display: inline-block;
    color: var(--verde-claro);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}

.section-label.center { display: block; text-align: center; }

.section-title {
    text-align: center;
    font-size: 38px;
    color: var(--verde-principal);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--texto-suave);
    font-size: 17px;
    line-height: 1.8;
}

.section-heading { margin-bottom: 52px; }

/* ================= ¿QUIÉNES SOMOS? ================= */
.quienes-section {
    padding: 90px 0 80px;
    background: linear-gradient(180deg, var(--fondo-suave) 0%, var(--fondo) 100%);
}

.quienes-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 70px;
    margin: 20px 0 56px;
}

.quienes-copy-column { min-width: 0; }

.quienes-copy-column .section-heading {
    margin-bottom: 32px;
    text-align: left;
}

.quienes-copy-column .section-label.center { text-align: left; }
.quienes-copy-column .section-title {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.quienes-copy-column .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.quienes-copy-column .section-subtitle {
    max-width: none;
    margin-inline: 0;
    text-align: left;
}

.quienes-quote-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
    position: relative;
    margin: 0;
    display: block;
}

.quienes-quote-card p { grid-column: auto; }

.quienes-q-icon {
    display: none;
}

.quienes-quote-card p {
    line-height: 1.95;
    font-size: 16.5px;
    color: var(--texto-suave);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.quienes-quote-card p:last-child { margin-bottom: 0; }

.quienes-community-card {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.quienes-community-card figure {
    min-height: 0;
    margin: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    aspect-ratio: 1.27 / 1;
}

.quienes-community-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 1px solid var(--verde-oscuro);
    border-radius: 24px;
    box-shadow: var(--sombra);
    transition: transform 0.45s ease;
}

.quienes-community-card figure:hover img { transform: scale(1.035); }

.quienes-community-card figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 0 2px;
    margin-top: 10px;
    color: var(--texto-muted);
    font-size: 11px;
    font-style: italic;
    line-height: 1.35;
}

.quienes-community-card figcaption span,
.quienes-community-card figcaption small {
    min-width: 0;
}

.quienes-community-card figcaption small {
    font-size: 11px;
    font-style: normal;
    text-align: right;
}

.quienes-facts-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quienes-fact-tile {
    background: var(--blanco);
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(83, 181, 60, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quienes-fact-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-hover);
}

.quienes-fact-icon {
    width: 44px;
    height: 44px;
    background: var(--verde-suave);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--verde-principal);
    flex-shrink: 0;
    margin-bottom: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.quienes-fact-tile:hover .quienes-fact-icon {
    background: var(--verde-claro);
    color: var(--blanco);
    transform: scale(1.08);
}

.quienes-fact-tile h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--verde-principal);
    margin-bottom: 6px;
}

.quienes-fact-tile p {
    font-size: 13px;
    color: var(--texto-muted);
    line-height: 1.6;
}

/* ================= VOLUNTARIADO ================= */
.volunteer-section {
    padding: 90px 0;
    background: var(--fondo-claro);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.volunteer-card {
    background: var(--blanco);
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(47, 93, 58, 0.07);
    transition: 0.35s ease;
}

.volunteer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-hover);
}

.volunteer-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--verde-suave);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.volunteer-icon i { font-size: 22px; color: var(--verde-principal); }

.volunteer-card h3 {
    font-size: 18px;
    color: var(--verde-principal);
    margin-bottom: 10px;
    font-weight: 700;
}

.volunteer-card p {
    color: var(--texto-suave);
    font-size: 14.5px;
    line-height: 1.8;
}

.volunteer-cta {
    margin-top: 48px;
    text-align: center;
}

.volunteer-note {
    max-width: 640px;
    margin: 0 auto 18px;
    color: var(--texto-muted);
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
}

.volunteer-cta p {
    color: var(--texto-suave);
    font-size: 17px;
    margin-bottom: 22px;
}

.volunteer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--naranja-acento);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(217, 79, 21, 0.28);
    transition: 0.3s ease;
}

.volunteer-cta-btn:hover {
    background: var(--naranja-hover);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(217, 79, 21, 0.35);
}

/* ================= PROYECTOS ================= */
.proyectos-section {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, var(--fondo-suave) 0%, var(--fondo) 100%);
}

.proyectos-subheading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 56px 0 28px;
}

.proyectos-subheading:first-of-type { margin-top: 0; }

.proyectos-subheading h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--verde-principal);
    white-space: nowrap;
}

.proyectos-subheading .line {
    flex: 1;
    height: 1px;
    background: rgba(83, 181, 60, 0.25);
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.futuro-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
}

.futuro-featured {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    background: var(--blanco);
    border-radius: 20px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(47, 93, 58, 0.07);
    border-top: 4px solid var(--naranja-acento);
    overflow: hidden;
}

.futuro-featured-img {
    min-height: 280px;
}

.futuro-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.futuro-featured-content {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.futuro-featured-content .proyecto-list { margin-bottom: 18px; }

.futuro-featured-content .proyecto-icon { background: var(--naranja-suave); }
.futuro-featured-content .proyecto-icon i { color: var(--naranja-acento); }
.futuro-featured-content .proyecto-badge { background: var(--naranja-suave); color: var(--naranja-acento); }
.futuro-featured-content h4 { font-size: 22px; margin-bottom: 14px; }

.proyecto-card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(47, 93, 58, 0.07);
    border-top: 4px solid var(--verde-claro);
    transition: 0.35s ease;
    position: relative;
}

.proyecto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-hover);
}

.proyecto-card.futuro { border-top-color: var(--naranja-acento); }

.proyecto-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--verde-suave);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.proyecto-card.futuro .proyecto-icon { background: var(--naranja-suave); }

.proyecto-icon i { font-size: 19px; color: var(--verde-principal); }
.proyecto-card.futuro .proyecto-icon i { color: var(--naranja-acento); }

.proyecto-card h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--verde-principal);
    margin-bottom: 8px;
    line-height: 1.3;
}

.proyecto-card p {
    font-size: 13.5px;
    color: var(--texto-suave);
    line-height: 1.7;
    margin-bottom: 14px;
}

.proyecto-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.proyecto-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--texto-suave);
    line-height: 1.6;
}

.proyecto-list li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--naranja-acento);
    font-weight: 700;
}

.proyecto-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--verde-suave);
    color: var(--verde-medio);
}

.proyecto-card.futuro .proyecto-badge {
    background: var(--naranja-suave);
    color: var(--naranja-acento);
}

/* ================= BANNER / CIERRE ================= */
.banner-section {
    background: linear-gradient(180deg, var(--fondo-suave) 0%, var(--fondo) 100%);
    padding: 90px 0;
}

.banner-content {
    max-width: 820px;
    margin: auto;
    text-align: center;
}

.banner-tag {
    color: var(--verde-claro) !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
    display: block;
}

.banner-content h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--verde-principal);
    font-weight: 800;
}

.banner-quote {
    font-style: italic;
}

.banner-content p {
    font-size: 18px;
    color: var(--texto-suave);
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.banner-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 999px;
    transition: 0.3s ease;
}

.banner-btn.primary {
    background: var(--naranja-acento);
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(217, 79, 21, 0.28);
}

.banner-btn.primary:hover {
    background: var(--naranja-hover);
    transform: translateY(-3px);
}

.banner-btn.secondary {
    background: var(--blanco);
    color: var(--verde-principal) !important;
    border: 2px solid rgba(31, 77, 46, 0.18);
}

.banner-btn.secondary:hover {
    border-color: var(--verde-claro);
    transform: translateY(-3px);
}

/* ================= FAB ================= */
.fab-container { position: fixed; bottom: 25px; right: 40px; z-index: 1000; }

.fab-main {
    width: 60px; height: 60px; border-radius: 22px;
    background: rgba(20, 40, 20, 0.95);
    border: 1.5px solid rgba(217, 79, 21, 0.8);
    color: #ffffff; font-size: 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 18px rgba(217, 79, 21, 0.15);
    transition: all 0.3s ease;
}

.fab-main:hover {
    background: rgba(30, 55, 30, 0.98);
    box-shadow: 0 0 25px rgba(217, 79, 21, 0.3);
    transform: translateY(-2px);
}

.fab-main i { transition: 0.3s ease; }
.fab-container.open .fab-main i { transform: rotate(45deg); }

.fab-options {
    position: absolute; bottom: 75px; right: 0;
    display: flex; flex-direction: column; gap: 12px;
    opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: 0.3s ease;
}

.fab-container.open .fab-options { opacity: 1; pointer-events: auto; transform: translateY(0); }

.fab-option {
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: 0.3s ease;
}

.fab-option:hover { transform: scale(1.12); }
.fab-option.whatsapp { background: white; color: #25d366; border: 2px solid #25d366; }
.fab-option.whatsapp:hover { background: #25d366; color: #ffffff; }
.fab-option.map { background: white; color: var(--naranja-acento); border: 2px solid var(--naranja-acento); }
.fab-option.map:hover { background: var(--naranja-acento); color: #ffffff; }
.fab-option.help { background: white; color: var(--verde-principal); border: 2px solid var(--verde-principal); }
.fab-option.help:hover { background: var(--verde-principal); color: #ffffff; }

/* ================= MODAL AYUDA ================= */
.help-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 28, 16, 0.62);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.3s ease; z-index: 2000;
}

.help-modal.active { opacity: 1; pointer-events: auto; }

.help-content {
    background: white; width: min(600px, 90%); max-height: 80vh; overflow-y: auto;
    border-radius: 20px; padding: 30px; position: relative;
    box-shadow: 0 20px 50px rgba(11, 28, 16, 0.32);
    border-top: 4px solid var(--naranja-acento);
    animation: fadeUp 0.4s ease;
}

.help-content h2 { margin-bottom: 20px; color: var(--verde-principal); }

.close-modal {
    position: absolute; top: 15px; right: 15px;
    border: none; background: none; font-size: 22px;
    cursor: pointer; color: var(--texto-muted); transition: 0.2s;
}

.close-modal:hover { color: var(--naranja-acento); }

.faq-list { display: flex; flex-direction: column; gap: 18px; }
.faq-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--verde-principal); }
.faq-item p { font-size: 14px; color: var(--texto-suave); }

/* ================= PESTAÑA IA ================= */
.chat-ia-tab {
    position: fixed; top: 50%; right: 0; transform: translateY(-50%);
    display: flex; align-items: center; z-index: 1500;
}

.chat-ia-toggle {
    width: 22px; height: 380px;
    border: 2px solid rgba(217, 79, 21, 0.95); border-right: none;
    border-radius: 18px 0 0 18px;
    background: rgba(20, 40, 20, 0.95); color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; flex-shrink: 0;
    box-shadow: -5px 0 14px rgba(0, 0, 0, 0.55), 0 0 20px rgba(217, 79, 21, 0.22);
}

.chat-ia-toggle:hover { background: rgba(30, 55, 30, 0.98); box-shadow: 0 0 25px rgba(217, 79, 21, 0.3); }
.chat-ia-toggle i { font-size: 13px; transition: 0.3s ease; }

.chat-ia-link {
    width: 0; height: 500px; overflow: hidden; opacity: 0; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20, 40, 20, 0.95); color: white;
    border-top: 1.5px solid rgba(217, 79, 21, 0.8);
    border-left: 1.5px solid rgba(217, 79, 21, 0.8);
    border-bottom: 1.5px solid rgba(217, 79, 21, 0.8);
    border-top-left-radius: 18px; border-bottom-left-radius: 18px;
    box-shadow: 0 0 18px rgba(217, 79, 21, 0.15);
    transition: all 0.3s ease;
}

.chat-ia-link:hover { background: rgba(30, 55, 30, 0.98); color: white; }

.chat-ia-link span {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: 'Poppins', sans-serif; font-size: 13px;
    font-weight: 700; letter-spacing: 0.3px;
}

.chat-ia-tab.open .chat-ia-link { width: 28px; opacity: 1; pointer-events: auto; }
.chat-ia-tab.open .chat-ia-toggle { background: var(--naranja-acento); }
.chat-ia-tab.open .chat-ia-toggle i { transform: rotate(180deg); }

/* ================= NAVBAR MÓVIL ================= */
body:has(#menuNav.show) .fab-container { display: none !important; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .adi-hero { padding: 0 40px; }
    .adi-hero h1 { font-size: 58px; }

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

@media (max-width: 900px) {
    body { padding-top: 0; }

    .adi-hero {
        padding: 120px 42px 60px;
        text-align: center;
        justify-content: center;
        min-height: 100vh;
    }

    .hero-content { max-width: 100%; }
    .description { margin-inline: auto; max-width: 100%; }

    .quienes-quote-card { padding: 0; }
    .quienes-feature-row { grid-template-columns: 1fr; }
    .quienes-community-card {
        grid-template-columns: 1fr;
    }
    .quienes-community-card figure { height: 240px; }
    .quienes-facts-card { grid-template-columns: repeat(2, 1fr); }

    .futuro-featured { grid-template-columns: 1fr; }
    .futuro-featured-img { min-height: 220px; }
    .futuro-featured-content { padding: 32px 28px; }
    .futuro-grid-2col { grid-template-columns: 1fr; }

    .proyectos-subheading { flex-wrap: wrap; }

    .banner-content h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .adi-hero h1 { font-size: 50px; }
}

@media (max-width: 600px) {
    body { padding-top: 0; }
    .adi-hero { min-height: 100dvh; padding: 90px 28px 32px; }
    .adi-hero h1 { font-size: 42px; }
    .description { font-size: 17px; }
    .section-title { font-size: 28px; }
    .banner-content h2 { font-size: 26px; }
    .banner-content p { font-size: 16px; }

    .volunteer-grid,
    .proyectos-grid,
    .quienes-facts-card { grid-template-columns: 1fr; }

    .quienes-community-card {
        grid-template-columns: 1fr;
    }

    .quienes-community-card figure { height: 220px; }
}

@media (max-width: 480px) {
    .adi-hero h1 { font-size: 36px; }
}

@media (max-width: 390px) {
    .adi-hero { padding: 110px 24px 50px; }
    .adi-hero h1 { font-size: 32px; }
    .section-title { font-size: 24px; }
}
