﻿:root {
    --primary-color: #12385b;
    --secondary-color: #0ea5e9;
    --accent-color: #1e5a8f;
    --light-color: #f4f8fc;
    --dark-color: #2f435b;
    --plan-bg: #f0f2f4;
    --plan-border: #0ea5e9;
    --text-main: #1d2939;
    --text-muted: #667085;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7fafc;
    color: var(--text-main);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.75rem;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #dbe8f5;
    background: #fff;
    color: #0f3555;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
}

.lang-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.lang-label {
    line-height: 1;
}

.flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.flag-br {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='36' viewBox='0 0 48 36'><rect width='48' height='36' fill='%2300893F'/><polygon points='24,4 44,18 24,32 4,18' fill='%23FCD116'/><circle cx='24' cy='18' r='7' fill='%2300266D'/></svg>");
}

.flag-es {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='36' viewBox='0 0 48 36'><rect width='48' height='36' fill='%23AA151B'/><rect y='9' width='48' height='18' fill='%23F1BF00'/></svg>");
}

.lang-fixed {
    position: fixed;
    top: 12px;
    right: 8px;
    z-index: 1050;
}

.brand-logo-wide {
    width: 170px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
}

.synplace-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 5rem 0;
}

.hero-kicker {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.section-intro {
    max-width: 860px;
    margin: 0 auto 2rem;
}

.section-intro h2 {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 30, 46, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 30, 46, 0.12);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.value-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 12px;
    padding: 1.2rem;
}

.value-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 30, 46, 0.12);
    border-color: #d1e5f7;
}

.value-card h5 {
    font-weight: 700;
}

.value-icon {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.65rem;
}

.step-card {
    background: #fff;
    border: 1px solid #deebf7;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    height: 100%;
}

.step-card span {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--secondary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    font-weight: 500;
}

.video-panel {
    background: #fff;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 12px 30px rgba(15, 30, 46, 0.08);
}

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #0b2239;
}

.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

.benefit-list {
    margin: 0;
    padding-left: 1.1rem;
}

.benefit-list li {
    margin-bottom: 0.5rem;
}

.benefit-list-check {
    list-style: none;
    padding-left: 0;
}

.benefit-list-check li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
}

.benefit-list-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0.05rem;
}

.section-title-icon i {
    color: var(--secondary-color);
}

.final-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-synplace {
    background-color: var(--secondary-color);
    border: none;
    color: #fff;
    font-weight: 600;
}

.btn-synplace:hover {
    background-color: #0284c7;
    color: #fff;
}

.plans-pill {
    display: inline-block;
    background: #e6f4ff;
    color: #0b4f7a;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
}

