html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
}

:root {
    --rcv-primary: #f59e0b;
    --rcv-primary-2: #b45309;
    --rcv-bg: #f8fafc;
    --rcv-bg-2: #eef3f8;
    --rcv-text: #0f172a;
    --rcv-muted: #64748b;
    --rcv-border: #e2e8f0;
    --rcv-card: #ffffff;
    --rcv-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    --rcv-shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);

    --rcv-font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --rcv-font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

    --rcv-text-xs: 0.875rem;
    --rcv-text-sm: 0.95rem;
    --rcv-text-md: 1rem;
    --rcv-text-lg: 1.125rem;

    --rcv-lh-tight: 1.15;
    --rcv-lh-body: 1.65;

    --rcv-ls-display: -0.02em;
}

/* =========================
   PUBLIC SITE (LANDING)
   ========================= */
/* Note: styles anteriores `site-*` quedan sin uso (se puede limpiar luego). */

.landing-body {
    font-family: var(--rcv-font-body);
    line-height: var(--rcv-lh-body);
    color: var(--rcv-text);
    background: linear-gradient(180deg, var(--rcv-bg) 0%, var(--rcv-bg-2) 100%);
}

.landing-container-fluid {
    padding-left: 24px;
    padding-right: 24px;
}

.landing-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.landing-header {
    transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.landing-header.is-scrolled {
    box-shadow: 0 10px 34px rgba(0,0,0,0.12);
}

.landing-header.is-hidden {
    transform: translateY(-100%);
}

.landing-nav {
    padding: 0.6rem 0;
}

.landing-logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.landing-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(17, 24, 39, 0.12);
}

.landing-logo-text {
    color: #111827;
}

.landing-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

/* Desktop nav layout: brand (left) | links (center) | actions (right) */
@media (min-width: 992px) {
    .landing-nav .navbar-collapse {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }

    .landing-links {
        grid-column: 2;
        margin: 0 !important;
        justify-content: center;
    }

    .landing-actions {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }
}

.landing-links .nav-link {
    text-decoration: none;
    color: #111827 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0.75rem;
}

.landing-links .nav-link:hover {
    color: #f59e0b;
}

.landing-links .nav-link {
    position: relative;
}

.landing-links .nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0) 0%, rgba(245, 158, 11, 0.95) 50%, rgba(245, 158, 11, 0) 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
    opacity: 0.95;
}

.landing-links .nav-link:hover::after {
    transform: scaleX(1);
}



.landing-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

/* Authenticated user menu (navbar) */
.landing-user-toggle{
    border: 0;
    background: transparent;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 10px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}
.landing-user-name{
    display: inline-block;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.landing-user-toggle:hover{
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
}
.landing-user-toggle:focus-visible{
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 3px;
}
.landing-user-menu{
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    padding: 8px;
    min-width: 220px;
    z-index: 1200;
}
.landing-user-item{
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 500;
}
.landing-user-item:hover{
    background: rgba(245, 158, 11, 0.12);
}
.landing-user-divider{
    margin: 6px 6px;
    opacity: 0.16;
}
.landing-user-form{ margin: 0; }
.landing-user-item-danger{
    color: #b91c1c;
}
.landing-user-item-danger:hover{
    background: rgba(185, 28, 28, 0.08);
    color: #b91c1c;
}

.landing-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.landing-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 3px;
}

.landing-links .nav-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 3px;
    border-radius: 14px;
}

