/* ========================================
   CURSO PRESUPUESTO PÚBLICO 2026 - R&C CONSULTING
   Estilos principales extraídos y organizados
   ======================================== */

/* ========================================
   1. VARIABLES CSS
   ======================================== */
:root {
    --bg: #f6f8fc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --blue: #0b3a9a;
    --blue2: #0d4bd6;
    --yellow: #f7b500;
    --green: #22c55e;
    --red: #ef4444;
    --rojo: #9E183A;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(2, 8, 23, .10);
    --radius: 14px;
    --radius2: 18px;
    --container: 1140px;
    --rc-red: #9E183A;
    --rc-blue: #001252;
    --rc-bg: #ffffff;
    --rc-soft: #f3f6fb;
    --rc-border: #e6ebf4;
    --rc-shadow: 0 14px 40px rgba(16, 24, 40, .10);
    --rc-primary: #9E183A;
    --rc-primary-dark: #7d1330;
}

/* ========================================
   2. RESET Y BASE
   ======================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   3. LAYOUT
   ======================================== */
.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

/* ========================================
   4. TOPBAR Y NAVEGACIÓN
   ======================================== */
.topbar {
    background: linear-gradient(90deg, #4f46e5, #2563eb);
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.topbar .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .2px;
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--blue2), var(--blue));
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow);
    font-weight: 900;
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #0b1220;
    font-weight: 600;
    font-size: 14px;
}

.menu a {
    opacity: .85;
}

.menu a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   5. BOTONES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s transform ease, .15s box-shadow ease, .15s opacity ease;
    color: white;
    background-color: var(--rojo);
    font-size: medium;
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    padding: 10px 20px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(2, 8, 23, .08);
    background-color: #fff;
    color: var(--rojo);
    border-color: var(--rojo);
}

.btn-primary {
    background: var(--rojo);
    border-color: transparent;
    color: #fff;
}

.btn-primary:hover {
    background: var(--bg);
    border-color: transparent;
    color: var(--text);
}

.btn-whatsapp {
    background: #16a34a;
    border-color: transparent;
    color: #fff;
}

.btn-ghost {
    background: transparent;
}

.rc-btn-primary {
    background: var(--rc-blue);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    padding: 13px 16px;
    border: 1px solid var(--rc-blue);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
    box-shadow: 0 10px 18px rgba(0, 18, 82, .22);
}

.rc-btn-primary:hover,
.rc-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(0, 18, 82, .30);
    color: #fff;
}

.btn.rc-btn-primary {
    color: #fff !important;
}

.btn.rc-btn-primary:hover,
.btn.rc-btn-primary:focus,
.btn.rc-btn-primary:active {
    color: #fff !important;
    background: var(--rc-blue) !important;
    border-color: var(--rc-blue) !important;
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(0, 18, 82, .30) !important;
    outline: 0 !important;
}

.btn.rc-btn-primary * {
    color: inherit !important;
}

.rc-btn-outline {
    background: transparent;
    border: 2px solid var(--rc-blue);
    color: var(--rc-blue);
    font-weight: 900;
    border-radius: 12px;
    padding: 13px 16px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.rc-btn-outline:hover,
.rc-btn-outline:focus {
    background: var(--rc-blue);
    border-color: var(--rc-blue);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0, 18, 82, .22);
}

.btn-rc-outline {
    width: 100%;
    border: 2px solid var(--rc-primary);
    color: var(--rc-primary);
    font-weight: 800;
    border-radius: 10px;
    padding: 12px 14px;
    transition: all .15s ease;
    background: transparent;
}

.btn-rc-outline:hover {
    background: var(--rc-primary);
    color: #fff;
    border-color: var(--rc-primary);
}

.rc-btn-whatsapp {
    background: #1fae4b;
    border: 0;
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    padding: 14px 16px;
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
    box-shadow: 0 10px 18px rgba(31, 174, 75, .22);
}

.rc-btn-whatsapp:hover,
.rc-btn-whatsapp:focus {
    filter: brightness(.95);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(31, 174, 75, .28);
    color: #fff;
}

