/* =====================================================
   ASOGA — Hoja de estilos principal
   Sistema de diseño basado en la identidad de marca:
   verde institucional, esmeralda y dorado.
   ===================================================== */

:root {
    /* Color */
    --verde-950: #0b2e1a;
    --verde-900: #103d23;
    --verde-800: #14522e;
    --verde-700: #176939;  /* verde del logo */
    --verde-600: #1e8447;
    --verde-500: #27a35a;
    --esmeralda: #3ecf8e;
    --esmeralda-suave: #e7f8f0;
    --dorado: #c9a24b;
    --dorado-suave: #f7f0e0;
    --tinta: #15231b;
    --tinta-suave: #4c5f54;
    --niebla: #f4f8f5;
    --blanco: #ffffff;
    --borde: #e2ebe5;

    /* Tipografía */
    --fuente: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Forma */
    --radio: 16px;
    --radio-g: 24px;
    --sombra: 0 10px 32px rgba(16, 61, 35, 0.10);
    --sombra-s: 0 4px 14px rgba(16, 61, 35, 0.07);

    /* Ritmo */
    --seccion: clamp(4rem, 9vw, 7rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--fuente);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--tinta);
    background: var(--blanco);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    line-height: 1.15;
    font-weight: 800;
    color: var(--verde-900);
    margin: 0 0 0.6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
h1, h2, h3, p { overflow-wrap: break-word; }

/* Evitar que los hijos de grids fuercen desborde horizontal */
.hero__interior > *, .dividido > *, .cuenta > *, .perfil > * { min-width: 0; }

p { margin: 0 0 1.1em; }
a { color: var(--verde-600); text-decoration: none; }
a:hover { color: var(--verde-800); }