.landing-btn-primary {
    background: linear-gradient(45deg, #f59e0b, #b45309);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.landing-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: white;
}

.landing-btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.landing-btn-secondary:hover {
    background: white;
    color: #111827;
    transform: translateY(-3px);
}

.landing-btn-outline {
    background: transparent;
    color: #111827;
    border: 2px solid rgba(17, 24, 39, 0.18);
}

.landing-btn-outline:hover {
    background: rgba(17, 24, 39, 0.06);
    transform: translateY(-2px);
    color: #111827;
}

.landing-hero {
    background:
        url('/img/landing-car-silhouette.svg'),
        linear-gradient(135deg, rgba(245, 158, 11, 0.88), rgba(17, 24, 39, 0.88)),
        url('/img/landing-hero-bg.svg');
    background-size: 900px auto, cover, cover;
    background-position: right 6% bottom 0%, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 78px;
}

.landing-hero > * { position: relative; z-index: 1; }

.landing-hero-content { width: 100%; }

/* Animate only the hero texts */
.landing-experience-badge,
.landing-hero h1,
.landing-hero-subtitle {
    animation: landingHeroText 900ms ease both;
}

.landing-hero h1 { animation-delay: 80ms; }
.landing-hero-subtitle { animation-delay: 160ms; }

@keyframes landingHeroText {
    from { opacity: 0; transform: translateY(10px); filter: blur(1px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.landing-hero h1 {
    font-size: 4.6rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 700;
}

.landing-hero-subtitle {
    font-size: 1.6rem;
    margin: 0 auto 2.2rem auto;
    opacity: 0.95;
    font-weight: 300;
    max-width: 70ch;
}

.landing-hero-quote {
    display: inline-block;
    margin-top: 12px;
    font-weight: 500;
    opacity: 0.95;
    font-size: 1.25em;
}

.landing-hero-cta {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-btn-cta {
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.landing-btn-cta:hover {
    transform: translateY(2px);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

.landing-btn-whatsapp {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(34, 197, 94, 0.28);
}

.landing-btn-whatsapp:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(34, 197, 94, 0.35);
}

/* Generic reveal */
.reveal-group .reveal {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.reveal-group.is-inview .reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal-group.is-inview .reveal:nth-child(1) { transition-delay: 40ms; }
.reveal-group.is-inview .reveal:nth-child(2) { transition-delay: 70ms; }
.reveal-group.is-inview .reveal:nth-child(3) { transition-delay: 100ms; }
.reveal-group.is-inview .reveal:nth-child(4) { transition-delay: 130ms; }
.reveal-group.is-inview .reveal:nth-child(5) { transition-delay: 160ms; }
.reveal-group.is-inview .reveal:nth-child(6) { transition-delay: 190ms; }

/* Trust strip */
.landing-trust-strip{
    padding: 0 0 14px 0;
    background: #ffffff;
}

.landing-trust-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.landing-trust-item{
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 16px;
}

.landing-trust-k{
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.landing-trust-v{
    margin-top: 4px;
    color: #111827;
    font-size: 1.1rem;
    font-weight: 650;
}

.landing-trust-t{
    margin-top: 4px;
    color: #4b5563;
    font-size: 0.94rem;
    line-height: 1.55;
}

/* How it works */
.landing-steps-min {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-step-min {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.landing-step-min::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(520px 200px at 18% 18%, rgba(245, 158, 11, 0.14), transparent 62%);
    pointer-events: none;
}

.landing-step-min-ico {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.26);
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.12);
    color: #111827;
    flex: 0 0 46px;
    position: relative;
    z-index: 1;
}

.landing-step-min-ico svg {
    width: 22px;
    height: 22px;
    display: block;
}

.landing-step-min-title {
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.landing-step-min-text {
    margin-top: 4px;
    color: #4b5563;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.landing-step-min:hover {
    transform: translateY(-3px);
    transition: transform 220ms ease;
}

/* Metrics */
.landing-metrics {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.landing-metric {
    grid-column: span 3;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-metric::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(520px 220px at 50% 0%, rgba(245, 158, 11, 0.16), transparent 60%);
    pointer-events: none;
}

.landing-metric-num {
    position: relative;
    z-index: 1;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.8rem;
    line-height: 1.1;
    animation: none;
}

.landing-metric-label {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.6;
}

@keyframes metricFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* FAQ */
.landing-faq {
    margin-top: 10px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 10px;
}

.landing-faq-item {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.landing-faq-q {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 600;
    color: #111827;
    list-style: none;
    position: relative;
}

.landing-faq-q::-webkit-details-marker { display: none; }

.landing-faq-q::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: translateY(-55%) rotate(45deg);
    transition: transform 220ms ease;
}

.landing-faq-item[open] .landing-faq-q::after {
    transform: translateY(-45%) rotate(225deg);
}

.landing-faq-a {
    padding: 0 18px 16px 18px;
    color: #4b5563;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .landing-steps-min { grid-template-columns: 1fr; }
    .landing-metric { grid-column: span 6; }
}

@media (max-width: 575.98px) {
    .landing-metric { grid-column: span 12; }
    .landing-metric-num { animation: none; }
}

.landing-experience-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.7rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 1.1rem;
}

.landing-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-social-proof {
    margin-top: 22px;
    display: grid;
    gap: 8px;
    justify-items: center;
}

.landing-social-metrics {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.landing-social-metrics strong {
    font-weight: 700;
}

.landing-dot {
    opacity: 0.7;
}

.landing-social-text {
    opacity: 0.92;
    font-weight: 300;
    max-width: 80ch;
    padding: 0 10px;
}

.landing-section {
    padding: 100px 0;
    background: white;
}

.landing-section-alt {
    background: #f9fafb;
}

.landing-section-title {
    text-align: center;
    font-size: 2.45rem;
    margin-bottom: 3.2rem;
    color: #111827;
    position: relative;
    font-weight: 600;
    font-family: var(--rcv-font-display);
    letter-spacing: var(--rcv-ls-display);
    line-height: var(--rcv-lh-tight);
}

.landing-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.95), rgba(17, 24, 39, 0.25));
    border-radius: 2px;
}

.landing-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.landing-about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

/* (removed) landing-about-meta/meta-item/meta-label */

/* New "Nosotros" design */
.landing-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: stretch;
}

.landing-about-panel {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    border: 1px solid rgba(17, 24, 39, 0.10);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.landing-about-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(600px 220px at 14% 18%, rgba(245, 158, 11, 0.18), transparent 60%);
    pointer-events: none;
}

.landing-about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #111827;
    font-weight: 600;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.landing-about-title {
    font-size: 1.85rem;
    font-weight: 600;
    font-family: var(--rcv-font-display);
    letter-spacing: var(--rcv-ls-display);
    line-height: var(--rcv-lh-tight);
    color: #111827;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 1;
}

.landing-about-lead {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 18px 0;
    position: relative;
    z-index: 1;
}

.landing-feature-list {
    display: grid;
    gap: 12px;
    margin: 0 0 18px 0;
    position: relative;
    z-index: 1;
}

.landing-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.10);
}

.landing-feature-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f59e0b, #b45309);
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    margin-top: 2px;
}

.landing-feature-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.landing-feature-text {
    color: #4b5563;
}

.landing-about-cta {
    margin-top: 10px;
    padding: 16px 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.landing-about-cta-title {
    font-weight: 700;
    color: #111827;
}

.landing-about-cta-sub {
    color: #4b5563;
}

.landing-about-note {
    margin-top: 12px;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

.landing-about-media {
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
    height: 100%;
}

.landing-photo-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    aspect-ratio: auto;
    height: 100%;
    min-height: 620px;
}

.landing-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.landing-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(500px 240px at 75% 12%, rgba(245, 158, 11, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.10) 0%, rgba(17, 24, 39, 0.70) 70%, rgba(17, 24, 39, 0.92) 100%);
}

.landing-photo-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 16px;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.landing-photo-badge-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.landing-photo-badge-text {
    margin-top: 6px;
    opacity: 0.9;
    font-weight: 300;
    font-size: 0.95rem;
}

.landing-photo-callout {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.92);
    color: #111827;
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-align: left;
}

.landing-photo-callout-kicker {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.95;
}

.landing-photo-callout-phone {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Animation different from hero: staggered feature slide-in */
.landing-about-panel .landing-about-kicker {
    animation: aboutPop 550ms ease both;
}

.landing-about-panel .landing-about-title {
    animation: aboutPop 650ms ease both;
    animation-delay: 60ms;
}

.landing-about-panel .landing-about-lead {
    animation: aboutPop 700ms ease both;
    animation-delay: 120ms;
}

.landing-feature {
    animation: aboutSlide 700ms ease both;
}

.landing-feature:nth-child(1) { animation-delay: 160ms; }
.landing-feature:nth-child(2) { animation-delay: 240ms; }
.landing-feature:nth-child(3) { animation-delay: 320ms; }

.landing-about-cta {
    animation: aboutPop 650ms ease both;
    animation-delay: 380ms;
}

.landing-about-media {
    animation: aboutFloatIn 900ms ease both;
    animation-delay: 160ms;
}

@keyframes aboutPop {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes aboutSlide {
    from { opacity: 0; transform: translateX(-14px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes aboutFloatIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Photo micro-animation (unique to Nosotros) */
.landing-photo-card {
    animation: photoBreathe 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes photoBreathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.landing-photo-card:hover {
    transform: translateY(-8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 30px 90px rgba(17, 24, 39, 0.28);
}

/* Nosotros enter/exit on scroll (different from hero) */
.nosotros-anim {
    opacity: 0;
    transform: translateY(22px) scale(0.99);
    transition: opacity 520ms ease, transform 520ms ease;
}

.nosotros-anim.is-inview {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Pause photo breathe until in view */
.nosotros-anim .landing-photo-card {
    animation-play-state: paused;
}

.nosotros-anim.is-inview .landing-photo-card {
    animation-play-state: running;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.landing-stat-item {
    text-align: center;
    padding: 2.2rem;
    background: linear-gradient(135deg, #f59e0b, #111827);
    color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.landing-stat-item:hover {
    transform: translateY(-5px);
}

.landing-stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.landing-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.landing-package-card {
    background: white;
    padding: 2.4rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.landing-package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.5);
}

.landing-package-featured {
    border-color: rgba(245, 158, 11, 0.55);
}

.landing-package-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.6rem;
}

.landing-package-text {
    color: #4b5563;
    margin: 0;
}

.landing-package-price {
    margin-top: 1.2rem;
    font-weight: 700;
    color: #111827;
    font-size: 1.2rem;
}

/* Services (minimal) */
.landing-services-min {
    margin-top: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 280ms ease, transform 280ms ease;
}

.landing-services-min.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.landing-services-min-card {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.landing-services-min-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(860px 260px at 12% 10%, rgba(245, 158, 11, 0.16), transparent 62%);
    pointer-events: none;
}

.landing-services-min-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.24);
    color: #111827;
    font-weight: 900;
    font-size: 0.9rem;
}

.landing-services-min-title {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.35rem;
}

.landing-services-min-sub {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    color: #4b5563;
    line-height: 1.7;
}

.landing-services-columns{
    position: relative;
    z-index: 1;
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.landing-services-col{
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255,255,255,0.72);
    padding: 12px;
}

.landing-services-col-title{
    color: #111827;
    font-weight: 650;
    margin-bottom: 8px;
}

.landing-services-min-chips {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-service-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(249, 250, 251, 0.95);
    border: 1px solid rgba(17, 24, 39, 0.10);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.landing-service-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.26);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 44px rgba(17, 24, 39, 0.08);
}

.landing-service-chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--rcv-primary), var(--rcv-primary-2));
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.25);
    flex: 0 0 10px;
}

.landing-service-chip-text {
    color: #111827;
    font-weight: 600;
    line-height: 1.2;
}

.landing-service-chip-text strong {
    font-weight: 900;
}

@media (max-width: 575.98px) {
    .landing-services-min-card {
        padding: 18px;
    }
}

@media (max-width: 991.98px) {
    .landing-trust-grid { grid-template-columns: 1fr; }
    .landing-services-columns { grid-template-columns: 1fr; }
}

/* Exam (code + online exam UI) */
.exam-section .auth-container {
    padding-top: 28px;
    padding-bottom: 28px;
}

.exam-ready-card {
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.18);
    padding: 14px;
    display: grid;
    gap: 12px;
}

.exam-ready-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.exam-ready-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    background: var(--rcv-primary);
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35);
    flex: 0 0 12px;
}

