:root {
  --blush: #f3c9c4;
  --blush-soft: #f8e4e1;
  --mauve: #7a5a5e;
  --rose-ink: #3a2a2c;
  --rosewood: #9a4a56;
  --paper: #fffaf8;
  --muted: #7d6a6c;
  --line: #ecdcd9;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Pinyon Script', cursive;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --announce-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--paper); color: var(--rose-ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.01em; }
h3 { font-weight: 400; font-size: 1.05rem; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--rosewood); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { color: var(--rosewood); font-weight: 500; text-underline-offset: 4px; }
.btn { display: inline-block; text-align: center; padding: .85em 1.6em; border: 1px solid var(--rose-ink); color: var(--rose-ink); text-decoration: none; font-weight: 500; letter-spacing: .02em; transition: background .2s, color .2s; }
.btn:hover { background: var(--rose-ink); color: var(--paper); }

/* iPhone con fotografía */
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.3; padding: 1.6%; border-radius: 13.5% / 6.4%; background: linear-gradient(145deg, #3b3b3d, #050505 30%, #1c1c1e 70%, #3a3a3c); box-shadow: 0 40px 70px -30px rgba(40, 20, 24, .7), inset 0 0 0 1.5px #57575a; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 11.8% / 5.6%; background: #222; container-type: inline-size; }
.phone__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .05) 34%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .25) 100%); pointer-events: none; }
.phone__status { position: absolute; z-index: 2; inset: 0 0 auto; height: 13cqi; padding: 0 8.5cqi; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 5.2cqi; font-weight: 500; }
.phone__status svg { width: 19cqi; }
.phone__island { position: absolute; left: 50%; top: 3.2cqi; translate: -50% 0; width: 32cqi; height: 9.5cqi; border-radius: 99px; background: #000; }
.phone__menu { position: absolute; z-index: 2; top: 17cqi; inset-inline: 0; display: flex; justify-content: center; gap: 9cqi; color: rgba(255, 255, 255, .92); font-size: 3.6cqi; letter-spacing: .12em; text-transform: uppercase; }
.phone__cover { position: absolute; z-index: 2; top: 25cqi; inset-inline: 6cqi; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.phone__kicker { font-size: 3.8cqi; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1cqi; }
.phone__names { font-family: var(--script); font-size: 13cqi; line-height: 1.15; }
.phone__date { font-size: 4.2cqi; letter-spacing: .25em; margin-top: 1.5cqi; }
.phone__home { position: absolute; z-index: 2; left: 50%; bottom: 2.6cqi; translate: -50% 0; width: 36cqi; height: 1.4cqi; border-radius: 99px; background: rgba(255, 255, 255, .85); }

/* Catálogo tipo tienda */
.shop { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.shop__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 400 .95rem var(--sans); padding: .45em 1.05em; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--rose-ink); cursor: pointer; }
.chip:hover { border-color: var(--rose-ink); }
.chip[aria-selected="true"] { background: var(--rose-ink); border-color: var(--rose-ink); color: var(--paper); }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.product[hidden] { display: none; }
.product__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 18px; background: radial-gradient(120% 90% at 50% 20%, #fbeeec, var(--blush-soft) 55%, #efd3cf); overflow: hidden; }
.phone--product { width: 52%; }
.product__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .75rem; font-weight: 500; letter-spacing: .04em; padding: .25em .75em; background: var(--rosewood); color: #fff; }
.product h3 { margin-bottom: 6px; }
.product__price { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.product__price strong { font-weight: 500; color: var(--rosewood); }
.product__price s { color: var(--muted); font-size: .9rem; }
.product__buy { font-size: .9rem; color: var(--muted); text-underline-offset: 4px; }
.product__buy:hover { color: var(--rose-ink); }

/* Historia: foto grande y texto */
.story { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: var(--blush-soft); }
.story__photo { margin: 0; height: 100%; min-height: 560px; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__text { padding: clamp(48px, 7vw, 112px) var(--gutter); max-width: 38em; }
.story__text h2 { margin-bottom: .7em; }
.story__text p { color: var(--muted); }

/* Pasos (sí son una secuencia) */
.steps-wrap { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.steps-wrap h2 { margin-bottom: 48px; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--rose-ink); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; font-weight: 200; font-size: 3rem; line-height: 1; margin-bottom: 18px; color: var(--rosewood); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Paquetes */
.pricing { padding: clamp(72px, 10vw, 128px) var(--gutter); background: linear-gradient(180deg, var(--paper), var(--blush-soft)); }
.pricing__intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pricing__intro p { color: var(--muted); max-width: 30em; margin: 0; }

/* Preguntas */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 10vw, 128px) var(--gutter); }
.faq-wrap h2 { margin-bottom: 16px; }
.faq-wrap > div > p { color: var(--muted); }
.faq-wrap a { color: var(--rosewood); text-underline-offset: 4px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 1.08rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 40em; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }

/* Tableta */
@media (max-width: 1080px) {
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story__photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Celular */
@media (max-width: 1020px) {
  .faq-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .catalog { grid-template-columns: 1fr; gap: 40px; max-width: 400px; margin-inline: auto; }
  .phone--product { width: 62%; }
  .product h3 { font-size: .95rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
