:root {
    /* PALETA OSCURA CÁLIDA – ESPRESSO + ÁMBAR */
    --nf-bg: #050407; /* fondo principal muy oscuro y cálido */
    --nf-bg-alt: #120d0b; /* variación fondo */
    --nf-surface: #120e0d; /* tarjetas */
    --nf-surface-alt: #1c1512; /* tarjetas alternativas */
    --nf-border: rgba(248, 250, 252, 0.06);
    --nf-accent: #f97316; /* naranja ámbar */
    --nf-accent-soft: rgba(249, 115, 22, 0.24);
    --nf-accent-strong: #fbbf24; /* dorado cálido */

    --nf-text: #f9fafb;
    --nf-muted: #9ca3af;
    --nf-danger: #ef4444;
    --nf-radius-lg: 1.25rem;
    --nf-radius-full: 999px;
    --nf-shadow-soft: 0 22px 55px rgba(0, 0, 0, 0.9);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.nf-body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #111827 0, var(--nf-bg) 55%, #02010a 100%);
    color: var(--nf-text);
    font-family: lucida;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Ajustar textos Bootstrap al modo oscuro cálido */
.text-secondary,
.text-muted {
    color: var(--nf-muted) !important;
}

/* NAVBAR */

.nf-navbar {
    background: linear-gradient( 90deg, rgba(12, 10, 9, 0.98), rgba(17, 12, 10, 0.98), rgba(12, 10, 9, 0.98) );
    border-bottom: 1px solid rgba(248, 250, 252, 0.05);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--nf-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        color: #f9fafb;
    }

.nf-logo {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: radial-gradient(circle at 0 0, #fed7aa, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1f2933;
    font-size: 18px;
}

.nf-brand-text span {
    font-size: 15px;
    color: #f9fafb;
}

.nf-brand-text small {
    font-size: 11px;
    color: var(--nf-muted);
}

.nf-main {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* HERO */

.nf-hero {
    padding: 4.5rem 0 3.5rem;
    position: relative;
}

    /* imagen de fondo más tenue y fría */
    .nf-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("/img/hero/hero-barber.jpg");
        background-size: cover;
        background-position: center;
        opacity: 0.1;
        filter: grayscale(1);
        z-index: 1;
    }

    .nf-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(248, 180, 120, 0.18), transparent 60%), linear-gradient( 115deg, rgba(5, 4, 7, 0.98) 0, rgba(17, 12, 10, 0.96) 45%, rgba(12, 10, 9, 0.96) 100% );
        z-index: -1;
    }

.nf-hero-inner {
    position: relative;
    z-index: 2;
}