.plan-box {
    background: var(--plan-bg);
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-box-featured {
    border-color: var(--plan-border);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.plan-box h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.plan-subtitle {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.plan-box ul {
    color: var(--text-muted);
    margin: 0 0 1.8rem;
}

.plan-box li {
    margin-bottom: 0.5rem;
}

.btn-plan-outline,
.btn-plan-solid {
    border-radius: 999px;
    width: 100%;
    font-weight: 700;
    padding: 0.8rem 1.1rem;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-plan-outline {
    border: 1px solid #8dc7ee;
    color: #115f95;
    background: transparent;
}

.btn-plan-outline:hover {
    background: #eaf5ff;
    color: #0c4d79;
}

.btn-plan-solid {
    background: var(--secondary-color);
    color: #fff;
    border: 1px solid var(--secondary-color);
}

.btn-plan-solid:hover {
    background: #0284c7;
    color: #fff;
}

.site-footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0;
    margin-top: 2rem;
}

.site-footer a {
    text-decoration: underline;
}

.site-footer .social-icons a {
    text-decoration: none;
}

.footer-brand-logo {
    width: 192px;
    height: 50px;
    object-fit: contain;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.footer-cta {
    border-radius: 16px;
    padding: 1.6rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(18, 56, 91, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 26px rgba(15, 30, 46, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.footer-cta h5,
.footer-cta p,
.footer-cta a {
    position: relative;
    z-index: 1;
}

.footer-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-tags i {
    color: #ffffff;
}

.btn-footer-cta {
    background: #ffffff;
    color: #0f3555;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(15, 30, 46, 0.18);
}

.btn-footer-cta:hover {
    background: #e6f4ff;
    color: #0f5d91;
    text-decoration: none;
}

.fa-whatsapp {
    color: #25D366;
}

.page-hero { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: #fff; padding: 3rem 0; margin-bottom: 1.5rem; }
.page-hero h1 { font-size: 2.2rem; }



.about-hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    opacity: 0.95;
}

.about-main-card {
    padding: 1.8rem;
}

.about-side-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.about-mini-card {
    padding: 1.4rem;
}

.about-mini-card h5 {
    margin-bottom: 0.7rem;
}

.about-cta {
    background: #ffffff;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 2rem 1.2rem;
    box-shadow: 0 10px 26px rgba(15, 30, 46, 0.08);
}

.about-cta p {
    color: var(--text-muted);
}

.purpose-panel {
    background: #ffffff;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 10px 26px rgba(15, 30, 46, 0.08);
}

.purpose-panel h2 {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.purpose-panel p {
    font-size: 1.1rem;
    color: #1f3550;
}

.purpose-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #e6f4ff;
    color: #0f5d91;
    font-weight: 700;
}

.future-panel {
    background: #ffffff;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 1.7rem 1.4rem;
    box-shadow: 0 10px 26px rgba(15, 30, 46, 0.08);
}

.future-panel .lead {
    margin: 0 auto;
    max-width: 920px;
}

.section-compact-top {
    padding-top: 2.5rem !important;
}

.section-compact-bottom {
    padding-bottom: 2.5rem !important;
}

@media (max-width: 576px) {
    .section-compact-top {
        padding-top: 2.1rem !important;
    }

    .section-compact-bottom {
        padding-bottom: 2.1rem !important;
    }
}

@media (max-width: 991px) {
    .purpose-panel,
    .future-panel {
        padding: 1.4rem;
    }

    .purpose-panel p {
        font-size: 1.02rem;
    }

    .section-intro {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 576px) {
    .purpose-panel,
    .future-panel,
    .about-cta,
    .about-main-card,
    .about-mini-card {
        padding: 1.1rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .purpose-badge {
        font-size: 0.88rem;
        width: 100%;
        justify-content: center;
    }
}

#modulos .section-intro {
    background: #ffffff;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 10px 26px rgba(15, 30, 46, 0.08);
}

#modulos .section-intro h2 {
    margin-bottom: 0.6rem;
}

#modulos .section-intro p {
    margin-bottom: 0;
    color: #1f3550;
}

@media (max-width: 576px) {
    #modulos .section-intro {
        padding: 1.1rem;
    }
}

.hero-actions .btn {
    min-width: 210px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.module-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.module-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e6f4ff;
    color: #0f5d91;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.audience-card h4 {
    font-size: 1.55rem;
}

.auth-page {
    background-color: #f7fafc;
}

.auth-section {
    padding: 3rem 0 4rem;
}

.auth-card {
    background: #fff;
    border: 1px solid #dbe8f5;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 14px 30px rgba(15, 30, 46, 0.12);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.account-type-selector {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.account-type {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-weight: 600;
}

.account-type input {
    display: none;
}

.account-type.active {
    background: #e6f4ff;
    color: #0f5d91;
    border-color: #bcdcf5;
}

.password-strength {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 999px;
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    background-color: #dc3545;
    transition: width 0.3s, background-color 0.3s;
}

.register-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e4ebf3;
}

.login-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .synplace-header {
        padding: 4rem 0;
    }

    .display-4 {
        font-size: 2.2rem;
    }

    .hero-actions .btn {
        min-width: 180px;
    }
}

@media (max-width: 767px) {
    .synplace-header {
        padding: 3.2rem 0;
    }

    .display-4 {
        font-size: 1.9rem;
    }

    .lead {
        font-size: 1.05rem;
    }

    .audience-card h4 {
        font-size: 1.35rem;
    }

    .step-card {
        padding: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar .d-flex {
        margin-top: 0.8rem;
        width: 100%;
    }

    .navbar .d-flex .btn {
        width: 100%;
    }

    .lang-switch {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.6rem;
    }

    .lang-switch.lang-fixed {
        position: fixed;
        top: 8px;
        right: 88px;
        width: auto;
        margin: 0;
        justify-content: flex-end;
        z-index: 1100;
    }

    .lang-switch.lang-fixed .lang-btn {
        padding: 0.28rem 0.4rem;
        gap: 0.25rem;
    }

    .lang-switch.lang-fixed .lang-label {
        display: none;
    }

    .lang-switch.lang-fixed .flag {
        width: 18px;
        height: 13px;
    }

    .hero-actions {
        gap: 0.65rem !important;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-highlights {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .hero-highlights span {
        justify-content: center;
    }

    .section-intro h2,
    .future-panel h2,
    .final-cta h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .final-cta .d-flex {
        width: 100%;
    }

    .final-cta .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .btn-footer-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 2.4rem 0 2rem;
    }

    .footer-cta {
        padding: 1.2rem;
    }
}

.section-intro {
    max-width: 860px;
    margin: 0 auto 2rem;
}

.section-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: #e6f4ff;
    color: #0f5d91;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.7rem;
}

.section-intro h2 {
    font-weight: 800;
    margin-bottom: 0.65rem;
    position: relative;
}

.section-intro p {
    color: #344b66;
    max-width: 760px;
    margin: 0 auto;
}

.feature-card,
.value-card {
    position: relative;
    border: 1px solid #dbe8f5;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.feature-card::before,
.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #12385b);
    opacity: 0.7;
}

#modulos .section-intro {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

@media (max-width: 576px) {
    .section-eyebrow {
        font-size: 0.76rem;
    }

    .section-intro p {
        font-size: 0.95rem;
    }
}

/* Plan cards aligned with site card pattern */
.plan-box {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 12px 30px rgba(15, 30, 46, 0.08);
}

.plan-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #12385b);
    opacity: 0.7;
}

.plan-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 30, 46, 0.12);
    border-color: #d1e5f7;
}

.plan-box-featured {
    border-color: var(--plan-border);
    box-shadow: 0 16px 34px rgba(15, 30, 46, 0.12);
}

.plan-box h3 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plan-box ul {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
}

@media (max-width: 576px) {
    .plan-box {
        padding: 1.2rem;
    }

    .plan-box h3 {
        font-size: 1.7rem;
    }
}

.redirect-shell,
.error-shell {
    padding: 3rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(180deg, #f7fafc 0%, #eef5fb 100%);
    min-height: calc(100vh - 210px);
    display: flex;
    align-items: center;
}

.redirect-card,
.error-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #dbe8f5;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 18px 40px rgba(15, 30, 46, 0.12);
    position: relative;
    overflow: hidden;
}

.redirect-card {
    text-align: center;
}

.redirect-card,
.error-card {
    backdrop-filter: blur(2px);
}

.redirect-card::before,
.error-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #12385b);
}

