/* ================= 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;
    --ambar-suave: #FDF6E3;
    --fondo: #F3F1EB;
    --fondo-suave: #E9F0EA;
    --fondo-claro: #fcfbf7;
    --blanco: #FFFFFF;
    --texto: #151F16;
    --texto-suave: #3A4D3C;
    --texto-muted: #637065;
    --gris-estrella: #7D8A7F;
    --gris-suave: #F0F2F0;
    --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; 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; }
a { text-decoration: none !important; }
ul { list-style: none; }

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

/* ================= HERO ================= */
.hero-bandera {
    min-height: 100vh;
    background:
        linear-gradient(rgba(8, 25, 45, 0.45), rgba(10, 30, 20, 0.65)),
        url('../../img/bandera/fondoBandera.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 90px;
    color: white;
}

.hero-content {
    max-width: 760px;
    animation: fadeUp 1s ease;
}

@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);
}

.hero-bandera 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;
}

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

.description {
    max-width: 680px;
    font-size: 21px;
    color: #eef0ee;
    margin-bottom: 28px;
    font-weight: 400;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.location {
    color: var(--verde-claro);
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.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: 40px;
    color: var(--verde-principal);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.section-title-left { text-align: left; margin-left: 0; margin-right: 0; }

.section-title-left::after,
.section-title-left.show::after {
    margin: 14px 0 0;
}

.info-bandera .section-title-left.show::after {
    width: 100%;
    max-width: none;
}

.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: 55px; }

/* ================= INTRO ================= */
.intro-bandera {
    padding: 90px 0 80px;
    background: linear-gradient(180deg, var(--fondo-suave) 0%, var(--fondo) 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: stretch;
    margin-top: 52px;
}

.intro-quote-card,
.intro-facts-card {
    height: 100%;
}

/* ── Columna izquierda: cita visual ── */
.intro-quote-card {
    background: var(--blanco);
    border-radius: 24px;
    padding: 42px 38px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(83, 181, 60, 0.12);
    border-left: 5px solid var(--verde-claro);
    position: relative;
    overflow: hidden;
}

.intro-q-icon {
    font-size: 72px;
    color: var(--verde-claro);
    opacity: 0.11;
    position: absolute;
    top: 14px;
    left: 18px;
    line-height: 1;
    pointer-events: none;
}

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

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

/* ── Columna derecha: hechos clave ── */
.intro-facts-card {
    background: var(--blanco);
    border-radius: 24px;
    padding: 10px 28px 22px;
    box-shadow: var(--sombra);
    border: 1px solid rgba(83, 181, 60, 0.10);
}

.intro-fact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(83, 181, 60, 0.12);
}

.intro-fact-item:last-child { border-bottom: none; }

.intro-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;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

.intro-fact-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--verde-principal);
    margin-bottom: 4px;
}

.intro-fact-text p {
    font-size: 13.5px;
    color: var(--texto-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

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

.logro-card {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-medio) 100%);
    border-radius: 28px;
    padding: 48px 44px;
    color: white;
    box-shadow: var(--sombra-hover);
}

.logro-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 38px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.logro-icon {
    font-size: 52px;
    color: var(--ambar);
    flex-shrink: 0;
}

.logro-categoria {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--verde-claro);
    margin-bottom: 6px;
}

.logro-card-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.logro-stars-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.logro-star-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.logro-star-group span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.logro-star-icons {
    display: flex;
    gap: 4px;
}

.logro-star-icons .star-blanca,
.logro-star-group > .star-blanca {
    font-size: 32px;
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.55)) drop-shadow(0 2px 4px rgba(0,0,0,0.30));
}

