/* Confirmame.pe: estilos base sin dependencias externas. */
:root {
    --brand: #6345ed;
    --brand-dark: #4931b4;
    --ink: #151b38;
    --muted: #62687b;
    --paper: #fff;
    --tint: #f6f4ff;
    --line: #e9e6f3;
    --radius: 22px;
    --shadow: 0 24px 70px #28204b12;
    --shell: 1160px;
    font-family: Inter,"Segoe UI",Arial,sans-serif;
    color: var(--ink);
    background: var(--paper)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    line-height: 1.6
}

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

a {
    color: inherit
}

button, input, select, textarea {
    font: inherit
}

button, a {
    -webkit-tap-highlight-color: transparent
}

    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
        outline: 3px solid var(--brand);
        outline-offset: 5px
    }

::selection {
    background: #ded5ff
}

h1, h2, h3, p {
    margin-top: 0
}

h1, h2, h3 {
    line-height: 1.14;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(2.65rem,5.4vw,4.5rem);
    font-weight: 750
}

h2 {
    font-size: clamp(2rem,3.7vw,3rem)
}

h3 {
    font-size: 1.22rem
}

p {
    color: var(--muted)
}

.shell {
    width: min(var(--shell),calc(100% - 48px));
    margin-inline: auto
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    padding: 12px 20px;
    background: var(--ink);
    color: white;
    z-index: 100
}

    .skip-link:focus {
        top: 12px
    }

.site-header {
    background: #ffffffed;
    border-bottom: 1px solid var(--line)
}

.header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: block;
    flex-shrink: 0
}

    .brand img {
        width: 245px;
        height: auto
    }

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: .9rem;
    font-weight: 600
}

    .main-nav a {
        text-decoration: none
    }

        .main-nav a:hover {
            color: var(--brand)
        }

.access-label {
    font-size: .8rem;
    color: var(--muted);
    background: var(--tint);
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap
}

.menu-toggle {
    border: 1px solid var(--line);
    background: white;
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--ink)
}

[hidden] {
    display: none !important
}

.hero {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 55px;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 100px
}

.eyebrow {
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .12em;
    color: var(--brand);
    margin-bottom: 22px
}

.hero .eyebrow {
    letter-spacing: .02em;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 9px
}

.tiny-dot {
    width: 7px;
    height: 7px;
    background: var(--brand);
    border-radius: 50%
}

.hero h1 {
    margin-bottom: 26px
}

    .hero h1 > span {
        color: var(--brand)
    }

.lead {
    font-size: 1.14rem;
    line-height: 1.85;
    max-width: 500px
}

.button-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: .9rem;
    line-height: 1.4;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s,transform .15s;
    min-height: 48px
}

    .btn:hover {
        transform: translateY(-2px)
    }

.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 8px 20px #6345ed22
}

    .btn-primary:hover {
        background: var(--brand-dark)
    }

.btn-text {
    padding-inline: 8px;
    color: var(--muted)
}

    .btn-text:hover {
        color: var(--brand)
    }

.btn-light {
    background: white;
    color: var(--brand)
}

.btn:disabled {
    cursor: default;
    opacity: .55;
    transform: none
}

.hero-note {
    font-size: .78rem;
    margin: 22px 0 0
}

.hero-art {
    position: relative;
    min-height: 485px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate
}

.art-orbit {
    position: absolute;
    width: 445px;
    max-width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(circle,#eee8ff 0%,#f7f4ff 66%,#fff 70%);
    border-radius: 50%;
    z-index: -1
}

.demo-tag {
    position: absolute;
    top: 8px;
    right: 7px;
    letter-spacing: .04em;
    font-size: .69rem;
    color: var(--muted);
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    z-index: 1;
}

.invite-example {
    width: 320px;
    max-width: 82%;
    padding: 35px 24px 28px;
    min-height: 390px;
    transform: rotate(-5deg);
    border: 1px solid #ece4da;
    outline: 7px solid #fff;
    background: #fffaf4;
    box-shadow: var(--shadow);
    border-radius: 8px;
    text-align: center;
    font-family: Georgia,serif
}

.invite-monogram {
    font-size: 2.9rem;
    color: #8d7866;
    letter-spacing: -.08em
}

    .invite-monogram span {
        font-size: 1.5rem;
        font-style: italic
    }

.invite-kicker {
    font-family: "Segoe UI",sans-serif;
    font-size: .58rem;
    letter-spacing: .15em;
    margin-top: 18px;
    color: #766753
}

.invite-example h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #69523f;
    margin-bottom: 20px
}

