.tangerine-regular {
    font-family: "Tangerine", cursive;
    font-weight: 400;
    font-style: normal;
}

.tangerine-bold {
    font-family: "Tangerine", cursive;
    font-weight: 700;
    font-style: normal;
}

.tangerine-extrabold {
    font-family: "Tangerine", cursive !important;
    font-weight: 800;
    font-style: normal;
}

.merriweather-sans-400 {
    font-family: "Merriweather Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.merriweather-sans-bold {
    font-family: "Merriweather Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.text-dark-green {
    color: #042326;
}

.text-secundary-green {
    color: #0F5959;
}

.bg-primary-green {
    background-color: #0A3A40;
}

.bg-secundary-green {
    background-color: #0F5959;
}

.border-secundary-green {
    border-color: #0F5959;
}

@media (min-width: 768px) {
    .md\:text-9xl {
        font-size: 8rem
            /* 128px */
        ;
        line-height: 96px;
    }
}

/* -------------------------------------------------------------------------
   Invitación de XV años — reino de flores y linternas
   ------------------------------------------------------------------------- */
:root {
    --quince-lilac: #cbb8df;
    --quince-lilac-deep: #7e3c78;
    --quince-pink: #f4c0ce;
    --quince-mint: #bdd3c5;
    --quince-olive: #596333;
    --quince-gold: #bd8c2f;
    --quince-honey: #efb452;
    --quince-cream: #fffaf3;
    --quince-ink: #35411f;
}

.quince-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    color: var(--quince-ink);
    font-family: "Montserrat", sans-serif;
    background:
        radial-gradient(circle at 50% 7%, rgb(255 252 241 / 88%), transparent 29rem),
        radial-gradient(circle at 5% 26%, rgb(203 184 223 / 38%), transparent 26rem),
        radial-gradient(circle at 100% 44%, rgb(189 211 197 / 44%), transparent 31rem),
        linear-gradient(150deg, #f8f0f5, #fdf8ec 47%, #e8f0e5);
}

.quince-page::before,
.quince-page::after {
    position: absolute;
    z-index: 0;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgb(189 140 47 / 20%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.quince-page::before {
    top: 13rem;
    left: -14rem;
}

.quince-page::after {
    right: -14rem;
    bottom: 24rem;
}

.quince-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 48rem);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) 3rem;
}

.quince-hero {
    position: relative;
    padding: clamp(2.4rem, 7vw, 4.5rem) clamp(1rem, 5vw, 3.5rem) 2rem;
    text-align: center;
}

.quince-page.is-scroll-ready .quince-hero {
    animation: quince-hero-appear 3s cubic-bezier(.22, 1, .36, 1) both;
}

