:root {
    --verde-oscuro: #1f4d2b;
    --verde-oscuro-soft: #245c35;
    --amarillo-mostaza: #d4a017;
    --amarillo-soft: #f1d37a;
    --blanco: #ffffff;
    --gris-claro: #f6f7f6;
    --sombra-suave: 0 20px 40px rgba(0,0,0,.18);
    --sombra-hover: 0 25px 60px rgba(0,0,0,.25);
}

/* ================= BASE ================= */
html, body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

/* Fondo con overlay elegante */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(
            rgba(31,77,43,0.65),
            rgba(31,77,43,0.65)
        ),
        url("/pangueabajo/static/pangueabajo.jpg") center/cover;
    z-index: -1;
}

/* ================= NAVBAR ================= */
.custom-navbar {
    background: rgba(31,77,43,0.85);
    backdrop-filter: blur(10px);
    box-shadow: var(--sombra-suave);
    padding: 16px 0;
}

.navbar-logo {
    height: 60px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color .3s ease;
}

.nav-link:hover {
    color: var(--amarillo-mostaza) !important;
}

/* ================= HERO ================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--blanco);
    text-shadow:
        0 6px 15px rgba(0,0,0,.85),
        0 0 25px rgba(212,160,23,.4);
}

.hero-text {
    color: #f4f4f4;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ================= SECCIONES ================= */
section {
    scroll-margin-top: 120px;
}

/* ================= TARJETAS ================= */
.card {
    background: rgba(255,255,255,.96);
    border-radius: 26px;
    border: none;
    box-shadow: var(--sombra-suave);
    transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--sombra-hover);
}

.card h2,
.card h5 {
    color: var(--verde-oscuro);
}

/* ================= LIST GROUP ================= */
.list-group {
    border-radius: 24px;
    overflow: hidden;
}

.list-group-item {
    padding: 18px 22px;
    font-size: .95rem;
}

/* ================= AVISO IMPORTANTE ================= */
.notice-btn {
    position: fixed;
    top: 200px;
    right: 20px;
    background: linear-gradient(
        135deg,
        var(--amarillo-mostaza),
        var(--amarillo-soft)
    );
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 22px;
    box-shadow: var(--sombra-suave);
    border: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.notice-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--sombra-hover);
}

.notice-card {
    position: fixed;
    top: 150px;
    right: 20px;
    width: 360px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--sombra-hover);
    display: none;
    z-index: 1000;
}

.notice-header {
    background: linear-gradient(
        135deg,
        var(--verde-oscuro),
        var(--verde-oscuro-soft)
    );
    color: white;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-logo {
    width: 70px;
    height: auto;
}

.notice-body {
    padding: 18px;
    font-size: .9rem;
}

/* ================= FOOTER ================= */
.footer-custom {
    background: linear-gradient(
        135deg,
        var(--verde-oscuro),
        var(--verde-oscuro-soft)
    );
    color: white;
    padding: 30px 0;
    text-align: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-custom p {
    margin: 4px 0;
    font-size: .9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .notice-card {
        width: 90%;
        right: 5%;
    }
}
