

:root {

    --azul-serm: var(--s26-azul);
    --azul-serm-dark: var(--s26-azul-hover);
    --azul-serm-light: var(--s26-celeste-chip);
    --gold: #d4a017;
    --texto: var(--s26-texto);
    --gris-bg: #f4f6f9;
    --gris-claro: #ecf0f4;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.plan-page {
    font-family: var(--s26-font-base);
    background-color: var(--gris-bg);
    color: var(--texto);
    line-height: 1.5;
}
body.plan-page a { color: var(--azul-serm); text-decoration: none; }
/* Los botones de Bootstrap traen su propio color de texto (blanco). La regla
   generica de arriba los pisaba por especificidad y dejaba el "Descargar PDF"
   del visor en azul sobre fondo azul, casi ilegible. Solo afecta a los <a> con
   clase .btn: el resto de los enlaces conserva el azul corporativo. */
body.plan-page a.btn { color: var(--bs-btn-color, #fff); }
body.plan-page a:hover { color: var(--azul-serm-dark); text-decoration: underline; }

body.plan-page .s26-header a { color: var(--s26-texto); }
body.plan-page .s26-header a:hover { color: var(--s26-azul); text-decoration: none; }
body.plan-page .s26-header a.s26-boton--azul,
body.plan-page .s26-header a.s26-boton--azul:hover { color: var(--s26-blanco); }
body.plan-page .s26-footer a { color: #b9c6d6; }
body.plan-page .s26-footer a:hover { color: var(--s26-blanco); text-decoration: none; }

.breadcrumb-wrap {
    background: linear-gradient(90deg, #f4f6f9 0%, #e7f3fa 50%, #f4f6f9 100%);
    padding: 14px 24px;
    border-bottom: 1px solid var(--gris-claro);
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: inset 0 -2px 0 var(--azul-serm-light);
}
.breadcrumb-wrap .crumb-icon {
    width: 18px; height: 18px;
    color: var(--azul-serm);
    flex-shrink: 0;
}
.breadcrumb-wrap .crumb-sep {
    color: #bbb;
    margin: 0 4px;
    font-size: 0.7rem;
    transform: translateY(-1px);
}
.breadcrumb-wrap a {
    color: #666;
    font-weight: 500;
    transition: color 0.15s;
}
.breadcrumb-wrap a:hover { color: var(--azul-serm); text-decoration: none; }
.breadcrumb-wrap span.current {
    color: var(--azul-serm-dark);
    font-weight: 700;
    background: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid var(--azul-serm-light);
    box-shadow: 0 1px 3px rgba(0,128,197,0.1);
}
@media (max-width: 575.98px) {
    .breadcrumb-wrap { padding: 10px 12px; font-size: 0.8rem; }
    .breadcrumb-wrap span.current { padding: 3px 8px; }
}

.plan-hero {
    background: linear-gradient(135deg, var(--s26-azul-hero-1) 0%, var(--s26-azul-hero-2) 100%);
    color: #fff;
    padding: 48px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.plan-hero::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.plan-hero::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -80px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.plan-hero .badge-tipo {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
body.is-elder .plan-hero .badge-tipo { background: var(--gold); }
.plan-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.plan-hero .hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto;
}

.plan-container {
    max-width: 1140px;
    margin: -32px auto 48px;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}
@media (max-width: 1100px) {
    .plan-grid { grid-template-columns: 1fr; }
    .plan-sidebar { max-width: 480px; margin: 0 auto; width: 100%; }
}

.plan-card {
    background:#fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px;
}
@media (max-width: 575.98px) { .plan-card { padding: 20px; } }
.plan-card h2 {
    color: var(--azul-serm);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--azul-serm-light);
}
.plan-card h2:first-child { margin-top:0; }
.plan-card p { color: #444; }

.beneficios-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.beneficios-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gris-claro);
}
.beneficios-list li:last-child { border-bottom: 0; }
.beneficios-list .check {
    flex: 0 0 24px;
    width: 24px; height: 24px;
    background: var(--azul-serm-light);
    color: var(--azul-serm);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    margin-top: 2px;
}
.beneficios-list .texto { flex: 1; color: #333; }

.plan-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.precio-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    padding: 28px 24px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gris-claro);
}
.precio-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--azul-serm) 0%, #00b3e6 100%);
}
body.is-elder .precio-card::before {
    background: linear-gradient(90deg, var(--gold) 0%, #f0b540 100%);
}
.precio-card .precio-label {
    display: inline-block;
    background: var(--azul-serm-light);
    color: var(--azul-serm);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
body.is-elder .precio-card .precio-label {
    background: #fff5e0;
    color: var(--gold);
}
.precio-card .precio-monto {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--azul-serm-dark);
    line-height: 1.05;
    margin: 4px 0 2px;
    letter-spacing: -0.5px;
}
.precio-card .precio-periodo {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    margin-top: 2px;
}
.precio-card .precio-nota {
    font-size: 0.78rem;
    font-weight: 400;
    color: #999;
    margin: 12px 0 0;
    line-height: 1.4;
}
.cta-list { display: flex; flex-direction: column; gap: 10px; }
.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 18px;
    border: 0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
    text-decoration: none !important;
    line-height: 1.2;
}
.btn-cta svg { width: 18px; height: 18px; }
.btn-cta.primary {
    background: linear-gradient(135deg, var(--s26-azul-hero-1) 0%, var(--s26-azul-hero-2) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(27, 95, 173, 0.35);
}
.btn-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(27, 95, 173, 0.45);
    color: #fff;
}
.btn-cta.primary:active { transform: translateY(0); }
.btn-cta.outline {
    background: #fff;
    color: var(--azul-serm);
    border: 2px solid var(--azul-serm);
}
.btn-cta.outline:hover {
    background: var(--azul-serm-light);
    color: var(--azul-serm-dark);
}
.btn-cta.ghost {
    background: transparent;
    color: #666;
    border: 1px dashed #ccc;
    padding: 12px 18px;
    font-size: 0.92rem;
}
.btn-cta.ghost:hover {
    color: var(--azul-serm);
    border-color: var(--azul-serm);
    background: var(--azul-serm-light);
}
.confianza-pills {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.confianza-pills .pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gris-bg);
    color: #555;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.info-box {
    background: var(--azul-serm-light);
    border-left: 4px solid var(--azul-serm);
    padding: 16px 20px;
    border-radius: 6px;
    margin-top: 20px;
}
.info-box h3 { color: var(--azul-serm-dark); font-size: 1.05rem; margin: 0 0 8px; }
.info-box p { margin: 0; color: #444; font-size: 0.92rem; }

.otros-planes {
    max-width: 1140px;
    margin: 0 auto 64px;
    padding: 0 16px;
}
.otros-planes h2 {
    color: var(--azul-serm);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}
.otros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 991.98px) { .otros-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .otros-grid { grid-template-columns: 1fr; } }
.otro-plan-card {
    background:#fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.15s;
    display: block;
    color: var(--texto);
}
.otro-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    color: var(--azul-serm-dark);
    text-decoration: none;
}
.otro-plan-card .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}
.otro-plan-card .tag.normal { background: var(--azul-serm-light); color: var(--azul-serm); }
.otro-plan-card .tag.elder { background: #fff5e0; color: var(--gold); }
.otro-plan-card h3 {
    font-size: 1rem;
    margin: 4px 0 6px;
    color: var(--azul-serm-dark);
}
.otro-plan-card .ver-btn {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--azul-serm);
}

.modal-body iframe { display:block; }
