/* =====================================================================
   HOSPEDAMAX — DESIGN SYSTEM
   Uma única fonte de verdade para cores, espaçamentos e sombras.
   Mudou aqui, mudou no site inteiro. Suporta modo claro e escuro.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Cores da marca */
    --brand: #ff385c;
    --brand-dark: #e31c5f;
    --brand-grad: linear-gradient(90deg, #ff385c 0%, #ff7a45 100%);

    /* Tons neutros (modo claro) */
    --ink: #1f2328;
    --ink-soft: #5c6470;
    --bg: #f8f8f7;
    --surface: #ffffff;
    --line: #ececec;
    --field-bg: #fafafa;
    --thead-bg: #fbfbfa;
    --row-hover: #fdf7f8;
    --track: #f0f0ef;

    /* Barra lateral do admin (escura nos dois modos) */
    --sidebar-bg: #15181d;
    --sidebar-ink: #9aa3b2;

    /* Formas e sombras */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
    --shadow-md: 0 12px 32px rgba(16, 24, 40, .10);
    --shadow-lg: 0 24px 60px rgba(16, 24, 40, .18);

    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Modo escuro nativo (Métrica 10): segue a preferência do sistema */
@media (prefers-color-scheme: dark) {
    :root {
        --ink: #eef0f3;
        --ink-soft: #a2abb8;
        --bg: #101318;
        --surface: #181c23;
        --line: #262c36;
        --field-bg: #12151b;
        --thead-bg: #1c212a;
        --row-hover: #20242d;
        --track: #262c36;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
        --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
        --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    letter-spacing: -.02em;
}

a {
    color: inherit;
    text-decoration: none;
    margin-left: 18px;
    font-weight: 600;
    transition: color .15s ease, opacity .15s ease;
}

a:hover {
    color: var(--brand);
}

/* Acessibilidade: anel de foco visível ao navegar por teclado */
:focus-visible {
    outline: 3px solid rgba(255, 56, 92, .45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Revelação suave ao rolar (só quando o JS está ativo) */
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

/* ============================== NAVBAR ============================== */

.navbar {
    width: 100%;
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding .25s ease, box-shadow .25s ease;
}

.navbar-light {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--surface) 85%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

/* Compacta ao rolar (via app.js) */
.navbar-light.navbar-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -.03em;
}

.logo-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-soft);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    vertical-align: middle;
}

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

.hero {
    min-height: 96vh;
    background:
        linear-gradient(180deg, rgba(10, 12, 16, .62) 0%, rgba(10, 12, 16, .38) 55%, rgba(10, 12, 16, .7) 100%),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
}

.hero a:hover {
    color: #ffd7dd;
}

.hero-content {
    max-width: 960px;
    margin: 12vh auto 0;
    text-align: center;
    padding: 20px 20px 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 900;
    line-height: 1.04;
    margin: 0 0 18px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero-content p {
    font-size: clamp(16px, 2.2vw, 21px);
    opacity: .95;
    max-width: 660px;
    margin: 0 auto;
}

.search-box {
    margin: 44px auto 0;
    background: #ffffff;
    padding: 12px;
    border-radius: var(--radius-pill);
    display: flex;
    gap: 8px;
    max-width: 900px;
    box-shadow: var(--shadow-lg);
}

.search-box input,
.search-box button {
    border: 0;
    padding: 16px 20px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-family: inherit;
}

.search-box input {
    flex: 1;
    min-width: 0;
    background: #f3f3f2;
    color: #1f2328;
    transition: background .15s ease, box-shadow .15s ease;
}

.search-hospedes {
    max-width: 130px;
}

.search-box input:hover {
    background: #ececeb;
}

.search-box input:focus {
    background: #ffffff;
    box-shadow: inset 0 0 0 2px var(--brand);
    outline: none;
}

.search-box button {
    background: var(--brand-grad);
    color: white;
    font-weight: 800;
    cursor: pointer;
    padding-inline: 30px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.search-box button:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 26px rgba(255, 56, 92, .45);
}

/* ============================ ESTRUTURA ============================= */

.container {
    max-width: 1180px;
    margin: 48px auto;
    padding: 0 24px;
}

.subtitle {
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.page-header h1,
.page-header h2 {
    margin: 0;
}

.link-more {
    margin-left: 0;
    color: var(--brand);
    font-size: 14px;
}

/* ========================= CARDS DO CATÁLOGO ======================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}

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

.card img,
.card-thumb {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .35s ease;
}

.card:hover img,
.card:hover .card-thumb {
    transform: scale(1.04);
}

/* Miniaturas temporárias até o Módulo 6 (upload de fotos) entrar.
   Quatro gradientes que alternam pelo id do imóvel. */
.card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.thumb-0 { background: linear-gradient(135deg, #ffd7dd, #ffe9d6); }
.thumb-1 { background: linear-gradient(135deg, #d6e8ff, #e3d6ff); }
.thumb-2 { background: linear-gradient(135deg, #d7f5e2, #d6ecff); }
.thumb-3 { background: linear-gradient(135deg, #fff0cf, #ffd9c4); }

.card-body {
    padding: 20px;
    position: relative;
    background: var(--surface);
}

.card-body h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.card-body p {
    color: var(--ink-soft);
    margin: 0 0 10px;
    font-size: 14px;
}

.card-body strong {
    font-size: 16px;
}

.preco-sufixo {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 13px;
}

/* ===================== PROPOSTA DE VALOR (HOME) ===================== */

.value-props {
    padding: 24px 0 40px;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.prop-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.prop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prop-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 56, 92, .12), rgba(255, 122, 69, .12));
    color: var(--brand);
    margin-bottom: 16px;
}

.prop-icon svg {
    width: 26px;
    height: 26px;
}

.prop-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.prop-card p {
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
}

/* ============================== RODAPÉ ============================== */

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 44px 24px 28px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-inner p {
    color: var(--ink-soft);
    margin: 8px 0 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    margin-left: 0;
    color: var(--ink-soft);
}

.footer-copy {
    max-width: 1180px;
    margin: 30px auto 0;
    color: var(--ink-soft);
    font-size: 13px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

/* ======================= FORMULÁRIOS E AUTH ========================= */

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--surface);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.auth-card h1 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
}

.auth-card p {
    color: var(--ink-soft);
}

.auth-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    font-weight: 600;
    color: var(--ink);
    font-size: 14px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 15px;
    background: var(--field-bg);
    color: var(--ink);
    font-family: inherit;
    resize: vertical;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.auth-form input:hover,
.auth-form select:hover,
.auth-form textarea:hover {
    border-color: color-mix(in srgb, var(--line) 60%, var(--ink-soft));
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(255, 56, 92, .12);
}

.auth-form button,
.button-primary {
    margin-top: 10px;
    display: inline-block;
    border: 0;
    padding: 15px 22px;
    border-radius: var(--radius-pill);
    background: var(--brand-grad);
    color: white;
    font-weight: 800;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.auth-form button:hover,
.button-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 56, 92, .38);
}

.button-secondary {
    display: inline-block;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    margin-left: 0;
    transition: border-color .15s ease, transform .15s ease;
}

.button-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
}

.auth-footer a {
    margin-left: 0;
    color: var(--brand);
}

/* ============================= ALERTAS ============================== */

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin: 18px 0;
    font-size: 14px;
}

.alert p {
    margin: 0;
}

.alert p + p {
    margin-top: 6px;
}

.alert-error {
    background: #ffe8ec;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.alert-success {
    background: #e8fff3;
    color: #047857;
    border: 1px solid #bbf7d0;
}

/* ======================== PAINEL DO USUÁRIO ========================= */

.dashboard-card {
    background: var(--surface);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dashboard-card h1 {
    margin-top: 0;
}

.dashboard-card .button-primary {
    margin-right: 10px;
}

.dashboard-info {
    margin: 24px 0;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg);
}

.dashboard-info p {
    margin: 8px 0;
}

/* ============================= TABELAS ============================== */

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th,
.table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.table th {
    background: var(--thead-bg);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.table tbody tr {
    transition: background .12s ease;
}

.table tbody tr:hover {
    background: var(--row-hover);
}

.table tr:last-child td {
    border-bottom: 0;
}

/* Botões pequenos usados em tabelas (ações) */
.acoes {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
}

.btn-ghost {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    margin-left: 0;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-danger:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: rgba(220, 38, 38, .06);
}

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

.empty-state {
    background: var(--surface);
    padding: 56px 34px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-state p {
    color: var(--ink-soft);
    font-size: 17px;
    margin-bottom: 24px;
}

/* ==================== ACOMPANHAMENTO DA OBRA ======================== */

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.progress-header h2 {
    margin: 0;
    font-size: 20px;
}

.progress-number {
    color: var(--brand);
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.progress-track {
    flex: 1;
    height: 10px;
    background: var(--track);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.progress-track-lg {
    height: 18px;
}

.progress-fill {
    height: 100%;
    background: var(--brand-grad);
    border-radius: var(--radius-pill);
    transition: width .4s ease;
}

.roadmap-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-row {
    background: var(--surface);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: transform .15s ease, box-shadow .15s ease;
}

.module-row:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.module-done {
    opacity: .72;
}

.module-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.module-badge {
    font-weight: 700;
    color: var(--ink-soft);
    white-space: nowrap;
}

.module-tag {
    background: #fff3cd;
    color: #92600a;
    border: 1px solid #ffe08a;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.module-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    flex: 1;
    max-width: 320px;
}

/* ================= CENTRO DE COMANDO (SUPER ADMIN) ================== */

.admin-body {
    background: var(--bg);
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 252px;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    color: var(--sidebar-ink);
    padding: 28px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-sidebar .logo {
    margin: 0 14px;
}

.side-caption {
    margin: 4px 14px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #6b7482;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--sidebar-ink);
    font-weight: 600;
    font-size: 14px;
    margin-left: 0;
    transition: background .15s ease, color .15s ease;
}

.side-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.side-link:hover {
    background: rgba(255, 255, 255, .07);
    color: #ffffff;
}

.side-link.active {
    background: var(--brand-grad);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 56, 92, .35);
}

.side-bottom {
    margin-top: auto;
}

.side-link-danger:hover {
    background: rgba(220, 38, 38, .18);
    color: #fca5a5;
}

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 40px 44px 60px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.admin-topbar h1 {
    margin: 0 0 6px;
    font-size: 30px;
}

.admin-topbar .subtitle {
    margin: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 56, 92, .12), rgba(255, 122, 69, .12));
    color: var(--brand);
    margin-bottom: 4px;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-number {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.admin-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.admin-panel h2 {
    font-size: 18px;
    margin-top: 0;
}

.admin-panel .table {
    box-shadow: none;
    border: 1px solid var(--line);
}

/* Gráfico de barras verticais (novos usuários por dia) */
.chart-bars {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 160px;
    padding-top: 10px;
}

.chart-bar {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.chart-bar-fill {
    width: 100%;
    max-width: 46px;
    border-radius: 10px 10px 4px 4px;
    background: var(--brand-grad);
    min-height: 4px;
    transition: height .4s ease;
}

.chart-bar-label {
    font-size: 11px;
    color: var(--ink-soft);
    white-space: nowrap;
}

.chart-bar-valor {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand);
    min-height: 16px;
}

/* Barras horizontais (imóveis por cidade) */
.hbar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 6px;
}

.hbar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hbar-label {
    width: 150px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hbar-valor {
    font-variant-numeric: tabular-nums;
    font-size: 14px;
}

/* Linha do tempo de atividade (auditoria) */
.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
    border-bottom: 0;
}

.activity-acao {
    font-weight: 700;
    font-size: 14px;
}

.activity-detalhes {
    color: var(--ink-soft);
    font-size: 13px;
}

.activity-tempo {
    color: var(--ink-soft);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.obra-callout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, rgba(255, 56, 92, .08), rgba(255, 122, 69, .08));
    border: 1px solid rgba(255, 56, 92, .18);
}

.obra-callout h2 {
    margin: 0 0 8px;
}

.obra-callout .subtitle {
    margin: 0;
}

/* Etiquetas de tipo/status */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.badge-hospede {
    background: #e7f0ff;
    color: #1d4ed8;
}

.badge-anfitriao {
    background: #e8fff3;
    color: #047857;
}

.badge-admin {
    background: #fdeaff;
    color: #86198f;
}

.badge-oculto {
    background: #f1f2f4;
    color: #4b5563;
}

/* ============================ RESPONSIVO ============================ */

@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
        padding: 18px 14px;
    }

    .side-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .side-caption {
        display: none;
    }

    .side-bottom {
        margin-top: 10px;
    }

    .admin-main {
        padding: 26px 20px 50px;
    }

    .admin-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .navbar {
        padding: 16px 20px;
        flex-direction: column;
        gap: 14px;
    }

    .navbar a {
        margin-left: 12px;
    }

    .hero-content {
        margin-top: 7vh;
    }

    .search-box {
        border-radius: var(--radius-lg);
        flex-direction: column;
    }

    .search-hospedes {
        max-width: none;
    }

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

    .table {
        display: block;
        overflow-x: auto;
    }

    .footer-inner {
        flex-direction: column;
    }
}
