body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #f5f5f5;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.gradient-text {
    background: linear-gradient(90deg, #facc15, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Estilos de Modales --- */
.modal-container {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    position: relative;
    background-color: #111111;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    padding: 2rem;
    width: 100%;
    max-width: 48rem;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}
.close-modal-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.75rem;
    color: #a1a1aa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.close-modal-btn:hover {
    color: #ffffff;
}
.back-to-type-btn, .back-to-recoleccion-btn {
    background: none;
    border: none;
    color: #facc15;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 500;
}
.modal-option-btn {
    background-color: #18181b;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Agregado para los links */
}
.modal-option-btn:hover {
    background-color: #27272a;
    border-color: #facc15;
    color: #facc15;
}

/* --- Estilos de Tarjetas de Servicio --- */
.card-service {
    background-color: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    border-radius: 0.75rem;
}
.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.2), 0 4px 6px -2px rgba(250, 204, 21, 0.1);
}

/* --- Clases para formularios --- */
.form-label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
}
.form-input {
    width: 100%;
    background-color: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.5);
}
.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #facc15;
    border-bottom: 1px solid #27272a;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* --- Botón de WhatsApp mejorado --- */
.whatsapp-submit-btn {
    width: 100%;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    transform: scale(1);
    background-image: linear-gradient(to right, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.whatsapp-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Botones Principales (Hero y otros) --- */
.btn-main-cta, .btn-secondary-cta {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: scale(1);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-main-cta:hover, .btn-secondary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -4px rgba(250, 204, 21, 0.4);
}
.btn-main-cta {
    background: linear-gradient(90deg, #facc15, #fb923c);
    color: #18181b;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}
.btn-secondary-cta {
    background-color: transparent;
    border-color: #facc15;
    color: #facc15;
}
.btn-secondary-cta:hover {
      background-color: #facc15;
      color: #18181b;
      box-shadow: 0 8px 25px -4px rgba(250, 204, 21, 0.4);
}

/* --- Botones de servicio app Alycab --- */
.app-service-button {
    background-color: rgba(39, 39, 42, 0.8);
    border: 1px solid #3f3f46;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
}

/* --- Animaciones de Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Selector de Paquetería Custom --- */
label.courier-label input[type="radio"] {
    display: none;
}
label.courier-label span {
    display: block;
    padding: 0.75rem;
    border: 2px solid #3f3f46;
    border-radius: 0.375rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
label.courier-label input[type="radio"]:checked + span {
    background-color: #facc15;
    border-color: #facc15;
    color: #18181b;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}
label.courier-label input[type="radio"]:not(:checked) + span:hover {
    border-color: #71717a;
}
/* --- ESTILOS PARA EL HEADER (MENÚ DE NAVEGACIÓN) --- */
header#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    -webkit-backdrop-filter: blur(0px);
}

/* --- SOLUCIÓN PARA HEADER FIJO EN MÓVILES --- */
@media (max-width: 767px) {
    body {
        padding-top: 5rem;
    }
}