/* Configuramos la imagen para que sea fondo de toda la sección */
.banner-soy-estilo {
    background-image: url('../image/banner-servicios.png');
    background-size: cover;
    background-position: right center;
    /* Alineado a la derecha para que no se corten los sillones */
}

/* En MÓVIL: Le damos un fondo semitransparente al texto para que no se pierda entre la foto */
.caja-texto-banner {
    background-color: rgba(164, 176, 183, 0.85);
    /* Un gris transparente para que se lea bien */
    padding: 20px;
    border-radius: 8px;
}

/* En ESCRITORIO (pantallas medianas y grandes): Quitamos el fondo porque el texto cae perfecto sobre el gris de tu foto */
@media (min-width: 768px) {
    .caja-texto-banner {
        background-color: transparent;
        padding: 0;
    }
}

.social-grid-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    /* Oculta cualquier parte de la imagen que sobresalga */
}

/* La imagen cubre todo el cuadrado sin deformarse */
.social-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Efecto premium: La imagen hace un ligero zoom al pasar el mouse */
.social-grid-item:hover .social-grid-img {
    transform: scale(1.08);
}

/* Capa oscura semitransparente para que resalten los íconos */
.social-overlay {
    background-color: rgba(0, 0, 0, 0.45);
    transition: background-color 0.3s ease;
}

/* Oscurece un poquito más la capa al pasar el mouse */
.social-grid-item:hover .social-overlay {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Efecto de rebote en el ícono al pasar el mouse */
.social-grid-item:hover .social-icon-svg {
    transform: scale(1.1);
}

.testimonial-soy-estilo {
    background-color: #f0f0f0;
}

/* Etiqueta superior (COMENTARIOS) */
.pill-badge {
    display: inline-block;
    padding: 5px 20px;
    border: 1px solid #c4c4c4;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* Estilo del comentario principal */
.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 400;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Nombre del autor */
.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Color de las estrellas */
.star-rating svg {
    width: 18px;
    height: 18px;
    fill: #f07c64;
    /* Naranja/Salmón */
    margin: 0 3px;
}

/* Controles de navegación estilo píldora */
.testimonial-nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border: 1px solid #c4c4c4;
    border-radius: 50px;
    padding: 8px 30px;
    background: transparent;
}

.testimonial-nav-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.testimonial-nav-btn:hover {
    transform: scale(1.2);
}

/* Ajuste para la numeración */
.pagi-soy {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
    min-width: 35px;
    text-align: center;
}

.split-section-wrapper {
    color: #ffffff;
}

/* Columna Izquierda: Fondo oscuro sólido */
.split-left-col {
    background-color: #121212;
    /* Un negro muy profundo y elegante */
    padding: 6rem 10%;
}

.split-title {
    font-family: 'Playfair Display', serif;
    /* Cambia por tu tipografía serif */
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.split-subtitle {
    font-family: sans-serif;
    font-size: 0.95rem;
    color: #b0b0b0;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Botón CHAT estilo barra */
.btn-chat-bar {
    background-color: #c9dce3;
    /* El tono azul/gris claro de tu imagen */
    color: #1a1a1a !important;
    display: block;
    width: 100%;
    max-width: 450px;
    /* Evita que el botón se estire al infinito */
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    transition: background-color 0.3s ease;
}

.btn-chat-bar:hover {
    background-color: #b1c8d1;
    /* Un tono un poco más oscuro al pasar el ratón */
}

.btn-chat-bar svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Columna Derecha: Imagen con gradiente oscuro */
.split-right-col {
    /* El linear-gradient oscurece la imagen para que el texto blanco resalte perfecto */
    background-image: linear-gradient(to bottom, rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.95)), url('../image/banner-chat.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 10%;
}

.pill-outline {
    display: inline-block;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 6px 25px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Lista de horarios */
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    /* Línea separadora sutil */
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hours-disclaimer {
    font-size: 0.7rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin-top: 2rem;
}

.text-uppercase-fix {
    text-transform: none !important;
}

/* TÍTULOS PRINCIPALES */
.responsive-main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 2.5rem;
}

.responsive-sub-title {
    color: #aaa;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.step-title {
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* WIDGET BASE */
.booking-widget {
    display: flex;
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    min-height: 550px;
    flex-direction: row;
}

.booking-main {
    width: 65%;
    padding: 50px;
}

.booking-sidebar {
    background-color: #1a1a1a;
    width: 35%;
    padding: 50px 40px;
    border-left: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.summary-box {
    background: #111111;
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #2a2a2a;
}

.summary-box small {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #777;
    text-transform: uppercase;
}

.summary-box strong {
    display: block;
    color: #ffffff;
    font-weight: 400;
    font-size: 1.05rem;
    margin-top: 5px;
}

/* TARJETAS DE SERVICIOS */
.service-card-btn {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 22px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #181818;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card-btn:hover {
    border-color: #888;
    background: #222;
    transform: translateY(-3px);
}

.service-card-btn h6 {
    margin: 0;
    color: #ffffff;
    font-weight: 400;
    font-size: 1rem;
}

.service-card-btn .duration-badge {
    background: #2a2a2a;
    color: #aaa;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
}

/* =========================================
           CALENDARIO JQUERY UI - ESTILO PREMIUM
           ========================================= */
#datepicker-container {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

#datepicker-container .ui-widget.ui-widget-content {
    border: none !important;
    width: 100%;
    padding: 0;
    background: transparent;
}

/* Encabezado: Mes, Año y Flechas */
#datepicker-container .ui-datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0 0 20px 0;
}

#datepicker-container .ui-datepicker-title {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: capitalize;
}

/* Ocultar textos feos por defecto de jQuery UI */
#datepicker-container .ui-datepicker-prev span,
#datepicker-container .ui-datepicker-next span {
    display: none;
}

/* Dibujar botones flecha modernos */
#datepicker-container .ui-datepicker-prev,
#datepicker-container .ui-datepicker-next {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    transition: 0.2s;
    border: 1px solid #333;
}