.exam-ready-dot-alt {
    background: #111827;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.25);
}

.exam-ready-title {
    font-weight: 800;
    color: #111827;
}

.exam-ready-text {
    color: #4b5563;
}

.exam-secondary-btn {
    border-radius: 14px;
    padding: 12px 14px;
}

.exam-shell {
    max-width: 980px;
    margin: 0 auto;
}

.exam-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.exam-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.26);
    color: #111827;
    font-weight: 800;
    font-size: 0.9rem;
}

.exam-sub {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.auth-body .exam-sub {
    color: #6b7280;
}

.exam-progress {
    min-width: 220px;
}

.exam-progress-label {
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    text-align: right;
}

.exam-progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.10);
    overflow: hidden;
}

.exam-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--rcv-primary), var(--rcv-primary-2));
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.25);
    transition: width 260ms ease;
}

.exam-card {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.exam-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(780px 260px at 16% 18%, rgba(245, 158, 11, 0.16), transparent 60%);
    pointer-events: none;
}

.exam-question,
.exam-form,
.exam-note,
.exam-result-head,
.exam-result-metrics,
.exam-result-footer {
    position: relative;
    z-index: 1;
}

.exam-question-num {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.92);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
}

.exam-question-text {
    margin-top: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.55rem;
    line-height: 1.3;
}

.exam-options {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.exam-option {
    display: grid;
    grid-template-columns: 18px 22px 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(249, 250, 251, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.10);
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.exam-option:hover {
    transform: translateY(3px);
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
}

.exam-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--rcv-primary);
}