.invite-rule {
    width: 50px;
    height: 1px;
    background: #cdb7a0;
    margin: 0 auto 16px
}

.invite-date {
    font-size: .8rem;
    letter-spacing: .1em;
    color: #766753
}

.invite-for {
    font-size: .85rem;
    line-height: 1.8;
    margin: 26px 0 16px
}

    .invite-for strong {
        font-weight: 400;
        color: #69523f;
        font-size: 1rem
    }

.invite-seal {
    display: block;
    color: #a78965;
    font-size: 1.5rem
}

.reply-example {
    position: absolute;
    bottom: 24px;
    left: -4px;
    background: white;
    box-shadow: 0 15px 45px #20194416;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 18px
}

    .reply-example strong {
        display: block;
        font-size: .8rem
    }

    .reply-example div > span {
        display: block;
        font-size: .7rem;
        color: var(--muted);
        margin-top: 4px
    }

.check-circle {
    display: grid;
    place-items: center;
    background: #e5f6ec;
    color: #177945;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: bold
}

.message-example {
    position: absolute;
    right: -5px;
    top: 128px;
    border: 1px solid #e3dbff;
    background: white;
    color: var(--brand);
    box-shadow: var(--shadow);
    padding: 11px 16px;
    border-radius: 12px;
    transform: rotate(6deg);
    font-size: .75rem;
    font-weight: 650
}

    .message-example span {
        margin-right: 6px
    }

.section {
    padding-top: 44px;
    padding-bottom: 44px;
    scroll-margin-top: 25px
}

.section-tinted {
    background: var(--tint);
    border-block: 1px solid #efebfb
}

.section-heading {
    max-width: 660px;
    margin-bottom: 38px
}

    .section-heading h2 {
        margin-bottom: 18px
    }

    .section-heading p:last-child {
        margin: 0
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.feature-card {
    padding: 30px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius)
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--tint);
    border-radius: 13px;
    color: var(--brand);
    font-size: 1.4rem;
    margin-bottom: 28px
}

.feature-card h3 {
    margin-bottom: 14px
}

.feature-card p {
    margin: 0;
    font-size: .95rem
}

.steps-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 45px
}

.step-number {
    display: block;
    color: var(--brand);
    font-size: .8rem;
    letter-spacing: .15em;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-bottom: 23px;
    font-weight: bold
}

.steps-grid p {
    font-size: .95rem
}

.events-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    border-top: 1px solid var(--line)
}

.events-copy p:last-child {
    max-width: 410px;
    margin: 0
}

.event-chips {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

    .event-chips li {
        padding: 15px 23px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fcfbff;
        color: var(--ink);
        font-weight: 600;
        font-size: .9rem
    }

.closing-section {
    padding-bottom: 90px
}

.closing-card {
    position: relative;
    overflow: hidden;
    padding: 58px;
    text-align: center;
    border-radius: 28px;
    background: var(--brand);
    color: white
}

    .closing-card:after {
        content: "";
        position: absolute;
        pointer-events: none;
        width: 500px;
        height: 500px;
        border: 1px solid #ffffff18;
        border-radius: 50%;
        right: -280px;
        top: -200px
    }

    .closing-card .eyebrow {
        color: #e4dbff
    }

    .closing-card h2 {
        margin-bottom: 18px
    }

    .closing-card p {
        color: #f1ecff
    }

    .closing-card .btn {
        margin-top: 14px
    }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 38px 0
}

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

.footer-brand img {
    width: 195px
}

.footer-inner p {
    font-size: .78rem;
    margin: 16px 0 0
}

