:root {
    --paper: #f7f4ef;
    --ink: #20201e;
    --muted: #77756f;
    --line: #dedad2;
    --lime: #d7f36b;
    --violet: #7865e8;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --logo: "norman-variable", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1120px, calc(100% - 44px));
    margin: auto;
}

header {
    height: 78px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    background: rgba(247, 244, 239, 0.94);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.06em;
    font-family: var(--serif);
    /* font-weight: 700;
    letter-spacing: 0.03rem; */
}

.brand span {
    color: var(--violet);
}

.navlinks {
    display: flex;
    gap: 25px;
    font-size: 12px;
    color: #595750;
}

.navlinks a:hover,
.back:hover {
    color: var(--violet);
}

.back {
    font-size: 12px;
    color: var(--muted);
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--violet);
    font-weight: 700;
}

.hero {
    padding: 82px 0 55px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

h1 {
    font: 600 clamp(52px, 7vw, 88px)/0.98 var(--serif);
    letter-spacing: -0.055em;
    margin: 20px 0;
}

h1 em,
.section-title em {
    color: var(--violet);
    font-weight: 500;
}

.lead {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 610px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--ink);
    color: white;
    padding: 14px 19px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 18px;
    transition: 0.2s;
}

.btn:hover {
    background: var(--violet);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--lime);
    color: var(--ink);
}

.visual {
    min-height: 370px;
    display: grid;
    place-items: center;
    position: relative;
}

.orb {
    position: absolute;
    width: 330px;
    max-width: 90%;
    aspect-ratio: 1;
    border-radius: 48% 52% 62% 38%/42% 43% 57% 58%;
    background: var(--lime);
    transform: rotate(-12deg);
}

.poster {
    position: relative;
    width: 245px;
    height: 320px;
    background: #242321;
    color: white;
    padding: 23px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(6deg);
    box-shadow: 15px 20px 45px #24232122;
}

.poster small {
    font-size: 8px;
    letter-spacing: 0.18em;
    color: var(--lime);
}

.poster strong {
    font: 600 43px/0.95 var(--serif);
}

.poster strong em {
    color: var(--lime);
}

.poster-foot {
    font-size: 9px;
    display: flex;
    justify-content: space-between;
    color: #c8c5bd;
}

section {
    padding: 75px 0;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

.section-title {
    font: 600 clamp(38px, 5vw, 58px)/1.05 var(--serif);
    letter-spacing: -0.045em;
    margin: 13px 0 0;
}

.intro {
    max-width: 360px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    border: 1px solid var(--line);
    padding: 25px;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    transition: 0.2s;
}

.card:hover {
    background: white;
    border-color: white;
    transform: translateY(-4px);
}

.card.featured {
    background: #e9e4ff;
    border-color: #e9e4ff;
}

.number {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--violet);
}

.card h2 {
    font: 600 28px/1.1 var(--serif);
    margin: 18px 0 10px;
}

.card p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.card ul {
    padding-left: 17px;
    margin: 18px 0;
    color: #55534e;
    font-size: 11px;
    line-height: 2;
}

.price {
    font: 600 24px var(--serif);
    margin-top: auto;
    padding-top: 15px;
}

.price small {
    font: 400 10px var(--sans);
    color: var(--muted);
}

.tagrow {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    border: 1px solid var(--violet);
    border-radius: 30px;
    padding: 6px 9px;
    font-size: 9px;
    color: var(--violet);
}

.callout {
    background: #eae6df;
    padding: 30px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 35px;
    align-items: center;
    margin: 30px 0;
}

.callout h2 {
    font: 600 32px/1.08 var(--serif);
    margin: 12px 0 0;
}

.callout p {
    font-size: 12px;
    line-height: 1.8;
    color: #66635d;
    margin: 0;
}

.dark {
    background: #22211f;
    color: white;
}

.dark .section-title {
    color: white;
}

.dark .intro {
    color: #b7b4ad;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 35px;
}

.feature {
    border-top: 1px solid #4b4945;
    padding-top: 15px;
}

.feature b {
    font: 500 19px var(--serif);
    display: block;
    margin-bottom: 7px;
}

.feature span {
    font-size: 11px;
    color: #aaa69f;
    line-height: 1.6;
}

.contact {
    background: var(--lime);
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 55px 0;
}

.contact h2 {
    font: 600 clamp(32px, 4vw, 48px)/1 var(--serif);
    letter-spacing: -0.04em;
    margin: 10px 0;
}

.contact p {
    font-size: 12px;
    line-height: 1.7;
    color: #55584a;
    max-width: 500px;
    margin: 0;
}

