body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #f8f9fb;
    color: #2d3436;
    margin: 0;
    padding: 0;
}

.hero-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
    color: #000000;
}


/* Responsivo */

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 20px;
    }
    .hero-section h2 {
        font-size: 1.6rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}


/* ---- Contenedor principal ---- */

.info-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}


/* ---- Cada bloque ---- */

.info-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1 1 280px;
    min-width: 360px;
    max-width: 500px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eceff1;
}


/* ---- Efecto hover ---- */

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #dfe6e9;
}


/* ---- Títulos ---- */

.info-box h4 {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 1.2rem;
    position: relative;
}


/* Pequeña línea decorativa debajo del título */

.info-box h4::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #3400E7;
    border-radius: 2px;
}


/* ---- Listas ---- */

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #374151;
    transition: color 0.2s ease;
}


/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .info-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: center;
    }
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #f8f9fb;
    color: #222;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h3,
h5 {
    font-weight: 600;
}

.text-gradient {
    -webkit-background-clip: text;
}


/* === CONTENEDOR DE PLANES === */

.row.g-7 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}


/* === TARJETAS DE PLAN === */

.col-xxl-3>.d-flex {
    background: #fff;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 100%;
}

.row {
    padding: 5rem;
}

.col-xxl-3>.d-flex:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
}


/* === ENCABEZADOS === */

.col-xxl-3 h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.text-body-secondary {
    color: #6c757d !important;
}


/* === PRECIOS === */

.d-flex.align-items-center h3 {
    color: #000000;
    font-size: 1.8rem;
    margin: 0;
}

.fs-8 {
    font-size: 0.9rem;
    color: #6c757d;
}

.small.text-muted {
    font-size: 0.85rem;
    color: #999 !important;
}


/* === BOTONES === */

.btn-outline-primary {
    border: 2px solid #000000;
    color: #000000;
    transition: all 0.25s ease;
    border-radius: 50px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: #3400E7;
    color: #fff;
}

.btn-primary {
    background-color: #3400E7;
    border: none;
    color: #fff;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}


/* === LISTA DE FUNCIONES === */

.fa-ul {
    list-style: none;
    padding-left: 1.3rem;
    margin: 0;
}

.fa-ul li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #333;
}

.fa-ul i {
    color: #3400E7;
}


/* === SECCIÓN DE ASESORÍA === */

.offer-card {
    background: linear-gradient(135deg, #eaf3ff 0%, #f6edff 100%);
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none;
}

.offer-card .btn-link {
    font-weight: 500;
    color: #3400E7;
    text-decoration: none;
    font-size: 0.95rem;
}

.offer-card .btn-link:hover {
    text-decoration: underline;
}


/* === IMÁGENES === */

img {
    max-width: 100%;
    border-radius: 0.5rem;
}


/* === RESPONSIVE === */

@media (max-width: 768px) {
    .col-xxl-3>.d-flex {
        padding: 1.5rem;
    }
    .d-flex.align-items-center h3 {
        font-size: 1.6rem;
    }
}

.text-principal {
    color: #08088F;
}

.info-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: #fff;
    padding: 2rem 1.5rem;
    min-height: 580px;
    /* Aumenta la altura base */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.info-card h5 {
    color: #212529;
    font-weight: 700;
    font-size: 1.25rem;
}

.info-card h4 {
    color: #0d6efd;
    font-weight: 700;
    font-size: 1.4rem;
}

.info-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.info-card ul {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    padding-left: 1rem;
}

.info-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.info-card ul li::before {
    content: "•";
    color: #0d6efd;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.info-card .btn-outline-secondary,
.info-card .btn-outline-primary {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

button[data-bs-toggle="collapse"] {
    font-weight: 600;
    margin-top: auto;
}

.text-gradient {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* --- Layout control --- */

@media (min-width: 1200px) {
    .planes-precios .col-md-3 {
        flex: 0 0 24%;
        max-width: 24%;
    }
}

@media (max-width: 991px) {
    .planes-precios .col-md-3 {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (max-width: 767px) {
    .planes-precios .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .info-card {
        min-height: auto;
    }
}

.pricing-end-section {
    /* Fondo sutil para separar visualmente la sección */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.04));
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}


/* Contenedor del texto */

.pricing-end-section .pricing-note {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    /* letra clara pero legible */
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    /* ayuda a destacar sobre fondos variados */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    /* leve brillo */
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
}


/* Ajuste para fondos claros: si tu sitio tiene fondo claro, cambia a gris oscuro */

@media (prefers-color-scheme: light) {
    .pricing-end-section .pricing-note {
        color: rgba(33, 33, 33, 0.85);
        text-shadow: none;
        background: transparent;
    }
    .pricing-end-section {
        border-top-color: rgba(0, 0, 0, 0.06);
        background: transparent;
    }
}


/* Pequeño helper para accesibilidad: show visually-hidden-focusable when focused */

.visually-hidden-focusable {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.visually-hidden-focusable:focus {
    position: static !important;
    height: auto;
    width: auto;
    clip: auto;
    overflow: visible;
}


/* Responsive: un poco más grande en pantallas grandes */

@media(min-width: 992px) {
    .pricing-end-section .pricing-note {
        font-size: 1rem;
        padding: 8px 14px;
    }
}

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.collapse {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapse.show {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-blue {
    color: #08088F !important;
}

.highlight-blue {
    color: #08088F;
}

.btn-blue {
    background-color: #08088F;
    border: none;
}

.btn-blue:hover {
    background-color: #06066B;
}


/* Figuras geométricas alrededor de la imagen */

.shape-container::before,
.shape-container::after {
    content: "";
    position: absolute;
    border: 3px solid #08088F;
    border-radius: 12px;
    width: 160px;
    height: 160px;
    z-index: 0;
}


/* Figura superior izquierda */

.shape-container::before {
    top: -30px;
    left: -30px;
    transform: rotate(45deg);
}


/* Figura inferior derecha */

.shape-container::after {
    bottom: -30px;
    right: -30px;
    transform: rotate(45deg);
}


/* Asegurar que la imagen quede por encima */

.shape-container img {
    position: relative;
    z-index: 2;
}