:root {
    --primary-color: #1e3a8a;
    --secondary-color: #16a34a;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-section .lead {
    font-size: 1.4rem;
    font-weight: 300;
}

/* Pricing Cards */
.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

.badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.pricing-card .list-unstyled li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

.pricing-card .list-unstyled li i {
    margin-right: 8px;
    width: 20px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
    transform: scale(1.02);
}

.btn-success {
    background: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #15803d;
    transform: scale(1.02);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Features */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
}

.feature-icon i {
    color: white;
}

/* Sections */
section {
    padding: 60px 0;
}

h2 {
    color: var(--dark-color);
    margin-bottom: 50px;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand i {
    margin-right: 8px;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.3rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #111827 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

footer ul li {
    margin-bottom: 10px;
}

footer .fa-envelope::before,
footer .fa-phone::before,
footer .fa-map-marker-alt::before {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .price {
        font-size: 2rem;
    }

    .pricing-card {
        margin: 20px 0;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: slideInUp 0.6s ease-out forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }

/* Tabla Carrito */
.table {
    margin-bottom: 0;
}

.table thead {
    background: var(--light-color);
}

.table th {
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.85rem;
}

.btn-close-item {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.btn-close-item:hover {
    color: #991b1b;
}

/* Loader */
.spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner.active {
    display: block;
}

.spinner-border {
    color: var(--primary-color);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-success {
    background-color: var(--secondary-color);
}

.text-success {
    color: var(--secondary-color) !important;
}

.text-muted {
    color: #9ca3af !important;
}

/* Hover Effects */
.card {
    border: none;
}

a {
    transition: all 0.3s ease;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    color: #0c2340;
}

/* Números de pasos */
.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
}

/* Accordion */
.accordion-button {
    color: var(--dark-color);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
}

/* Tabla comparativa */
.table-hover tbody tr:hover {
    background-color: rgba(30, 58, 138, 0.05);
}

.table th {
    color: white;
}

.table td {
    vertical-align: middle;
}

/* Sección Paquetes */
.seccion-paquetes {
    transition: all 0.3s ease;
}

/* Button Group (Filtros) */
.btn-group {
    display: flex;
    gap: 0;
}

.btn-group .btn {
    flex: 1;
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 0.375rem 0 0 0.375rem;
}

.btn-group .btn:last-child {
    border-radius: 0 0.375rem 0.375rem 0;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
