/* ==========================================
   GOBIERNO (gobierno.php)
   Base tipográfica en css/editorial.css.
   ========================================== */

/* ---------- Hero ---------- */
.gob-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 3rem 0 3.25rem;
    color: var(--white);
    background:
        radial-gradient(ellipse at 85% 0%, rgba(212, 175, 55, 0.22) 0%, transparent 45%),
        radial-gradient(ellipse at 0% 100%, rgba(26, 107, 67, 0.7) 0%, transparent 55%),
        var(--home-ink);
}

.gob-hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.gob-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.gob-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.gob-breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.gob-breadcrumb .material-icons-round {
    font-size: 1rem;
}

.gob-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-full);
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--secondary-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gob-hero-eyebrow .material-icons-round {
    font-size: 1rem;
}

.gob-hero-title {
    margin: 0 0 0.75rem;
    font-family: var(--home-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--home-cream);
}

.gob-hero-lead {
    max-width: 34rem;
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Intendente ---------- */
.gob-intendente {
    background: var(--bg-secondary);
}

.gob-intendente-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 3rem 1.25rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .gob-intendente-inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 4rem;
        padding: 4.5rem 1.5rem;
    }
}

.gob-intendente-foto {
    position: relative;
    width: min(100%, 22rem);
    margin: 0 auto;
}

.gob-arch {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.75rem;
    /* La foto tiene fondo blanco: con multiply ese blanco toma el color del arco */
    background: linear-gradient(180deg, #dcebe1 0%, #f3ecd6 100%);
    box-shadow: 0 0 0 6px var(--bg-secondary), 0 0 0 7px rgba(212, 175, 55, 0.65), 0 40px 70px -40px rgba(13, 56, 34, 0.5);
}

.gob-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    mix-blend-mode: multiply;
}

.gob-cargo-sello {
    position: absolute;
    left: 50%;
    bottom: -1.1rem;
    transform: translateX(-50%);
    padding: 0.5rem 1.1rem;
    border-radius: var(--border-radius-full);
    background: var(--home-ink);
    color: var(--secondary-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.5);
}

.gob-intendente-nombre {
    margin: 0 0 1rem;
    font-family: var(--home-serif);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--home-ink);
    text-wrap: balance;
}

[data-theme="dark"] .gob-intendente-nombre {
    color: var(--home-cream);
}

.gob-intendente-lead {
    max-width: 32rem;
    margin: 0 0 1.75rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.gob-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.35rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s var(--home-ease), box-shadow 0.25s;
}

.gob-btn svg {
    flex-shrink: 0;
}

.gob-btn--ig {
    background: linear-gradient(120deg, #6a2c9c, #b4246f 55%, #c84a1c);
    color: #fff;
}

.gob-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.45);
}

/* ---------- Equipo ---------- */
.gob-equipo {
    padding: 4.5rem 0;
}

.gob-head {
    margin-bottom: 2.25rem;
}

.gob-vice {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
}

@media (min-width: 640px) {
    .gob-vice {
        grid-template-columns: 13rem minmax(0, 1fr);
        gap: 2.25rem;
        padding: 1.5rem 2.5rem 1.5rem 1.5rem;
    }
}

.gob-vice img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #dcebe1 0%, #f3ecd6 100%);
    mix-blend-mode: multiply;
}

.gob-vice-foto {
    position: relative;
    margin: 0;
    width: 100%;
}

.gob-vice-foto .gob-arch {
    aspect-ratio: 1;
    border-radius: 1.35rem;
    box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px rgba(212, 175, 55, 0.65), 0 20px 35px -15px rgba(13, 56, 34, 0.35);
}

.gob-vice-foto .gob-arch img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: multiply;
}

.gob-vice-foto .gob-cargo-sello {
    bottom: -0.75rem;
    font-size: 0.6875rem;
    padding: 0.35rem 0.85rem;
}

@media (min-width: 640px) {
    .gob-vice-foto .gob-cargo-sello {
        bottom: -0.9rem;
        font-size: 0.75rem;
        padding: 0.45rem 1rem;
    }
}

.gob-vice-lead {
    max-width: 36rem;
    margin: 0.6rem 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.gob-vice-cargo {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-dark);
}

.gob-vice-nombre {
    margin: 0.2rem 0 0;
    font-family: var(--home-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--text-primary);
}

.gob-vice-ig {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    color: #b0306f;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
}

.gob-vice-ig:hover {
    text-decoration: underline;
}

[data-theme="dark"] .gob-vice-ig {
    color: #f58fbf;
}

.gob-team {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .gob-team {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .gob-team {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.gob-miembro {
    display: flex;
    flex-direction: column;
}

.gob-miembro img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #f3ecd6 0%, var(--home-cream) 100%);
    transition: transform 0.4s var(--home-ease);
}

.gob-miembro:hover img {
    transform: translateY(-4px);
}

.gob-miembro-nombre {
    margin: 0.9rem 0 0.15rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gob-miembro-cargo {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* ---------- Contacto ---------- */
.gob-contacto {
    padding: 0 0 4.5rem;
    background: var(--bg-primary);
}

.gob-contacto-box {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding: 2rem;
    border-radius: 1.75rem;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        var(--home-ink);
    color: var(--white);
}

@media (min-width: 900px) {
    .gob-contacto-box {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 2.5rem 3rem;
    }
}

.gob-contacto-title {
    margin: 0 0 0.5rem;
    font-family: var(--home-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--home-cream);
}

.gob-contacto-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.gob-contacto-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gob-btn--wa {
    background: #128c4a;
    color: #fff;
}

.gob-btn--mapa {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .gob-btn,
    .gob-miembro img {
        transition: none;
    }
}
