:root {
    --school-navy: #0f2747;
    --school-red: #c62828;
    --school-red-dark: #9f1f1f;
    --school-cream: #f7f8fc;
    --school-white: #ffffff;
    --school-border: #d9e0ea;
    --school-text: #182334;
    --school-muted: #596579;
}

body {
    background:
        radial-gradient(circle at top right, rgba(198, 40, 40, 0.08), transparent 18%),
        radial-gradient(circle at left center, rgba(15, 39, 71, 0.08), transparent 24%),
        linear-gradient(180deg, #f4f7fc 0%, #eef3fb 100%);
    color: var(--school-text);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
}

.school-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.form-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.title-card,
.section-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 39, 71, 0.08);
    box-shadow: 0 16px 34px rgba(16, 40, 71, 0.08);
}

.title-card {
    background:
        linear-gradient(135deg, rgba(15, 39, 71, 0.98), rgba(22, 55, 97, 0.95));
    color: var(--school-white);
    position: relative;
}

.title-card::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -24px;
    width: 152px;
    height: 152px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    pointer-events: none;
}

.title-card .card-body {
    position: relative;
    z-index: 1;
}

.title-accent {
    height: 7px;
    background: linear-gradient(90deg, var(--school-red) 0%, #ff6b6b 100%);
}

.brand-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.brand-line::before {
    content: "";
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.form-title {
    font-size: clamp(1.48rem, 3vw, 1.92rem);
    font-weight: 700;
    line-height: 1.08;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    line-height: 1.25;
}

.compact-hero .card-body {
    padding-top: 0.74rem !important;
    padding-bottom: 0.74rem !important;
}

.compact-hero .brand-line {
    margin-bottom: 0.34rem !important;
    font-size: 0.66rem;
}

.compact-hero .form-title {
    font-size: clamp(1.02rem, 2vw, 1.34rem);
    line-height: 1.04;
}

.compact-hero .form-subtitle {
    font-size: 0.76rem;
    line-height: 1.2;
}

.compact-hero .public-secondary-btn,
.compact-hero .btn-light {
    font-size: 0.82rem;
    padding: 0.36rem 0.72rem !important;
}

.public-hero-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
}

.hero-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.public-hero-actions-side {
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: flex-start;
}

.public-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    white-space: nowrap;
}

.public-icon-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0 !important;
    border-radius: 10px;
}

.public-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.public-action-svg {
    width: 18px;
    height: 18px;
}

.hero-primary-btn {
    min-width: 0;
}

.compact-hero-tight .brand-line {
    margin-bottom: 0.24rem !important;
}

.compact-hero-tight .form-title {
    margin-bottom: 0 !important;
}

.compact-hero-tight .card-body {
    padding-top: 0.58rem !important;
    padding-bottom: 0.58rem !important;
}

.section-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--school-navy);
    padding-left: 12px;
    border-left: 4px solid var(--school-red);
}

.section-title-inline {
    margin-bottom: 0;
}

.section-title-small {
    font-size: 1.02rem;
}

.section-title-compact {
    margin-bottom: 0.95rem !important;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid #d3dceb;
    min-height: 58px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    color: var(--school-text);
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(16, 40, 71, 0.03);
}

