:root {
  --bg: #FBF6F1;
  --bg-alt: #F5ECE4;
  --surface: #FFFDFB;
  --ink: #3B2F2C;
  --ink-soft: #786862;
  --line: #EADDD3;
  --accent: #6E58C9;        /* lavanda (guiño HUMO): texto blanco encima pasa AA */
  --accent-tint: #ECE7FB;
  --font: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-card: 28px;
  --gap: 1.4rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
h1, h2 { font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.only-m { display: none; }
@media (max-width: 620px) { .only-d { display: none; } .only-m { display: inline; } }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.9rem; border-radius: 999px; font: 500 1rem/1 var(--font); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s, color .2s; cursor: pointer; border: 0; }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px var(--accent); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.micro { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.1rem; font-size: .88rem; color: var(--ink-soft); }
.micro span::before { content: "♡ "; color: var(--accent); }

/* ---------- topbar ---------- */
.brand { display: inline-flex; align-items: baseline; gap: .35rem; }
.brand b { font-weight: 700; font-size: 1rem; letter-spacing: .3em; }
.brand i { font: italic 400 1.15rem/1 "Fraunces", serif; color: var(--accent); }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; }
.topbar a.small { font-size: .9rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }

/* ---------- celular (scrolleable) ---------- */
.phone { position: relative; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 8px; background: #241d1b; box-shadow: 0 30px 60px -28px rgba(59,47,44,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; width: 34%; height: 15px; transform: translateX(-50%); background: #241d1b; border-radius: 0 0 12px 12px; z-index: 2; pointer-events: none; }
.screen { position: absolute; inset: 8px; border-radius: 27px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: auto; scrollbar-width: none; background: var(--bg-alt); }
.screen::-webkit-scrollbar { display: none; }
.screen img { width: 100%; height: auto; }
.deslizable { position: relative; padding-top: 46px; }
.hint { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 3; white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 600; padding: .45rem .8rem; border-radius: 12px; box-shadow: 0 8px 16px -8px var(--accent); animation: nudge 1.8s ease-in-out infinite; pointer-events: none; }
.hint::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--accent); transform: translateX(-50%) rotate(45deg); }
.hint svg { width: 14px; height: 14px; }
@keyframes nudge { 50% { transform: translateX(-50%) translateY(3px); } }

/* ---------- hero ---------- */
.hero { padding: 2.5rem 0 5rem; position: relative; overflow-x: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, var(--accent-tint), transparent 65%); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.06; margin-bottom: 1.3rem; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); font-weight: 300; max-width: 520px; margin-bottom: 2.2rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.hero .micro { justify-content: flex-start; }
.fan { position: relative; height: 600px; }
.fan > * { position: absolute; bottom: 0; left: 50%; }
.fan .side { width: 220px; }
.fan .side .screen { pointer-events: none; }
.fan .side:nth-child(1) { transform: translateX(-50%) translateX(-155px) rotate(-8deg); }
.fan .side:nth-child(3) { transform: translateX(-50%) translateX(155px) rotate(8deg); }
.fan .deslizable { width: 250px; transform: translateX(-50%) translateY(-24px); z-index: 2; }
.hero-m { display: none; }
@media (max-width: 880px) and (min-width: 621px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .ctas, .hero .micro { justify-content: center; }
}
/* mobile: patrón Agendá — texto corto a la izquierda, 1 celular deslizable a la derecha */
@media (max-width: 620px) {
  .topbar { padding: 1rem 0; }
  .hero { padding: 1.4rem 0 2.6rem; }
  .fan { display: none; }
  .hero .wrap { display: block; }
  .hero .txt { display: grid; grid-template-columns: minmax(0, 1fr) 150px; column-gap: 16px; align-items: center; }
  .hero .txt-col { grid-column: 1; }
  .hero-m { display: block; grid-column: 2; }
  .eyebrow { font-size: .66rem; letter-spacing: .18em; margin-bottom: .8rem; }
  .hero h1 { font-size: 1.6rem; line-height: 1.14; margin-bottom: .8rem; }
  .hero .lead { font-size: .95rem; line-height: 1.5; margin: 0; }
  .hero .ctas { grid-column: 1 / -1; margin: 1.8rem 0 0; }
  .hero .ctas .btn { width: 100%; }
  .hero .ctas .btn-ghost, .hero .micro { display: none; }
  .hero-m .phone { border-radius: 26px; padding: 6px; }
  .hero-m .phone::before { top: 10px; height: 11px; }
  .hero-m .screen { inset: 6px; border-radius: 20px; }
  .hero-m .hint { font-size: .66rem; padding: .38rem .6rem; }
}

