/* ============================================
   Mascotas Spa AXM - Estilos Custom
   ============================================ */

:root {
    --primary: #FF6B9D;
    --primary-dark: #e55a8a;
    --secondary: #FF6B9D;
    --accent: #00D4AA;
    --bg-light: #F8F9FF;
    --text-dark: #2D3436;
}

html {
    scroll-behavior: smooth;
}

/* Hero gradient (fallback) */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Hero Section */
#inicio {
    background-color: #d4f1ff;
}

#inicio picture {
    display: block;
    width: 100%;
    line-height: 0;
}

#inicio picture img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* En móviles, la imagen se ve pequeña - le damos altura mínima */
@media (max-width: 640px) {
    #inicio {
        min-height: 35vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #inicio picture img {
        width: 100%;
        height: auto;
        max-height: 50vh;
        object-fit: contain;
    }
}

/* Tablets */
@media (min-width: 641px) and (max-width: 1024px) {
    #inicio picture img {
        max-height: 70vh;
        object-fit: contain;
    }
}

/* Cards hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
}

/* Booking steps */
.step-indicator {
    transition: all 0.3s ease;
}
.step-indicator.active {
    color: white;
}
.step-indicator.completed {
    color: white;
}

/* Calendar */
.calendar-day {
    transition: all 0.2s ease;
}
.calendar-day:hover:not(.disabled) {
    background-color: var(--primary);
    color: white;
}
.calendar-day.selected {
    background-color: var(--primary);
    color: white;
}
.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.calendar-day.today {
    border: 2px solid var(--secondary);
}

/* Time slots */
.time-slot {
    transition: all 0.2s ease;
}
.time-slot:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}
.time-slot.selected {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse-slow 2s ease-in-out infinite;
}

/* Instagram grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Scrollbar custom */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Extra checkbox styling */
.extra-checkbox:checked + .extra-label {
    border-color: var(--primary);
    background-color: rgba(108, 99, 255, 0.05);
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Rich text (Quill output) */
.rich-text p { margin: 0 0 0.4rem 0; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text ul,
.rich-text ol { padding-left: 1.25rem; margin: 0.25rem 0; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text strong, .rich-text b { font-weight: 700; }
.rich-text em, .rich-text i { font-style: italic; }
.rich-text u { text-decoration: underline; }
.rich-text a { color: #6C63FF; text-decoration: underline; }
.rich-text h2, .rich-text h3 { font-weight: 700; margin: 0.5rem 0 0.25rem; }
.rich-text h2 { font-size: 1.125rem; }
.rich-text h3 { font-size: 1rem; }
.rich-text .ql-align-center { text-align: center; }
.rich-text .ql-align-right  { text-align: right; }
.rich-text .ql-align-justify{ text-align: justify; }
