:root {
    --pg-primary: #e63946;
    --pg-dark: #1d2025;
    --pg-darker: #14161a;
    --pg-light: #f8f9fa;
    --pg-accent: #ffd60a;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; }

/* ---------- Público ---------- */
.pg-navbar {
    background: var(--pg-darker);
}
.pg-navbar .navbar-brand { font-weight: 800; letter-spacing: 1px; }
.pg-navbar .navbar-brand span { color: var(--pg-primary); }

.hero {
    background: linear-gradient(rgba(20,22,26,.78), rgba(20,22,26,.88)),
        url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    padding: 7rem 0;
}
.hero h1 { font-size: 3.2rem; font-weight: 800; }
.hero .highlight { color: var(--pg-primary); }

.btn-pg { background: var(--pg-primary); color: #fff; font-weight: 600; border: none; }
.btn-pg:hover { background: #c92f3c; color: #fff; }
.text-pg { color: var(--pg-primary) !important; }
.btn-outline-pg { color: var(--pg-primary); border: 1px solid var(--pg-primary); background: transparent; font-weight: 600; }
.btn-outline-pg:hover { background: var(--pg-primary); color: #fff; }

.section-title { font-weight: 800; position: relative; display: inline-block; }
.section-title::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--pg-primary); margin: .6rem auto 0; border-radius: 2px;
}

.plan-card { transition: transform .2s, box-shadow .2s; border: none; }
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 1rem 2rem rgba(0,0,0,.15); }
.plan-card .price { font-size: 2.4rem; font-weight: 800; color: var(--pg-dark); }
.plan-card.featured { border: 2px solid var(--pg-primary); }

.promo-card { border-left: 5px solid var(--pg-accent); }

footer.pg-footer { background: var(--pg-darker); color: #adb5bd; }

/* ---------- Admin ---------- */
.admin-body { background: #f1f3f6; }
.admin-sidebar {
    width: 250px; min-height: 100vh; background: var(--pg-dark);
    position: fixed; top: 0; left: 0; padding-top: 1rem; z-index: 1030;
}
.admin-sidebar .brand { color: #fff; font-weight: 800; padding: .5rem 1.25rem 1rem; letter-spacing: 1px; }
.admin-sidebar .brand span { color: var(--pg-primary); }
.admin-sidebar a.nav-link {
    color: #adb5bd; padding: .7rem 1.25rem; display: flex; align-items: center; gap: .6rem;
    border-left: 3px solid transparent;
}
.admin-sidebar a.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-sidebar a.nav-link.active {
    color: #fff; background: rgba(230,57,70,.15); border-left-color: var(--pg-primary);
}
.admin-content { margin-left: 250px; padding: 1.5rem; }
.admin-topbar {
    background: #fff; padding: .85rem 1.5rem; margin: -1.5rem -1.5rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.06); display: flex; justify-content: space-between; align-items: center;
}

.stat-card { border: none; border-radius: .75rem; }
.stat-card .icon {
    width: 52px; height: 52px; border-radius: .6rem; display: flex;
    align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
}
.stat-card .num { font-size: 1.8rem; font-weight: 800; }

.table thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: #6c757d; }

@media (max-width: 768px) {
    .admin-sidebar { left: -250px; transition: left .25s; }
    .admin-sidebar.open { left: 0; }
    .admin-content { margin-left: 0; }
}

/* Calendario simple */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.calendar-day { background: #fff; border-radius: .5rem; min-height: 130px; padding: .5rem; border: 1px solid #e9ecef; }
.calendar-day .dow { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: #6c757d; }
.class-chip { font-size: .72rem; color: #fff; padding: .15rem .4rem; border-radius: .3rem; margin-top: .25rem; display: block; }