.exam-option-ui {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.exam-option-text {
    color: #111827;
    font-weight: 600;
    line-height: 1.45;
}

.exam-actions {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.exam-note {
    margin-top: 12px;
    color: #6b7280;
    font-weight: 600;
    text-align: center;
}

.exam-result-card {
    max-width: 720px;
    margin: 0 auto;
}

.exam-result-title {
    margin-top: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
}

.exam-result-sub {
    margin-top: 6px;
    color: #4b5563;
    line-height: 1.7;
}

.exam-result-metrics {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.exam-metric {
    border-radius: 18px;
    padding: 14px 10px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.exam-metric-num {
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #111827;
}

.exam-metric-label {
    margin-top: 4px;
    color: #6b7280;
    font-weight: 800;
    font-size: 0.92rem;
}

.exam-result-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 24, 39, 0.10);
    color: #6b7280;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    .exam-progress-label {
        text-align: left;
    }

    .exam-question-text {
        font-size: 1.25rem;
    }

    .exam-result-metrics {
        grid-template-columns: 1fr;
    }
}

/* Exam fullscreen batch (20 questions per page) */
.exam-fullscreen {
    min-height: 100vh;
    background:
        radial-gradient(900px 420px at 12% 14%, rgba(245, 158, 11, 0.20), transparent 62%),
        radial-gradient(920px 520px at 88% 6%, rgba(17, 24, 39, 0.08), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 22px 0;
}

.exam-toast {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(17, 24, 39, 0.92);
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 60px rgba(17, 24, 39, 0.25);
    max-width: min(720px, calc(100vw - 24px));
    animation: examToastIn 260ms ease both;
}

@keyframes examToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.exam-full-topbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 30;
    padding-top: 14px;
    padding-bottom: 12px;
    background: rgba(248, 250, 252, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.exam-full-brand {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    line-height: 1.1;
}

.exam-full-title {
    margin-top: 6px;
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 1.35rem;
    line-height: 1.15;
    position: relative;
    padding-bottom: 6px;
}

.exam-full-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rcv-primary), var(--rcv-primary-2));
}

.exam-full-sub {
    margin-top: 8px;
    color: #6b7280;
    font-weight: 700;
}

.exam-full-meta {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.exam-full-progress {
    margin-top: 10px;
    min-width: 260px;
}

.exam-full-body {
    max-width: 1200px;
    margin: 16px auto 0 auto;
    padding: 0 18px;
}

.exam-full-form {
    display: grid;
    gap: 14px;
}

.exam-batch {
    display: grid;
    gap: 14px;
}

.exam-batch-single {
    grid-template-columns: 1fr;
}

.exam-qcard {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.exam-qcard::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(760px 260px at 16% 14%, rgba(245, 158, 11, 0.14), transparent 60%);
    pointer-events: none;
}

.exam-qhead,
.exam-qtext,
.exam-options-batch {
    position: relative;
    z-index: 1;
}

.exam-qhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.exam-qnum {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.92);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 0.9rem;
}

.exam-qtag {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: #111827;
    font-weight: 900;
    font-size: 0.9rem;
}

.exam-qtext {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.exam-options-batch .exam-option {
    grid-template-columns: 18px 1fr;
}

.exam-options-batch .exam-option-ui {
    display: none;
}

.exam-options-batch .exam-option-text {
    font-weight: 600;
}

.exam-full-footer {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.exam-full-hint {
    color: #4b5563;
    font-weight: 600;
}

.exam-full-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .exam-full-meta {
        text-align: left;
    }

    .exam-full-progress {
        min-width: 220px;
        width: 100%;
    }
}

/* Exam review (readonly, green/red) */
.exam-score-table {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.exam-score-item {
    border-radius: 18px;
    padding: 14px 10px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.06);
}

.exam-score-num {
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1.1;
    color: #111827;
}

.exam-score-label {
    margin-top: 4px;
    color: #6b7280;
    font-weight: 800;
    font-size: 0.92rem;
}

.exam-score-ok {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(0deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.08)), rgba(255, 255, 255, 0.92);
}

.exam-score-bad {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(0deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.08)), rgba(255, 255, 255, 0.92);
}

.exam-review-list {
    display: grid;
    gap: 12px;
}

.exam-review-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 16px;
}

.exam-review-card.is-ok {
    border-color: rgba(16, 185, 129, 0.30);
    box-shadow: 0 18px 55px rgba(16, 185, 129, 0.10);
}

.exam-review-card.is-bad {
    border-color: rgba(239, 68, 68, 0.30);
    box-shadow: 0 18px 55px rgba(239, 68, 68, 0.10);
}

.exam-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.exam-review-num {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.92);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 0.9rem;
}

.exam-review-pill {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.9rem;
    color: #111827;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.exam-review-card.is-ok .exam-review-pill {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.exam-review-card.is-bad .exam-review-pill {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}

.exam-review-q {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
}

.exam-review-ans {
    display: grid;
    gap: 6px;
}

.exam-review-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    align-items: start;
}

.exam-review-label {
    color: #6b7280;
    font-weight: 800;
}

.exam-review-val {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 992px) {
    .exam-score-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .exam-review-row {
        grid-template-columns: 1fr;
    }
}

.landing-contact-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.landing-contact-title {
    font-weight: 700;
    color: #111827;
    font-size: 1.2rem;
}

.landing-contact-text {
    color: #4b5563;
}

.landing-contact-details {
    margin-top: 10px;
    color: #374151;
    display: grid;
    gap: 6px;
}

/* Contacto (real) */
.landing-contact-wrap {
    margin-top: 10px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.contacto-anim.is-inview .landing-contact-wrap {
    opacity: 1;
    transform: translateY(0);
}

.landing-contact-wrap::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(860px 260px at 14% 12%, rgba(245, 158, 11, 0.16), transparent 62%);
    pointer-events: none;
}

.landing-contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
}

.landing-contact-panel {
    padding: 10px 10px;
}

.landing-contact-panel .landing-contact-title {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.6rem;
}

