/* ========================================
   TodoLimpio - Estilos Compartidos
   ======================================== */

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* --- Custom Shapes & Clips --- */
.hero-shape {
    border-top-left-radius: 100px;
    border-top-right-radius: 50px;
    clip-path: polygon(10% 0, 100% 0%, 100% 100%, 0% 100%);
}

/* --- Gradient Button --- */
.gradient-btn {
    background: linear-gradient(90deg, #38BDF8 0%, #3B82F6 40%, #A855F7 100%);
    transition: all 0.3s ease;
}

.gradient-btn:hover {
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4);
    transform: scale(1.02);
}

/* --- Mobile Menu --- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- Accordion (FAQ) --- */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.accordion-content.open {
    max-height: 500px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

/* --- Booking Steps --- */
.step-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Selection Styles --- */
.step-card.selected,
.service-card.selected {
    border-color: #2563EB !important;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.dark .step-card.selected,
.dark .service-card.selected {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.08) 100%);
}

/* --- Booking Progress Bar --- */
.progress-step {
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background: #E2E8F0;
    transform: translateY(-50%);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: #2563EB;
}

.dark .progress-step::after {
    background: #334155;
}

.dark .progress-step.completed::after {
    background: #3B82F6;
}

/* --- Scroll Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Blog Card --- */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* --- Category Pill --- */
.category-pill {
    transition: all 0.2s ease;
}

.category-pill:hover,
.category-pill.active {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

/* --- Smooth Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

/* --- Form Inputs --- */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 0.75rem;
    background: #fff;
    color: #1E293B;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dark .form-input {
    background: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}

.dark .form-input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* --- Pulse animation for CTA --- */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
    }
}

.pulse-cta {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* --- Checklist Modal --- */
@keyframes modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-modal-in {
    animation: modal-slide-up 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.checklist-arrow {
    transition: transform 0.3s ease;
}