/* ================= ANIMACIÓN PULSO (CARRITO LLENO) ================= */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 130, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0); }
}
.btn-pulse {
    animation: pulse-ring 2s infinite;
}

/* ================= BANNER INTERNO ================= */
.inner-banner {
    width: 100%; height: 350px;
    background-size: cover; background-position: center;
    position: relative; display: flex; align-items: center;
    margin-top: 0; /* Compensa el header fijo si es necesario */
}
.inner-banner-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.6);
}
.inner-banner-content {
    position: relative; z-index: 2; color: var(--white);
}
.inner-banner-title { font-size: 48px; font-weight: 700; margin-bottom: 10px; }
.inner-banner-subtitle { font-size: 18px; font-weight: 400; color: #ddd; }

/* ================= PÁGINA COTIZACIÓN ================= */
.seccion-cotizacion { padding: 60px 0; }
.cotizacion-grid {
    display: grid; grid-template-columns: 35% 62%; gap: 3%;
    align-items: start;
}
.cotizacion-col {
    background: var(--white); border: 1px solid var(--gray);
    border-radius: 10px; padding: 30px;
}

/* Lista de Servicios Agregados */
.titulo-servicios {
    display: flex; align-items: center; gap: 10px;
    color: var(--gray); font-size: 20px; font-weight: 600; margin-bottom: 25px;
}
.cart-items-container { display: flex; flex-direction: column; gap: 20px; }
.cart-item-wrap { display: flex; flex-direction: column; align-items: flex-end; }
.cart-item-box {
    width: 100%; background: var(--white); border: 2px solid #e0e7ef;
    border-radius: 8px; padding: 15px; display: flex; align-items: center; gap: 15px;
    margin-bottom: 8px;
}
.cart-item-img {
    width: 60px; height: 60px; border-radius: 5px; object-fit: cover; flex-shrink: 0;
}
.cart-item-info { display: flex; flex-direction: column; }
.cart-item-label { font-size: 11px; color: var(--gray); text-transform: uppercase; }
.cart-item-name { font-size: 15px; font-weight: 700; color: var(--orange); }
.btn-delete-cart {
    background: none; border: none; color: #d9534f; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 5px; cursor: pointer; transition: var(--transition);
}
.btn-delete-cart:hover { color: #c9302c; text-decoration: underline; }
.btn-delete-cart .material-symbols-outlined { font-size: 16px !important; }

/* Formulario */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-control {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 5px;
    font-family: 'Inter', sans-serif; font-size: 15px; transition: border-color 0.3s;
}
.form-control:focus { border-color: var(--orange); outline: none; }
textarea.form-control { height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Checkbox */
.custom-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-dark); }
.custom-checkbox input { width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; }

/* Campos Ocultos de Factura */
#factura-fields { display: none; margin-top: 20px; }

/* Drag & Drop Input File */
.file-drop-area {
    border: 2px dashed #ccc; border-radius: 8px; padding: 30px; text-align: center;
    background: #fafafa; cursor: pointer; transition: all 0.3s ease;
}
.file-drop-area.drag-over { border-color: var(--orange); background: #fff4eb; }
.file-drop-area .material-symbols-outlined { font-size: 40px; color: var(--gray); margin-bottom: 10px; }
.file-drop-text { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.file-input { display: none; }
.file-preview-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.file-preview-item { font-size: 12px; background: #e0e7ef; padding: 5px 10px; border-radius: 4px; display: flex; align-items: center; gap: 5px; }

/* Verificación Seguridad */
.captcha-box { border: 1px solid #ccc; border-radius: 5px; padding: 15px; margin-bottom: 20px; }
.captcha-header { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 15px; }
.captcha-body { display: flex; gap: 15px; align-items: center; }
.captcha-question { background: #f5f5f5; padding: 10px 15px; border-radius: 5px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-grow: 1; justify-content: space-between; }
.captcha-input { flex-grow: 1; }

/* Textos legales */
.legal-text { font-size: 12px; color: var(--gray); display: flex; align-items: flex-start; gap: 5px; margin-bottom: 20px; line-height: 1.4; }
.legal-link { color: #0066cc; text-decoration: underline; cursor: pointer; }

/* Botones Enviar */
.form-actions { display: flex; gap: 15px; margin-top: 30px; }
.btn-blue { background: #0066cc; color: var(--white); padding: 12px 25px; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-blue:hover { background: #0052a3; transform: translateY(-3px); }
.btn-green { background: #25d366; color: var(--white); padding: 12px 25px; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-green:hover { background: #1ebe57; transform: translateY(-3px); }

/* Mensaje Éxito */
#form-success-msg { display: none; background: #d4edda; color: #155724; padding: 20px; border-radius: 8px; border: 1px solid #c3e6cb; margin-top: 20px; text-align: center; font-weight: 600; }

@media (max-width: 991px) {
    .cotizacion-grid { grid-template-columns: 1fr; }
    .inner-banner { height: 250px; }
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .captcha-body { flex-direction: column; }
    .form-actions { flex-direction: column; }
    .form-actions button { justify-content: center; width: 100%; }
}
/* Corrección del Checkbox de Privacidad */
.custom-checkbox-container {
    display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-dark);
}
.custom-checkbox-container input {
    width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; flex-shrink: 0;
}
.custom-checkbox-container label {
    cursor: pointer; margin-bottom: 0; display: inline; font-size: inherit; font-weight: inherit;
}

/* Estado deshabilitado para los botones */
.btn-blue:disabled, .btn-green:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important; /* Quita el efecto de subir al hacer hover */
    pointer-events: none; /* Evita que se les haga clic */
}