.footer-meta {
    text-align: right;
    line-height: 1.9
}

.status-page {
    padding: 65px 0 95px;
    text-align: center;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.status-art {
    height: 165px;
    width: 270px;
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 25px
}

.status-code {
    font-size: 5.8rem;
    color: var(--brand);
    letter-spacing: -.06em;
    font-weight: 800;
    position: relative
}

.status-ring {
    position: absolute;
    width: 170px;
    height: 170px;
    background: var(--tint);
    border-radius: 50%
}

.status-spark {
    position: absolute;
    right: 10px;
    top: 12px;
    font-size: 2.8rem;
    color: #b6a5ff
}

.status-page h1 {
    font-size: clamp(2rem,4vw,3rem);
    max-width: 750px;
    margin-bottom: 18px
}

.status-description {
    max-width: 510px;
    margin-bottom: 28px
}

.status-page .eyebrow {
    margin-bottom: 16px
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px
}

    .field label {
        font-weight: 600;
        font-size: .9rem
    }

    .field input, .field select, .field textarea {
        border: 1px solid #c5c1d5;
        border-radius: 10px;
        padding: 12px 14px;
        background: white;
        width: 100%;
        color: var(--ink)
    }

.field-help {
    font-size: .8rem;
    color: var(--muted)
}

.field-error {
    font-size: .8rem;
    color: #a51f38
}

.alert {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--tint)
}

@media(max-width:1000px) {
    .brand img {
        width: 205px
    }

    .main-nav {
        gap: 18px;
        font-size: .8rem
    }

    .hero {
        gap: 25px;
        padding-top: 65px
    }

    .hero-art {
        min-height: 445px
    }

    .message-example {
        right: 0;
        top: 125px
    }

    .reply-example {
        left: 0;
        bottom: 5px
    }

    .button-row {
        gap: 6px
    }

    .feature-card {
        padding: 24px
    }
}

@media(max-width:760px) {
    .shell {
        width: calc(100% - 36px)
    }

    .header-inner {
        min-height: 78px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 15px
    }

    .brand img {
        width: 192px
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-bottom: 8px
    }

        .main-nav a {
            padding: 12px 4px
        }

        .main-nav .access-label {
            align-self: flex-start;
            margin-top: 10px
        }

    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 45px;
        padding-bottom: 55px
    }

    .hero-copy {
        max-width: 570px
    }

    .hero h1 {
        font-size: clamp(2.65rem,8vw,3.7rem);
        max-width: 540px
    }

    .lead {
        font-size: 1rem
    }

    .hero .eyebrow {
        font-size: .67rem
    }

    .hero-art {
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
        min-height: 450px
    }

    .reply-example {
        bottom: 8px;
        left: 0
    }

    .message-example {
        top: 140px
    }

    .section {
        padding-block: 56px
    }

    .feature-grid, .steps-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .feature-card {
        padding: 26px
    }

    .feature-icon {
        margin-bottom: 18px
    }

    .steps-grid li {
        padding-bottom: 8px
    }

    .step-number {
        margin-bottom: 16px
    }

    .events-section {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .event-chips {
        margin: 0
    }

    .closing-section {
        padding-bottom: 55px
    }

    .closing-card {
        padding: 40px 22px
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .footer-meta {
        text-align: left
    }

    .status-page {
        padding-block: 45px 65px
    }

    .status-art {
        transform: scale(.85);
        margin-bottom: 5px
    }
}

@media(prefers-reduced-motion:reduce) {
    *, *:before, *:after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important
    }

    .btn:hover {
        transform: none
    }
}

.privacy-notice {
    padding: 22px 26px;
    margin-block: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--tint)
}

    .privacy-notice h2 {
        font-size: 1.2rem;
        margin-bottom: 12px
    }

    .privacy-notice p {
        font-size: .88rem;
        margin-bottom: 10px
    }

        .privacy-notice p:last-child {
            margin-bottom: 0
        }
/* Navegación de cliente y administrador. */
@media(min-width:761px) {
    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 10px
    }
}
