:root {
    --pp-primary: #ffe32f;
    --pp-primary-soft: #fff4a3;
    --pp-bg: #f5f5f7;
    --pp-bg-soft: #fdfdfd;
    --pp-surface: #ffffff;
    --pp-border: #e5e7eb;
    --pp-text-main: #111827;
    --pp-text-muted: #6b7280;
    --pp-accent: #ff6b6b;
    --pp-radius-lg: 1.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff7c2;
    color: var(--pp-text-main);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        color: inherit;
    }

/* HEADER / NAVBAR */

.pp-header {
    position: relative;
    z-index: 50;
    /* NAV TRANSPARENTE, SIN FONDO */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none; /* por si acaso */
    border-bottom: none; /* sin línea */
    box-shadow: none; /* sin sombra */
}


.pp-navbar {
    background: transparent;
}

.pp-logo-circle {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--pp-primary), #ffd000);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.03em;
    color: #111827 !important;
}

.nav-link {
    font-size: 0.95rem;
    padding-inline: 0.75rem !important;
    color: #111827 !important;
}

    .nav-link:hover,
    .nav-link.active {
        color: #111827 !important;
    }

/* Botones */

.pp-btn-primary {
    background: var(--pp-primary);
    color: #111111;
    border-radius: 999px;
    border: none;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(255, 227, 47, 0.35);
    font-size: 0.95rem;
}

    .pp-btn-primary:hover {
        filter: brightness(0.97);
        box-shadow: 0 6px 18px rgba(255, 227, 47, 0.25);
    }

.pp-btn-outline {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #111827;
    padding: 0.45rem 1.1rem;
    font-weight: 500;
    background: #ffffff;
    font-size: 0.9rem;
}

    .pp-btn-outline:hover {
        border-color: var(--pp-primary);
        background: rgba(255, 227, 47, 0.13);
    }

/* AVATAR */

.pp-avatar-link {
    display: inline-flex;
    align-items: center;
}

.pp-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* MAIN */

.pp-main {
    padding-top: 0;
}

/* HERO HOME */

.hero-home {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: var(--pp-text-main);
    overflow: hidden;
    margin-top: -72px; /* para que suba detrás del nav */
    padding-top: 120px; /* para que el texto no quede escondido bajo el nav */
}

    .hero-home::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("/images/hero-rambla-montevideo.jpg");
        background-size: cover;
        background-position: center;
        opacity: 0.8;
        filter: saturate(1.05);
        z-index: 0;
        filter: contrast(0.2)!important;
        filter: saturate(0.8)!important;
        filter: brightness(0.8)!important;
    }

    .hero-home::after {
        content: "";
        position: absolute;
        inset: 0;
/*        background: linear-gradient( to right, rgba(255, 255, 255, 0.7), rgba(255, 247, 194, 0.3) );
*/        z-index: 0;
    }

    .hero-home > .container {
        position: relative;
        z-index: 1;
    }



.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 700;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 3.2vw + 1.4rem, 3.5rem);
    line-height: 1.1;
}

.hero-highlight {
    /*background: linear-gradient(120deg, var(--pp-primary), #ffd000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;*/
    /*color: #ffd000;*/
    color: white !important;
}

.hero-tagline {
    color: var(--pp-text-muted);
    max-width: 32rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #4b5563;
    font-size: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

/* CARDS */

.pp-card {
    background: var(--pp-surface);
    border-radius: var(--pp-radius-lg);
    border: 1px solid var(--pp-border);
    padding: 1.3rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    background-color: #fff7c2;
}

    .pp-card:hover {
        transform: translateY(-3px);
        border-color: rgba(251, 191, 36, 0.9);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

.pp-card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pp-text-muted);
}

.pp-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
}

.pp-card-link {
    color: inherit;
}

    .pp-card-link:hover .pp-card {
        transform: translateY(-3px);
        border-color: rgba(251, 191, 36, 0.9);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    .pp-card-link:hover .pp-card-title {
        text-decoration: underline;
    }


/* CHIPS / BADGES */

.pp-chip {
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--pp-text-muted);
}

.badge-pp {
    background: rgba(255, 227, 47, 0.18);
    color: #92400e;
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
}

/* SECCIONES */

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
}

/* BLOG */

.blog-list-img {
    border-radius: 1rem;
    width: 100%;
    height: 210px;
    object-fit: cover;
    margin-bottom: 0.9rem;
}

.blog-detail-cover {
    border-radius: 1.5rem;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--pp-text-muted);
}

/* FORMS */

.form-control,
.form-select {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: var(--pp-text-main);
    border-radius: 0.75rem;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--pp-primary);
        box-shadow: 0 0 0 0.15rem rgba(255, 227, 47, 0.4);
    }

textarea.form-control {
    min-height: 140px;
}

/* FOOTER */

.pp-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    background: #ffffff;
    color: var(--pp-text-muted);
}

/* TABLAS ADMIN (pueden seguir oscuras o aclararlas si querés) */

.table-dark {
    --bs-table-bg: #111827;
    --bs-table-striped-bg: #1f2937;
    --bs-table-striped-color: #e5e7eb;
    --bs-table-border-color: #374151;
    --bs-table-color: #e5e7eb;
}

/* UTILIDADES */

.small.text-muted {
    color: var(--pp-text-muted) !important;
}

/* SECCIONES CON FONDO BLANCO / AMARILLO */

.section-block {
    padding: 3rem 0;
}

/* Fondo blanco clásico */
.section-white {
    background: #ffffff;
    color: var(--pp-text-main);
}

/* Fondo amarillo suave */
.section-yellow {
    background: #fff7c2; /* amarillo pastel */
    color: #1f2937; /* gris oscuro para buen contraste */
}

    /* Ajustes para textos dentro de secciones amarillas */
    .section-yellow .section-kicker {
        color: #92400e; /* un tono tostado que combina con el amarillo */
    }

    .section-yellow .text-muted,
    .section-yellow .small.text-muted {
        color: #374151 !important; /* un poco más fuerte para que no se “pierda” */
    }

    /* Que las cards en amarillo sigan destacando en blanco suave */
    .section-yellow .pp-card {
        background: #fffef5;
    }

    /* Por si usás badges/chips encima del amarillo */
    .section-yellow .badge-pp {
        background: rgba(251, 191, 36, 0.18);
        color: #92400e;
    }

.account-form {
    max-width: 520px !important;
}