.contenedor {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.saltar-contenido {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--verde-900);
    color: #fff;
    padding: 0.7rem 1.2rem;
    z-index: 200;
}
.saltar-contenido:focus { left: 0; color: #fff; }

/* ---------- Botones ---------- */
.boton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.78rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.97rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.boton:hover { transform: translateY(-2px); }

.boton--primario { background: var(--verde-700); color: #fff; box-shadow: var(--sombra-s); }
.boton--primario:hover { background: var(--verde-800); color: #fff; }

.boton--contorno { border-color: var(--verde-700); color: var(--verde-700); background: transparent; }
.boton--contorno:hover { background: var(--verde-700); color: #fff; }

.boton--claro { background: #fff; color: var(--verde-800); }
.boton--claro:hover { background: var(--esmeralda-suave); color: var(--verde-900); }

.boton--dorado { background: var(--dorado); color: var(--verde-950); }
.boton--dorado:hover { background: #b8923f; color: var(--verde-950); }

/* ---------- Cabecera ---------- */
.cabecera {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borde);
}
.cabecera__interior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}
.cabecera__logo img { max-height: 52px; width: auto; }
.cabecera__logo-texto { font-size: 1.6rem; font-weight: 800; font-style: italic; color: var(--verde-700); }

.cabecera__nav { display: flex; align-items: center; gap: 1.8rem; }
.menu {
    display: flex;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu a {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    color: var(--tinta);
    font-weight: 600;
    font-size: 0.98rem;
}
.menu a:hover { background: var(--esmeralda-suave); color: var(--verde-800); }
.menu .current-menu-item > a,
.menu .current_page_item > a { color: var(--verde-700); background: var(--esmeralda-suave); }

.cabecera__acciones { display: flex; gap: 0.6rem; align-items: center; }
.cabecera__hamburguesa { display: none; background: none; border: 0; color: var(--verde-900); cursor: pointer; padding: 0.4rem; }
.cabecera__hamburguesa .icono--cerrar { display: none; }

body.nav-abierto .cabecera__hamburguesa .icono--menu { display: none; }
body.nav-abierto .cabecera__hamburguesa .icono--cerrar { display: block; }

@media (max-width: 920px) {
    .cabecera__logo img { max-height: 42px; }
    .cabecera__hamburguesa { display: grid; place-items: center; }
    .cabecera__nav {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        background: #fff;
        border-bottom: 1px solid var(--borde);
        padding: 1.2rem 1.4rem 1.6rem;
        box-shadow: var(--sombra);
        display: none;
    }
    body.nav-abierto .cabecera__nav { display: flex; }
    .menu { flex-direction: column; }
    .cabecera__acciones { flex-direction: column; align-items: stretch; }
    .cabecera__acciones .boton { justify-content: center; }
}

/* ---------- Secciones ---------- */
.seccion { padding-block: var(--seccion); }
.seccion--niebla { background: var(--niebla); }
.seccion--verde { background: linear-gradient(160deg, var(--verde-900), var(--verde-700)); color: #d9eee2; }
.seccion--verde h2, .seccion--verde h3 { color: #fff; }

.seccion__intro { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 3rem; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--verde-600);
    background: var(--esmeralda-suave);
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    margin-bottom: 1.1rem;
}
.seccion--verde .kicker { background: rgba(255, 255, 255, 0.12); color: var(--esmeralda); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #e8f5ee;
    padding-block: clamp(4.5rem, 9vw, 7rem);
    background:
        radial-gradient(1200px 600px at 82% -15%, rgba(62, 207, 142, 0.22), transparent 58%),
        radial-gradient(900px 520px at -8% 115%, rgba(201, 162, 75, 0.16), transparent 55%),
        linear-gradient(160deg, var(--verde-950) 0%, var(--verde-800) 58%, var(--verde-700) 100%);
}
.hero__fondo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__fondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.4px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%);
    mask-image: linear-gradient(160deg, #000, transparent 70%);
    opacity: 0.5;
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }
.hero__blob--1 {
    width: 120px; height: 120px; top: 14%; right: 6%;
    background: radial-gradient(circle at 30% 30%, var(--esmeralda), transparent 70%);
    animation: flota 7s ease-in-out infinite;
}
.hero__blob--2 {
    width: 80px; height: 80px; bottom: 16%; left: 4%;
    background: radial-gradient(circle at 30% 30%, var(--dorado), transparent 70%);
    animation: flota 9s ease-in-out infinite reverse;
}
@keyframes flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.hero__interior {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.5rem;
    align-items: center;
}
.hero .kicker { border: 1px solid rgba(62, 207, 142, 0.25); }
.hero .kicker__punto {
    width: 8px; height: 8px; border-radius: 50%; background: var(--esmeralda);
    animation: latido 2s infinite;
}
@keyframes latido {
    0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(62, 207, 142, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}
.hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1rem;
}
.hero .resalte { position: relative; color: var(--esmeralda); white-space: nowrap; }
.hero .resalte::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.08em;
    height: 0.18em;
    background: rgba(201, 162, 75, 0.55);
    border-radius: 4px;
    z-index: -1;
}
.hero p.lead { font-size: 1.16rem; line-height: 1.6; color: #cfe7d9; max-width: 34em; margin-bottom: 2rem; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero__prueba { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.hero__avatares { display: flex; }
.hero__avatares img {
    width: 46px; height: 46px; border-radius: 50%;
    object-fit: cover; object-position: top;
    border: 2.5px solid var(--verde-800);
    margin-left: -12px; background: #cde7d9;
}
.hero__avatares img:first-child { margin-left: 0; }
.hero__prueba p { font-size: 0.95rem; color: #bfdccd; line-height: 1.3; margin: 0; }
.hero__prueba strong { color: #fff; display: block; }

.hero__media { position: relative; }
.hero__foto {
    position: relative;
    border-radius: 32px 32px 32px 80px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__foto img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }
.hero__foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 46, 26, 0.35));
}
.hero__tarjeta {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    color: var(--tinta);
    border-radius: 18px;
    box-shadow: var(--sombra);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero__tarjeta--anos { top: 1.6rem; left: -1.4rem; }
.hero__tarjeta--anos strong { font-size: 2.1rem; font-weight: 800; color: var(--verde-700); line-height: 1; }
.hero__tarjeta--anos span { font-size: 0.82rem; font-weight: 600; color: var(--tinta-suave); line-height: 1.2; }
.hero__tarjeta--sello { bottom: 1.6rem; right: -1.2rem; max-width: 230px; }
.hero__tarjeta--sello .ico {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--dorado-suave); color: var(--dorado);
    display: grid; place-items: center; flex-shrink: 0;
}
.hero__tarjeta--sello span { font-size: 0.8rem; color: var(--tinta-suave); line-height: 1.3; }
.hero__tarjeta--sello strong { display: block; color: var(--verde-900); font-size: 0.92rem; }

.hero__cifras {
    position: relative;
    margin-top: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.6rem;
}
.hero__cifra { display: flex; align-items: baseline; gap: 0.5rem; }
.hero__cifra b { font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero__cifra b i { color: var(--esmeralda); font-style: normal; }
.hero__cifra span { font-size: 0.92rem; color: #bfdccd; }

@media (max-width: 920px) {
    .hero__interior { grid-template-columns: 1fr; gap: 3rem; }
    .hero__media { order: -1; max-width: 440px; margin-inline: auto; }
    .hero__tarjeta--anos { left: 0; }
    .hero__tarjeta--sello { right: 0; }
}

/* ---------- Tarjetas ---------- */
.tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.4rem;
}
.tarjeta {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--radio-g);
    padding: 1.9rem 1.7rem;
    box-shadow: var(--sombra-s);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.tarjeta__icono {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--esmeralda-suave);
    color: var(--verde-700);
    margin-bottom: 1.1rem;
}
.tarjeta--dorada .tarjeta__icono { background: var(--dorado-suave); color: var(--dorado); }
.tarjeta h3 { margin-bottom: 0.4em; }
.tarjeta p { margin: 0; color: var(--tinta-suave); font-size: 0.99rem; }

.seccion--verde .tarjeta { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.seccion--verde .tarjeta p { color: #c3ddcd; }
.seccion--verde .tarjeta__icono { background: rgba(62, 207, 142, 0.18); color: var(--esmeralda); }

/* ---------- Cifras ---------- */
.cifras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.4rem;
    text-align: center;
}
.cifra__numero {
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    font-weight: 800;
    color: var(--verde-700);
    line-height: 1;
}
.cifra__numero sup { font-size: 0.5em; color: var(--esmeralda); }
.cifra__texto { font-weight: 600; color: var(--tinta-suave); margin-top: 0.5rem; }
.seccion--verde .cifra__numero { color: #fff; }
.seccion--verde .cifra__texto { color: #b9d6c5; }

/* ---------- Bloque dividido ---------- */
.dividido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
}
.dividido__media img { border-radius: var(--radio-g); box-shadow: var(--sombra); }
@media (max-width: 860px) { .dividido { grid-template-columns: 1fr; } }

/* ---------- Cita presidente ---------- */
.cita {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border-radius: var(--radio-g);
    border: 1px solid var(--borde);
    box-shadow: var(--sombra);
    padding: clamp(1.6rem, 4vw, 2.8rem);
}
.cita__foto img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--esmeralda-suave);
}
.cita blockquote {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 600;
    font-style: italic;
    color: var(--verde-900);
}
.cita__autor { margin-top: 0.8rem; color: var(--tinta-suave); font-style: normal; font-size: 0.95rem; }
.cita__autor strong { color: var(--verde-700); }
@media (max-width: 640px) { .cita { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- Directorio de miembros ---------- */
.miembros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.6rem;
}
.miembro-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--radio-g);
    overflow: hidden;
    box-shadow: var(--sombra-s);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-align: center;
}
.miembro-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.miembro-card__foto {
    aspect-ratio: 4 / 4.4;
    overflow: hidden;
    background: var(--esmeralda-suave);
}
.miembro-card__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.miembro-card__cuerpo { padding: 1.3rem 1.2rem 1.5rem; }
.miembro-card h3 { margin-bottom: 0.2em; font-size: 1.12rem; }
.miembro-card__especialidad { color: var(--verde-600); font-weight: 600; font-size: 0.92rem; margin: 0; }

/* ---------- Perfil público ---------- */
.perfil {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.perfil__foto img { border-radius: var(--radio-g); box-shadow: var(--sombra); width: 100%; object-fit: cover; }
.perfil__especialidad {
    display: inline-block;
    background: var(--esmeralda-suave);
    color: var(--verde-700);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}
.perfil__bio { white-space: pre-line; }
.perfil__redes { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.perfil__redes a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1.5px solid var(--borde);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--verde-800);
}
.perfil__redes a:hover { border-color: var(--verde-600); background: var(--esmeralda-suave); }
@media (max-width: 780px) { .perfil { grid-template-columns: 1fr; } .perfil__foto { max-width: 320px; } }

/* ---------- Junta directiva ---------- */
.junta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.4rem;
}
.junta-card { text-align: center; }
.junta-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-inline: auto;
    border: 4px solid #fff;
    box-shadow: var(--sombra-s);
}
.junta-card h3 { margin: 0.9rem 0 0.1rem; font-size: 1.05rem; }
.junta-card p { color: var(--dorado); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }

.honorarios { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.honorarios li {
    list-style: none;
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    font-weight: 600;
    color: var(--verde-900);
}

/* ---------- Formularios ---------- */
.formulario { display: grid; gap: 1.1rem; }
.formulario--dos { grid-template-columns: 1fr 1fr; }
.formulario--dos .campo--ancho, .formulario--dos .formulario__pie { grid-column: 1 / -1; }
@media (max-width: 640px) { .formulario--dos { grid-template-columns: 1fr; } }

.campo { display: grid; gap: 0.35rem; }
.campo label { font-weight: 700; font-size: 0.92rem; color: var(--verde-900); }
.campo input, .campo textarea, .campo select {
    font: inherit;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--borde);
    border-radius: 12px;
    background: #fff;
    color: var(--tinta);
    width: 100%;
}
.campo input:focus, .campo textarea:focus, .campo select:focus {
    outline: none;
    border-color: var(--verde-500);
    box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.18);
}
.campo--oculto { position: absolute; left: -9999px; }

