:root {
    --brand-blue: #0d6efd;
    --brand-blue-hover: #0b5ed7;
    --text-dark: #333333;
    --bg-light: #f4f6f9;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.header-title {
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Tarjetas de Servicio */
.service-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    background: #ffffff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-header-blue {
    background-color: var(--brand-blue);
    color: white;
    padding: 15px;
    font-weight: 600;
    font-size: 1.15rem;
    text-align: center;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #4b5563;
}

.service-list li:last-child {
    border-bottom: none;
}

.contact-info-card {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 15px;
    font-size: 0.85rem;
}

/* Formulario Deslizante */
#requestFormContainer {
    display: none; /* Oculto por defecto, controlado por jQuery/AJAX */
    margin-bottom: 30px;
}

.form-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-top: 4px solid var(--brand-blue);
}

.btn-brand {
    background-color: var(--brand-blue);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--brand-blue-hover);
    color: white;
    transform: scale(1.05);
}

/* Reglas de Impresión para PDF perfecto */
@media print {
    body {
        background-color: white !important;
    }
    .no-print {
        display: none !important;
    }
    .service-card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
        /* Evita que la tarjeta se parta entre dos páginas */
        page-break-inside: avoid;
        break-inside: avoid;
        margin-bottom: 20px !important;
    }
    .col-md-6 {
        /* Fuerza a mantener el grid en 2 columnas en PDF */
        width: 50% !important;
        float: left !important;
    }
    .row {
        display: block !important;
    }
}