/* ====================================
   ESTILOS GLOBALES
   ==================================== */
:root {
    --bs-font-sans-serif: 'Space Grotesk', sans-serif;
    --bs-body-font-family: 'Space Grotesk', sans-serif;
    --bs-body-bg: #f3f4f6;
    --bs-body-color: #000;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #f3f4f6;
}

/* ====================================
   HEADER Y NAVEGACIÓN
   ==================================== */
.site-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

.navbar-nav .nav-link {
    color: #000000 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease !important;
}

.navbar-nav .nav-link:hover {
    color: #666666 !important;
}

/* ====================================
   SECCIÓN NUESTROS PLANES
   ==================================== */
.nuestros-planes {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.planes-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 40px;
}

.plan-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.plan-card--featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #0073aa;
    box-shadow: 0 10px 30px rgba(0, 115, 170, 0.1);
    transform: scale(1.02);
}

.plan-card--featured:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 115, 170, 0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: #6c757d;
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-badge--featured {
    background: #0073aa;
}

.plan-price {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #e9ecef;
}

.price-consultar {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0073aa;
    background: rgba(0, 115, 170, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4a4a4a;
}

.feature-icon {
    flex-shrink: 0;
    font-size: 1rem;
    color: #28a745;
}

.feature-text strong {
    color: #0073aa;
}

.plan-cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

.plan-cta:hover {
    background: linear-gradient(135deg, #005a87, #0073aa);
    transform: scale(1.05);
    color: white;
}

.plan-cta--featured {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.plan-cta--featured:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
}

/* ====================================
   SECCIÓN POR QUÉ ELEGIRNOS
   ==================================== */
.por-que-elegirnos {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.beneficio-card {
    transition: all 0.3s ease;
    cursor: default;
    border-radius: 16px !important;
}

.beneficio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 115, 170, 0.15) !important;
}

.beneficio-icono {
    font-size: 3.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.beneficio-card:hover .beneficio-icono {
    transform: scale(1.1);
}

.trust-badge {
    border: 1px solid rgba(0, 115, 170, 0.1);
}

/* ====================================
   SECCIÓN CTA FINAL
   ==================================== */
.cta-final {
    background: linear-gradient(135deg, #1a2a3a 0%, #0f1a24 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 !important;
}

.btn-cta {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    border: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4) !important;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #218838, #1e7e34);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4); }
    50% { box-shadow: 0 20px 35px rgba(40, 167, 69, 0.7); }
    100% { box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4); }
}

/* ====================================
   FORMULARIOS
   ==================================== */
.form-control, .form-select {
    background-color: #ffffff !important;
    border: 1px solid #666;
    padding: 0.75rem 1rem;
    color: #000000 !important;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff !important;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    color: #000000 !important;
}

/* ====================================
   PORTFOLIO
   ==================================== */
.group:hover .transition-scale {
    transform: scale(1.05);
}

.transition-scale {
    transition: transform 0.5s ease;
}

.transition-opacity {
    transition: opacity 0.3s ease;
}

.group:hover .opacity-0 {
    opacity: 1 !important;
}

.opacity-0 {
    opacity: 0;
}

.bg-opacity-60 {
    --bs-bg-opacity: 0.6;
    background-color: rgba(0, 0, 0, var(--bs-bg-opacity)) !important;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .planes-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        max-width: 400px;
        width: 100%;
    }
    
    .plan-card--featured {
        transform: scale(1);
    }
    
    .plan-card--featured:hover {
        transform: translateY(-10px);
    }
    
    .cta-final {
        padding: 70px 0 !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .plan-card {
        padding: 35px 20px 25px;
    }
}