.aviso {
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    border: 1.5px solid;
}
.aviso--ok { background: var(--esmeralda-suave); color: var(--verde-800); border-color: var(--esmeralda); }
.aviso--error { background: #fdf0ef; color: #93352b; border-color: #e8a59e; }

/* ---------- Cajas de autenticación ---------- */
.auth { max-width: 460px; margin-inline: auto; }
.auth__caja {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--radio-g);
    box-shadow: var(--sombra);
    padding: clamp(1.8rem, 4vw, 2.6rem);
}
.auth__alterna { text-align: center; margin-top: 1.4rem; color: var(--tinta-suave); }

/* ---------- Cuenta ---------- */
.cuenta { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.cuenta__lateral {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--radio-g);
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--sombra-s);
}
.cuenta__lateral img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; object-position: top; margin-inline: auto; }
.cuenta__panel {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--radio-g);
    padding: clamp(1.6rem, 4vw, 2.4rem);
    box-shadow: var(--sombra-s);
}
@media (max-width: 820px) { .cuenta { grid-template-columns: 1fr; } }

/* ---------- Listas con check ---------- */
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.lista-check li { display: flex; gap: 0.7rem; align-items: start; }
.lista-check .icono { color: var(--esmeralda); flex-shrink: 0; margin-top: 0.2rem; }