.form-select {
    cursor: pointer;
    padding-right: 3.2rem;
    background-image:
        linear-gradient(45deg, transparent 50%, #17375e 50%),
        linear-gradient(135deg, #17375e 50%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    background-position:
        calc(100% - 1.35rem) calc(50% - 0.18rem),
        calc(100% - 0.95rem) calc(50% - 0.18rem),
        0 0;
    background-size:
        0.5rem 0.5rem,
        0.5rem 0.5rem,
        100% 100%;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-select:required:invalid {
    color: #728198;
}

.form-select option {
    color: var(--school-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--school-red);
    box-shadow: 0 0 0 0.25rem rgba(198, 40, 40, 0.12);
}

.form-control::placeholder {
    color: #7b8698;
}

.payment-box,
.code-box,
.summary-box {
    border-radius: 8px;
    padding: 1rem 1.1rem;
}

.payment-box {
    background: linear-gradient(135deg, #f5f8fe 0%, #eef3fb 100%);
    border: 1px solid #d8e3f3;
}

.payment-box-compact {
    padding: 0.8rem 1rem;
}

.payment-step-card-compact {
    border-top: 1px solid #e3e9f2;
    padding-top: 0.7rem;
}

.payment-step-card-urgent {
    padding: 0.95rem 0.95rem 0;
    border-radius: 8px;
    border: 1px solid #f1d2a9;
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
}

.payment-cta-banner {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 0.95rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff1de 0%, #fff7ee 100%);
    border: 1px solid #efc88c;
    color: #8f4f15;
    box-shadow: inset 4px 0 0 #e58b1a;
}

.payment-cta-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a35c1b;
}

.payment-cta-banner strong {
    color: #7c3f0b;
    font-size: 1rem;
    line-height: 1.2;
}

.payment-cta-banner-compact {
    gap: 0.1rem;
    padding: 0.72rem 0.82rem;
}

.payment-cta-banner span:last-child {
    font-size: 0.84rem;
    line-height: 1.25;
}

.payment-review-card {
    display: grid;
    gap: 0.16rem;
    padding: 0.7rem 0.82rem;
    border-radius: 8px;
    background: #fbfcfe;
    border: 1px solid #e3e9f2;
}

.payment-review-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--school-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.payment-review-card strong {
    color: var(--school-navy);
    font-size: 0.96rem;
    line-height: 1.2;
}

.payment-review-card span:last-child {
    color: var(--school-muted);
    font-size: 0.86rem;
    line-height: 1.2;
}

.payment-inline-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-inline-strip-strong span {
    background: #eef3fb;
}

.payment-inline-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    background: #f5f8fe;
    border: 1px solid #d8e3f3;
    color: var(--school-navy);
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.15;
}

.payment-inline-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
    color: var(--school-navy);
    font-size: 0.8rem;
    line-height: 1.2;
}

.payment-inline-summary strong {
    font-size: 0.9rem;
    color: var(--school-red-dark);
}

.payment-inline-summary span {
    color: var(--school-muted);
}

.payment-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.payment-meta-item {
    display: grid;
    gap: 0.18rem;
    padding: 0.72rem 0.78rem;
    border-radius: 8px;
    background: #f5f8fe;
    border: 1px solid #d8e3f3;
}

.payment-meta-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--school-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.payment-meta-item strong {
    color: var(--school-navy);
    font-size: 0.96rem;
    line-height: 1.25;
}

.payment-meta-item-wide {
    grid-column: 1 / -1;
}

.compact-payment-form {
    display: grid;
    gap: 0.55rem;
}

.payment-field {
    display: grid;
    gap: 0.28rem;
}

.payment-label-compact {
    margin-bottom: 0.2rem;
}

.payment-field-hint {
    margin-top: 0 !important;
}

.payment-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
}

.code-box {
    font-size: 1.06rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff8f7;
    border: 1px solid #f0c9c4;
    color: var(--school-red-dark);
}

.code-box-large {
    font-size: clamp(1.48rem, 3.8vw, 2.22rem);
    font-weight: 800;
    line-height: 1;
    padding: 0.82rem 1rem;
    letter-spacing: 0.08em;
}

.code-highlight-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.code-highlight-row-tight {
    gap: 12px;
}

.summary-box {
    background: #fbfcfe;
    border: 1px solid #e3e9f2;
}

.section-card {
    background: rgba(255, 255, 255, 0.98);
}