.contact .btn {
    white-space: nowrap;
    margin: 0;
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    font-size: 10px;
    color: var(--muted);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-brand {
    font-size: 17px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.05em;
}

/* ---------- Invitaciones: celular, demos, pasos, FAQ ---------- */
.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.visual-phone {
    min-height: 480px;
}

.phone {
    position: relative;
    width: 230px;
    height: 440px;
    background: #242321;
    border-radius: 36px;
    padding: 9px;
    transform: rotate(-4deg);
    box-shadow: 15px 25px 50px #24232133;
}

.phone::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 56px;
    height: 6px;
    margin-left: -28px;
    background: #242321;
    border-radius: 6px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: var(--violet);
    color: white;
    padding: 34px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.phone-screen>small {
    font-size: 8px;
    letter-spacing: 0.18em;
    color: var(--lime);
}

.phone-screen strong {
    font: 600 42px/0.95 var(--serif);
}

.phone-screen strong em {
    color: var(--lime);
    font-weight: 500;
}

.count {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.count span {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 8px 0;
    width: 46px;
    font: 600 18px var(--serif);
}

.count span small {
    display: block;
    font: 400 7px var(--sans);
    letter-spacing: 0.1em;
    color: #e6e2ff;
    margin-top: 2px;
}

.phone-btn {
    background: var(--lime);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    padding: 11px;
    border-radius: 3px;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.chip {
    font: 600 11px var(--sans);
    color: #b7b4ad;
    background: transparent;
    border: 1px solid #4b4945;
    border-radius: 30px;
    padding: 8px 14px;
    cursor: pointer;
    transition: 0.2s;
}

.chip:hover {
    border-color: var(--lime);
    color: white;
}

.chip.active {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

.demos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.demo[hidden] {
    display: none;
}

.mock {
    width: 100%;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    background: none;
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
}

.phone-frame {
    --w: 230px;
    --s: 0.5487;
    /* (w - 16) / 390 */
    --border: 8px;
    --inner: calc(var(--w) - var(--border) * 2);
    width: var(--w);
    height: calc(var(--inner) * 844 / 390 + var(--border) * 2);
    border: var(--border) solid #2f2e2b;
    border-radius: 32px;
    overflow: hidden;
    background: #2f2e2b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    transition: 0.25s;
}

.phone-frame iframe {
    width: 390px;
    height: 844px;
    border: 0;
    transform: scale(var(--s));
    transform-origin: top left;
    pointer-events: none;
}

.demo {
    align-items: center;
    text-align: center;
}

.demo:hover .phone-frame {
    transform: translateY(-4px);
}

/* borrá: .demo:hover .mock { transform: translateY(-4px); } */

.mock small {
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.mock strong {
    font: 600 38px/0.98 var(--serif);
}

.mock strong em {
    color: var(--accent);
    font-weight: 500;
}

.mock-foot {
    font-size: 9px;
    letter-spacing: 0.06em;
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.m-violet {
    --accent: var(--lime);
    background: var(--violet);
    color: white;
}

.m-cream {
    --accent: #a8864a;
    background: #efe6d6;
    color: #2b2620;
}

.m-sky {
    --accent: #5b7fa0;
    background: #dbe8f3;
    color: #1f3347;
}

.demo h3 {
    font: 500 22px var(--serif);
    margin: 0 0 6px;
}

.demo p {
    font-size: 12px;
    line-height: 1.7;
    color: #aaa69f;
    margin: 0;
}

.demo .btn {
    margin-top: 16px;
}

.btn.is-soon {
    background: transparent;
    border: 1px solid #4b4945;
    color: #b7b4ad;
    opacity: 0.6;
    pointer-events: none;
}

.plan-btn {
    align-self: flex-start;
    margin-top: 18px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    border-top: 1px solid var(--ink);
    padding-top: 16px;
}

.step i {
    font: 700 10px var(--sans);
    font-style: normal;
    letter-spacing: 0.15em;
    color: var(--violet);
}

.step b {
    display: block;
    font: 500 22px var(--serif);
    margin: 8px 0;
}

.step span {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.faq summary {
    cursor: pointer;
    font: 500 20px var(--serif);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--violet);
    font: 400 24px/1 var(--sans);
}

.faq details[open] summary::after {
    content: "–";
}

.faq p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    margin: 12px 0 0;
    max-width: 680px;
}

@media (max-width: 860px) {
    .demos {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width: 780px) {

    /* header */
    .navlinks {
        display: none;
    }

    /* hero */
    .hero {
        padding: 50px 0 30px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .visual-phone {
        min-height: 450px;
    }

    .phone {
        width: 210px;
        height: 400px;
    }

    .phone-screen strong {
        font-size: 38px;
    }

    /* secciones */
    section {
        padding: 55px 0;
    }

    .section-top {
        display: block;
    }

    .intro {
        margin-top: 17px;
        max-width: none;
    }

    /* demos: marco más grande en celular */
    .phone-frame {
        --w: 270px;
        --s: 0.6513;
    }

    /* (270 - 16) / 390 */

    /* pasos, cards, callouts */
    .steps {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 280px;
    }

    .callout {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* contacto y footer */
    .contact {
        display: block;
        padding: 28px;
        margin: 30px 0;
    }

    .contact .btn {
        margin-top: 18px;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* textos legibles */
    .card p,
    .callout p,
    .contact p,
    .demo p {
        font-size: 13px;
    }

    .card ul {
        font-size: 12.5px;
    }

    .tag {
        font-size: 10.5px;
    }

    .feature span,
    .step span {
        font-size: 12.5px;
    }

    .eyebrow {
        font-size: 10.5px;
    }

    .faq summary {
        font-size: 18px;
    }
}

@media (max-width: 440px) {
    .wrap {
        width: calc(100% - 32px);
    }

    h1 {
        font-size: 44px;
    }

    /* antes 52px: se partía "Una invitación." */
    .section-title {
        font-size: 36px;
    }

    .poster {
        width: 220px;
        height: 295px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-row .btn,
    .contact .btn {
        width: 100%;
        justify-content: space-between;
    }
}
}