/* ---------- secciones ---------- */
section.block { padding: 5.5rem 0; }
section.alt { background: var(--bg-alt); }
.head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.head h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; margin-bottom: .8rem; }
.head p { color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; }
@media (max-width: 620px) { section.block { padding: 4rem 0; } .head { margin-bottom: 2.2rem; } }

/* ---------- ejemplos: carrusel (escala a N demos) ---------- */
.tabs { display: flex; justify-content: center; gap: .5rem; margin: -1rem 0 2.2rem; }
.tab { font: 500 .92rem/1 var(--font); padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: .4rem .2rem 1.6rem; }
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 620px) {
  .carousel { margin: 0 -16px; }
  .rail { grid-auto-columns: 80%; padding-inline: 16px; scroll-padding-inline: 16px; gap: 1rem; }   /* asoma la siguiente card */
}
.arrow { position: absolute; top: 38%; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(59,47,44,.5); transition: opacity .2s, transform .2s; }
.arrow:hover { transform: scale(1.06); }
.arrow[disabled] { opacity: 0; pointer-events: none; }
.arrow svg { width: 20px; height: 20px; }
.arrow.prev { left: -22px; } .arrow.next { right: -22px; }
/* Between 621 and 1203px the 16px page gutter is all that's outside the rail: keep the arrows inside it. */
@media (min-width: 621px) and (max-width: 1203px) { .arrow.prev { left: -16px; } .arrow.next { right: -16px; } }
.arrow.prev svg { transform: rotate(90deg); } .arrow.next svg { transform: rotate(-90deg); }
@media (max-width: 620px) { .arrow { display: none; } }
.dots { display: none; justify-content: center; gap: .45rem; margin-top: .2rem; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.dots i.on { background: var(--accent); width: 18px; border-radius: 4px; }
@media (max-width: 620px) { .dots { display: flex; } }

.card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.3rem 1.3rem 1.5rem; box-shadow: 0 24px 50px -40px rgba(59,47,44,.5); }
.card[hidden] { display: none; }
.tag { position: absolute; top: 1.1rem; left: 1.1rem; z-index: 4; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; background: var(--accent-tint); color: #6C56C7; }
.tag.boda { background: #EFE8DA; color: #7A5D27; }
.card .deslizable { width: 72%; margin: .4rem auto .3rem; padding-top: 0; }
.card .hint { display: none; }
@media (max-width: 620px) { .card .deslizable { padding-top: 46px; } .card .hint { display: inline-flex; } }
.card h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.card h3 small { display: block; margin-top: .3rem; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.card p { font-size: .92rem; color: var(--ink-soft); font-weight: 300; line-height: 1.5; }
/* píldoras descriptivas: la paleta de la invitación (no son botones) */
.palette { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .78rem; color: var(--ink-soft); }
.palette span { display: inline-flex; align-items: center; gap: .4rem; }
.palette i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.card .btn { margin-top: auto; width: 100%; padding: .85rem 1rem; font-size: .92rem; border-color: var(--ink); }
.card .btn:hover { background: var(--ink); color: #fff; }
.note { text-align: center; margin-top: 2rem; color: var(--ink-soft); font-style: italic; font-weight: 300; }

/* ---------- qué incluye ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.6rem; }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.2rem; } }
.feat { text-align: center; }
.feat .ic { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.3; margin-bottom: .35rem; }
.feat p { color: var(--ink-soft); font-weight: 300; font-size: .9rem; line-height: 1.5; }

/* ---------- galería en vivo con QR — misma piel que el resto ---------- */
.album { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; }
.album h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.12; margin-bottom: 1rem; }
.album .lead { color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; margin-bottom: 1.6rem; }
.album ul { list-style: none; display: grid; gap: .8rem; margin-bottom: 2rem; }
.album li { display: flex; gap: .75rem; align-items: flex-start; }
.album li .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); margin-top: 1px; }
.album li .ck svg { width: 14px; height: 14px; }
.album .extra { display: inline-block; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent); font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.album .eyebrow { display: block; }
.album .aside { margin-top: 1.1rem; font-size: .88rem; color: var(--ink-soft); font-style: italic; font-weight: 300; max-width: 460px; }
.album .link-more { display: inline-block; margin: .9rem 0 0 1.2rem; font-size: .92rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.album .link-more:hover, .album .link-more:focus-visible { text-decoration: underline; }
.qr-card { position: relative; justify-self: center; width: min(310px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 2rem 1.6rem; text-align: center; box-shadow: 0 30px 60px -36px rgba(59,47,44,.55); }
.qr-card::before { content: ""; position: absolute; inset: -40px 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-tint), transparent); }
.qr-card .t { font: italic 400 1.5rem/1.2 "Fraunces", serif; margin-bottom: .3rem; }
.qr-card .s { font-size: .82rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.qr { width: 170px; height: 170px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.qr canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.pola { position: absolute; width: 96px; background: #fff; padding: 6px 6px 18px; border-radius: 4px; box-shadow: 0 16px 30px -14px rgba(59,47,44,.55); }
.pola img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.pola.p1 { top: -60px; left: -58px; transform: rotate(-10deg); }
.pola.p2 { bottom: -26px; right: -44px; transform: rotate(8deg); }
@media (max-width: 860px) {
  .album { grid-template-columns: 1fr; gap: 3rem; }
  .qr-card { margin-top: 2rem; }
  .pola { width: 74px; } .pola.p1 { top: -48px; left: -10px; } .pola.p2 { right: -10px; }
}
/* phones: a compact QR card sits between the lead and the bullets, so the section reads as one service */
@media (max-width: 620px) {
  .album { gap: 0; grid-template-areas: "extra" "eye" "h2" "lead" "qr" "ul" "btn" "aside" "by"; }
  .album > .rv:not(.qr-card) { display: contents; }
  .album .extra { grid-area: extra; justify-self: start; }
  .album .eyebrow { grid-area: eye; }
  .album h2 { grid-area: h2; }
  .album .lead { grid-area: lead; }
  .album ul { grid-area: ul; }
  .album .btn { grid-area: btn; justify-self: start; }
  .album .aside { grid-area: aside; }
  .album .by { grid-area: by; }
  .qr-card {
    grid-area: qr; width: 100%; margin: 0 0 1.8rem; padding: 1rem 1.1rem; border-radius: 22px;
    display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: center; text-align: left;
  }
  .qr-card::before { display: none; }
  .qr-card .qr { grid-column: 1; grid-row: 1 / 3; width: 88px; height: 88px; padding: 6px; border-radius: 10px; margin: 0; }
  .qr-card .t { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.25rem; margin: 0; }
  .qr-card .s { grid-column: 2; grid-row: 2; align-self: start; margin: .25rem 0 0; padding-right: 48px; }
  .pola.p1 { display: none; }
  .pola.p2 { width: 52px; padding: 3px 3px 10px; bottom: -14px; right: -8px; }
}

/* ---------- pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.step { text-align: center; padding: 1rem 1.2rem; }
.step .n { width: 58px; height: 58px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 1.3rem; color: var(--accent); }
.step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-weight: 300; }

/* ---------- FAQ (acordeón nativo <details>) ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 1.4rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); font-weight: 500; font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.3rem; color: var(--ink-soft); font-weight: 300; }
.faq .a ul { margin: .5rem 0 0 1.1rem; }

/* ---------- CTA final + footer ---------- */
.final { text-align: center; background: var(--accent-tint); border-radius: 40px; padding: 4.5rem 1.5rem; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; margin-bottom: .9rem; }
.final p { color: var(--ink-soft); font-weight: 300; font-size: 1.08rem; max-width: 520px; margin: 0 auto 2rem; }
.final .micro { margin-top: 1.3rem; }
footer { padding: 2.6rem 0 3rem; text-align: center; color: var(--ink-soft); font-size: .88rem; }
footer .brand { margin-bottom: .6rem; }
footer a { border-bottom: 1px solid var(--line); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