.nf-hero-title {
    font-family: lucida;
    font-size: clamp(3.8rem, 3vw, 2.7rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    color: #f9fafb;
}

    .nf-hero-title span {
        background: linear-gradient(to right, var(--nf-accent), var(--nf-accent-strong));
        -webkit-background-clip: text;
        color: transparent;
    }

.nf-hero-subtitle {
    font-size: 1.2rem;
    color: var(--nf-muted);
    max-width: 30rem;
}

.nf-hero-card {
    background: radial-gradient(circle at top, #1c1512, #120e0d);
    border-radius: var(--nf-radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(248, 250, 252, 0.06);
    box-shadow: var(--nf-shadow-soft);
}

.nf-hero-service + .nf-hero-service {
    margin-top: 0.6rem;
}

.nf-hero-service small {
    font-size: 0.8rem;
    color: var(--nf-muted);
}

.nf-price {
    font-weight: 600;
    color: var(--nf-accent-strong);
}

/* SECCIONES */

.nf-section {
    padding: 3.5rem 0;
}

.nf-section-alt {
    background: radial-gradient(circle at top, #120e0d 0, #050407 55%, #02010a 100%);
}

.nf-section-title {
    font-family: lucida;
    font-weight: 600;
    font-size: 1.6rem;
    color: #f9fafb;
}

.nf-section-subtitle {
    color: var(--nf-muted);
    max-width: 32rem;
}

.nf-section-header {
    margin-bottom: 2rem;
}

/* CARDS */

.nf-card {
    background: radial-gradient(circle at top, var(--nf-surface-alt), var(--nf-surface));
    border-radius: var(--nf-radius-lg);
    border: 1px solid var(--nf-border);
    padding: 1.5rem;
    box-shadow: var(--nf-shadow-soft);
}

.nf-card-img img {
    border-radius: 1rem;
    width: 100%;
    height: 210px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.nf-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #f9fafb;
}

.nf-card-text {
    font-size: 0.9rem;
    color: var(--nf-muted);
}

/* Foto grande */

.nf-card-photo img {
    border-radius: var(--nf-radius-lg);
    width: 100%;
    object-fit: cover;
}

/* Estilistas */

.nf-card-stylist {
    text-align: center;
}

.nf-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.nf-avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(248, 250, 252, 0.4);
}

/* Botones */

.nf-btn-primary {
    background: linear-gradient(90deg, var(--nf-accent), var(--nf-accent-strong));
    border: none;
    border-radius: var(--nf-radius-full);
    color: #18181b;
    padding-inline: 1.5rem;
    font-weight: 600;
}

    .nf-btn-primary:hover {
        filter: brightness(1.05);
        color: #020617;
    }

.nf-btn-outline {
    border-radius: var(--nf-radius-full);
    border: 1px solid rgba(148, 163, 184, 0.85);
    color: #e5e7eb;
    background: transparent;
}

    .nf-btn-outline:hover {
        background: rgba(24, 24, 27, 0.9);
        color: #f9fafb;
    }

.nf-btn-secondary {
    border-radius: var(--nf-radius-full);
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(24, 24, 27, 0.96);
    color: #e5e7eb;
}

    .nf-btn-secondary:hover {
        background: rgba(63, 46, 33, 0.9);
    }

.nf-btn-danger {
    border-radius: var(--nf-radius-full);
    border: none;
    background: linear-gradient(90deg, var(--nf-danger), var(--nf-accent));
    color: #020617;
}

/* Badges */

.nf-badge-soft {
    background: #1c1512;
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    border: 1px solid rgba(248, 250, 252, 0.08);
    color: var(--nf-muted);
    font-size: 0.75rem;
}

/* Footer */

.nf-footer {
    border-top: 1px solid rgba(248, 250, 252, 0.06);
    padding: 1.5rem 0;
    background: radial-gradient(circle at top, #120e0d, #02010a);
    color: var(--nf-muted);
}

    .nf-footer strong {
        color: #f9fafb;
    }

.nf-footer-links a {
    color: var(--nf-muted);
    font-size: 0.85rem;
}

    .nf-footer-links a:hover {
        color: var(--nf-accent-strong);
    }

/* Tablas */

.nf-table-wrapper {
    border-radius: var(--nf-radius-lg);
    border: 1px solid var(--nf-border);
    overflow: hidden;
    background: transparent;
    color: #f9fafb;
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: var(--nf-shadow-soft);
}

.nf-table {
    margin-bottom: 0;
    color: #e5e7eb;
    font-size: 0.92rem;
}

    /* Encabezado oscuro */
    .nf-table thead {
        background-color: #111827;
    }

        .nf-table thead th {
            border-bottom: 1px solid rgba(55, 65, 81, 0.9);
            font-weight: 600;
            color: #f9fafb;
        }

    /* Fondo base de filas */
    .nf-table tbody tr {
        background-color: #050407;
    }

        /* Filas alternadas un poco más claras */
        .nf-table tbody tr:nth-child(even) {
            background-color: #120e0d;
        }

/*  Eliminar el fondo claro de Bootstrap en las celdas */
.table.nf-table > :not(caption) > * > * {
    background-color: transparent !important;
    color: #f9fafb;
    border-color: rgba(148, 163, 184, 0.35);
}

/* Auth */

.nf-auth-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-auth-card {
    max-width: 420px;
    width: 100%;
    background: radial-gradient(circle at top, #1c1512, #050407);
    border-radius: var(--nf-radius-lg);
    border: 1px solid var(--nf-border);
    padding: 2.25rem 2rem;
    box-shadow: var(--nf-shadow-soft);
}

.nf-auth-title {
    font-family: lucida;
    font-size: 1.7rem;
    color: #f9fafb;
}

/* Inputs */

.nf-input {
    background: #050816;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

    .nf-input:focus {
        border-color: var(--nf-accent);
        box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.5);
    }

/* Contact */

.nf-contact-list {
    padding-left: 0;
    margin-top: 1rem;
}

    .nf-contact-list li + li {
        margin-top: 0.7rem;
    }

.nf-contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--nf-muted);
}

/* Map placeholder */

.nf-map-placeholder {
    min-height: 220px;
}

/* Responsivo */

@media (max-width: 767.98px) {
    .nf-hero {
        padding-top: 3.2rem;
    }

        .nf-hero::after {
            background: radial-gradient(circle at top, rgba(248, 180, 120, 0.2), transparent 60%), linear-gradient( to bottom, rgba(5, 4, 7, 0.98) 0, rgba(17, 12, 10, 0.96) 40%, rgba(12, 10, 9, 0.95) 100% );
        }
}

.register-form {
    max-width: 520px !important;
}