.step-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn-primary {
    background: linear-gradient(135deg, var(--school-red), #de3d3d);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(198, 40, 40, 0.16);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--school-red-dark), var(--school-red));
}

.public-secondary-btn {
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid #d8e1ef;
    color: var(--school-navy);
    background: rgba(255, 255, 255, 0.98);
}

.submit-btn {
    min-width: 150px;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-label {
    color: var(--school-navy);
    margin-bottom: 0.55rem;
}

.registration-card-body {
    padding-top: 1.05rem !important;
    padding-bottom: 1rem !important;
}

.registration-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
    gap: 12px;
}

.registration-field-group {
    margin-bottom: 0.85rem;
}

.registration-field-group-last {
    margin-bottom: 0;
}

.form-hint {
    color: var(--school-muted);
    font-size: 0.92rem;
}

.compact-note {
    border-radius: 8px;
    padding: 0.82rem 0.96rem;
    background: #f5f8fe;
    border: 1px solid #d8e3f3;
    color: #2a405f;
    font-size: 0.9rem;
    font-weight: 600;
}

.compact-note-strong {
    background: #fff4e5;
    border-color: #f1d2a9;
    color: #8c531a;
}

.compact-note-subtle {
    background: #f7fafd;
    border-color: #dee7f3;
    color: #486078;
}

.compact-note-payment {
    background: linear-gradient(135deg, #fff0dc 0%, #fff7ed 100%);
    border-color: #edbf84;
    color: #8b4a0b;
    font-weight: 800;
}

.compact-note-payment-inline {
    padding-block: 0.72rem;
}

.compact-note-review {
    background: #eef6ff;
    border-color: #bfd6f4;
    color: #204f80;
    font-weight: 700;
    display: grid;
    gap: 0.45rem;
}

.compact-note-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0.38rem 0.8rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #bfd6f4;
    color: #1d4f91;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 800;
}

.compact-note-link:hover,
.compact-note-link:focus {
    background: #f7fbff;
    color: #163d73;
}

.compact-inline-data {
    display: grid;
    gap: 0.24rem;
    margin-top: 0.72rem;
    color: var(--school-text);
    font-size: 0.9rem;
}

.compact-inline-data strong {
    color: var(--school-navy);
}

.compact-inline-data span {
    color: var(--school-muted);
}

.compact-inline-data-card {
    padding: 0.88rem 0.96rem;
    border-radius: 8px;
    background: #fbfcfe;
    border: 1px solid #e3e9f2;
}

.compact-inline-data-card-tight {
    padding-top: 0.74rem;
    padding-bottom: 0.74rem;
}

.result-card-compact .card-body {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.result-card-payment-needed .card-body {
    padding-top: 0.92rem !important;
    padding-bottom: 0.92rem !important;
}

.result-top-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.55rem;
}

.inline-text-link {
    color: var(--school-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.duplicate-note {
    border-radius: 8px;
    padding: 0.8rem 0.94rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.duplicate-note-soft {
    background: #fff6eb;
    border: 1px solid #f3d2ad;
    color: #945419;
}

.duplicate-note-strong {
    background: #fdeceb;
    border: 1px solid #efbeb9;
    color: #a22b27;
}

.school-page .alert {
    border-radius: 8px;
}

.bot-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lookup-code-input {
    letter-spacing: 0.08em;
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.62rem 0.92rem;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0.03em;
    font-size: 0.84rem;
}

.status-confirmed {
    background: #e8f5eb;
    color: #237742;
    border: 1px solid #bfe0c8;
}

.status-pending {
    background: #fff1e4;
    color: #9a5319;
    border: 1px solid #f2d2b7;
}

.status-pending-review {
    background: #eaf3ff;
    color: #1d4f91;
    border: 1px solid #bfd6f4;
    text-align: center;
}

.status-payment-needed {
    background: linear-gradient(135deg, #fff0dc 0%, #fff8ef 100%);
    color: #934d0d;
    border: 1px solid #efc88c;
    box-shadow: 0 8px 18px rgba(229, 139, 26, 0.14);
}

.lookup-note {
    border-radius: 16px;
    padding: 1rem 1.1rem;
    font-weight: 600;
}

.lookup-note-confirmed {
    background: #edf8f1;
    color: #237742;
    border: 1px solid #c6e5d0;
}

.lookup-note-pending {
    background: #fff7ef;
    color: #9a5319;
    border: 1px solid #f5dcc4;
}

@media (min-width: 992px) {
    .school-page {
        padding-top: 1.6rem !important;
        padding-bottom: 1.8rem !important;
    }

    .section-card .card-body {
        padding: 2rem 2.3rem !important;
    }
}

@media (max-width: 576px) {
    .container.form-shell {
        padding-left: 8px;
        padding-right: 8px;
    }

    .school-page {
        padding-top: 0.32rem !important;
        padding-bottom: 0.52rem !important;
    }

    .title-card,
    .section-card {
        border-radius: 12px;
    }

    .title-card::after {
        width: 118px;
        height: 118px;
        right: -30px;
        top: -30px;
    }

    .title-accent {
        height: 6px;
    }

    .brand-line,
    .compact-hero .brand-line {
        font-size: 0.62rem;
        margin-bottom: 0.28rem !important;
    }

    .form-title {
        font-size: 1.08rem;
    }

    .compact-hero .form-title {
        font-size: 0.98rem;
    }

    .form-subtitle {
        font-size: 0.73rem;
        line-height: 1.18;
    }

    .compact-hero .form-subtitle {
        font-size: 0.69rem;
        line-height: 1.13;
    }

    .compact-hero .card-body {
        padding-top: 0.46rem !important;
        padding-bottom: 0.46rem !important;
    }

    .compact-hero .public-secondary-btn,
    .compact-hero .btn-light {
        font-size: 0.74rem;
        padding: 0.32rem 0.58rem !important;
    }

    .hero-header-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
    }

    .hero-copy {
        width: auto;
    }

    .public-hero-actions-side {
        width: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 4px;
    }

    .section-title {
        font-size: 0.96rem;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .registration-card-body {
        padding-top: 0.82rem !important;
        padding-bottom: 0.82rem !important;
    }

    .registration-grid-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .registration-field-group {
        margin-bottom: 0.72rem;
    }

    .form-label,
    .compact-note,
    .compact-inline-data,
    .form-hint {
        font-size: 0.82rem;
    }

    .form-control,
    .form-select {
        min-height: 50px;
        font-size: 0.9rem;
        padding-top: 0.58rem;
        padding-bottom: 0.58rem;
    }

    .btn-lg,
    .submit-btn {
        min-width: 0;
        font-size: 0.88rem;
    }

    .code-box-large {
        font-size: 1.28rem;
        padding: 0.68rem 0.82rem;
        letter-spacing: 0.06em;
    }

    .payment-box,
    .code-box,
    .summary-box,
    .compact-note,
    .compact-inline-data-card,
    .duplicate-note {
        padding: 0.72rem 0.82rem;
    }

    .payment-step-card-compact {
        padding-top: 0.48rem;
    }

    .payment-review-card {
        padding: 0.52rem 0.64rem;
        border-radius: 10px;
    }

    .payment-review-label {
        font-size: 0.64rem;
    }

    .payment-review-card strong {
        font-size: 0.88rem;
    }

    .payment-review-card span:last-child {
        font-size: 0.78rem;
    }

    .payment-inline-strip {
        gap: 5px;
    }

    .payment-inline-strip span {
        min-height: 28px;
        padding: 0.28rem 0.5rem;
        font-size: 0.72rem;
    }

    .payment-meta-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .payment-meta-item {
        padding: 0.56rem 0.66rem;
        border-radius: 10px;
    }

    .payment-meta-item strong {
        font-size: 0.84rem;
    }

    .compact-payment-form {
        gap: 0.56rem;
    }

    .payment-action-row .submit-btn,
    .payment-action-row .btn,
    .step-actions .btn,
    .public-hero-actions .btn {
        width: 100%;
    }

    .step-actions {
        gap: 8px;
    }

    .code-highlight-row {
        align-items: flex-start;
        gap: 8px;
    }

    .public-hero-actions {
        gap: 5px;
    }

    .public-hero-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .public-hero-actions-side .btn {
        flex: 0 0 auto;
    }

    .public-action-btn {
        min-height: 36px;
        gap: 6px;
    }

    .public-icon-btn {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        border-radius: 9px;
    }

    .public-action-icon,
    .public-action-svg {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .section-card .card-body {
        padding: 0.88rem !important;
    }

    .result-card-compact .card-body {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .result-top-actions {
        margin-bottom: 0.35rem;
    }

    .inline-text-link {
        font-size: 0.82rem;
    }

    .status-pill {
        width: 100%;
        min-height: 34px;
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }

    .compact-inline-data {
        margin-top: 0.46rem;
        gap: 0.16rem;
    }

    .compact-inline-data strong,
    .compact-inline-data span {
        line-height: 1.16;
    }

    .payment-cta-banner {
        padding: 0.72rem 0.8rem;
    }

    .payment-cta-banner strong {
        font-size: 0.88rem;
    }

    .payment-inline-summary {
        gap: 2px 6px;
        font-size: 0.73rem;
    }

    .payment-inline-summary strong {
        font-size: 0.82rem;
    }

    .compact-note-subtle {
        font-size: 0.78rem;
    }
}

@media (max-width: 400px) {
    .container.form-shell {
        padding-left: 6px;
        padding-right: 6px;
    }

    .school-page {
        padding-top: 0.24rem !important;
        padding-bottom: 0.42rem !important;
    }

    .compact-hero .card-body {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }

    .form-title {
        font-size: 0.98rem;
    }

    .form-subtitle {
        font-size: 0.69rem;
    }

    .section-card .card-body {
        padding: 0.78rem !important;
    }

    .code-box-large {
        font-size: 1.16rem;
        padding: 0.62rem 0.72rem;
    }

    .form-control,
    .form-select {
        min-height: 47px;
        font-size: 0.88rem;
    }
}

/* Portada publica del concurso. */
.landing-body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #0f2747;
}

.landing-page {
    min-height: 100vh;
    padding: 22px 0 30px;
    color: #f8fafc;
    background:
        radial-gradient(circle at 82% 26%, rgba(220, 52, 52, 0.34), transparent 20rem),
        radial-gradient(circle at 15% 92%, rgba(72, 152, 196, 0.22), transparent 24rem),
        linear-gradient(135deg, #0d213c 0%, #12345d 55%, #0b213e 100%);
}

.landing-header,
.landing-hero,
.landing-steps,
.landing-note {
    max-width: 1040px;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.landing-brand img {
    width: 42px;
    height: 42px;
    padding: 3px;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
}

.landing-brand strong {
    color: #ff7770;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-nav a:hover,
.landing-nav a:focus {
    color: #fff;
}

.landing-nav .landing-panel-link {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 7px;
    color: #fff;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 34px;
    min-height: 410px;
    padding-top: 36px;
    padding-bottom: 36px;
}

.landing-eyebrow {
    margin: 0 0 12px;
    color: #a9cbe4;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-event-logo {
    display: block;
    width: 118px;
    height: 46px;
    margin: 0 0 14px;
    object-fit: contain;
    object-position: left center;
}

.landing-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6vw, 4.85rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.83;
}

.landing-hero h1 span {
    color: #f0524d;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9);
}

.landing-intro {
    max-width: 450px;
    margin: 24px 0;
    color: #d4e1ee;
    font-size: 1.04rem;
    line-height: 1.45;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.landing-button:hover,
.landing-button:focus {
    transform: translateY(-2px);
}

.landing-button-primary {
    background: #e23c37;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    color: #fff;
}

.landing-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.landing-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 18px 0 0;
    color: #b6d7c1;
    font-size: 0.79rem;
    font-weight: 700;
}

.landing-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6dcf8c;
    box-shadow: 0 0 0 4px rgba(109, 207, 140, 0.14);
}

.landing-status.is-closed {
    color: #ffd0ca;
}

.landing-status.is-closed span {
    background: #ff7067;
    box-shadow: 0 0 0 4px rgba(255, 112, 103, 0.14);
}

.landing-hero-art {
    position: relative;
    min-height: 300px;
}

.landing-reader {
    position: absolute;
    z-index: 2;
    top: 42px;
    left: 50%;
    display: grid;
    width: 190px;
    height: 190px;
    place-items: center;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    transform: translateX(-50%) rotate(-5deg);
}

.landing-reader img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.landing-sun,
.landing-orbit,
.landing-book {
    position: absolute;
}

.landing-sun {
    top: 8px;
    right: 16%;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ffcf57;
    box-shadow: 0 0 0 11px rgba(255, 207, 87, 0.12);
}

.landing-orbit {
    border: 1px solid rgba(174, 215, 239, 0.36);
    border-radius: 50%;
}

.landing-orbit-one {
    top: 12px;
    left: 8%;
    width: 250px;
    height: 250px;
}

.landing-orbit-two {
    right: 4%;
    bottom: 12px;
    width: 156px;
    height: 156px;
}

.landing-book {
    z-index: 3;
    width: 66px;
    height: 50px;
    border-radius: 5px 12px 12px 5px;
    box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.13);
}

.landing-book::after {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.65);
    content: "";
}

.landing-book-left {
    bottom: 22px;
    left: 12%;
    background: #e74842;
    transform: rotate(-20deg);
}

.landing-book-right {
    top: 82px;
    right: 7%;
    background: #2c82bb;
    transform: rotate(21deg);
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(4, 18, 36, 0.28);
}

.landing-step {
    min-width: 0;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-step:last-child {
    border-right: 0;
}

.landing-step-number {
    color: #ff716b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.landing-step h2 {
    margin: 7px 0 5px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.landing-step p {
    margin: 0;
    color: #b9cbdd;
    font-size: 0.83rem;
    line-height: 1.38;
}

.landing-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
}

.landing-note div {
    display: grid;
    gap: 3px;
}

.landing-note strong {
    font-size: 0.86rem;
}

.landing-note span {
    color: #b9cbdd;
    font-size: 0.78rem;
}

.landing-note a {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.landing-note a span {
    margin-left: 3px;
    color: #ff716b;
    font-size: 1.1rem;
}

@media (max-width: 700px) {
    .landing-page {
        padding-top: 14px;
    }

    .landing-header,
    .landing-hero,
    .landing-steps,
    .landing-note {
        width: calc(100% - 28px);
    }

    .landing-brand img {
        width: 36px;
        height: 36px;
    }

    .landing-nav {
        gap: 10px;
    }

    .landing-nav a {
        font-size: 0.72rem;
    }

    .landing-nav .landing-panel-link {
        padding: 6px 8px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        gap: 4px;
        min-height: 0;
        padding-top: 34px;
        padding-bottom: 24px;
    }

    .landing-hero h1 {
        font-size: clamp(2.65rem, 15vw, 4rem);
    }

    .landing-event-logo {
        width: 100px;
        height: 38px;
        margin-bottom: 11px;
    }

    .landing-intro {
        margin: 18px 0;
        font-size: 0.93rem;
    }

    .landing-hero-art {
        min-height: 214px;
        margin-top: -2px;
    }

    .landing-reader {
        top: 24px;
        width: 144px;
        height: 144px;
        border-width: 6px;
    }

    .landing-orbit-one {
        left: 50%;
        width: 190px;
        height: 190px;
        transform: translateX(-50%);
    }

    .landing-sun {
        right: 18%;
        width: 48px;
        height: 48px;
    }

    .landing-book-left {
        bottom: 8px;
        left: 16%;
    }

    .landing-book-right {
        top: 70px;
        right: 13%;
    }

    .landing-orbit-two {
        display: none;
    }

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

    .landing-step {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 10px;
        padding: 13px 15px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .landing-step:last-child {
        border-bottom: 0;
    }

    .landing-step-number {
        grid-row: span 2;
        padding-top: 2px;
    }

    .landing-step h2 {
        margin: 0 0 3px;
        font-size: 0.9rem;
    }

    .landing-step p {
        font-size: 0.76rem;
    }

    .landing-note {
        align-items: flex-start;
        padding-top: 18px;
    }

    .landing-note span {
        font-size: 0.72rem;
    }
}

/* Variante minimalista de la portada. */
.landing-body {
    background: #ffffff;
}

.landing-page {
    color: #142945;
    background: #ffffff;
}

.landing-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #e5ebf2;
}

.landing-brand {
    color: #142945;
}

.landing-brand img {
    border: 1px solid #dce5ef;
    box-shadow: none;
}

.landing-brand strong,
.landing-nav a:hover,
.landing-nav a:focus {
    color: #cb302d;
}

.landing-nav a {
    color: #51677e;
}

.landing-nav .landing-panel-link {
    border-color: #d7e0ea;
    color: #27435f;
}

.landing-hero {
    min-height: 375px;
    border-bottom: 1px solid #e5ebf2;
}

.landing-eyebrow {
    color: #657c94;
}

.landing-hero h1 {
    color: #142945;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    font-size: clamp(2.3rem, 5.3vw, 4.25rem);
    letter-spacing: -0.065em;
    line-height: 0.88;
}

.landing-hero h1 span {
    color: #cf302d;
    text-shadow: none;
}

.landing-intro {
    color: #5b7087;
}

.landing-button-primary {
    background: #cf302d;
    box-shadow: none;
}

.landing-button-primary:hover,
.landing-button-primary:focus {
    background: #ad2725;
    color: #fff;
}

.landing-button-secondary {
    border-color: #d7e0ea;
    background: #ffffff;
    color: #29445f;
}

.landing-status {
    color: #3e7b57;
}

.landing-hero-art {
    min-height: 270px;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 5px;
    background:
        linear-gradient(180deg, rgba(16, 38, 65, 0.03), rgba(16, 38, 65, 0.16)),
        url("../img/rosaspata1.jpg") center / cover no-repeat;
    box-shadow: 0 10px 22px rgba(25, 55, 85, 0.09);
}

.landing-reader {
    display: none;
}

.landing-reader img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-school-badge {
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 176px;
    padding: 6px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(15, 36, 61, 0.16);
    color: #667b90;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
    transform: none;
}

.landing-school-badge img {
    display: block;
    width: 56px;
    height: auto;
}

.landing-school-badge strong {
    color: #1f3c5a;
    font-size: 0.7rem;
}

.landing-sun,
.landing-orbit,
.landing-book {
    display: none;
}

.landing-steps {
    margin-top: 30px;
    border-color: #e1e8ef;
    border-radius: 10px;
    background: #ffffff;
}

.landing-step {
    border-right-color: #e6edf3;
}

.landing-step-number {
    color: #cf302d;
}

.landing-step h2 {
    color: #193553;
}

.landing-step p {
    color: #65788c;
}

.landing-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 9px;
    background: #f5f8fb;
}

.landing-note strong {
    color: #1e3b59;
}

.landing-note span {
    color: #64798d;
}

.landing-note a {
    color: #b72b28;
}

.landing-note a span {
    color: #cf302d;
}

@media (max-width: 700px) {
    .landing-header {
        padding-bottom: 12px;
    }

    .landing-hero {
        min-height: 0;
        padding-top: 30px;
    }

    .landing-hero-art {
        min-height: 210px;
    }

    .landing-school-badge {
        bottom: 9px;
        left: 9px;
        width: 154px;
        font-size: 0.58rem;
    }

    .landing-school-badge img {
        width: 48px;
    }

    .landing-steps {
        margin-top: 18px;
    }

    .landing-step {
        border-bottom-color: #e6edf3;
    }
}
