/* ==========================================================
   MK LIMPIEZA Y ORDEN MULTISERVICIOS
   components.css — Estilos de componentes reutilizables
   ========================================================== */

/* ---- TOPBAR ---- */
.topbar {
    background-color: #0F172A; /* slate-900 */
    color: #CBD5E1;             /* slate-300 */
    font-size: 0.75rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid #1E293B;
}

/* ---- HEADER / NAVEGACIÓN ---- */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

/* ---- BOTONES ---- */

/* Botón primario amarillo */
.btn-primary {
    background-color: #FFCC00;
    color: #020617;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: 2px solid #FFDB4D;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: #E6B800;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Botón secundario transparente */
.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Botón de llamada oscuro (en tarjetas) */
.btn-card-call {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0F172A;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

.btn-card-call:hover {
    background-color: #38B6FF;
}

/* ---- TARJETAS DE SERVICIO ---- */
.service-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ---- BADGE / ETIQUETA DE CATEGORÍA ---- */
.badge {
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.badge-yellow {
    background-color: #FFCC00;
    color: #020617;
}

.badge-blue {
    background-color: #38B6FF;
    color: #fff;
}

/* ---- TARJETAS DE GARANTÍA ---- */
.guarantee-card {
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    background-color: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: border-color 0.2s ease;
}

.guarantee-card:hover {
    border-color: #38B6FF;
}

/* ---- FAQ ACCORDION ---- */
.faq-item {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0F172A;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.faq-btn i {
    transition: transform 0.3s ease;
    color: #38B6FF;
    flex-shrink: 0;
}

.faq-btn.open i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem 1.25rem;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    border-top: 1px solid #F1F5F9;
}

/* ---- FORMULARIO DE CONTACTO ---- */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #CBD5E1;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #38B6FF;
}

/* ---- FOOTER ---- */
footer {
    background-color: #0A192F;
    color: #CBD5E1;
    border-top: 1px solid #1E293B;
}

/* ---- INDICADORES CARRUSEL ---- */
.carousel-dot {
    height: 0.5rem;
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 2rem;
    background-color: #FFCC00;
}

.carousel-dot:not(.active) {
    width: 0.75rem;
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-dot:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ---- NOTIFICATION TOAST ---- */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    background: #0F172A;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.hide {
    opacity: 0;
    transform: translateY(1rem);
}
