/* =============================================
 * ESTILOS AGENDAMIENTO — citas.css
 * =============================================
 * Archivo:      public/css/citas.css
 * Descripción:  Estilos del wizard de agendamiento de citas públicas (/agendar-cita). Define el layout de pasos (selección de especialista, servicio, fecha/hora y confirmación), cards de especialistas, selector de horarios y formulario de datos personales.
 * Secciones:    Variables CSS, Hero, Wizard pasos, Cards especialistas, Selector horario, Formulario
 * Autor:        Stetik Lab Academy
 * =============================================
 */
:root {
    --nb-rose:   #C29A59;
    --nb-rose-d: #A9834A;
    --nb-dark:   #292724;
    --nb-cream:  #F5F1EA;
    --nb-green:  var(--verde-marca);
    --nb-green2: #6B655D;
    --nb-muted:  #6B655D;
}

/* ══ HERO ══════════════════════════════════════════════════════════════ */
.citas-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #4A4540 0%, #4A4540 55%, var(--fondo-oscuro, #4A4540) 100%);
    overflow: hidden;
    margin-bottom: -1px;
}
.citas-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../img/citas.jpg') center/cover no-repeat;
    opacity: .45;
}
.citas-hero-nav { position: relative; z-index: 10; }
.citas-hero-body {
    position: relative; z-index: 5;
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 3rem 1.5rem 4.5rem;
}
.citas-hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(194,154,89,.22);
    border: 1px solid rgba(194,154,89,.5);
    color: #E4E0D8;
    font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 6px 18px; border-radius: 100px; margin-bottom: 1.1rem;
}
.citas-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: .8rem;
    text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.citas-hero-title span { color: #E4E0D8; }
.citas-hero-sub {
    font-size: .97rem; color: rgba(255,255,255,.75);
    max-width: 500px; line-height: 1.7; margin-bottom: 0;
}
.citas-wave { position: relative; z-index: 5; margin-top: -64px; line-height: 0; background: transparent; }
.citas-wave svg { display: block; width: 100%; }

/* ══ LAYOUT PRINCIPAL ══════════════════════════════════════════════════ */
.citas-main { padding: 0 0 5rem; background: var(--nb-cream); position: relative; margin-top: -6px; z-index: 8; }

/* ══ SIDEBAR ═══════════════════════════════════════════════════════════ */
.nb-sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    margin-bottom: 1rem;
    margin-top: -50px;
    position: relative; z-index: 20;
}
.nb-sidebar-card h6 {
    font-weight: 800; color: var(--nb-dark); font-size: .88rem;
    letter-spacing: .03em; margin-bottom: 1.1rem;
}

/* Pasos del proceso */
.nb-step-item {
    display: flex; gap: 1rem;
    padding: .65rem 0; border-bottom: 1px solid #F5F1EA;
}
.nb-step-item:last-child { border-bottom: none; }
.nb-step-dot {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--nb-rose);
    color: #292724; font-size: .78rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(194,154,89,.35);
}
.nb-step-title { font-size: .86rem; font-weight: 700; color: var(--nb-dark); margin-bottom: 2px; }
.nb-step-desc  { font-size: .78rem; color: #6B655D; line-height: 1.5; }

/* Beneficios */
.nb-benefit-item {
    display: flex; align-items: center; gap: .7rem;
    padding: .45rem 0; font-size: .84rem; color: #555;
    border-bottom: 1px solid #F5F1EA;
}
.nb-benefit-item:last-child { border-bottom: none; }
.nb-benefit-item i { color: var(--nb-green); font-size: .9rem; flex-shrink: 0; }

/* ══ WIZARD CARD ═══════════════════════════════════════════════════════ */
.nb-wizard-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.1);
    overflow: hidden;
    margin-top: -50px;
    position: relative; z-index: 20;
}

/* Barra de pasos */
.nb-steps-bar {
    display: flex;
    background: #C29A59;
    padding: 0;
}
.nb-step-tab {
    flex: 1; padding: 1.1rem .5rem;
    text-align: center; font-size: .78rem;
    color: rgba(255,255,255,.55); font-weight: 700;
    position: relative; cursor: default;
    transition: color .3s; letter-spacing: .03em; text-transform: uppercase;
}
.nb-step-tab.active { color: #fff; }
.nb-step-tab.done   { color: rgba(255,255,255,.75); }
.nb-step-tab::after { display: none; }
.nb-step-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.2); color: rgba(255,255,255,.55);
    font-size: .78rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 5px; transition: background .3s, color .3s;
}
.nb-step-tab.active .nb-step-num { background: #fff; color: var(--nb-rose); }
.nb-step-tab.done   .nb-step-num { background: rgba(255,255,255,.45); color: #fff; }

/* Paneles */
.nb-panel { display: none; padding: 2rem; }
.nb-panel.active { display: block; }

/* Subtítulo de panel */
.nb-panel-subtitle {
    font-size: .84rem; color: #6B655D; margin-bottom: 1.4rem;
    display: flex; align-items: center; gap: 6px;
}
.nb-panel-subtitle i { color: var(--nb-rose); }

/* ══ ESPECIALISTAS ═════════════════════════════════════════════════════ */
.nb-esp-card {
    border: 2px solid #F5F1EA;
    border-radius: 14px; padding: 1rem 1.1rem;
    cursor: pointer; background: #fff;
    display: flex; align-items: center; gap: 12px;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.nb-esp-info { flex: 1; min-width: 0; }
.nb-esp-card:hover {
    border-color: var(--nb-rose);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194,154,89,.2);
}
.nb-esp-card.selected {
    border-color: var(--nb-rose);
    background: #F5F1EA;
    box-shadow: 0 4px 16px rgba(194,154,89,.25);
}
.nb-esp-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--nb-rose), #C29A59);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.25rem; color: #292724; font-weight: 800;
    box-shadow: 0 3px 10px rgba(194,154,89,.3);
}
.nb-esp-name { font-weight: 700; font-size: .88rem; color: var(--nb-dark); }
.nb-esp-status { font-size: .73rem; color: var(--nb-green); margin-top: 2px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nb-esp-status::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--nb-green); display: inline-block;
}
.nb-esp-dot { color: #B8B2AA; margin: 0 1px; }
.nb-esp-bio {
    font-size: .78rem; color: #6B655D; margin: .45rem 0 0; line-height: 1.4;
}
.nb-esp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .55rem; }
.nb-esp-tag {
    font-size: .7rem; font-weight: 600; color: #86662F;
    border: 1px solid #E4E0D8; background: #FBF7F0;
    border-radius: 100px; padding: .2rem .65rem; white-space: nowrap;
}