.star-verde  { font-size: 38px; color: #5EC83F; filter: drop-shadow(0 0 8px rgba(94,200,63,0.75)); }
.star-dorada { font-size: 38px; color: #F5B020; filter: drop-shadow(0 0 8px rgba(245,176,32,0.75)); }
.star-naranja{ font-size: 38px; color: #F55A20; filter: drop-shadow(0 0 8px rgba(245,90,32,0.70)); }
.star-gris   { font-size: 38px; color: #C8D2CA; filter: drop-shadow(0 0 6px rgba(200,210,202,0.55)); }

/* ================= ESTRELLAS ================= */
.stars-inner {
    margin-top: 56px;
    background: var(--blanco);
    border-radius: 28px;
    box-shadow: 0 22px 52px rgba(14, 33, 22, 0.15);
    overflow: hidden;
    border: 1px solid rgba(47, 93, 58, 0.08);
}

/* ── Encabezado del bloque de estrellas ── */
.stars-inner-head {
    background: linear-gradient(180deg, var(--fondo-suave) 0%, var(--blanco) 100%);
    padding: 52px 48px 44px;
    text-align: center;
    border-bottom: 1px solid rgba(83, 181, 60, 0.10);
}

.stars-inner-head .section-title::after,
.stars-inner-head .section-title.show::after { content: none; display: none; }

/* ── Área de tarjetas ── */
.stars-cards-wrap {
    padding: 48px 40px 44px;
    background: var(--fondo-claro);
}

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

.stars-grid .star-card:nth-child(1) { grid-column: 1 / 3; }
.stars-grid .star-card:nth-child(2) { grid-column: 3 / 5; }
.stars-grid .star-card:nth-child(3) { grid-column: 5 / 7; }
.stars-grid .star-card:nth-child(4) { grid-column: 2 / 4; }
.stars-grid .star-card:nth-child(5) { grid-column: 4 / 6; }

/* ── Tarjetas rediseñadas: badge circular centrado ── */
.star-card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 36px 22px 30px;
    box-shadow: 0 6px 20px rgba(14, 33, 22, 0.08);
    border: 1px solid rgba(47, 93, 58, 0.07);
    border-top: 4px solid transparent;
    text-align: center;
    transition: 0.35s ease;
}

.star-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

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

.star-card-nota {
    font-size: 13px !important;
    color: var(--texto-muted) !important;
    font-style: italic;
}

/* ── Variantes de color por tipo de estrella ── */
.star-card.blanca { border-top-color: #C0C0C0; }
.star-card.blanca .star-card-icon { background: rgba(200, 210, 200, 0.20); }
.star-card.blanca .star-card-icon i { color: #B8B8B8; font-size: 14px !important; }

.star-card.verde { border-top-color: var(--verde-claro); }
.star-card.verde .star-card-icon { background: rgba(83, 181, 60, 0.10); }
.star-card.verde .star-card-icon i { color: var(--verde-claro); font-size: 26px !important; }

.star-card.dorada { border-top-color: var(--ambar); }
.star-card.dorada .star-card-icon { background: rgba(200, 144, 14, 0.10); }
.star-card.dorada .star-card-icon i { color: var(--ambar); font-size: 26px !important; }

.star-card.naranja { border-top-color: var(--naranja-acento); }
.star-card.naranja .star-card-icon { background: rgba(217, 79, 21, 0.09); }
.star-card.naranja .star-card-icon i { color: var(--naranja-acento); font-size: 26px !important; }

.star-card.gris { border-top-color: var(--gris-estrella); }
.star-card.gris .star-card-icon { background: rgba(125, 138, 127, 0.12); }
.star-card.gris .star-card-icon i { color: var(--gris-estrella); font-size: 26px !important; }

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

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

.importancia-grid .importancia-card:nth-child(1) { grid-column: 1 / 3; }
.importancia-grid .importancia-card:nth-child(2) { grid-column: 3 / 5; }
.importancia-grid .importancia-card:nth-child(3) { grid-column: 5 / 7; }
.importancia-grid .importancia-card:nth-child(4) { grid-column: 2 / 4; }
.importancia-grid .importancia-card:nth-child(5) { grid-column: 4 / 6; }

.importancia-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;
}

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

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

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

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

/* ================= HISTORIA ================= */
.info-bandera {
    padding: 90px 0;
    background: var(--blanco);
}

.info-bandera .info-text p {
    line-height: 1.9;
    font-size: 16px;
    color: var(--texto-suave);
    margin-bottom: 18px;
}

.info-bandera .info-text p:last-child { margin-bottom: 0; }

/* ================= COLLAGE ================= */
.img-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
}

.img-collage img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--sombra);
    transition: all 0.35s ease;
    border: 1px solid rgba(73, 104, 79, 0.08);
}

.img-collage img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--sombra-hover);
}

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