.landing-contact-panel .landing-contact-text {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: #4b5563;
    line-height: 1.75;
}

.landing-contact-actions {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-contact-inline {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 24, 39, 0.10);
}

.landing-contact-inline-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.landing-contact-inline-k {
    color: #6b7280;
    font-weight: 800;
    font-size: 0.92rem;
}

.landing-contact-inline-v {
    color: #111827;
    font-weight: 900;
    text-decoration: none;
}

a.landing-contact-inline-v:hover {
    text-decoration: underline;
    text-decoration-color: rgba(245, 158, 11, 0.7);
    text-underline-offset: 5px;
}

.landing-contact-inline-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.75);
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.22);
}

.landing-map-card {
    padding: 14px;
}

.landing-map {
    padding: 10px 10px;
}

.landing-map-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: #111827;
    aspect-ratio: 4 / 3;
}

.landing-map-frame {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.landing-contact-wrap:hover .landing-map-frame {
    transform: translateY(2px);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow: 0 22px 65px rgba(17, 24, 39, 0.12);
}

.landing-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.landing-map-note {
    margin-top: 10px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 991.98px) {
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.landing-test-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 28px auto;
    position: relative;
}

.landing-test-head::before {
    content: "";
    display: block;
    width: 96px;
    height: 1px;
    margin: 0 auto 14px auto;
    background: linear-gradient(90deg, rgba(245,158,11,0), rgba(245,158,11,0.85), rgba(15,23,42,0.20), rgba(245,158,11,0));
    border-radius: 999px;
}

.landing-test-sub {
    margin: 14px auto 0 auto;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
}

.landing-test-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    align-items: start;
}

.landing-test-card {
    grid-column: span 3;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 16px 44px rgba(17, 24, 39, 0.10);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 260ms ease, transform 260ms ease, box-shadow 280ms ease;
    height: auto;
    align-self: start;
}

.landing-test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.14);
}

.landing-test-card-featured {
    grid-column: span 6;
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 18px 55px rgba(245, 158, 11, 0.16);
}

.landing-test-card-featured .landing-test-quote{
    font-size: 1.15rem;
}

.landing-test-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #111827;
}

.landing-test-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.landing-test-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.00) 0%, rgba(17, 24, 39, 0.55) 100%);
}

.landing-test-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    color: #111827;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.18);
}

.landing-test-body {
    padding: 16px 16px 18px 16px;
}

.landing-test-quote {
    font-weight: 600;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.45;
}

.landing-test-meta {
    margin-top: 8px;
    color: #4b5563;
    font-size: 0.95rem;
}