.redirect-icon,
.error-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.redirect-icon {
    background: #e6f4ff;
    color: #0f5d91;
    box-shadow: inset 0 0 0 1px rgba(15, 93, 145, 0.08);
}

.redirect-loader {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
}

.redirect-loader::before,
.redirect-loader::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
}

.redirect-loader::before {
    border: 6px solid #dbe8f5;
}

.redirect-loader::after {
    border: 6px solid transparent;
    border-top-color: #0ea5e9;
    border-right-color: #12385b;
    animation: redirect-spin 0.95s linear infinite;
}

.redirect-loader .redirect-icon {
    position: absolute;
    inset: 12px;
    margin: 0;
    width: auto;
    height: auto;
}

.error-icon {
    background: #fff4db;
    color: #c48a00;
    box-shadow: inset 0 0 0 1px rgba(196, 138, 0, 0.12);
}

.redirect-meta,
.error-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #e6f4ff;
    color: #0f5d91;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.redirect-copy,
.error-copy {
    color: #475467;
    margin: 0 auto;
}

.redirect-copy {
    max-width: 620px;
}

.error-copy {
    max-width: 640px;
}

.redirect-progress {
    width: min(100%, 460px);
    height: 8px;
    margin: 1.35rem auto 0.75rem;
    border-radius: 999px;
    background: #e7eef6;
    overflow: hidden;
    position: relative;
}

.redirect-progress span {
    display: block;
    width: 36%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #12385b);
    animation: redirect-progress-slide 1.35s ease-in-out infinite;
}

.redirect-status-text {
    color: #5f6f82;
    font-size: 0.96rem;
    margin: 0;
}

.redirect-support-note {
    margin-top: 1.1rem;
    color: #5f6f82;
    font-size: 0.94rem;
}

.redirect-support-note a {
    color: #0f5d91;
    font-weight: 700;
    text-decoration: none;
}

.redirect-support-note a:hover {
    text-decoration: underline;
}

.redirect-actions,
.error-actions {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.error-help {
    margin-top: 1.75rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dbe8f5;
    color: #344b66;
}

.error-help strong {
    color: #12385b;
}

.error-detail-grid {
    margin-top: 1.5rem;
}

.error-detail-card {
    height: 100%;
    text-align: left;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    background: #f8fbff;
    padding: 1rem 1.05rem;
}

.error-detail-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: #12385b;
}

.error-detail-card p {
    margin: 0;
    color: #4a5d73;
}

@keyframes redirect-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes redirect-progress-slide {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(320%);
    }
}

@media (max-width: 576px) {
    .redirect-shell,
    .error-shell {
        padding: 2.2rem 0 3rem;
    }

    .redirect-card,
    .error-card {
        padding: 1.4rem;
        border-radius: 16px;
    }

    .redirect-actions .btn,
    .error-actions .btn {
        width: 100%;
    }

    .redirect-loader {
        width: 76px;
        height: 76px;
    }

    .redirect-loader .redirect-icon {
        inset: 10px;
    }
}