/* ══ SERVICIOS ═════════════════════════════════════════════════════════ */
.nb-serv-label {
    font-size: .82rem; font-weight: 800; color: var(--nb-dark);
    margin-bottom: .75rem; letter-spacing: .02em;
}
.nb-serv-pill {
    display: flex; flex-direction: column; justify-content: center;
    width: 100%; height: 100%; min-height: 76px; box-sizing: border-box; text-align: left;
    border: 2px solid #F5F1EA; border-radius: 14px;
    padding: .8rem 1rem;
    cursor: pointer; background: #fff;
    transition: border-color .18s, box-shadow .18s, transform .15s;
}
.nb-serv-pill:hover {
    border-color: var(--nb-rose);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194,154,89,.15);
}
.nb-serv-pill.selected { border-color: var(--nb-rose); background: #FBF7F0; box-shadow: 0 0 0 1px var(--nb-rose) inset; }
.nb-serv-nombre { font-weight: 700; font-size: .9rem; color: var(--nb-dark); }
.nb-serv-desc { font-size: .78rem; line-height: 1.45; color: #6B655D; margin-top: .3rem; word-break: break-word; }
.nb-serv-meta { font-size: .78rem; color: #6B655D; margin-top: .3rem; }
.nb-serv-dot { color: #B8B2AA; margin: 0 5px; }

/* ══ CALENDARIO ════════════════════════════════════════════════════════ */
.nb-calendar { border-radius: 14px; overflow: hidden; border: 1.5px solid #F5F1EA; }
.nb-cal-header {
    background: linear-gradient(135deg, #C29A59 0%, #C29A59 100%);
    color: #292724; padding: .75rem 1rem;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: .88rem;
}
.nb-cal-header button {
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.nb-cal-header button:hover { background: rgba(255,255,255,.3); }
.nb-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.nb-cal-dow {
    text-align: center; font-size: .68rem; font-weight: 700;
    color: var(--verde-marca); padding: .5rem 0; background: #faf8f6;
    text-transform: uppercase; letter-spacing: .05em;
}
.nb-cal-day {
    text-align: center; padding: .5rem .15rem; font-size: .82rem;
    cursor: pointer; color: #444; transition: background .15s, color .15s;
    border-radius: 8px; margin: 2px;
}
.nb-cal-day:hover:not(.nb-cal-day--past):not(.nb-cal-day--empty) { background: #F5F1EA; }
.nb-cal-day--past  { color: #ddd !important; cursor: default !important; }
.nb-cal-day--empty { cursor: default; }
.nb-cal-day--sel   { background: var(--nb-rose) !important; color: #292724 !important; font-weight: 700; border-radius: 50%; }
.nb-cal-day--today { font-weight: 700; color: var(--nb-green); }

/* ══ SLOTS HORARIO ═════════════════════════════════════════════════════ */
.nb-slot {
    border: 2px solid #F5F1EA; border-radius: 10px;
    padding: .5rem 1rem; font-size: .82rem;
    cursor: pointer; background: #fff; color: #555;
    transition: all .18s; font-weight: 500;
}
.nb-slot:hover    { border-color: var(--nb-rose); color: var(--nb-rose); }
.nb-slot.selected { border-color: var(--nb-rose); background: var(--nb-rose); color: #292724; font-weight: 700; }

/* ══ RESUMEN MINI ══════════════════════════════════════════════════════ */
.nb-resumen {
    background: linear-gradient(135deg, #F5F1EA, #F5F1EA);
    border: 1px solid #F5F1EA; border-radius: 12px;
    padding: .8rem 1.1rem; font-size: .82rem;
    color: #777; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem;
    margin-bottom: 1.4rem;
}
.nb-resumen i { color: var(--nb-rose); }

/* ══ FORMULARIO PASO 3 ═════════════════════════════════════════════════ */
.nb-panel .form-label {
    font-size: .8rem; font-weight: 700; color: #555; margin-bottom: .3rem;
}
.nb-panel .form-control {
    border: 1.5px solid #ece8e6; border-radius: 10px;
    background: #fafafa; color: #212529; font-size: .88rem;
    padding: .6rem .9rem;
    transition: border-color .2s, box-shadow .2s;
}
.nb-panel .form-control:focus {
    border-color: var(--nb-rose);
    box-shadow: 0 0 0 3px rgba(194,154,89,.15);
    background: #fff; outline: none;
}
.nb-panel .form-control::placeholder { color: #6B655D; }

/* ══ BOTONES NAVEGACIÓN ════════════════════════════════════════════════ */
.nb-btn-next {
    background: linear-gradient(135deg, var(--nb-rose), #C29A59);
    color: #292724; border: none; border-radius: 12px;
    padding: .75rem 2rem; font-weight: 700; font-size: .93rem;
    cursor: pointer; transition: opacity .2s, transform .2s, box-shadow .2s;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 16px rgba(194,154,89,.35);
}
.nb-btn-next:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(194,154,89,.4); }
.nb-btn-back {
    background: #F5F1EA; color: var(--nb-muted);
    border: none; border-radius: 12px;
    padding: .75rem 1.5rem; font-weight: 600; font-size: .88rem;
    cursor: pointer; transition: background .2s;
    display: inline-flex; align-items: center; gap: 6px;
}
.nb-btn-back:hover { background: #E4E0D8; }

/* ══ MODAL ÉXITO (overlay flotante) ════════════════════════════════════ */
#nbSuccessPanel {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
#nbSuccessPanel.visible { display: flex; }

.nb-success-modal {
    position: relative;
    background: #fffdfb;
    border-radius: 26px; overflow: hidden;
    padding: 0;
    max-width: 430px; width: 92%;
    text-align: center;
    box-shadow: 0 30px 70px rgba(41,39,36,.34), 0 2px 8px rgba(41,39,36,.12);
    animation: nbModalIn .38s cubic-bezier(.34,1.56,.64,1) both;
}

/* Banda superior con la fotografia de marca */
.nb-success-cover {
    position: relative;
    height: 210px;
    background: url('../img/modal.jpg') center 45% / cover no-repeat;
}
/* Degradado que funde la foto con el contenido claro */
.nb-success-cover::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(255,253,251,0) 64%,
            rgba(255,253,251,.45) 84%,
            #fffdfb 100%),
        linear-gradient(135deg, rgba(194,154,89,.16), rgba(41,39,36,.10));
}
/* Filete de marca sobre la foto */
.nb-success-cover::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #C29A59, #C29A59, #C29A59);
    z-index: 2;
}

.nb-success-body { padding: 0 2.2rem 2.4rem; position: relative; }

@keyframes nbModalIn {
    from { opacity: 0; transform: scale(.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
}

/* ══ TRUST BADGES ══════════════════════════════════════════════════════ */
.nb-trust-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.nb-trust {
    flex: 1; min-width: 140px;
    background: #fff; border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex; align-items: center; gap: .75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nb-trust-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(194,154,89,.12);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nb-trust-icon i { color: var(--nb-rose); font-size: 1.1rem; }
.nb-trust-title { font-size: .82rem; font-weight: 700; color: var(--nb-dark); }
.nb-trust-desc  { font-size: .74rem; color: #6B655D; line-height: 1.4; }

/* ══ RESPONSIVE ════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .nb-sidebar-order { order: 2; }
    .nb-wizard-order  { order: 1; }
    .nb-sidebar-card  { margin-top: 1rem; }
    .nb-wizard-card   { margin-top: 0; }
}
@media (max-width: 767px) {
    /* Hero más alto para que la imagen de fondo se vea más completa (menos recorte) */
    .citas-hero         { min-height: 320px; }
    .citas-hero::before { background-image: url(../img/citas-mobile.jpg); background-position: center center; }
    .citas-hero-body    { padding: 2rem 1.25rem 3.5rem; }
    .citas-hero-title   { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .citas-hero-sub     { font-size: .9rem; }
}
@media (max-width: 576px) {
    .citas-hero         { min-height: 220px; }
    .citas-hero::before { background-image: url(../img/citas-mobile.jpg); }
    .citas-hero-body    { padding: 1.75rem 1rem 3rem; }
    .nb-panel           { padding: 1.4rem; }
    .nb-wizard-card     { border-radius: 16px; }
}

/* ══ UTILIDADES ════════════════════════════════════════════════════════ */
.nb-hidden { display: none; }
.nb-ic-rose { color: var(--nb-rose); }
.nb-cal-days-grid { padding: .4rem; gap: 2px; }
.nb-slot-header { font-size: .84rem; font-weight: 700; color: var(--nb-dark); margin-bottom: .75rem; }
.nb-fecha-label-selected { color: var(--nb-rose); font-weight: 600; }
.nb-no-fecha-msg { font-size: .82rem; color: #6B655D; margin-top: .5rem; }
.nb-resumen-wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* ══ PANEL ÉXITO — contenido ═══════════════════════════════════════════ */
/* Sello de confirmacion, a caballo entre la foto y el contenido */
.nb-success-icon-circle {
    position: relative;
    width: 72px; height: 72px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px rgba(194,154,89,.30), 0 0 0 6px #fffdfb;
    display: flex; align-items: center; justify-content: center;
    margin: -36px auto 1.15rem;
    z-index: 3;
    animation: nbSelloIn .5s cubic-bezier(.34,1.56,.64,1) .12s both;
}
/* Anillo que se expande una vez al aparecer */
.nb-success-icon-circle::after {
    content: ''; position: absolute; inset: -6px;
    border-radius: 50%; border: 2px solid #C29A59;
    opacity: 0; animation: nbAnillo 1.5s ease-out .5s;
}
.nb-success-icon { color: #86662F; font-size: 2.1rem; }

@keyframes nbSelloIn {
    from { opacity: 0; transform: scale(.4) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes nbAnillo {
    0%   { opacity: .8; transform: scale(1); }
    100% { opacity: 0;  transform: scale(1.45); }
}

.nb-success-eyebrow {
    display: block;
    font-size: .64rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: #86662F; margin-bottom: .45rem;
}
.nb-success-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem; font-weight: 700; color: #292724;
    margin-bottom: .55rem; letter-spacing: -.01em; text-shadow: none;
}
.nb-success-desc {
    color: #6B655D; font-size: .89rem;
    max-width: 320px; margin: 0 auto 1.5rem; line-height: 1.7;
}
.nb-success-highlight { color: var(--verde-marca-oscuro); font-weight: 700; }

/* Aviso del canal de confirmacion */
.nb-success-nota {
    display: flex; align-items: center; gap: .6rem;
    background: #f7f8f4; border: 1px solid #E4E0D8;
    border-radius: 12px; padding: .7rem .85rem;
    margin: 0 auto 1.5rem; text-align: left; max-width: 330px;
}
.nb-success-nota i { color: var(--verde-marca-oscuro); font-size: 1.05rem; flex: none; }
.nb-success-nota-t { font-size: .76rem; font-weight: 700; color: #1C1A18; line-height: 1.3; }
.nb-success-nota-d { font-size: .72rem; color: #6B655D; line-height: 1.45; }

/* Botones */
.nb-success-back-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #C29A59; border: 0; color: #292724;
    border-radius: 12px; width: 100%; max-width: 330px;
    padding: .8rem 1.5rem; font-weight: 700; text-decoration: none; font-size: .88rem;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.nb-success-back-link:hover {
    background: #A9834A; color: #292724;
    transform: translateY(-2px); box-shadow: 0 10px 24px rgba(194,154,89,.32);
}
.nb-success-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: .7rem; font-size: .8rem; font-weight: 600;
    color: var(--verde-marca-oscuro); text-decoration: none;
    padding: .5rem 1rem; border-radius: 10px; transition: background .18s, color .18s;
}
.nb-success-wa:hover { background: #F5F1EA; color: #292724; }
.nb-success-wa i { color: #25d366; font-size: .95rem; }

@media (max-width: 480px) {
    .nb-success-cover { height: 165px; }
    .nb-success-body  { padding: 0 1.4rem 1.9rem; }
    .nb-success-title { font-size: 1.38rem; }
}

/* ══ SECCIÓN ASISTENCIA ════════════════════════════════════════════════ */
.nb-help-section { background: #F5F1EA; padding: 3rem 0; }
.nb-help-card {
    max-width: 700px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 2rem;
    background: #fff; border-radius: 20px; padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(194,154,89,.12);
}
.nb-help-icon-box {
    width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
    background: linear-gradient(135deg,#C29A59,#C29A59);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(194,154,89,.3);
}
.nb-help-icon { color: #fff; font-size: 1.4rem; }
.nb-help-text { flex: 1; min-width: 180px; }
.nb-help-eyebrow {
    font-size: .72rem; font-weight: 700; color: #86662F;
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: .2rem;
}
.nb-help-title { font-weight: 800; color: #292724; margin-bottom: .2rem; font-size: 1.05rem; }
.nb-help-desc { font-size: .83rem; color: #6B655D; margin: 0; line-height: 1.6; }
.nb-help-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.nb-help-btn-call {
    display: inline-flex; align-items: center; gap: 7px;
    background: #F5F1EA; color: #6F5325; border-radius: 11px;
    padding: .65rem 1.3rem; font-size: .85rem; font-weight: 700;
    text-decoration: none; transition: background .2s;
}
.nb-help-btn-call:hover { background: #E4E0D8; color: #6F5325; }
.nb-help-btn-wa {
    display: inline-flex; align-items: center; gap: 7px;
    background: #25D366; color: #fff; border-radius: 11px;
    padding: .65rem 1.3rem; font-size: .85rem; font-weight: 700;
    text-decoration: none; transition: opacity .2s;
}
.nb-help-btn-wa:hover { opacity: .88; color: #fff; }

/* ══════════════════════════════════════════════════════════════
   BOTONES SIN ILUMINACIÓN — regla global del proyecto
   ------------------------------------------------------------
   Ningún botón lleva resplandor: ni sombras de color, ni halos de
   foco, ni texto con sombra, ni filtros de brillo. El relieve se
   consigue con color plano y borde, no con luz.
   Este bloque va al final del archivo a propósito: cierra la
   cascada para que ninguna regla anterior lo contradiga.
   ══════════════════════════════════════════════════════════════ */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
[class*="btn"],
[class*="Btn"],
.nb-hero-cta,
.nb-ev-footer-cta,
button::before, button::after,
[class*="btn"]::before, [class*="btn"]::after {
    box-shadow: none !important;
    text-shadow: none !important;
}
button:hover, button:focus, button:active, button:focus-visible,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active,
input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active,
[class*="btn"]:hover, [class*="btn"]:focus, [class*="btn"]:active,
[class*="btn"]:focus-visible, [class*="btn"]:focus-within,
[class*="btn"].active, [class*="btn"].show, [class*="btn"]:disabled,
.btn-check:checked + .btn, .btn-check:focus + .btn,
.nb-hero-cta:hover, .nb-hero-cta:focus,
.nb-ev-footer-cta:hover, .nb-ev-footer-cta:focus {
    box-shadow: none !important;
    text-shadow: none !important;
}
/* El brillo por filtro también queda fuera */
button:hover, [class*="btn"]:hover,
button:focus, [class*="btn"]:focus {
    filter: none !important;
}
/* Quitar la sombra no puede dejar el foco invisible para quien
   navega con teclado: se reemplaza por un contorno sólido. */
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
[class*="btn"]:focus-visible {
    /* Color fijo oscuro y halo crema: asi el foco se ve tanto sobre un
       boton claro como sobre uno de color. Con currentColor el contorno
       era blanco sobre fondo crema, es decir invisible. */
    outline: 3px solid #292724;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(245,241,234,.95) !important;
}

/* Los campos de formulario tambien necesitan un foco visible: la regla
   heredada de Bootstrap ponia el borde en blanco y un halo al 25% de
   opacidad (1.18:1), que no cumple el minimo de 3:1 del criterio 1.4.11. */
.form-control:focus,
.custom-select:focus,
.co-input:focus,
.co-select:focus,
.lg-input:focus,
textarea:focus,
select:focus {
    border-color: #C29A59 !important;
    outline: 2px solid #C29A59;
    outline-offset: 1px;
    box-shadow: none !important;
}

/* Texto de ayuda bajo un campo: aclara qué NO debe escribirse ahí. */
.nb-campo-ayuda {
    font-size: .74rem;
    line-height: 1.55;
    color: #6f6f6f;
    margin: .4rem 0 0;
}

/* Casilla de autorización de datos: obligatoria y sin marcar. */
.nb-legal-check {
    display: flex; align-items: flex-start; gap: .6rem;
    margin-top: 1.25rem;
    font-size: .82rem; line-height: 1.6; color: #292724;
    cursor: pointer;
}
.nb-legal-check input[type="checkbox"] {
    width: 18px; height: 18px; flex: none; margin-top: .12rem;
    accent-color: #C29A59; cursor: pointer;
}
.nb-legal-check a { color: #86662F; text-decoration: underline; }
.nb-req { color: #86662F; font-weight: 700; }

/* ══════════════════════════════════════════════════════════════════
   RESET DE LOS SELECTORES CONVERTIDOS EN BOTONES
   ------------------------------------------------------------------
   Las tarjetas de especialista, las píldoras de servicio y las franjas
   horarias eran <div onclick>: no recibían foco ni respondían al
   teclado. Ahora son <button> reales; esto les quita la apariencia
   nativa para que se vean exactamente igual que antes.
   ══════════════════════════════════════════════════════════════════ */
.nb-esp-card,
.nb-serv-pill,
.nb-slot {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    text-align: left;
    width: 100%;
}
.nb-serv-pill,
.nb-slot { width: auto; text-align: center; }

/* Área táctil cómoda: el mínimo recomendado es 44x44 px. */
.nb-slot { min-height: 44px; }
.nb-serv-pill { min-height: 44px; }

.nb-esp-card:focus-visible,
.nb-serv-pill:focus-visible,
.nb-slot:focus-visible {
    outline: 3px solid #292724;
    outline-offset: 2px;
}


/* ══════════════════════════════════════════════════════════════
   REDISEÑO AGENDAR CITA — tarjetas blancas con borde dorado
   ══════════════════════════════════════════════════════════════ */
.citas-main .nb-sidebar-card,
.citas-main .nb-wizard-card {
    border: 1.5px solid #D2B07A;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(41, 39, 36, .07);
}
.citas-main .nb-sidebar-card { padding: 2rem 1.8rem; }
/* Solo la primera tarjeta se monta sobre el banner; la segunda iba
   montada encima de la primera por el mismo margen negativo. */
.citas-main .nb-sidebar-card + .nb-sidebar-card { margin-top: 1.25rem; }
.nb-help-section { padding-top: 1.5rem; }
/* Los horarios se veían antes de elegir fecha: el JS los oculta con
   style="display:none" pero la clase d-flex de Bootstrap lleva
   !important y ganaba. */
#nbSlotGrid[style*="display: none"],
#nbSlotGrid[style*="display:none"] { display: none !important; }

/* Títulos de la columna izquierda */
.citas-main .nb-side-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400 !important;
    font-size: clamp(1.7rem, 2.4vw, 2.1rem);
    color: #292724; line-height: 1.15;
    margin: 0 0 1.4rem;
}
.citas-main .nb-side-title--sm { font-size: clamp(1.4rem, 1.9vw, 1.65rem); margin-bottom: 1rem; }

/* Pasos del proceso */
.citas-main .nb-step-item { gap: 1.1rem; padding: .8rem 0; border-bottom: 0; align-items: flex-start; }
.citas-main .nb-step-dot {
    width: 48px; height: 48px;
    background: #C29A59; color: #FFFFFF;
    font-size: 1.35rem; font-weight: 600;
    box-shadow: 0 4px 12px rgba(194, 154, 89, .30);
}
.citas-main .nb-step-title { font-size: 1.02rem; font-weight: 700; color: #292724; margin: .2rem 0 .25rem; }
.citas-main .nb-step-desc  { font-size: .88rem; color: #3E3A35; line-height: 1.5; }

/* Beneficios */
.citas-main .nb-benefit-item { gap: .8rem; padding: .5rem 0; border-bottom: 0; font-size: .92rem; color: #292724; }
.citas-main .nb-benefit-item i { color: #C29A59; font-size: 1.15rem; }

/* Barra de progreso (antes líneas decorativas) */
.citas-main .nb-steps-progress {
    height: 3px; background: #EFE6D6;
    margin: 1.8rem 2rem 0; border-radius: 3px; overflow: hidden;
}
.citas-main .nb-steps-progress span {
    display: block; height: 100%; width: 33.34%;
    background: #C29A59; border-radius: 3px;
    transition: width .4s ease;
}
.citas-main .nb-wizard-card:has(#nbTab2.active) .nb-steps-progress span { width: 66.67%; }
.citas-main .nb-wizard-card:has(#nbTab3.active) .nb-steps-progress span,
.citas-main .nb-wizard-card:has(#nbSuccessPanel.visible) .nb-steps-progress span { width: 100%; }

/* Pasos del asistente: círculos sobre blanco */
.citas-main .nb-steps-bar { background: #FFFFFF; padding: 1.4rem 1rem .4rem; }
.citas-main .nb-step-tab {
    color: #9A948C; font-size: .84rem; letter-spacing: .06em; font-weight: 600;
    padding: .4rem .5rem;
}
.citas-main .nb-step-num {
    width: 64px; height: 64px;
    background: #FFFFFF; color: #9A948C;
    border: 2px solid #D2B07A;
    font-size: 1.65rem; font-weight: 600;
    margin-bottom: .6rem;
}
.citas-main .nb-step-tab.active { color: #86662F; }
.citas-main .nb-step-tab.active .nb-step-num {
    background: #C29A59; color: #FFFFFF; border-color: #C29A59;
    box-shadow: 0 6px 16px rgba(194, 154, 89, .30);
}
.citas-main .nb-step-tab.done { color: #86662F; }
.citas-main .nb-step-tab.done .nb-step-num { background: #F4ECDF; color: #86662F; border-color: #C29A59; }

/* Paneles */
.citas-main .nb-panel { padding: 1.4rem 2rem 2rem; }
.citas-main .nb-panel-subtitle {
    justify-content: center; text-align: center;
    font-size: 1.08rem; color: #292724; margin-bottom: 1.5rem;
}
.citas-main .nb-panel-subtitle i { display: none; }

/* Tarjeta de la especialista */
.citas-main .nb-esp-card {
    width: 100%; text-align: left;
    border: 1.5px solid #D2B07A; border-radius: 16px;
    padding: 1.1rem 1.4rem; gap: 1.2rem;
    align-items: flex-start;
}
.citas-main .nb-esp-card.selected { background: #FBF7F0; border-color: #C29A59; box-shadow: 0 0 0 1px #C29A59 inset; }
.citas-main .nb-esp-avatar {
    width: 84px; height: 84px;
    border: 3px solid #C29A59; padding: 3px !important;
    background: #FFFFFF;
}
.citas-main .nb-esp-name { font-size: 1.15rem; font-weight: 700; color: #292724; }
.citas-main .nb-esp-status { font-size: .92rem; color: #177A45; margin-top: .3rem; gap: 6px; }
.citas-main .nb-esp-status::before { width: 9px; height: 9px; background: #1F9D5B; }
.citas-main .nb-esp-bio { font-size: .88rem; margin-top: .6rem; }
.citas-main .nb-esp-tags { margin-top: .75rem; }
.citas-main .nb-esp-tag { font-size: .78rem; padding: .3rem .8rem; }

/* Servicios */
.citas-main .nb-serv-label { font-size: 1.02rem; font-weight: 700; color: #292724; margin-bottom: .9rem; letter-spacing: 0; }
.citas-main .nb-serv-pill {
    border: 1.5px solid #D2B07A;
    padding: 1rem 1.2rem;
    min-height: 92px;
}
.citas-main .nb-serv-pill:hover { border-color: #C29A59; background: #FBF7F0; }
.citas-main .nb-serv-pill.selected { background: #FBF7F0; border-color: #C29A59; box-shadow: 0 0 0 1px #C29A59 inset; }
.citas-main .nb-serv-nombre { font-size: 1rem; }
.citas-main .nb-serv-meta { font-size: .85rem; }
.citas-main .nb-serv-desc { font-size: .85rem; }

/* Botón Continuar oscuro */
.citas-main .nb-btn-next {
    background: #292724; color: #FFFFFF;
    border-radius: 12px; padding: .85rem 2rem;
    font-size: 1rem; font-weight: 700;
}
.citas-main .nb-btn-next i { color: #C29A59; }
.citas-main .nb-btn-next:hover { background: #3A3632; color: #FFFFFF; opacity: 1; }

/* Sellos de confianza */
.citas-main .nb-trust {
    background: #FFFFFF;
    border: 1.5px solid #D2B07A; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(41, 39, 36, .05);
}
.citas-main .nb-trust-icon { background: transparent; }
.citas-main .nb-trust-icon i { color: #C29A59; font-size: 1.6rem; }
.citas-main .nb-trust-title { font-size: .92rem; color: #292724; }
.citas-main .nb-trust-desc  { font-size: .8rem; color: #3E3A35; }

/* Tarjeta ¿Tienes dudas? */
.nb-help-section .nb-help-card {
    max-width: 860px;
    border: 1.5px solid #D2B07A; border-radius: 20px;
    box-shadow: 0 6px 22px rgba(41, 39, 36, .06);
}
.nb-help-section .nb-help-icon-box { width: 68px; height: 68px; border-radius: 16px; }
.nb-help-section .nb-help-icon { font-size: 1.7rem; }
.nb-help-section .nb-help-eyebrow { font-size: .8rem; letter-spacing: .14em; color: #86662F; }
.nb-help-section .nb-help-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400 !important; font-size: 1.6rem; color: #292724;
}
.nb-help-section .nb-help-desc { font-size: .92rem; color: #3E3A35; }
.nb-help-section .nb-help-btn-call {
    background: #F5F1EA; color: #292724;
    border: 1.5px solid #E4E0D8; border-radius: 10px;
    padding: .75rem 1.5rem; font-size: .95rem;
}
.nb-help-section .nb-help-btn-call i { color: #86662F; }
.nb-help-section .nb-help-btn-wa {
    background: #1B7F53; color: #FFFFFF;
    border-radius: 10px; padding: .75rem 1.6rem; font-size: .95rem;
}
.nb-help-section .nb-help-btn-wa:hover { background: #166B45; opacity: 1; color: #FFFFFF; }

/* Celular: todo un poco más compacto */
@media (max-width: 575.98px) {
    .citas-main .nb-steps-progress { margin: 1.2rem 1.2rem 0; }
    .citas-main .nb-step-num { width: 48px; height: 48px; font-size: 1.25rem; }
    .citas-main .nb-step-tab { font-size: .7rem; letter-spacing: .03em; }
    .citas-main .nb-panel { padding: 1.2rem 1.2rem 1.6rem; }
    .citas-main .nb-esp-avatar { width: 64px; height: 64px; }
    .citas-main .nb-serv-pill { white-space: normal; text-align: left; }
    .citas-main .nb-step-dot { width: 40px; height: 40px; font-size: 1.1rem; }
    .nb-help-section .nb-help-card { padding: 1.6rem 1.4rem; gap: 1.2rem; }
}

/* ── Horarios: franjas ocupadas o fuera de jornada ────────────── */
.citas-main .nb-slot.nb-slot--ocupado,
.citas-main .nb-slot:disabled {
    background: #F2EFEA !important;
    border-color: #E4E0D8 !important;
    color: #9A948C !important;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 1;
}
.citas-main .nb-slot-estado {
    margin: .8rem 0 0; font-size: .85rem; color: #86662F; min-height: 1.2em;
}

/* ══════════════════════════════════════════════════════════════
   MODAL "¡NOS VEMOS PRONTO!" — marco dorado, foto de marca arriba
   y tarjeta clara superpuesta con el sello a caballo del borde
   ══════════════════════════════════════════════════════════════ */
/* Por encima del menú fijo, y con scroll propio si la pantalla es baja:
   el modal nunca queda cortado arriba. */
#nbSuccessPanel {
    background: rgba(41, 39, 36, .50);
    z-index: 100000;
    overflow-y: auto;
    padding: 24px 0;
    align-items: flex-start;
}
#nbSuccessPanel .nb-success-modal { margin: auto; }
@media (max-height: 780px) {
    .nb-success-cover { height: 150px; }
}
.nb-success-modal {
    max-width: 460px;
    background: #FBF9F5;
    border: 2.5px solid #C9A56A;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(41, 39, 36, .30);
}
/* La foto se ve limpia: sin el velo que la desvanecía */
.nb-success-cover { height: 230px; background-position: center 40%; }
.nb-success-cover::after,
.nb-success-cover::before { content: none; }

/* Tarjeta clara que se monta sobre la foto con borde dorado curvo */
.nb-success-body {
    margin-top: -34px;
    background: #FBF9F5;
    border-top: 2px solid #C9A56A;
    border-radius: 28px 28px 0 0;
    padding: 0 2.2rem 2.2rem;
    z-index: 2;
}
/* Sello: círculo blanco con aro dorado, centrado sobre el borde */
.nb-success-icon-circle {
    width: 84px; height: 84px;
    margin: -44px auto 1.3rem;
    background: #FFFFFF;
    border: 2px solid #C9A56A;
    box-shadow: 0 8px 20px rgba(41, 39, 36, .12);
}
.nb-success-icon { color: #86662F; font-size: 2.6rem; line-height: 1; }

.nb-success-eyebrow {
    font-size: .78rem; letter-spacing: .24em; color: #86662F; margin-bottom: .6rem;
}
.nb-success-title {
    font-size: 2rem; font-weight: 700 !important; color: #292724; margin-bottom: .7rem;
}
.nb-success-desc {
    max-width: 360px; font-size: 1rem; color: #3E3A35; line-height: 1.75; margin-bottom: 1.6rem;
}

/* Aviso: borde dorado, reloj dorado */
.nb-success-nota {
    max-width: 360px; gap: .85rem;
    background: #FFFFFF;
    border: 1.5px solid #D9C4A0;
    border-radius: 14px;
    padding: .95rem 1.1rem;
}
.nb-success-nota i { color: #C29A59; font-size: 1.5rem; }
.nb-success-nota-t { font-size: .95rem; color: #292724; }
.nb-success-nota-d { font-size: .85rem; color: #3E3A35; }
.nb-success-highlight { color: #292724; font-weight: 700; }

/* Botón principal dorado a todo el ancho */
.nb-success-back-link {
    max-width: 360px; min-height: 54px;
    border-radius: 12px; font-size: 1.05rem;
    background: #C29A59; color: #292724;
}
.nb-success-back-link i { color: #292724; }
.nb-success-back-link:hover { background: #B38A4A; color: #292724; transform: none; }

/* Enlace de WhatsApp: texto oscuro, ícono verde */
.nb-success-wa { margin-top: .9rem; font-size: .95rem; font-weight: 700; color: #292724; }
.nb-success-wa i { color: #25D366; font-size: 1.3rem; }

@media (max-width: 480px) {
    .nb-success-cover { height: 180px; }
    .nb-success-body  { padding: 0 1.3rem 1.8rem; }
    .nb-success-title { font-size: 1.6rem; }
    .nb-success-icon-circle { width: 72px; height: 72px; margin-top: -38px; }
    .nb-success-icon { font-size: 2.2rem; }
}

/* Ajuste: modal más compacto y letra un poco más pequeña */
.nb-success-modal { max-width: 400px; border-radius: 26px; }
.nb-success-cover { height: 175px; }
.nb-success-body  { margin-top: -28px; border-radius: 24px 24px 0 0; padding: 0 1.8rem 1.7rem; }
.nb-success-icon-circle { width: 68px; height: 68px; margin: -36px auto 1rem; }
.nb-success-icon  { font-size: 2.1rem; }
.nb-success-eyebrow { font-size: .68rem; letter-spacing: .22em; margin-bottom: .45rem; }
.nb-success-title { font-size: 1.55rem; margin-bottom: .5rem; }
.nb-success-desc  { max-width: 320px; font-size: .88rem; line-height: 1.65; margin-bottom: 1.2rem; }
.nb-success-nota  { max-width: 320px; padding: .75rem .9rem; gap: .7rem; margin-bottom: 1.2rem; }
.nb-success-nota i { font-size: 1.25rem; }
.nb-success-nota-t { font-size: .82rem; }
.nb-success-nota-d { font-size: .76rem; }
.nb-success-back-link { max-width: 320px; min-height: 46px; font-size: .92rem; border-radius: 10px; }
.nb-success-wa    { margin-top: .6rem; font-size: .84rem; }
.nb-success-wa i  { font-size: 1.1rem; }

@media (max-width: 480px) {
    .nb-success-cover { height: 150px; }
    .nb-success-body  { padding: 0 1.2rem 1.5rem; }
    .nb-success-title { font-size: 1.4rem; }
    .nb-success-icon-circle { width: 62px; height: 62px; margin-top: -33px; }
    .nb-success-icon  { font-size: 1.9rem; }
}

/* Foto más visible: banda superior más alta, el resto igual de compacto */
.nb-success-cover { height: 260px; background-position: center 55%; }
@media (max-height: 660px) {
    .nb-success-cover { height: 200px; }
}
@media (max-width: 480px) {
    .nb-success-cover { height: 210px; }
}

/* ===== Servicios: lista de tarjetas en fila (sin iconos ni boton) ===== */
.nb-serv-label { text-align: center; font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem !important; font-weight: 500 !important; color: #3A2A14 !important; margin-bottom: .3rem !important; }
.nb-serv-sub { text-align: center; font-size: .85rem; color: #5A4A33; margin: 0 0 1rem; }
.nb-serv-grid { display: flex; flex-direction: column; gap: .75rem; }
.citas-main .nb-serv-pill, .nb-serv-pill {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: .7rem;
    width: 100%; min-width: 0; height: auto; min-height: 0; text-align: left;
    padding: .95rem 1.2rem; gap: .7rem;
    background: #FFFAF5; border: 1.5px solid #EADFCF; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(120,90,50,.08); font-family: 'Inter', sans-serif;
}
.citas-main .nb-serv-pill:hover, .nb-serv-pill:hover { background: #FBF3E8; border-color: #C9A56B; }
.citas-main .nb-serv-pill.selected, .nb-serv-pill.selected {
    background: #F8EBD7; border-color: #A97F3C; box-shadow: 0 0 0 1.5px #A97F3C inset, 0 4px 14px rgba(120,90,50,.12);
}
.nb-serv-info { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.citas-main .nb-serv-nombre { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 1.2rem; line-height: 1.2; color: #2B1B0B; }
.citas-main .nb-serv-desc { margin: 0; font-size: .82rem; line-height: 1.4; color: #3F382F; max-width: 46ch; text-wrap: pretty; }
.nb-serv-chip {
    display: inline-block; margin: 0 !important; padding: .4rem .85rem; border-radius: 999px;
    background: #F0E5D3; color: #2B1B0B; font-size: .85rem; font-weight: 600; white-space: nowrap;
}
@media (max-width: 575.98px) {
    .citas-main .nb-serv-pill, .nb-serv-pill { grid-template-columns: auto auto 1fr; }
    .nb-serv-info { grid-column: 1 / -1; }
    .nb-serv-chip { justify-self: start; }
}

/* Especialista: descripcion debajo del nombre */
.citas-main .nb-esp-bio { margin: .2rem 0 .45rem; line-height: 1.4; }

/* Servicios: chips con icono y nombre en negrita */
.nb-serv-chip { display: inline-flex; align-items: center; gap: .4rem; background: #F3E6D8; }
.nb-serv-chip i { font-size: .95rem; line-height: 1; color: #2B1B0B; }
.citas-main .nb-serv-nombre { font-weight: 700; }

.nb-serv-label { font-weight: 700 !important; }


/* Servicios en agendar cita: imagen del servicio donde iba el icono */
.citas-main .nb-serv-pill, .nb-serv-pill { grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 1rem; }
.nb-serv-thumb { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #F0E5D3; color: #5A4A33; border: 2px solid #EADFCF; box-shadow: 0 2px 8px rgba(120,90,50,.15); }
.nb-serv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-serv-thumb i { font-size: 1.5rem; line-height: 1; }
.nb-serv-pill.selected .nb-serv-thumb { border-color: #A97F3C; }
@media (max-width: 575.98px) {
    .citas-main .nb-serv-pill, .nb-serv-pill { grid-template-columns: 56px auto 1fr; row-gap: .6rem; }
    .nb-serv-thumb { width: 56px; height: 56px; grid-row: 1; grid-column: 1; }
    .nb-serv-info { grid-row: 1; grid-column: 2 / -1; }
    .nb-serv-meta { grid-row: 2; grid-column: 1 / 3; }
    .nb-serv-precio { grid-row: 2; grid-column: 3; justify-self: start; }
}
/* Fila de servicio: texto con mas ancho (chips apilados a la derecha) y descripcion a 2 lineas */
@media (min-width: 576px) {
    .citas-main .nb-serv-pill, .nb-serv-pill { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: .45rem; }
    .nb-serv-thumb { grid-row: 1 / span 2; grid-column: 1; }
    .nb-serv-info { grid-row: 1 / span 2; grid-column: 2; }
    .nb-serv-meta { grid-row: 1; grid-column: 3; justify-self: end; align-self: end; }
    .nb-serv-precio { grid-row: 2; grid-column: 3; justify-self: end; align-self: start; }
}
.citas-main .nb-serv-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: none; }