#datepicker-container .ui-datepicker-prev:hover,
#datepicker-container .ui-datepicker-next:hover {
    background: #333;
    border-color: #555;
}

#datepicker-container .ui-datepicker-prev::after {
    content: '❮';
    font-size: 0.9rem;
    margin-right: 2px;
}

#datepicker-container .ui-datepicker-next::after {
    content: '❯';
    font-size: 0.9rem;
    margin-left: 2px;
}

/* Tabla de Días */
#datepicker-container .ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
}

#datepicker-container .ui-datepicker-calendar th {
    color: #666;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding-bottom: 15px;
    text-align: center;
}

#datepicker-container .ui-datepicker-calendar td {
    padding: 3px;
}

/* Botones de Días (Números) */
#datepicker-container .ui-state-default,
#datepicker-container .ui-widget-content .ui-state-default {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 1px solid transparent;
    background: #181818;
    color: #ccc;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.95rem;
}

#datepicker-container .ui-state-disabled .ui-state-default {
    background: transparent;
    color: #444;
    opacity: 1;
    border: none;
    cursor: default;
}

#datepicker-container .ui-state-default:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #555;
}

#datepicker-container .ui-state-active,
#datepicker-container .ui-widget-content .ui-state-active {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: bold;
    border-color: #ffffff;
}

/* LISTA DE HORAS (CUADRÍCULA) */
.time-slots-wrapper {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 10px;
    width: 100%;
    max-width: 240px;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.time-slots-wrapper::-webkit-scrollbar {
    width: 4px;
}

.time-slots-wrapper::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.time-btn {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #181818;
    text-align: center;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.time-btn:hover {
    border-color: #888;
    color: #fff;
    background: #222;
}

.time-btn.selected {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: bold;
}

/* Botones de acción general */
.btn-outline-custom {
    border: 1px solid #555;
    color: #ccc;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary-custom {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: #e0e0e0;
    color: #000000;
}

/* ADAPTACIÓN MÓVIL */
@media (max-width: 991px) {
    .booking-widget {
        flex-direction: column;
        min-height: auto;
    }

    .booking-main {
        width: 100%;
        padding: 30px 20px;
    }

    .booking-sidebar {
        width: 100%;
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid #2a2a2a;
    }

    #step-2-calendar .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }

    #datepicker-container {
        width: 100%;
        max-width: 100%;
    }

    .time-slots-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 30px;
        max-height: 250px;
    }

    .time-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .responsive-main-title {
        font-size: 1.8rem;
    }

    .responsive-sub-title {
        font-size: 1rem;
    }

    .step-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}