/* ========================================
   6. HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(180deg,
            var(--rojo) 0%,
            var(--rojo) 72%,
            var(--bg) 72%);
    color: #fff;
    padding: 124px 0 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: 22px;
    align-items: start;
    padding-bottom: 26px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 181, 0, .18);
    border: 1px solid rgba(247, 181, 0, .35);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .3px;
}

.hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.05;
    letter-spacing: -.6px;
}

.hero p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.5;
    max-width: 720px;
}

.stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    font-weight: 700;
    font-size: 14px;
}

.stars {
    color: var(--yellow);
    letter-spacing: 1px;
    font-size: 13px;
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.qcard {
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 10px 20px rgba(2, 8, 23, .12);
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 72px;
}

.qicon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(13, 75, 214, .10);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--blue2);
    flex: 0 0 auto;
}

.qmeta {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
}

.qtitle {
    margin: 2px 0 0;
    font-weight: 900;
    font-size: 14px;
    color: var(--text);
}

/* ========================================
   7. VIDEO Y SIDEBAR
   ======================================== */
.video-card {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius2);
    padding: 12px;
}

.video-thumb {
    border-radius: 14px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, .18);
    aspect-ratio: 16/9;
    display: grid;
    place-items: center;
    position: relative;
}

.play {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    color: #0b1220;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.video-caption {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, .88);
    font-weight: 700;
}

.sidebar {
    position: sticky;
    top: 86px;
    align-self: start;
}

.panel {
    background: #fff;
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

.panel .pricebox {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.price-tag {
    font-size: 12px;
    font-weight: 900;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price {
    font-size: 32px;
    font-weight: 950;
    color: #0b1220;
    letter-spacing: -.8px;
    margin-top: 6px;
}

.price small {
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
}

.regular {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
    text-decoration: line-through;
}

.discount-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .25);
    color: #166534;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    white-space: nowrap;
}

.panel .pay {
    padding: 0 16px 16px;
    display: grid;
    gap: 10px;
}

.pay .btn {
    width: 100%;
}

.logos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 16px 14px;
    opacity: .9;
    justify-content: center;
}

.logo {
    width: 40px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    color: var(--muted);
}

.panel .formbox {
    padding: 16px;
    background: #fbfdff;
}

.formbox h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 950;
    color: #0b1220;
}

.field {
    display: grid;
    gap: 6px;
    margin: 10px 0;
}

.input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
    font-weight: 700;
    color: #0b1220;
    background: #fff;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    margin: 8px 0 12px;
}

/* ========================================
   8. SECCIONES
   ======================================== */
.section {
    padding: 24px 0;
}

.section.white {
    background: #fff;
}

.section .head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -.4px;
}

.sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

.grid {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: 22px;
    align-items: start;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
    padding: 18px;
}

/* ========================================
   9. BENEFICIOS
   ======================================== */