/* ---------- Blog ---------- */
.entradas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }
.entrada-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--radio-g);
    overflow: hidden;
    box-shadow: var(--sombra-s);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.entrada-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.entrada-card__miniatura { aspect-ratio: 16/9; background: var(--esmeralda-suave); }
.entrada-card__miniatura img { width: 100%; height: 100%; object-fit: cover; }
.entrada-card__cuerpo { padding: 1.5rem; }
.entrada-card time { color: var(--tinta-suave); font-size: 0.88rem; font-weight: 600; }
.entrada-card h3 { margin: 0.4rem 0 0.5rem; }
.entrada-card h3 a { color: inherit; }

.entrada__contenido { max-width: 760px; margin-inline: auto; }
.entrada__contenido img { border-radius: var(--radio); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .boton { margin-top: 1.4rem; }

/* ---------- Linktree ---------- */
.linktree { max-width: 520px; margin-inline: auto; text-align: center; }
.linktree__lista { display: grid; gap: 0.9rem; margin-top: 2rem; }
.linktree__lista a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #fff;
    border: 1.5px solid var(--borde);
    border-radius: 999px;
    padding: 1rem 1.4rem;
    font-weight: 700;
    color: var(--verde-800);
    box-shadow: var(--sombra-s);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.linktree__lista a:hover { transform: translateY(-3px); border-color: var(--verde-500); }

/* ---------- Página de evento (Mujer Caribe) ---------- */
.evento-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.evento-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ---------- Pie ---------- */
.pie { background: var(--verde-950); color: #b9d6c5; margin-top: var(--seccion); }
.pie__interior {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-block: 4rem 3rem;
}
.pie h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; }
.pie__logo img { max-height: 56px; width: auto; filter: brightness(0) invert(1) opacity(0.92); }
.pie__marca p { font-size: 0.95rem; margin-top: 1rem; }
.pie__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.pie__lista a { color: #b9d6c5; font-size: 0.97rem; }
.pie__lista a:hover { color: var(--esmeralda); }
.pie__contacto li { display: flex; gap: 0.6rem; align-items: start; }
.pie__contacto .icono { color: var(--esmeralda); flex-shrink: 0; margin-top: 0.25rem; }
.pie__legal { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pie__legal-interior {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-block: 1.4rem;
    font-size: 0.9rem;
}
.pie__legal a { color: #b9d6c5; }
@media (max-width: 920px) { .pie__interior { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie__interior { grid-template-columns: 1fr; } }

/* ---------- Utilidades ---------- */
.texto-centro { text-align: center; }
.mt-2 { margin-top: 2rem; }
.encabezado-pagina {
    background: linear-gradient(160deg, var(--verde-900), var(--verde-700));
    color: #d9eee2;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    text-align: center;
}
.encabezado-pagina h1 { color: #fff; margin-bottom: 0.2em; }
.encabezado-pagina p { max-width: 640px; margin-inline: auto; font-size: 1.1rem; }

/* ---------- Botones extra (gestión) ---------- */
.boton--peligro { background: #b3392e; color: #fff; }
.boton--peligro:hover { background: #93302a; color: #fff; }
.boton--mini { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* ---------- Panel de gestión ---------- */
.gestion-tabs { display: flex; gap: 0.4rem; border-bottom: 1px solid var(--borde); margin-bottom: 2rem; }
.gestion-tabs a {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.3rem; font-weight: 700; color: var(--tinta-suave);
    border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.gestion-tabs a.activo { color: var(--verde-700); border-bottom-color: var(--verde-700); }
.gestion-tabs a:hover { color: var(--verde-800); }

.gestion-panel {
    background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-g);
    padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--sombra-s); margin-bottom: 2rem;
}
.gestion-panel h2 { font-size: 1.4rem; margin-bottom: 1.3rem; }
.gestion-panel__cab { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.gestion-buscar { display: flex; gap: 0.5rem; }
.gestion-buscar input { padding: 0.6rem 0.9rem; border: 1.5px solid var(--borde); border-radius: 10px; font: inherit; }

.gestion-tabla { display: grid; gap: 0.7rem; margin-top: 1rem; }
.gestion-fila {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.8rem 1rem; border: 1px solid var(--borde); border-radius: 14px; background: var(--niebla);
}
.gestion-fila > img, .gestion-fila__ico {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0;
}
.gestion-fila__ico { display: grid; place-items: center; background: var(--esmeralda-suave); color: var(--verde-700); }
.gestion-fila__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gestion-fila__info strong { color: var(--verde-900); }
.gestion-fila__info span { font-size: 0.88rem; color: var(--tinta-suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gestion-fila__acciones { display: flex; gap: 0.5rem; align-items: center; }
.gestion-fila__acciones form { margin: 0; }

.gestion-badge { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; }
.gestion-badge--ok { background: var(--esmeralda-suave); color: var(--verde-700); }
.gestion-badge--off { background: #f0e9e8; color: #93352b; }
.gestion-badge--admin { background: var(--dorado-suave); color: var(--dorado); }

@media (max-width: 640px) {
    .gestion-fila { flex-wrap: wrap; }
    .gestion-fila__acciones { width: 100%; justify-content: flex-end; }
}

/* ---------- Muro (panel del miembro) ---------- */
.muro { display: grid; gap: 1.4rem; max-width: 760px; }
.muro-item {
    background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-g);
    overflow: hidden; box-shadow: var(--sombra-s);
}
.muro-item__img img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.muro-item__cuerpo { padding: 1.5rem 1.7rem 1.7rem; }
.muro-item__cuerpo time { font-size: 0.85rem; font-weight: 600; color: var(--dorado); }
.muro-item__cuerpo h3 { margin: 0.3rem 0 0.6rem; }
.muro-item__texto { color: var(--tinta-suave); }
.muro-item__texto p { margin: 0 0 0.8rem; }

.gestion-top { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.4rem; flex-wrap: wrap; }

/* ---------- Rol (ascenso a administrador) ---------- */
.gestion-rol { border-top: 1px dashed var(--borde); padding-top: 1.1rem; margin-top: 0.3rem; }
.gestion-rol__select {
    font: inherit; padding: 0.7rem 1rem; border: 1.5px solid var(--borde); border-radius: 12px;
    background: #fff; color: var(--tinta); max-width: 420px;
}
.gestion-rol__confirmacion {
    display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.9rem;
    font-size: 0.9rem; font-weight: 600; color: #93352b;
    background: #fdf0ef; border: 1.5px solid #e8a59e; border-radius: 12px; padding: 0.8rem 1rem;
}
.gestion-rol__confirmacion input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }

/* ---------- Editor del blog (wp_editor en el front) ---------- */
.gestion-editor { max-width: 100%; }
.gestion-editor .wp-editor-wrap { max-width: 100%; }
