:root {
    --yellow: #fff200;
    --blue: #0088ff;
    --navy: #071527;
    --ink: #111827;
    --muted: #667085;
    --soft: #f4f7fb;
    --shadow: 0 18px 55px rgba(7, 21, 39, .12);
}

/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
}

/* =========================================================
   NAVEGACIÓN
========================================================= */

.navbar {
    background: var(--navy);
}

.navbar-brand {
    font-size: 1.55rem;
}

.fw-black {
    font-weight: 900;
    letter-spacing: -.04em;
}

.brand-go {
    color: var(--yellow);
}

.brand-alausi {
    color: var(--blue);
}

.nav-link {
    color: rgba(255, 255, 255, .74);
    font-weight: 700;
}

.nav-link:hover {
    color: #fff;
}

/* =========================================================
   BOTONES
========================================================= */

.btn-brand-yellow {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--navy);
    font-weight: 900;
}

.btn-brand-yellow:hover {
    background: #e6da00;
    border-color: #e6da00;
    color: var(--navy);
}

.btn-brand-blue {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 900;
}

.btn-brand-blue:hover {
    background: #0075db;
    border-color: #0075db;
    color: #fff;
}

/* =========================================================
   HERO GENERAL
========================================================= */

.hero {
    padding: 110px 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 21, 39, .95),
            rgba(7, 21, 39, .65)
        ),
        url('../img/hero-alausi.webp') center center / cover no-repeat;
    color: #fff;
}

/* =========================================================
   HERO DE LA PÁGINA PRINCIPAL
========================================================= */

.home-hero {
    position: relative;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            rgba(7, 21, 39, .94) 0%,
            rgba(7, 21, 39, .72) 45%,
            rgba(7, 21, 39, .35) 100%
        ),
        url('../img/hero-alausi.webp') center center / cover no-repeat;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   CORRECCIÓN DEL MENÚ BLANCO DE CATEGORÍAS
   Evita que se monte sobre los botones del hero en escritorio
========================================================= */

@media (min-width: 992px) {

    .home-hero {
        padding-bottom: 90px;
    }

    .home-hero + section,
    .home-hero + .section-space,
    .home-hero + .categories-section,
    .home-hero + .home-categories,
    .home-hero + .category-section {
        position: relative;
        z-index: 3;
        margin-top: 0 !important;
        transform: none !important;
    }

    .home-categories,
    .categories-grid,
    .category-grid,
    .category-menu,
    .quick-categories,
    .home-category-grid {
        position: relative !important;
        top: auto !important;
        margin-top: 0 !important;
        transform: none !important;
        z-index: 3;
    }
}

/* =========================================================
   SECCIONES
========================================================= */

.section-space {
    padding: 82px 0;
}

.section-kicker {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* =========================================================
   TARJETAS
========================================================= */

.quick-card,
.listing-card,
.panel-card,
.plan-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(7, 21, 39, .07);
}

.quick-card {
    display: block;
    color: var(--ink);
    padding: 28px;
    height: 100%;
    transition: .25s;
}

.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.quick-card i {
    font-size: 2rem;
    color: var(--blue);
}

.listing-card {
    overflow: hidden;
    height: 100%;
}

.listing-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.listing-body {
    padding: 22px;
}

.badge-type {
    background: var(--navy);
}

.price {
    color: var(--blue);
    font-weight: 900;
    font-size: 1.25rem;
}

/* =========================================================
   HORARIOS
========================================================= */

.schedule-box {
    background: #f7f9fc;
    border-left: 4px solid var(--yellow);
    padding: 11px 13px;
    border-radius: 10px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--navy);
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, .55);
    margin: .45rem 0;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* =========================================================
   FORMULARIOS
========================================================= */

.form-shell {
    max-width: 900px;
    margin: auto;
}

/* =========================================================
   PANEL
========================================================= */

.panel-card {
    padding: 26px;
}

/* =========================================================
   PLANES
========================================================= */

.plan-card {
    padding: 28px;
    height: 100%;
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--blue);
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--blue);
}

/* =========================================================
   ESTADOS
========================================================= */

.status-pill {
    display: inline-flex;
    padding: .4rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
}

.status-pending_payment {
    background: #fff4d6;
    color: #8a5b00;
}

.status-pending_review {
    background: #e8f3ff;
    color: #005baa;
}

.status-active {
    background: #e5faec;
    color: #08752d;
}

.status-rejected,
.status-expired {
    background: #fde8e8;
    color: #a10d0d;
}

/* =========================================================
   GALERÍA
========================================================= */

.gallery-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 22px;
}

.thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
}

/* =========================================================
   DETALLE
========================================================= */

.detail-box {
    background: #f7f9fc;
    border-radius: 20px;
    padding: 22px;
}

.bank-box {
    background: #fffbe0;
    border: 1px solid #eee49a;
    border-radius: 18px;
    padding: 22px;
}

/* =========================================================
   ADMIN
========================================================= */

.admin-sidebar {
    background: var(--navy);
    min-height: calc(100vh - 70px);
    padding: 24px;
}

.admin-sidebar a {
    display: block;
    color: rgba(255, 255, 255, .65);
    padding: .75rem 0;
    text-decoration: none;
}

.admin-sidebar a:hover {
    color: #fff;
}

/* =========================================================
   AYUDA DE CATEGORÍAS
========================================================= */

.category-help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.category-help {
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    padding: 15px;
    background: #f8fafc;
}

.category-help strong {
    display: block;
    color: var(--blue);
    margin-bottom: 4px;
}

.category-help span {
    display: block;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.4;
}

.category-explanation,
.map-help {
    background: #eef7ff;
    border-left: 4px solid var(--blue);
    padding: 12px 14px;
    border-radius: 10px;
    color: #334155;
    font-size: .92rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .home-hero {
        padding-bottom: 50px;
    }

    .home-categories,
    .categories-grid,
    .category-grid,
    .category-menu,
    .quick-categories,
    .home-category-grid {
        margin-top: 0 !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {

    .hero {
        padding: 80px 0;
    }

    .home-hero {
        background-position: center center;
    }

    .section-space {
        padding: 60px 0;
    }

    .gallery-main {
        height: 300px;
    }

    .category-help-grid {
        grid-template-columns: 1fr;
    }
}