.beneficio {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 22px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.beneficio:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.beneficio p {
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.beneficio span,
.beneficio strong {
    color: #9E183A;
    font-weight: 600;
}

.beneficio i {
    margin-bottom: 18px;
    display: block;
}

/* ========================================
   10. ACORDEÓN
   ======================================== */
.accordion {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.acc {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.acc button {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: #fff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 950;
}

.acc button span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acc .body {
    padding: 0 16px 14px;
    display: none;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.6;
}

.acc.open .body {
    display: block;
}

.acc .body ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.acc .body li {
    margin: 6px 0;
    color: #0b1220;
}

.rc-accordion .accordion-item {
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.rc-accordion .accordion-button {
    font-weight: 900;
    color: #111827;
    background: #fff;
    padding: 14px 16px;
}

.rc-accordion .accordion-button:not(.collapsed) {
    background: #eaf2ff;
    color: var(--rc-blue);
    box-shadow: none;
}

.rc-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.rc-accordion .accordion-body {
    padding: 16px;
}

/* ========================================
   11. PROFESORES
   ======================================== */
.teachers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.tcard {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
    overflow: hidden;
}

.timg {
    aspect-ratio: 4/3;
    background: #e2e8f0;
    display: grid;
    place-items: center;
    color: #334155;
    font-weight: 900;
}

.tbody {
    padding: 14px;
}

.tname {
    font-weight: 950;
    margin: 0 0 6px;
}

.trole {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.4;
}

.tbtns {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.tbtns .btn {
    flex: 1;
    padding: 10px 12px;
}

.prof-card {
    border: 1px solid var(--rc-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--rc-shadow);
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
}

.prof-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, .14);
}

.prof-card__imgWrap {
    background: #f4f6f8;
    padding: 26px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prof-card__img {
    width: 180px;
    height: 180px;
    border-radius: 999px;
    object-fit: cover;
    background: #fff;
    border: 6px solid #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
}

.prof-card__body {
    padding: 18px 18px 16px;
    text-align: center;
}

.prof-card__name {
    color: var(--rc-primary);
    font-weight: 800;
    font-size: 1.15rem;
    margin: 2px 0 14px;
    line-height: 1.2;
}

.prof-card__more {
    margin-top: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--rc-primary);
    font-weight: 700;
    text-decoration: none;
}

.prof-card__more:hover {
    color: var(--rc-primary-dark);
    text-decoration: underline;
}

.prof-card__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

/* ========================================
   12. TESTIMONIOS
   ======================================== */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.quote {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
}

.quote p {
    margin: 0;
    color: #0b1220;
    font-weight: 750;
    line-height: 1.55;
}

.qfoot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-weight: 900;
    font-size: 12px;
}

.testimonio {
    text-align: justify;
    font-size: 15px;
}

.section-testimonio {
    background: linear-gradient(180deg, #071b4f, #05163d);
}

.section-testimonio .swiper,
.section-testimonio .swiper-wrapper,
.section-testimonio .swiper-slide {
    height: 100%;
}

.section-testimonio .swiper-slide {
    display: flex;
    height: auto;
}

.section-testimonio .testimonio {
    width: 100%;
    height: 560px;
    border-radius: 16px;
    justify-content: space-between;
}

.section-testimonio .testimonio p {
    flex: 1;
    width: 100%;
    text-align: justify;
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}

.section-testimonio .testimonio .testimonio-foto {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    background: #f3f6fb;
    border: 1px solid #e6ebf4;
}

.section-testimonio .testimonio h5 {
    text-align: center;
    line-height: 1.15;
    margin-top: 6px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.section-testimonio .swiper-button-prev,
.section-testimonio .swiper-button-next {
    color: #9E183A;
}

/* ========================================
   13. VALOR DIFERENCIAL
   ======================================== */
.value-wrap {
    background: linear-gradient(180deg, #0b3a9a, #072b73);
    color: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .12);
}

.value-wrap h2 {
    color: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.vcard {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: 14px;
    min-height: 130px;
}

.vtitle {
    margin: 8px 0 6px;
    font-weight: 950;
}

.vtext {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
}

.vicon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(247, 181, 0, .20);
    display: grid;
    place-items: center;
    font-weight: 950;
    color: #fff;
}

.diferencial-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex: 0 0 auto;
}

.diferencial-divider {
    width: 2px;
    height: 70px;
    background: #9E183A;
    opacity: .9;
    flex: 0 0 auto;
}

/* ========================================
   14. PAGO Y PRECIOS
   ======================================== */
.pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.price-big {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
}

.price-big .line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-weight: 900;
}

.price-big .line:last-child {
    border-bottom: 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 950;
    border-radius: 999px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: #fff;
}

.tag.green {
    border-color: rgba(34, 197, 94, .25);
    background: rgba(34, 197, 94, .12);
    color: #166534;
}

.tag.red {
    border-color: rgba(239, 68, 68, .25);
    background: rgba(239, 68, 68, .12);
    color: #7f1d1d;
}

.rc-pay {
    background: var(--rc-bg);
}

.rc-pay .container {
    max-width: 1050px;
}

.rc-title {
    font-weight: 900;
    color: var(--rc-blue);
    letter-spacing: .2px;
    font-size: 2.05rem;
    line-height: 1.1;
}

.rc-subtitle {
    font-size: 1rem;
    color: #111827;
    opacity: .9;
}

.rc-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .10);
}

.rc-card--white {
    background: #fff;
    border: 2px solid var(--rc-blue);
}

.rc-card--soft {
    background: var(--rc-soft);
    border: 0;
}

.rc-block,
.rc-right-top {
    padding: 24px;
}

.rc-hr {
    border: 0;
    height: 1px;
    background: var(--rc-border);
    margin: 0;
}

.rc-h4 {
    font-weight: 800;
    color: #111827;
}

.rc-p {
    color: #2b2f38;
    margin: 0;
}

.rc-pay-logo {
    height: 56px;
    width: auto;
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
    object-fit: contain;
}

.rc-miniCard {
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 14px;
    padding: 16px;
}

.rc-account {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 14px;
    padding: 12px;
}

.rc-bank {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.rc-account__title {
    font-weight: 800;
    color: #111827;
}

.rc-account__line {
    color: #111827;
}

.rc-account__muted {
    color: #6b7280;
    font-size: .92rem;
}

.rc-apps-title {
    font-weight: 800;
    color: #111827;
}

.rc-qr {
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.rc-app {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.rc-qr-img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    margin: 8px auto 10px;
    display: block;
}

.rc-qr-name {
    font-weight: 800;
    color: #111827;
    font-size: .95rem;
}

.rc-qr-number {
    color: #6b7280;
    font-weight: 700;
}

.rc-safe {
    font-size: .95rem;
    color: #111827;
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 14px;
    padding: 12px;
}

.rc-right-title {
    font-weight: 900;
    color: var(--rc-blue);
    line-height: 1.1;
    font-size: 1.55rem;
}

.rc-red {
    color: var(--rc-red);
}

.rc-label {
    color: #111827;
    font-weight: 700;
}

.rc-price {
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(16, 24, 40, .10);
}

.rc-price--promo {
    background: #fff4b8;
    border: 1px solid rgba(0, 0, 0, .06);
}

.rc-price--normal {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
}

.rc-coin {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .10);
    font-weight: 900;
}

.rc-price__name {
    font-weight: 900;
    color: #111827;
}

.rc-price__sub {
    color: #4b5563;
    font-size: .92rem;
}

.rc-price__amount {
    font-weight: 900;
    font-size: 1.25rem;
    color: #111827;
    width: 25%;
}

.rc-os {
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 14px;
    padding: 12px;
    color: #111827;
}

.rc-note {
    background: #eaf2ff;
    border: 1px solid rgba(0, 18, 82, .12);
    border-radius: 14px;
    padding: 12px;
    color: #111827;
    font-size: .95rem;
}

/* ========================================
   15. WHATSAPP Y FLOTANTES
   ======================================== */
.wa-block {
    background: linear-gradient(90deg, rgba(22, 163, 74, .12), rgba(22, 163, 74, .04));
    border: 1px solid rgba(22, 163, 74, .18);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wa-people {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.person {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 240px;
    box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #e2e8f0;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: #334155;
}

.pname {
    margin: 0;
    font-weight: 950;
}

.pphone {
    margin: 2px 0 0;
    color: #16a34a;
    font-weight: 950;
}

.float-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    gap: 10px;
    align-items: center;
}

.float-wa .bubble {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 12px 14px;
    max-width: 260px;
    font-weight: 800;
    color: #0b1220;
    display: none;
}

.float-wa:hover .bubble {
    display: block;
}

.wa-btn {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #16a34a;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .15);
}

.wa-cta-soft {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #25D366, #1fbf63);
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .6px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
    animation: wa-float 2.2s ease-in-out infinite,
        wa-pulse 2.8s infinite;
}

.wa-text {
    white-space: nowrap;
}

.wa-gift {
    font-size: 20px;
    animation: wa-gift-bounce 1.6s infinite;
}

.wa-cta-soft i {
    font-size: 22px;
}

@keyframes wa-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
    }

    70% {
        box-shadow: 0 0 0 26px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes wa-gift-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.wa-cta-soft:hover {
    transform: scale(1.05);
    filter: brightness(1.08);
}

/* ========================================
   16. FOOTER
   ======================================== */
footer {
    background: #061a44;
    color: rgba(255, 255, 255, .85);
    padding: 26px 0;
    margin-top: 24px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 14px;
}

.foot h4 {
    margin: 0 0 10px;
    color: #fff;
}

.foot a {
    display: block;
    margin: 8px 0;
    opacity: .9;
    font-weight: 700;
    font-size: 14px;
}

.foot a:hover {
    opacity: 1;
}

.copyright {
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    font-weight: 700;
}

/* ========================================
   17. UTILIDADES
   ======================================== */
.red {
    background: linear-gradient(180deg, var(--rojo) 0%, var(--rojo) 100%, var(--bg) 100%) !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.hidden-mobile {
    display: initial;
}

.mobile-only {
    display: none;
}

ul.clean {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #0b1220;
    font-weight: 700;
    line-height: 1.65;
}

ul.clean li {
    margin: 6px 0;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.chip {
    font-size: 12px;
    font-weight: 900;
    color: var(--blue);
    background: rgba(13, 75, 214, .10);
    border: 1px solid rgba(13, 75, 214, .18);
    padding: 7px 10px;
    border-radius: 999px;
}

.note {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
    margin-top: 10px;
}

.tabla-metodo {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #000;
    table-layout: fixed;
}

.tabla-metodo td {
    border: 2px solid #000;
    padding: 14px 16px;
    vertical-align: middle;
}

.tabla-metodo .col-izq {
    width: 34%;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
}

.tabla-metodo .col-der {
    width: 66%;
    line-height: 1.35;
}

.irwsp {
    display: block !important;
    padding: 5px;
    color: #20bf6b;
    cursor: pointer;
    position: fixed;
    width: 300px;
    height: 100px;
    border-radius: 50px;
    bottom: 50px;
    right: 50px;
    z-index: 999;
    transition: all 0.3s ease 0s !important;
    transform: translateX(0);
    opacity: 1 !important;
}

/* ========================================
   18. RESPONSIVE
   ======================================== */
@media (max-width: 980px) {
    .menu {
        display: none;
    }

    .hero {
        padding: 24px 0 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: auto;
    }

    .quick-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pay-grid {
        grid-template-columns: 1fr;
    }

    .test-grid {
        grid-template-columns: 1fr;
    }

    .cert {
        grid-template-columns: 1fr;
    }

    .final {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }

    .mobile-only {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .section-testimonio .testimonio {
        height: auto;
    }

    .section-testimonio .testimonio p {
        -webkit-line-clamp: 10;
    }

    .section-testimonio .testimonio .testimonio-foto {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 576px) {
    .rc-title {
        font-size: 1.6rem;
    }

    .rc-right-title {
        font-size: 1.25rem;
    }

    .rc-pay-logo {
        height: 50px;
        padding: 10px 14px;
    }

    .rc-app {
        width: 40px;
        height: 40px;
    }

    .rc-qr-img {
        width: 155px;
        height: 155px;
    }

    .wa-text {
        font-size: 14px;
    }

    .wa-block {
        padding: 12px;
    }

    .btn-whatsapp {
        font-size: 15px;
        padding: 12px;
    }

    .wa-people .person {
        padding: 10px;
    }
}

@media (max-width: 420px) {
    .wa-block {
        padding: 12px;
    }

    .btn-whatsapp {
        font-size: 15px;
        padding: 12px;
    }

    .wa-people .person {
        padding: 10px;
    }
}

@media (max-width: 900px) {

    .grid,
    .hero-grid {
        display: block;
    }

    aside.sidebar {
        position: static !important;
        width: 100% !important;
        margin-top: 16px;
    }

    .panel {
        width: 100%;
    }

    .final {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cert .mock {
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wa-people .person {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .pay-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .test-grid {
        grid-template-columns: 1fr;
    }

    .teachers {
        grid-template-columns: 1fr;
    }

    .price-big {
        width: 100%;
    }

    .video-card iframe {
        height: 200px;
    }

    .btn-whatsapp {
        width: 100%;
        padding: 12px;
    }

    .wa-block {
        padding: 12px;
        flex-direction: column;
    }

    .bonus {
        flex-direction: column;
    }

    .badge {
        justify-content: center;
        width: 100%;
    }

    .hidden-mobile {
        display: none !important;
    }

    .stats {
        justify-content: center;
    }

    .section .head {
        align-items: center;
        flex-direction: column;
    }

    .text-diferencial {
        text-align: center;
    }
}

/* ========================================
   19. MEJORAS VISUALES
   ======================================== */
.card,
.panel,
.value-wrap,
.price-big,
.teachers,
.test-grid,
.pay-grid,
.value-grid {
    overflow: visible;
    word-break: break-word;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips .chip {
    flex: 0 0 auto;
}

.value-grid,
.pay-grid,
.teachers,
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.teachers .tcard {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.timg {
    min-width: 64px;
    min-height: 64px;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

.video-card iframe {
    width: 100%;
    height: 250px;
}

.accordion .acc .body {
    max-height: none;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    padding: 10px 14px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.wa-block {
    background: linear-gradient(180deg, #f7fff9, #f1fff6);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(2, 132, 72, 0.08);
    box-shadow: 0 6px 18px rgba(3, 105, 73, 0.06);
    max-width: 100%;
}

.wa-block h2 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.wa-block .sub {
    margin-bottom: 10px;
    color: #14532d;
}

.wa-people {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-people .person {
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(2, 8, 23, 0.04);
}

.btn-whatsapp {
    background: #16a34a;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    white-space: nowrap;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.14);
}

.btn-whatsapp::before {
    content: "📲";
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

/* ========================================
   20. SWIPER
   ======================================== */
.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    gap: 16px;
    transition: transform .3s ease;
}

.swiper-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .swiper-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .swiper-slide {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.swiper-button-prev,
.swiper-button-next {
    cursor: pointer;
}