.quince-hero__stars,
.quince-kicker,
.quince-eyebrow {
    margin: 0;
    color: var(--quince-gold);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.quince-hero__stars {
    margin-bottom: 1rem;
    font-size: .9rem;
}

.quince-kicker {
    margin-bottom: .4rem;
}

.quince-hero h1,
.quince-section h2,
.quince-card h2,
.quince-footer h2 {
    margin: 0;
    color: var(--quince-lilac-deep);
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    line-height: .93;
}

.quince-hero h1 {
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
    column-gap: .35rem;
    row-gap: .45rem;
    margin-top: 1.1rem;
    font-size: clamp(4.8rem, 18vw, 8rem);
    letter-spacing: -.075em;
}

.quince-title__word {
    grid-column: 1 / -1;
    color: var(--quince-lilac-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: .76em;
    font-weight: 600;
    line-height: .82;
}

.quince-title__number {
    margin-top: .48em;
    color: var(--quince-gold);
    font-family: "Great Vibes", cursive;
    font-size: 1.22em;
    font-weight: 400;
    line-height: .7;
}

.quince-title__years {
    padding-bottom: .03em;
    color: var(--quince-lilac-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: .68em;
    font-weight: 600;
    line-height: .8;
}

.quince-hero__name {
    margin: .95rem auto 1rem;
    color: var(--quince-olive);
    font-family: "Dancing Script", cursive;
    font-size: clamp(2.65rem, 9vw, 4.1rem);
    font-weight: 600;
    line-height: .95;
}

.quince-hero__name span {
    display: block;
}

.quince-hero__name span+span {
    margin-top: .14em;
}

.quince-hero__intro {
    width: min(100%, 28rem);
    margin: 0 auto;
    color: #596333;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.32rem;
    font-style: italic;
    line-height: 1.3;
}

.quince-hero__art {
    display: block;
    width: min(100%, 30rem);
    height: auto;
    margin: 1rem auto 1.2rem;
    filter: drop-shadow(0 1.25rem 1.35rem rgb(102 78 50 / 19%));
    animation: quince-drift 6s ease-in-out infinite;
}

.quince-music {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: .75rem;
    padding: .65rem 1rem;
    border: 1px solid rgb(189 140 47 / 45%);
    border-radius: 999px;
    color: #775426;
    background: rgb(255 250 243 / 72%);
    box-shadow: 0 .4rem 1rem rgb(99 69 34 / 8%);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: transform .2s ease, background-color .2s ease;
}

.quince-music:hover {
    transform: translateY(-2px);
    background: #fffaf3;
}

.quince-music:focus-visible,
.quince-button:focus-visible {
    outline: 3px solid #7e3c78;
    outline-offset: 3px;
}

.quince-section,
.quince-card {
    position: relative;
    margin-top: clamp(2.5rem, 7vw, 4.5rem);
    border: 1px solid rgb(189 140 47 / 17%);
    border-radius: 1.65rem;
    background: rgb(255 253 247 / 71%);
    box-shadow: 0 1.1rem 3rem rgb(79 67 36 / 9%);
}

.quince-page.is-scroll-ready .quince-reveal {
    opacity: 0;
    transform: translateY(2rem) scale(.985);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.quince-page.is-scroll-ready .quince-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.quince-section {
    padding: clamp(2rem, 7vw, 3.5rem) clamp(1.15rem, 6vw, 3.2rem);
    text-align: center;
}

.quince-section h2,
.quince-card h2 {
    margin-top: .4rem;
    font-size: clamp(2.6rem, 10vw, 4rem);
}

.quince-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    margin: 1.25rem 0 1.65rem;
    color: var(--quince-gold);
}

.quince-divider span {
    display: block;
    width: min(18vw, 5rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--quince-gold));
}

.quince-divider span:last-child {
    background: linear-gradient(90deg, var(--quince-gold), transparent);
}

.quince-details {
    display: grid;
    gap: 1rem;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.quince-details>div {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    align-items: center;
    min-height: 4.7rem;
    padding: .9rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 62%);
}

.quince-details i {
    grid-row: span 2;
    color: var(--quince-gold);
    font-size: 1.4rem;
    text-align: center;
}

.quince-details strong {
    color: var(--quince-olive);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    line-height: 1.1;
}

.quince-details small {
    margin-top: .15rem;
    color: #687350;
    font-size: .72rem;
}

.quince-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 2.9rem;
    padding: .75rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fffaf3;
    background: linear-gradient(135deg, var(--quince-lilac-deep), #9d5593 55%, #b87890);
    box-shadow: 0 .55rem 1.1rem rgb(126 60 120 / 21%);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.quince-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 .8rem 1.35rem rgb(126 60 120 / 28%);
}

.quince-button--outline,
.quince-button--quiet {
    color: var(--quince-lilac-deep);
    border-color: rgb(126 60 120 / 30%);
    background: rgb(255 255 255 / 55%);
    box-shadow: none;
}

.quince-button--quiet {
    color: var(--quince-olive);
    border-color: rgb(89 99 51 / 28%);
}

.quince-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin: 1.6rem 0 0;
    color: #687350;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-style: italic;
}

.quince-soon i {
    color: var(--quince-gold);
}

.quince-countdown {
    margin-top: 1.65rem;
    padding-top: .2rem;
}

.quince-countdown__title {
    margin-bottom: .7rem;
    color: var(--quince-olive);
    font-size: .78rem;
    letter-spacing: .06em;
}

.quince-countdown__number {
    color: var(--quince-lilac-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.quince-court {
    display: grid;
    gap: .85rem;
    text-align: center;
}

.quince-roster {
    padding: 1.1rem 1rem;
    border: 1px solid rgb(189 140 47 / 16%);
    border-radius: 1rem;
    background: rgb(255 255 255 / 53%);
}

.quince-roster h3,
.quince-gift-list h3 {
    margin: 0 0 .48rem;
    color: var(--quince-lilac-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.quince-roster p,
.quince-gift-list p {
    margin: .2rem 0;
    color: #5d6742;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.06rem;
    line-height: 1.25;
}

.quince-card--special-gifts {
    text-align: center;
    background: linear-gradient(155deg, rgb(255 253 247 / 88%), rgb(244 192 206 / 36%));
}

.quince-gift-intro {
    width: min(100%, 31rem);
    margin: .85rem auto 1.4rem;
    color: #5d6742;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.22rem;
    line-height: 1.35;
}

.quince-gift-list {
    display: grid;
    gap: .7rem;
    text-align: center;
}

.quince-gift-list article {
    padding: .9rem;
    border-bottom: 1px solid rgb(189 140 47 / 19%);
}

.quince-gift-list article:last-child {
    border-bottom: 0;
}

.quince-gift-list h3 {
    color: var(--quince-olive);
}

.quince-card {
    padding: clamp(1.6rem, 6vw, 2.8rem);
}

.quince-card__icon {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin: 0 auto .95rem;
    border-radius: 50%;
    color: var(--quince-gold);
    background: linear-gradient(135deg, #fff8db, #f4d99a);
    font-size: 1.25rem;
}

.quince-card--rsvp {
    overflow: hidden;
    text-align: center;
}

.quince-card--rsvp::before {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgb(203 184 223 / 27%);
    content: "";
}

.quince-greeting,
.quince-card>p:not(.quince-eyebrow):not(.quince-note) {
    color: #5d6742;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.23rem;
    line-height: 1.4;
}

.quince-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.3rem;
}

.quince-note {
    margin: 1.35rem 0 0;
    padding: .85rem 1rem;
    border-radius: .85rem;
    color: #687350;
    background: rgb(189 211 197 / 29%);
    font-size: .88rem;
    line-height: 1.45;
}

.quince-note--confirmed {
    color: #4b5b2b;
    background: rgb(239 180 82 / 15%);
}

.quince-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.quince-card__heading>i {
    color: var(--quince-gold);
    font-size: 1.8rem;
}

.quince-card--song h2 {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
}

.quince-form {
    display: grid;
    gap: .45rem;
    margin-top: 1.2rem;
}

.quince-form label {
    margin-top: .5rem;
    color: var(--quince-olive);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.quince-form label span,
.quince-error {
    color: #a44261;
}

.quince-form label small {
    color: #89927a;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.quince-form input {
    width: 100%;
    border-color: rgb(89 99 51 / 24%);
    border-radius: .7rem;
    background: rgb(255 255 255 / 77%);
}

.quince-form .quince-button {
    justify-self: start;
    margin-top: .75rem;
}

.quince-error {
    font-size: .78rem;
}

.quince-card--notes {
    min-height: 21rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(255 253 247 / 88%), rgb(230 239 223 / 73%));
}

.quince-card--notes h2 {
    width: 69%;
}

.quince-card--notes ul {
    width: min(100%, 28rem);
    margin: 1.3rem 0 0;
    padding-left: 1.1rem;
    color: #596333;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    line-height: 1.35;
}

.quince-card--notes li+li {
    margin-top: .65rem;
}

.quince-card--notes li::marker {
    color: var(--quince-gold);
}

.quince-chameleon {
    position: absolute;
    right: -2.2rem;
    top: .6rem;
    width: min(58%, 17rem);
    height: auto;
    transform: rotate(-5deg);
    filter: drop-shadow(0 .8rem .8rem rgb(62 69 31 / 14%));
}

.quince-card--gift {
    text-align: center;
    background: linear-gradient(160deg, rgb(255 253 247 / 86%), rgb(244 192 206 / 37%));
}

.quince-footer {
    padding: 3.6rem 1rem 1.3rem;
    text-align: center;
}

.quince-footer .quince-divider {
    margin-bottom: 1rem;
}

.quince-footer p {
    margin: 0 0 .35rem;
    color: #6c7653;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-style: italic;
}

.quince-footer h2 {
    font-family: "Dancing Script", cursive;
    font-size: clamp(2.65rem, 9vw, 4rem);
    font-weight: 600;
    line-height: .95;
}

.quince-footer h2 span {
    display: block;
}

.quince-footer h2 span + span {
    margin-top: .14em;
}

.quince-lantern {
    position: absolute;
    z-index: 0;
    width: 1.15rem;
    height: 1.55rem;
    border: 1px solid rgb(144 89 24 / 38%);
    border-radius: 45% 45% 35% 35%;
    background: radial-gradient(circle at 50% 70%, #fff4a8 3%, #f6b64c 48%, #cf7a2d 100%);
    box-shadow: 0 0 1.1rem .3rem rgb(239 180 82 / 34%);
    opacity: .62;
    animation: quince-float 7s ease-in-out infinite;
}

.quince-lantern--one {
    top: 13rem;
    left: 7%;
}

.quince-lantern--two {
    top: 38rem;
    right: 6%;
    width: 1.3rem;
    height: 1.8rem;
    animation-delay: -3s;
}

.quince-lantern--three {
    top: 68rem;
    left: 4%;
    width: 1.05rem;
    height: 1.45rem;
    animation-delay: -5s;
}

.quince-lantern--four {
    top: 104rem;
    right: 5%;
    width: 1.45rem;
    height: 2rem;
    opacity: .5;
    animation-delay: -1s;
}

.quince-lantern--five {
    top: 138rem;
    left: 5%;
    width: 1.2rem;
    height: 1.65rem;
    opacity: .48;
    animation-delay: -4s;
}

.quince-lantern--six {
    top: 174rem;
    right: 4%;
    width: .95rem;
    height: 1.35rem;
    opacity: .46;
    animation-delay: -6s;
}

.quince-lantern--seven {
    top: 214rem;
    left: 6%;
    width: 1.35rem;
    height: 1.9rem;
    opacity: .5;
    animation-delay: -2s;
}

.quince-lantern--eight {
    top: 258rem;
    right: 6%;
    width: 1.05rem;
    height: 1.45rem;
    opacity: .45;
    animation-delay: -5s;
}

.quince-lantern--nine {
    top: 302rem;
    left: 5%;
    width: 1.28rem;
    height: 1.78rem;
    opacity: .47;
    animation-delay: -3s;
}

.quince-lantern--ten {
    top: 350rem;
    right: 5%;
    width: 1.55rem;
    height: 2.15rem;
    opacity: .47;
    animation-delay: -6s;
}

.quince-lantern--eleven {
    top: 380rem;
    left: 6%;
    width: 1.08rem;
    height: 1.5rem;
    opacity: .45;
    animation-delay: -2s;
}

.quince-lantern--twelve {
    top: 400rem;
    right: 6%;
    width: 1.38rem;
    height: 1.92rem;
    opacity: .44;
    animation-delay: -4s;
}

.quince-butterfly {
    --quince-wing-light: #f6c9d5;
    --quince-wing-deep: #8d5cac;
    position: absolute;
    z-index: 0;
    width: 2.15rem;
    height: 1.6rem;
    background:
        radial-gradient(ellipse at 50% 16%, #4f5933 0 .12rem, transparent .14rem),
        linear-gradient(#4f5933, #4f5933) center 50% / .15rem 1.22rem no-repeat;
    filter: drop-shadow(0 .3rem .35rem rgb(106 59 118 / 18%));
    opacity: .8;
    pointer-events: none;
    transform-origin: center;
    animation: quince-butterfly-float 9s ease-in-out infinite;
}

.quince-butterfly::before,
.quince-butterfly::after {
    position: absolute;
    top: .02rem;
    z-index: 1;
    width: 47%;
    height: 100%;
    border: 1px solid rgb(126 60 120 / 30%);
    content: "";
    background:
        radial-gradient(circle at 64% 27%, rgb(255 255 255 / 76%) 0 9%, transparent 11%),
        radial-gradient(ellipse at 34% 69%, rgb(255 222 141 / 42%) 0 18%, transparent 20%),
        linear-gradient(135deg, var(--quince-wing-light), var(--quince-wing-deep));
}

.quince-butterfly::before {
    left: .02rem;
    border-radius: 90% 22% 88% 28%;
    transform: rotate(-24deg);
}

.quince-butterfly::after {
    right: .02rem;
    border-radius: 22% 90% 28% 88%;
    transform: rotate(24deg);
}

.quince-butterfly--one {
    top: 91rem;
    right: 7%;
    width: 2.3rem;
    height: 1.72rem;
    animation-delay: -2s;
}

.quince-butterfly--two {
    --quince-wing-light: #e1d2f0;
    --quince-wing-deep: #8350a1;
    top: 196rem;
    left: 6%;
    width: 1.9rem;
    height: 1.42rem;
    opacity: .72;
    animation-delay: -6s;
}

.quince-butterfly--three {
    --quince-wing-light: #ffd4db;
    --quince-wing-deep: #bc6f91;
    top: 282rem;
    right: 5%;
    width: 2.55rem;
    height: 1.9rem;
    opacity: .78;
    animation-delay: -4s;
}

.quince-butterfly--four {
    --quince-wing-light: #ddd3f1;
    --quince-wing-deep: #8460a9;
    top: 370rem;
    left: 5%;
    width: 1.85rem;
    height: 1.38rem;
    opacity: .68;
    animation-delay: -1s;
}

.quince-butterfly--card {
    --quince-wing-light: #fbd3dc;
    --quince-wing-deep: #ad658b;
    right: 1.2rem;
    bottom: 1.1rem;
    width: 2.8rem;
    height: 2.08rem;
    opacity: .88;
    animation-delay: -3s;
}

.quince-butterfly--special-gift {
    --quince-wing-light: #e7d7f2;
    --quince-wing-deep: #8d5baa;
    z-index: 1;
    top: 1.25rem;
    left: 1.35rem;
    width: 3.15rem;
    height: 2.35rem;
    opacity: .9;
    animation-delay: -5s;
}

@keyframes quince-float {
    50% {
        transform: translate3d(.7rem, -1.5rem, 0) rotate(4deg);
    }
}

@keyframes quince-butterfly-float {
    50% {
        transform: translate3d(.55rem, -1rem, 0) rotate(7deg) scale(1.04);
    }
}

@keyframes quince-drift {
    50% {
        transform: translateY(-.45rem);
    }
}

@keyframes quince-hero-appear {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 640px) {
    .quince-shell {
        padding-bottom: 4rem;
    }

    .quince-details {
        grid-template-columns: 1fr 1fr;
    }

    .quince-card--notes h2 {
        width: 74%;
    }

    .quince-court {
        grid-template-columns: 1fr 1fr;
    }

    .quince-roster:first-child,
    .quince-roster:nth-child(2),
    .quince-roster:last-child {
        grid-column: 1 / -1;
    }

    .quince-gift-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 1.25rem;
    }

    .quince-gift-list article {
        border-top: 1px solid rgb(189 140 47 / 19%);
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .quince-page.is-scroll-ready .quince-reveal,
    .quince-page.is-scroll-ready .quince-reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    .quince-page *,
    .quince-page *::before,
    .quince-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