.landing-test-cta {
    margin-top: 22px;
    padding: 18px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-test-cta-title {
    font-weight: 700;
    color: #111827;
}

.landing-test-cta-text {
    color: #4b5563;
}

.landing-test-grid.is-inview .landing-test-card {
    opacity: 1;
    transform: translateY(0);
    animation: testIn 520ms ease both;
}

.landing-test-grid.is-inview .landing-test-card:nth-child(1) { animation-delay: 0ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(2) { animation-delay: 90ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(3) { animation-delay: 180ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(4) { animation-delay: 270ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(5) { animation-delay: 360ms; }

@keyframes testIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .landing-test-card { grid-column: span 6; }
    .landing-test-card-featured { grid-column: span 12; }
}

/* Testimonials 1 + carousel */
.landing-test-featured{
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.landing-test-featured.is-inview{
    opacity: 1;
    transform: translateY(0);
}

.landing-test-hero-card{
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
}

.landing-test-hero-photo{
    position: relative;
    aspect-ratio: 16 / 7;
    background: #111827;
}

.landing-test-hero-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-test-hero-body{
    padding: 18px 18px 20px 18px;
}

.landing-test-hero-quote{
    font-weight: 650;
    color: #111827;
    font-size: 1.2rem;
    line-height: 1.45;
}

.landing-test-carousel-wrap{
    margin-top: 14px;
}

.landing-test-carousel-controls{
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.landing-test-nav{
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
    color: #111827;
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.landing-test-nav:hover{
    background: rgba(245, 158, 11, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.18);
}

.landing-test-carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
}

.landing-test-carousel::-webkit-scrollbar{
    height: 8px;
}

.landing-test-carousel::-webkit-scrollbar-thumb{
    background: rgba(17, 24, 39, 0.18);
    border-radius: 999px;
}

.landing-test-mini{
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    height: 100%;
}

.landing-test-mini-photo{
    aspect-ratio: 16 / 9;
    background: #111827;
}

.landing-test-mini-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-test-mini-body{
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    min-height: 132px;
}

.landing-test-mini-quote{
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.landing-test-mini-meta{
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 991.98px){
    .landing-test-hero-photo{ aspect-ratio: 16 / 9; }
}

@media (max-width: 575.98px){
    .landing-test-carousel{ grid-auto-columns: 100%; }
    .landing-test-carousel-controls{ justify-content: space-between; }
    .landing-test-hero-quote{ font-size: 1.05rem; }
}

@media (max-width: 575.98px) {
    .landing-test-card { grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-test-grid.is-inview .landing-test-card { animation: none !important; }
    .landing-services.is-inview .landing-service-row { animation: none !important; }
    .landing-services-panel,
    .landing-access-card,
    .landing-access-num { transition: none !important; animation: none !important; }
}

.landing-footer {
    background: rgba(255, 255, 255, 0.92);
    color: #4b5563;
    padding: 22px 0;
}

.landing-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-footer-note {
    opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
    .landing-experience-badge,
    .landing-hero h1,
    .landing-hero-subtitle {
        animation: none !important;
    }

    .landing-about-panel .landing-about-kicker,
    .landing-about-panel .landing-about-title,
    .landing-about-panel .landing-about-lead,
    .landing-feature,
    .landing-about-cta,
    .landing-about-media {
        animation: none !important;
    }

    .landing-photo-card {
        animation: none !important;
    }

    .landing-header {
        transition: none;
    }

    .nosotros-anim {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .landing-about-content {
        grid-template-columns: 1fr;
    }

    .landing-hero h1 {
        font-size: 3.4rem;
    }

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

    .landing-photo-card {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .landing-container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .landing-hero h1 {
        font-size: 2.4rem;
    }

    .landing-hero-subtitle {
        font-size: 1.25rem;
    }

    .landing-experience-badge {
        font-size: 1rem;
        padding: 0.75rem 1.4rem;
    }

    .landing-links {
        flex-direction: column;
        gap: 0.9rem;
        padding: 1rem 0;
    }

    .landing-actions {
        justify-content: center;
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .landing-service-card { grid-column: span 12; }
}

@media (max-width: 991.98px) {
    .landing-container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .landing-logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .landing-logo-img {
        width: 52px;
        height: 52px;
    }

    .landing-hamburger {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(17, 24, 39, 0.10);
        border: 1px solid rgba(17, 24, 39, 0.18) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #111827;
    }

    .landing-hamburger:focus-visible {
        outline: 3px solid rgba(245, 158, 11, 0.85);
        outline-offset: 2px;
    }

    .landing-hamburger .navbar-toggler-icon {
        width: 1.1em;
        height: 1.1em;
        filter: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,24,39,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .landing-links {
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.6rem 0;
    }

    .landing-links .nav-link {
        font-weight: 600;
    }

    .landing-actions {
        margin-left: 0;
        justify-content: flex-start;
        padding-bottom: 0.6rem;
        width: 100%;
    }

    .landing-user {
        width: 100%;
    }

    .landing-user-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(17, 24, 39, 0.05);
        border: 1px solid rgba(17, 24, 39, 0.10);
    }

    .landing-user-menu {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        float: none;
        width: 100%;
        margin-top: 8px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    }
}

/* =========================
   AUTH LAYOUT / LOGIN
   ========================= */
.auth-body {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    min-height: 100vh;
    color: #1f2937;
    font-family: var(--rcv-font-body);
}

.auth-back {
    position: fixed;
    top: 14px;
    right: 14px;
    left: auto;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    backdrop-filter: blur(10px);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

/* Avoid overlap with sticky exam topbar on scroll */
.auth-body .exam-full-topbar {
    padding-right: 220px;
    padding-top: 58px;
}

@media (max-width: 575.98px) {
    .auth-body .exam-full-topbar {
        padding-right: 86px;
        padding-top: 54px;
    }
}

.auth-back:hover {
    transform: translateY(2px);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow: 0 22px 65px rgba(17, 24, 39, 0.12);
}

.auth-back-ico {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.26);
    line-height: 1;
}

@media (max-width: 575.98px) {
    .auth-back-text {
        display: none;
    }
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 32px 0;
}

.auth-container {
    max-width: 1320px;
}

.auth-wrapper {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    min-height: 720px;
}

.auth-left-panel {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(180, 83, 9, 0.04)), #ffffff;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    min-height: 720px;
    border-right: 1px solid #edf2f7;
}

.auth-brand-box {
    max-width: 520px;
}

.auth-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgba(245, 158, 11, 0.12);
    color: #111827;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 28px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.auth-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 24px;
}

    .auth-title span {
        color: var(--rcv-primary);
    }

.auth-description {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
}

    .auth-feature-item strong {
        display: block;
        color: #0f172a;
        margin-bottom: 4px;
        font-size: 0.98rem;
    }

    .auth-feature-item p {
        margin: 0;
        color: #64748b;
        font-size: 0.93rem;
        line-height: 1.5;
    }

.auth-feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--rcv-primary), var(--rcv-primary-2));
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.auth-right-panel {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 720px;
    background: #f8fafc;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.auth-card-header {
    margin-bottom: 30px;
}

.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.auth-form-subtitle {
    color: #64748b;
    margin: 0;
    font-size: 0.98rem;
}

.auth-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.auth-input {
    border-radius: 14px;
    min-height: 52px;
    border: 1px solid #cbd5e1;
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
    color: #0f172a;
    background-color: #ffffff;
    box-shadow: none;
    transition: all 0.2s ease;
}

    .auth-input:focus {
        border-color: var(--rcv-primary);
        box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.18);
    }

.auth-btn-primary {
    min-height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(45deg, var(--rcv-primary) 0%, var(--rcv-primary-2) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .auth-btn-primary:hover {
        color: #ffffff;
        opacity: 0.98;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
    }

    .auth-btn-primary:focus {
        color: #ffffff;
        box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.22);
    }

    .auth-btn-primary:focus-visible {
        outline: 3px solid rgba(37, 99, 235, 0.85);
        outline-offset: 3px;
    }

.auth-link {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}

    .auth-link:hover {
        color: #92400e;
        text-decoration: underline;
    }

.auth-options .form-check-label {
    color: #475569;
}

.auth-validation-summary:empty {
    display: none;
}

.auth-footer-note {
    margin-top: 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .auth-wrapper {
        min-height: auto;
    }

    .auth-left-panel,
    .auth-right-panel {
        min-height: auto;
        padding: 40px 28px;
    }

    .auth-title {
        font-size: 2.4rem;
    }

    .auth-card {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .auth-section {
        padding: 16px 0;
    }

    .auth-left-panel,
    .auth-right-panel {
        padding: 24px 18px;
    }

    .auth-title {
        font-size: 2rem;
    }

    .auth-form-title {
        font-size: 1.6rem;
    }
}

/* =========================
   MAIN LAYOUT
   ========================= */
.main-app-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    color: #1f2937;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
}

.main-header {
    padding: 0;
}

.main-navbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 0;
    min-height: 78px;
}

.main-navbar-inner {
    width: 100%;
    padding-left: 28px;
    padding-right: 28px;
    min-height: 78px;
}

.main-navbar-left {
    display: flex;
    align-items: center;
}

.main-brand {
    text-decoration: none;
    margin-right: 18px;
}

.main-brand-badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid #dbeafe;
    letter-spacing: 0.01em;
}

.main-nav-center {
    gap: 6px;
}

.main-nav-link {
    color: #334155 !important;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .main-nav-link:hover,
    .main-nav-link:focus {
        background: #f8fafc;
        color: #2563eb !important;
    }

.main-dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

    .main-dropdown-menu .dropdown-item {
        border-radius: 10px;
        padding: 10px 12px;
        font-weight: 500;
        color: #334155;
    }

        .main-dropdown-menu .dropdown-item:hover {
            background: #eff6ff;
            color: #2563eb;
        }

.main-nav-right {
    gap: 10px;
}

.main-user-text {
    color: #334155 !important;
    font-weight: 600;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
}

.main-btn-primary,
.main-btn-outline,
.main-btn-danger {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.main-btn-primary {
    border: none;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
}

    .main-btn-primary:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    }

.main-btn-outline {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
}

    .main-btn-outline:hover {
        background: #f8fafc;
        color: #0f172a;
        border-color: #94a3b8;
    }

.main-btn-danger {
    border: none;
    background: #ef4444;
    color: #fff;
}

    .main-btn-danger:hover {
        color: #fff;
        background: #dc2626;
        transform: translateY(-1px);
    }

.main-page-shell {
    flex: 1;
    padding: 0;
}

.main-content {
    min-height: 70vh;
}

.main-footer {
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.82);
    color: #64748b;
    padding: 18px 0;
    margin-top: auto;
    font-size: 0.95rem;
}

.main-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 28px;
    padding-right: 28px;
    gap: 12px;
}

.main-footer-note {
    color: #94a3b8;
}

/* =========================
   RESPONSIVE AJUSTES LAYOUT
   ========================= */

/* Tablets grandes y menores */
@media (max-width: 991.98px) {
    .main-navbar-inner {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .main-brand {
        margin-right: 0;
    }

    .main-nav-center,
    .main-nav-right {
        width: 100%;
        margin-top: 16px;
        gap: 8px;
    }

    .main-nav-center {
        align-items: flex-start;
    }

    .main-nav-right {
        align-items: stretch !important;
    }

        .main-nav-center .nav-item,
        .main-nav-right .nav-item {
            width: 100%;
        }

    .main-nav-link {
        display: block;
        width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .main-user-text {
        display: block;
        width: 100%;
        padding: 10px 12px !important;
        text-align: left;
    }

    .main-btn-primary,
    .main-btn-outline,
    .main-btn-danger {
        width: 100%;
        justify-content: center;
    }

    .main-nav-right form {
        width: 100%;
    }

        .main-nav-right form .main-btn-danger {
            width: 100%;
        }

    .main-dropdown-menu {
        margin-top: 6px;
        border-radius: 14px;
    }

    .main-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 16px;
        padding-right: 16px;
        gap: 6px;
    }
}

/* Celulares */
@media (max-width: 575.98px) {
    .main-navbar {
        min-height: 72px;
    }

    .main-navbar-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .main-brand-badge {
        font-size: 0.88rem;
        padding: 9px 14px;
    }

    .main-nav-link {
        font-size: 0.95rem;
    }

    .main-btn-primary,
    .main-btn-outline,
    .main-btn-danger {
        min-height: 42px;
        font-size: 0.92rem;
        padding: 10px 14px;
    }

    .main-footer {
        font-size: 0.88rem;
    }
}

/* =========================
   ADMIN (NEW UI)
   ========================= */
.admin-body {
    background: linear-gradient(180deg, var(--rcv-bg) 0%, var(--rcv-bg-2) 100%);
    min-height: 100vh;
    color: #1f2937;
    font-family: var(--rcv-font-body);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-shell {
    min-height: 100vh;
    display: flex;
}

.admin-sidebar {
    width: 292px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--rcv-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 16px;
    color: inherit;
}

.admin-brand:hover {
    background: #f8fafc;
}

.admin-brand-badge {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: var(--rcv-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid #dbeafe;
    letter-spacing: 0.01em;
}

.admin-brand-sub {
    color: var(--rcv-muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.admin-nav {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 6px;
}

.admin-nav-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-nav-group-content {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed rgba(100, 116, 139, 0.35);
}

.admin-nav-title {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0 8px 4px 8px;
}

.admin-nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 550;
    padding: 12px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.18s ease;
}

.admin-nav-text {
    flex: 1;
}

.admin-nav-link:hover {
    background: #f8fafc;
    color: var(--rcv-primary);
}

.admin-nav-link.is-active {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.14) 0%, rgba(180, 83, 9, 0.08) 100%);
    color: var(--rcv-primary);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.admin-help-btn {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(100, 116, 139, 0.45);
    color: #475569;
    background: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    flex: 0 0 22px;
}

.admin-help-btn:hover {
    border-color: rgba(245, 158, 11, 0.75);
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
}

.admin-help-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 2px;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding: 14px 10px 6px 10px;
    border-top: 1px solid var(--rcv-border);
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--rcv-border);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.admin-user-name {
    font-weight: 600;
    color: var(--rcv-text);
    line-height: 1.1;
}

.admin-user-role {
    color: var(--rcv-muted);
    font-weight: 600;
    font-size: 0.88rem;
}

.admin-logout {
    margin-top: 10px;
}

.admin-sidebar-note {
    margin-top: 10px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rcv-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-topbar-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: var(--rcv-primary);
    font-weight: 650;
    font-size: 0.9rem;
    border: 1px solid #dbeafe;
    margin-bottom: 6px;
}

.admin-topbar-title {
    font-size: 1.15rem;
    font-weight: 650;
    color: var(--rcv-text);
    letter-spacing: -0.01em;
}

.admin-topbar-sub {
    margin-top: 2px;
    color: var(--rcv-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-hero {
    display: none;
}

.admin-content {
    padding: 26px;
}

.admin-hero {
    background: var(--rcv-card);
    border: 1px solid var(--rcv-border);
    border-radius: 26px;
    padding: 26px 26px;
    box-shadow: var(--rcv-shadow-soft);
}

.admin-hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rcv-text);
    letter-spacing: -0.03em;
    margin: 0;
}

.admin-hero-subtitle {
    margin-top: 10px;
    color: var(--rcv-muted);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 0;
    max-width: 72ch;
}

.admin-card {
    background: var(--rcv-card);
    border: 1px solid var(--rcv-border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.admin-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--rcv-text);
}

.admin-card-subtitle {
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--rcv-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.admin-stat {
    padding: 18px 18px;
    border-radius: 22px;
    border: 1px solid var(--rcv-border);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(180, 83, 9, 0.04)), #ffffff;
}

.admin-stat-label {
    color: var(--rcv-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--rcv-primary);
    letter-spacing: -0.02em;
}

.admin-input {
    border-radius: 14px;
    min-height: 46px;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 0.95rem;
    font-size: 0.98rem;
    color: var(--rcv-text);
    background-color: #ffffff;
    box-shadow: none;
    transition: all 0.2s ease;
}

.admin-input:focus {
    border-color: var(--rcv-primary);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.18);
}

.admin-table {
    margin: 0;
}

.admin-table,
.admin-table .badge,
.admin-table td,
.admin-table th {
    font-size: 0.92rem;
}

.admin-table thead th {
    color: #475569;
    font-weight: 800;
    border-bottom: 1px solid var(--rcv-border);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.admin-table tbody td {
    vertical-align: middle;
}

.admin-modal {
    border-radius: 22px;
    border: 1px solid var(--rcv-border);
}

.admin-btn-primary,
.admin-btn-outline,
.admin-btn-danger {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 800;
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.admin-btn-primary:focus-visible,
.admin-btn-outline:focus-visible,
.admin-btn-danger:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 3px;
}

.admin-btn-primary {
    border: none;
    background: linear-gradient(90deg, var(--rcv-primary) 0%, var(--rcv-primary-2) 100%);
    color: #fff;
}

.admin-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

.admin-btn-outline {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--rcv-text);
}

.admin-btn-outline:hover {
    background: #f8fafc;
    color: var(--rcv-text);
    border-color: #94a3b8;
}

.admin-btn-danger {
    border: none;
    background: #ef4444;
    color: #fff;
}

.admin-btn-danger:hover {
    color: #fff;
    background: #dc2626;
    transform: translateY(-1px);
}

.admin-btn-danger-outline {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.06);
    color: #b91c1c;
}

.admin-btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.55);
    color: #991b1b;
    transform: translateY(-1px);
}

.admin-btn-sm {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.admin-exams-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-exams-toolbar .admin-input {
    width: 320px;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.admin-row-actions .btn {
    white-space: nowrap;
}

.admin-row-actions form {
    margin: 0;
}

.admin-codes-toolbar {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-codes-toolbar .admin-btn-primary {
    white-space: nowrap;
    min-width: 150px;
}

.admin-codes-toolbar .admin-input {
    width: 320px;
}

.admin-ico {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 18px;
    color: currentColor;
}

.admin-ico path,
.admin-ico line,
.admin-ico polyline,
.admin-ico rect,
.admin-ico circle {
    stroke: currentColor;
}

.admin-btn-outline .admin-ico,
.admin-btn-primary .admin-ico,
.admin-btn-danger .admin-ico {
    margin-right: 8px;
    vertical-align: -3px;
}

.admin-content .nav-tabs {
    border-bottom: 1px solid var(--rcv-border);
}

.admin-content .nav-tabs .nav-link {
    border: 0;
    color: #475569;
    font-weight: 650;
    padding: 10px 12px;
    border-radius: 12px 12px 0 0;
}

.admin-content .nav-tabs .nav-link:hover {
    color: var(--rcv-primary);
    background: rgba(248, 250, 252, 0.8);
}

.admin-content .nav-tabs .nav-link.active {
    color: var(--rcv-text);
    background: #ffffff;
    border: 1px solid var(--rcv-border);
    border-bottom-color: #ffffff;
}

.toast-container {
    z-index: 1200 !important;
}

.admin-toast {
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
    min-width: 320px;
    max-width: 460px;
    border: 0 !important;
    overflow: hidden;
}

.admin-toast {
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.25);
}

.admin-toast-success {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

.admin-toast-danger {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

.admin-toast .toast-body {
    font-weight: 600;
    letter-spacing: 0.1px;
    padding: 16px 20px;
    font-size: 1.1rem;
}

.admin-toast .btn-close {
    opacity: 0.85;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.admin-toast .btn-close:hover {
    opacity: 1;
}

.admin-toast.showing,
.admin-toast.show {
    animation: adminToastIn 0.22s ease-out;
}

@keyframes adminToastIn {
    from { transform: translateY(-8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#menuEditTabs .nav-link {
    border: 1px solid rgba(180, 83, 9, 0.18);
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 14px;
}

#menuEditTabs .nav-link:hover {
    background: rgba(245, 158, 11, 0.16);
    color: #78350f;
}

#menuEditTabs .nav-link.active {
    background: linear-gradient(90deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(180, 83, 9, 0.28);
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        display: none;
    }

    .admin-content {
        padding: 18px;
    }

    .admin-hero-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    .admin-exams-toolbar {
        width: 100%;
        justify-content: stretch;
    }

    .admin-exams-toolbar .admin-input {
        width: 100%;
    }

    .admin-codes-toolbar {
        width: 100%;
    }

    .admin-codes-toolbar .admin-btn-primary {
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
    }

    .admin-codes-toolbar .admin-input {
        width: 100%;
    }

    .admin-row-actions {
        gap: 8px;
    }

    .admin-row-actions .btn {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.landing-promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.landing-promo-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.landing-promo-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}
