/* =====================================================
   Fuente de Marca: Fredoka
   Fuente centralizada para toda la aplicación usando Google Fonts
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

/* Utilidades Generales */
.signature-glow {
    background: linear-gradient(135deg, #D11149 0%, #FC8712 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #D11149 0%, #FC8712 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scrollbar global y personalizada */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;

    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Estética del Calendario */
.calendar-day, .time-slot, button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.calendar-day:not(.disabled) {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    border-color: var(--color-secundario, #FCB0B3);
}

@media (hover: hover) {
    .calendar-day:not(.disabled):hover {
        transform: translateY(-2px);
        border-color: var(--color-primario, #D11149);
        color: var(--color-primario, #D11149);
    }
    .time-slot:hover:not(.booked) {
        border-color: #D11149;
        background: white;
        color: #D11149;
    }
}

.calendar-day:not(.disabled):active {
    transform: scale(0.92);
}

.calendar-day.selected {
    background: var(--color-primario, #D11149) !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.calendar-day.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #fff;
    border-color: #fff;
}

/* Horarios Estilo Pastilla */
.time-slot {
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    transition: all 0.2s;
}

.time-slot:not(.booked):active {
    transform: scale(0.96);
}

.time-slot.selected {
    background: #D11149;
    color: white;
    border-color: #D11149;
}

.time-slot.booked {
    background: #e2e8f0;
    color: #94a3b8;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Animaciones y utilidades de index.html (Landing) */
.mockup-shadow {
    filter: drop-shadow(0 25px 50px rgba(209, 17, 73, 0.2));
}

.mini-calendar-day {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 0.3rem;
    cursor: pointer;
    background: #FCB0B3;
    color: #D11149;
    transition: all 0.2s;
}

.mini-calendar-day.selected {
    background: #D11149;
    color: white;
}

.mini-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.6rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-time-slot {
    font-size: 0.55rem;
    padding: 0.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.3rem;
    text-align: center;
    cursor: pointer;
}

.mini-time-slot.selected {
    background: #D11149;
    color: white;
    border-color: #D11149;
}

@keyframes fadeInImg {
    from { opacity: 0.2; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in { animation: fadeInImg 0.4s ease-out forwards; }

.reveal-on-scroll {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Componentes web.html */
.service-card { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.service-card.is-visible { opacity: 1; transform: translateY(0); }
#publicUbicacionMaps iframe { width: 100%; height: 100%; }