.apoyo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.apoyo-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blanco);
    border: 1px solid rgba(83, 181, 60, 0.22);
    border-left: 4px solid var(--verde-claro);
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: var(--sombra);
    transition: 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: var(--texto-suave);
}

.apoyo-chip i {
    color: var(--verde-claro);
    font-size: 15px;
    flex-shrink: 0;
}

/* ================= 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;
}

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

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

/* ================= 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) {
    .hero-bandera { padding: 0 40px; }
    .hero-bandera h1 { font-size: 58px; }

    /* Grids de 5 items: usar 4 columnas para centrar la última fila */
    .stars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .stars-grid .star-card:nth-child(1) { grid-column: 1 / 3; }
    .stars-grid .star-card:nth-child(2) { grid-column: 3 / 5; }
    .stars-grid .star-card:nth-child(3) { grid-column: 1 / 3; }
    .stars-grid .star-card:nth-child(4) { grid-column: 3 / 5; }
    .stars-grid .star-card:nth-child(5) { grid-column: 2 / 4; }

    .stars-inner-head { padding: 40px 32px 36px; }
    .stars-cards-wrap  { padding: 36px 28px 32px; }

    .importancia-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .importancia-grid .importancia-card:nth-child(1) { grid-column: 1 / 3; }
    .importancia-grid .importancia-card:nth-child(2) { grid-column: 3 / 5; }
    .importancia-grid .importancia-card:nth-child(3) { grid-column: 1 / 3; }
    .importancia-grid .importancia-card:nth-child(4) { grid-column: 3 / 5; }
    .importancia-grid .importancia-card:nth-child(5) { grid-column: 2 / 4; }
}

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

    .hero-bandera {
        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%; }

    .intro-grid { grid-template-columns: 1fr; }
    .intro-quote-card,
    .intro-facts-card { height: auto; padding: 28px 24px; }

    .logro-card { padding: 32px 24px; }
    .logro-card-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .logro-stars-row { gap: 20px; }
    .stars-inner { border-radius: 20px; }
    .stars-inner-head { padding: 36px 20px 36px; }
    .stars-cards-wrap { padding: 30px 16px 28px; }
    .stars-legend-strip { gap: 10px; flex-wrap: wrap; }

    /* Reset nth-child grids and go single column */
    .stars-grid,
    .importancia-grid { grid-template-columns: 1fr; }
    .stars-grid .star-card,
    .importancia-grid .importancia-card { grid-column: auto !important; }

    .section-title-left { text-align: center; }
    .info-bandera .section-label { display: block; text-align: center; }

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

@media (max-width: 768px) {
    .hero-bandera h1 { font-size: 50px; }
    .logro-stars-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    body { padding-top: 0; }
    .hero-bandera { min-height: 100dvh; padding: 90px 42px 32px; }
    .hero-bandera h1 { font-size: 40px; }
    .description { font-size: 17px; }
    .section-title { font-size: 30px; }
    .banner-content h2 { font-size: 28px; }
    .banner-content p { font-size: 16px; }
    .logro-card { padding: 24px 18px; }
    .logro-icon { font-size: 36px; }
    .img-collage img { aspect-ratio: 1/1; }
}

@media (max-width: 480px) {
    .hero-bandera h1 { font-size: 34px; }
    .apoyo-chip { font-size: 13px; padding: 10px 16px; }
}

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