/* ============================================================
   {{NOMBRE}} — Estructura rediseñada
   Paleta: Verde esmeralda + Dorado  |  Tipografía: Work Sans
   ============================================================ */

:root {
    --verde-oscuro: #3e2f2a;   /* tinta cálida (header/texto) */
    --verde-medio: #b85c38;   /* terracota (acento) */
    --verde-claro: #c96f4a;   /* terracota claro */
    --dorado: #d9a441;        /* dorado miel */
    --dorado-suave: #e8c37c;  /* miel claro */
    --crema: #faf6f0;         /* crema cálido */
    --blanco: #ffffff;
    --carbon: #2b211d;
    --gris-texto: #5a4a42;
    --gris-claro: #f3ede4;    /* crema gris cálido */
}

/* ===== RESET GLOBAL DE ENLACES (quita subrayado por defecto de Bootstrap) ===== */
a { text-decoration: none; }
a:hover { text-decoration: none; }

html { scroll-behavior: smooth; }

body.gen {
    font-family: 'Work Sans', 'Open Sans', system-ui, sans-serif;
    color: var(--gris-texto);
    background: var(--blanco);
    line-height: 1.7;
    margin: 0;
}

/* ===== NAVBAR ===== */
.navNew {
    background: var(--verde-oscuro);
    box-shadow: 0 2px 12px rgba(0,0,0,.14);
    padding: .6rem 0;
}

.brandNew {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
}

.brandIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--dorado);
    color: var(--verde-oscuro);
    border-radius: 50%;
    font-size: 1.2rem;
}

.brandText {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .01em;
}

.navNew .navbar-nav .nav-link {
    color: #eafff1;
    font-weight: 600;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .5rem 1rem;
    margin: 0 .15rem;
    border-radius: 999px;
    transition: all .2s ease;
}

.navNew .navbar-nav .nav-link:hover,
.navNew .navbar-nav .nav-item.active .nav-link {
    color: var(--dorado-suave);
    background: rgba(255,255,255,.08);
}

.btnDonar {
    background: var(--dorado);
    color: var(--verde-oscuro) !important;
    font-weight: 700;
    border-radius: 999px;
    padding: .55rem 1.4rem;
    transition: all .2s ease;
}

.btnDonar:hover {
    background: var(--dorado-suave);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.heroNew {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background: url('../img/hero-jovenes.jpg') center/cover no-repeat;
    color: #fff;
}

.heroOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(62,47,42,.92) 0%, rgba(62,47,42,.55) 55%, rgba(184,92,56,.35) 100%);
}

.heroContent {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
}

.heroKicker {
    font-size: 1.05rem;
    color: var(--dorado-suave);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.heroTitle {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.heroSub {
    font-size: 1.3rem;
    color: rgba(255,255,255,.92);
    margin-bottom: 2rem;
}

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

.btnHeroPrimary {
    background: var(--dorado);
    color: var(--verde-oscuro);
    font-weight: 700;
    border-radius: 999px;
    padding: .8rem 2rem;
    transition: all .2s ease;
}
.btnHeroPrimary:hover { background: var(--dorado-suave); transform: translateY(-2px); color: var(--verde-oscuro); }

.btnHeroGhost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
    font-weight: 600;
    border-radius: 999px;
    padding: .8rem 2rem;
    transition: all .2s ease;
}
.btnHeroGhost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ===== STRIP VALORES ===== */
.stripValores {
    background: var(--crema);
    padding: 2.2rem 0;
    border-bottom: 1px solid #e8e3d5;
}

.valItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

.valItem i {
    font-size: 2rem;
    color: var(--verde-medio);
}

.valItem span {
    font-weight: 600;
    color: var(--verde-oscuro);
    font-size: .95rem;
}

/* ===== SECCIONES ===== */
.seccionEjes { padding: 4.5rem 0; background: var(--blanco); }
.seccionNoticias { padding: 4.5rem 0; background: var(--gris-claro); }

.seccionTitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--verde-oscuro);
    margin-bottom: .5rem;
}

.seccionLead { color: var(--gris-texto); font-size: 1.1rem; }

/* ===== CARDS EJES ===== */
.cardEje {
    background: var(--blanco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    border: 1px solid #ece7d8;
}

.cardEje:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.ejeImg {
    height: 170px;
    background-size: cover;
    background-position: center;
}

.ejeBody {
    padding: 1.4rem;
    position: relative;
}

.ejeNum {
    position: absolute;
    top: -22px; right: 16px;
    width: 44px; height: 44px;
    background: var(--dorado);
    color: var(--verde-oscuro);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.cardEje h3 {
    font-size: 1.15rem;
    color: var(--verde-oscuro);
    font-weight: 700;
    margin-bottom: .5rem;
}

.cardEje p { color: var(--gris-texto); margin: 0; }

/* ===== CARDS NOTICIAS ===== */
.cardNoticia {
    background: var(--blanco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
}

.cardNoticia:hover { transform: translateY(-4px); }

.notImg {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.notTag {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--verde-medio);
    color: #fff;
    padding: .3rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.notTagAlt { background: var(--dorado); color: var(--verde-oscuro); }

.notBody { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.notBody h3 {
    font-size: 1.25rem;
    color: var(--verde-oscuro);
    font-weight: 700;
    margin-bottom: .75rem;
}

.notBody p { color: var(--gris-texto); flex: 1; }

.notLink {
    color: var(--verde-medio);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
}
.notLink i { margin-left: .4rem; transition: transform .2s ease; }
.notLink:hover { color: var(--dorado); }
.notLink:hover i { transform: translateX(4px); }

.btnMas {
    background: var(--verde-medio);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .6rem 2rem;
}
.btnMas:hover { background: var(--verde-oscuro); color: #fff; }

/* ===== CTA BANNER ===== */
.ctaBanner {
    background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde-medio) 100%);
    padding: 4rem 0;
    color: #fff;
}

.ctaTitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.ctaText {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
}

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

.btnCtaPrimary {
    background: var(--dorado);
    color: var(--verde-oscuro);
    font-weight: 700;
    border-radius: 999px;
    padding: .8rem 2rem;
}
.btnCtaPrimary:hover { background: var(--dorado-suave); color: var(--verde-oscuro); transform: translateY(-2px); }

.btnCtaGhost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
    font-weight: 600;
    border-radius: 999px;
    padding: .8rem 2rem;
}
.btnCtaGhost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ===== FOOTER ===== */
.footerNew {
    background: var(--carbon);
    color: #cfd8d1;
    padding: 4rem 0 1.5rem;
}

.footerBrand {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}

.footBrandName {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.footDesc { color: #a8b5ad; font-size: .95rem; }

.footHeading {
    color: var(--dorado-suave);
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.footLinks { list-style: none; padding: 0; margin: 0; }
.footLinks li { margin-bottom: .55rem; }
.footLinks a {
    color: #cfd8d1;
    text-decoration: none;
    font-size: .92rem;
    transition: color .2s ease;
}
.footLinks a:hover { color: var(--dorado-suave); }

.footInfo { color: #a8b5ad; font-size: .92rem; line-height: 1.7; }

.footBottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
}

.footPayments { margin-bottom: 1.25rem; }

.footPayLabel {
    display: block;
    color: #b8a393;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .8rem;
}

.footPayLogos {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footPayLogos img {
    height: 26px;
    background: #fff;
    border-radius: 4px;
    padding: .3rem .5rem;
    display: block;
}

.footCopy { color: #7d8d82; font-size: .85rem; margin: 0; }

/* ===== WHATSAPP FLOTANTE ===== */
a.whatsappFloat {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.45);
    text-decoration: none;
    z-index: 1050;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .heroNew { min-height: 60vh; }
    .heroTitle { font-size: 2.2rem; }
    .heroSub { font-size: 1.1rem; }
    .seccionTitle { font-size: 1.7rem; }
    .seccionEjes, .seccionNoticias { padding: 3rem 0; }
    .btnDonar { margin-top: .75rem; }
}

/* ============================================================
   ESTILOS CUERPO PÁGINAS INTERNAS (homologado a paleta Home)
   ============================================================ */

.wrapprer.inter {
    background: var(--crema);
    padding: 3.5rem 0 4rem;
}

.wrapprer .container.general { }

.singleCont.page {
    background: var(--blanco);
    border-radius: 16px;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    border: 1px solid #ece7d8;
}

.genTitle {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--verde-oscuro);
    margin-bottom: 1.1rem;
    line-height: 1.2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 1.2rem;
}

.breadcrumb .btn.return {
    background: var(--gris-claro);
    color: var(--verde-oscuro);
    font-weight: 600;
    border-radius: 999px;
    padding: .4rem 1.1rem;
    font-size: .85rem;
    display: inline-block;
    text-decoration: none;
    border: none;
}

.breadcrumb .btn.return:hover {
    background: var(--dorado-suave);
    color: var(--verde-oscuro);
}

figure.eyepage {
    margin: 0 0 1.8rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

figure.eyepage img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.cont {
    color: var(--gris-texto);
    font-size: 1.02rem;
    line-height: 1.8;
}

.cont p { margin-bottom: 1.1rem; }
.cont ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.cont li { margin-bottom: .5rem; }
.cont strong { color: var(--verde-oscuro); }
.cont a {
    color: var(--verde-medio);
    font-weight: 600;
    text-decoration: none;
}
.cont a:hover { color: var(--dorado); }

/* ===== Compartir ===== */
.sharer {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid #ece7d8;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.sahreText {
    color: var(--gris-texto);
    font-weight: 600;
    margin: 0 .3rem 0 0;
}

.sharer .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .2s ease;
}
.sharer .icon:hover { transform: translateY(-3px); }
.sharer .icon.whatsapp { background: #25D366; }
.sharer .icon.fb { background: #1877F2; }
.sharer .icon.tw { background: #000; }

/* ===== ASIDE (programas laterales) ===== */
aside.programas.bgT.morePoryeBlock {
    padding-left: .5rem;
}

.programas.Content figure,
aside.programas figure {
    margin: 0 0 1.2rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--blanco);
    border: 1px solid #ece7d8;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.programas.Content figure img,
aside.programas figure img {
    width: 100%;
    display: block;
}

.listAside.programas {
    list-style: none;
    padding: 0;
    margin: 0;
}
.listAside.programas li { margin-bottom: 1.2rem; }

.thumbnail.General {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--blanco);
    border: 1px solid #ece7d8;
}

.thumbnail.General img { width: 100%; display: block; }

.caption.aside { }

/* ===== Hover overlay ===== */
.hoverWrap {
    position: relative;
    display: block;
    overflow: hidden;
}

.hoverCap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(43,33,29,.95) 0%, rgba(43,33,29,.55) 100%);
    color: #fff;
    padding: 1.4rem 1.2rem .9rem;
    font-size: .88rem;
    line-height: 1.5;
    display: block;
}

.hoverCap strong {
    display: block;
    color: var(--dorado-suave);
    font-size: 1.02rem;
    margin-bottom: .2rem;
}

/* ===== Ajustes finos del cuerpo interno ===== */
.detPost.page { }

.mbt { margin-bottom: 1.6rem; }

figure.campaña.hoverWrap {
    border: none;
    background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde-medio) 70%);
}

figure.campaña.hoverWrap img {
    opacity: .4;
}

figure.campaña.hoverWrap .hoverCap {
    background: transparent;
    padding: 1.2rem;
    font-size: .92rem;
}

figure.campaña.hoverWrap .hoverCap strong {
    font-size: 1.25rem;
    color: var(--dorado-suave);
}

/* ===== Equilibrio visual: tarjetas sin imagen de cabecera ===== */
/* Igualar la caja para que el contenido corto no se vea cojo frente al aside */
.singleCont.page {
    display: flex;
    flex-direction: column;
}

.singleCont.page .cont {
    flex: 1;
}

/* Las páginas sin imagen de cabecera ganan respiro superior uniforme */
.singleCont.page .genTitle {
    margin-top: .2rem;
}

/* Aside alineado a la misma altura */
.programas.bgT.morePoryeBlock {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ===== Imágenes de tarjetas (ejes y noticias) — antes inline ===== */
.ejeImg.bg-valores        { background-image: url('../img/programa-valores.jpg'); }
.ejeImg.bg-deporte        { background-image: url('../img/programa-deporte.jpg'); }
.ejeImg.bg-emprendimiento { background-image: url('../img/programa-emprendimiento.jpg'); }
.ejeImg.bg-comunidad      { background-image: url('../img/programa-comunidad.jpg'); }
.notImg.bg-hero           { background-image: url('../img/hero-jovenes.jpg'); }
.notImg.bg-emprendimiento { background-image: url('../img/emprendimiento.jpg'); }

.ejeImg, .notImg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
