/* ============ Lyrio — estilos compartidos ============ */
:root {
  --coral: #ee6a4f;
  --coral-dark: #d9553a;
  --amber: #ff9a62;
  --grad: linear-gradient(135deg, #ff7a59 0%, #ee5a3f 55%, #ff9a62 100%);
  --grad-text: linear-gradient(100deg, #ff5d3b 0%, #ff8a5c 100%);
  --coral-soft: rgba(238, 106, 79, .12);
  --bg: #f7f5f2;
  --ink: #141211;
  --ink-2: #514b49;
  --ink-3: #8a8380;
  --white: #ffffff;
  --line: rgba(255, 255, 255, .8);
  --radius: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1120px;
  /* Helvetica Neue Medium en Apple; Inter Medium como respaldo en otros sistemas */
  --font: "Helvetica Neue", "HelveticaNeue", Helvetica, "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-weight: 500; color: var(--ink);
  background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; position: relative;
}
h1, h2, h3, h4, strong, b, button, input, select, textarea { font-family: var(--font); font-weight: 500; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 84px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.accent { color: var(--coral); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}

/* ---------- Fondo con luces (inspirado en tu referencia) ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(55% 45% at 17% 7%, rgba(253, 226, 210, .95), rgba(253, 226, 210, 0) 72%),
    radial-gradient(50% 42% at 92% 96%, rgba(250, 222, 218, .8), rgba(250, 222, 218, 0) 72%),
    var(--bg);
}
.bg i {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: drift 26s ease-in-out infinite alternate;
}
.bg i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: radial-gradient(closest-side, #ffd9c4, transparent); }
.bg i:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: 38vh; background: radial-gradient(closest-side, #ffc9bd, transparent); animation-duration: 32s; animation-delay: -8s; opacity: .35; }
.bg i:nth-child(3) { width: 42vw; height: 42vw; left: 22vw; bottom: -22vw; background: radial-gradient(closest-side, #ffe5cf, transparent); animation-duration: 38s; animation-delay: -14s; opacity: .45; }
@keyframes drift { to { transform: translate3d(7vw, 5vh, 0) scale(1.15); } }

/* ---------- Vidrio ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .34));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 24px 50px -24px rgba(120, 50, 30, .28);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1rem var(--font); padding: 14px 26px; border-radius: 16px; border: 0;
  cursor: pointer; transition: transform .25s, box-shadow .25s, filter .25s; position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 14px 30px -12px rgba(238, 90, 63, .9);
}
.btn--primary:hover { filter: brightness(1.05); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 18px 36px -12px rgba(238, 90, 63, 1); }
.btn--ghost {
  color: var(--ink); background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.4));
  border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 #fff inset, 0 12px 28px -16px rgba(120, 50, 30, .35);
}
.btn--dark {
  color: #fff; background: linear-gradient(160deg, #2b2523, #0e0c0b);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 30px -14px rgba(0,0,0,.7);
}
.store { padding: 12px 22px; text-align: left; line-height: 1.15; }
.store small { display: block; font-size: .68rem; opacity: .75; }
.store span { font-size: 1.05rem; }
.store svg { width: 24px; height: 24px; flex: none; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; width: 100%; margin: 0; border-radius: 0;
  border-width: 0 0 1px 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 30px -22px rgba(120, 50, 30, .35);
}
.nav.glass { background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.66)); }
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 64px; width: min(var(--max), 100% - 40px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .3em; line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.brand img, .brand svg { height: .95em; width: auto; display: block; flex: none; overflow: visible; }
.brand span { background: linear-gradient(100deg, #ee4a3a, #fa9a63); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.brand--nav { font-size: 1.7rem; }
.brand--hero { font-size: clamp(2rem, 5.2vh, 2.9rem); display: flex; width: fit-content; margin: 0 auto 30px; filter: drop-shadow(0 8px 18px rgba(238, 106, 79, .3)); }
.brand--foot { font-size: 1.6rem; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { color: var(--coral); }
.nav__links .btn { padding: 10px 20px; font-size: .92rem; border-radius: 14px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mockup de celular (sin rotación) ---------- */
.phone { position: relative; width: var(--w, 280px); aspect-ratio: 1350 / 2760; flex: none; }
.phone__screen {
  position: absolute; left: 5.33%; top: 2.5%; width: 89.33%; height: 95%;
  object-fit: cover; object-position: top; border-radius: 12% / 5.8%; background: #fff;
}
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.phone--shadow { filter: drop-shadow(0 46px 44px rgba(90, 35, 18, .3)); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 64px 0 20px; overflow: hidden; position: relative; }
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.3rem); line-height: 1.03; letter-spacing: -.04em;
  margin: 0 auto 18px; max-width: 14ch;
}
.hero__sub { color: var(--ink-2); font-size: 1.15rem; max-width: 46ch; margin: 0 auto 28px; }
.hero__trust { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px 6px 6px; border-radius: 999px; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.hero__trust i { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 16px -8px rgba(238, 90, 63, .9); }
.hero__trust svg { width: 16px; height: 16px; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero__art { display: none; }
.hero__inner { display: flex; flex-direction: column; }
.hero__text { order: -1; }
.hero__phones { width: 100%; display: flex; justify-content: center; align-items: flex-end; position: relative; height: clamp(440px, 64vw, 680px); }
.hero__phones .phone { position: absolute; left: 50%; }
.hero__phones .phone--a { --w: clamp(190px, 29vw, 330px); transform: translateX(-98%); bottom: -3%; z-index: 1; }
.hero__phones .phone--b { --w: clamp(200px, 31vw, 350px); transform: translateX(-2%); bottom: -11%; z-index: 2; }
.hero__glow {
  position: absolute; width: 88%; aspect-ratio: 1; left: 50%; top: 4%; translate: -50% 0; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 138, 92, .42), rgba(238, 106, 79, .16) 55%, transparent);
  animation: pulse 7s ease-in-out infinite;
}
.hero__beam {
  position: absolute; z-index: 0; width: 46%; height: 150%; top: -30%; left: 27%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); filter: blur(26px); opacity: .55;
  animation: sweep 9s ease-in-out infinite alternate;
}
@keyframes pulse { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes sweep { from { transform: translateX(-14%) rotate(18deg); } to { transform: translateX(14%) rotate(18deg); } }

/* Etiquetas de vidrio flotantes (solo escritorio, sobre la imagen) */
.badge {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 18px; font-size: .9rem; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.badge i {
  width: 30px; height: 30px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal;
  box-shadow: 0 6px 14px -4px rgba(238, 90, 63, .8);
}
.badge i svg { width: 16px; height: 16px; }
.badge small { display: block; font-size: .68rem; color: var(--ink-3); line-height: 1.1; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
.showcase { overflow-x: clip; }
.section--glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .22));
  border-block: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.section--dark { color: #fff; background: #130f0d; overflow: hidden; }
.section--dark::before, .section--dark::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.section--dark::before { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(closest-side, rgba(238, 106, 79, .55), transparent); }
.section--dark::after { width: 460px; height: 460px; left: -140px; bottom: -160px; background: radial-gradient(closest-side, rgba(255, 170, 70, .3), transparent); }
.section--dark > .wrap { position: relative; z-index: 1; }
.section--dark .lead { color: #cfc6c1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split h2, .section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 16px; }
.lead { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.split__media { display: flex; justify-content: center; position: relative; }
.split__media::before {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 44px;
  background: linear-gradient(145deg, rgba(255, 190, 160, .55), rgba(255, 255, 255, .35));
  border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 #fff inset;
}
.section--dark .split__media::before { background: linear-gradient(145deg, rgba(238, 106, 79, .32), rgba(255, 255, 255, .05)); border-color: rgba(255, 255, 255, .14); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset; }
.split__media .phone { z-index: 1; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Carrusel de funciones ---------- */
.tabs {
  display: flex; gap: 6px; padding: 6px; border-radius: 20px; width: fit-content; max-width: 100%;
  margin: 36px auto 0; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; border: 0; background: transparent; cursor: pointer; color: var(--ink-2);
  font: 500 .98rem var(--font); padding: 12px 22px; border-radius: 15px; overflow: hidden;
  transition: color .3s, background .3s, box-shadow .3s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: #fff; background: var(--grad); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 24px -12px rgba(238, 90, 63, .9); }
.tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .85); border-radius: 3px; }
.tab.is-active .tab__bar { animation: fill var(--dur, 5000ms) linear forwards; }
.showcase.is-paused .tab.is-active .tab__bar { animation-play-state: paused; }
.showcase.is-static .tab__bar { display: none; }
@keyframes fill { to { width: 100%; } }

.stage { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-top: 22px; text-align: left; }
.stage__text { display: grid; align-content: center; padding: 40px 44px; min-height: 0; border-radius: 32px; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s, transform .5s, visibility .5s; align-self: center; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 12px; }
.slide p { margin: 0; color: var(--ink-2); font-size: 1.12rem; max-width: 46ch; }
.stage__phone { position: relative; display: flex; justify-content: center; align-items: center; padding: 0 28px; }
.stage__phone::before {
  content: ""; position: absolute; inset: -6% -10%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 138, 92, .5), rgba(238, 106, 79, .15) 60%, transparent);
  animation: pulse 7s ease-in-out infinite;
}
.stage__phone .phone { --w: min(250px, 66vw); z-index: 1; }
.shot { opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .8s ease; }
.shot.is-active { opacity: 1; transform: none; z-index: 1; }

/* ---------- Tarjetas de funciones ---------- */
.grid { display: grid; gap: 20px; margin-top: 52px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { border-radius: var(--radius); padding: 30px; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 92, .35), transparent); opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 1px 0 #fff inset, 0 34px 56px -26px rgba(150, 60, 35, .45); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--grad);
  display: grid; place-items: center; margin-bottom: 20px; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 22px -10px rgba(238, 90, 63, .9);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Lista de checks ---------- */
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat, var(--grad);
  box-shadow: 0 6px 12px -5px rgba(238, 90, 63, .8);
}
.section--dark .checks li { color: #d8d0cb; }

/* ---------- Pasos ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; text-align: left; }
.step { counter-increment: s; padding: 30px; border-radius: var(--radius); }
.step::before {
  content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad); color: #fff; margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 22px -10px rgba(238, 90, 63, .9);
}
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.cta {
  background: linear-gradient(135deg, #ff6d4a 0%, #ee5a3f 45%, #ff9a62 100%); color: #fff; border-radius: 36px;
  padding: 68px 28px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 40px 70px -34px rgba(238, 90, 63, .9);
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before { width: 420px; height: 420px; left: -120px; top: -200px; background: radial-gradient(closest-side, rgba(255,255,255,.5), transparent); }
.cta::after { width: 380px; height: 380px; right: -100px; bottom: -190px; background: radial-gradient(closest-side, rgba(255, 220, 140, .55), transparent); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.035em; margin: 0 0 12px; line-height: 1.1; }
.cta p { margin: 0 auto 28px; max-width: 46ch; opacity: .94; }
.cta .btn--dark { background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(90, 20, 5, .6); }
.cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta--split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; padding: 0 clamp(28px, 5vw, 64px); text-align: left; min-height: 420px; align-items: stretch; }
.cta__phone { position: relative; min-height: 420px; }
.cta__phone .phone { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); }
.cta__text { align-self: center; padding: 56px 0; }
.cta--split h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta--split p { margin: 0 0 28px; max-width: 34ch; }
.cta--split .cta__row { justify-content: flex-start; }

/* ---------- Páginas internas ---------- */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 14px; }
.page-head p { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; padding: 0 24px; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.4)); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 #fff inset; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* ---------- Formulario ---------- */
.form { max-width: 620px; margin: 0 auto; display: grid; gap: 16px; padding: 34px; border-radius: 28px; }
.form label { display: grid; gap: 6px; font-size: .92rem; }
.form input, .form select, .form textarea {
  font: 500 1rem var(--font); padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(255,255,255,.9);
  background: rgba(255, 255, 255, .6); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--ink-3); margin: 0; }

/* ---------- Texto legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding-bottom: 96px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal .meta { color: var(--ink-3); font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 34px; border-top: 1px solid rgba(255,255,255,.8); background: linear-gradient(180deg, rgba(255,255,255,.4), transparent); }
.footer__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { color: var(--ink-3); max-width: 32ch; margin: 12px 0 0; font-size: .95rem; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--coral); }
.footer__bottom { margin-top: 40px; color: var(--ink-3); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Animaciones de entrada (estilo Apple) ---------- */
.js .reveal {
  opacity: 0; translate: 0 30px; scale: .985;
  transition: opacity .9s var(--ease) var(--d, 0s), translate 1.05s var(--ease) var(--d, 0s), scale 1.05s var(--ease) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; scale: 1; }
.js .card.reveal { transition: opacity .9s var(--ease) var(--d, 0s), translate 1.05s var(--ease) var(--d, 0s), scale 1.05s var(--ease) var(--d, 0s), transform .3s, box-shadow .3s; }
.js .reveal--art { translate: 0 56px; scale: .93; transition-duration: 1.2s, 1.5s, 1.5s; }
.js .reveal--left { translate: -44px 0; }
.js .reveal--right { translate: 44px 0; }

/* Títulos palabra por palabra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .06em .32em; margin: -.1em -.06em -.32em; }
.wi { display: inline-block; }
.js [data-split] .wi {
  translate: 0 115%; rotate: 4deg; transform-origin: 0 100%;
  transition: translate 1.05s var(--ease) calc(var(--d, 0s) + var(--i, 0) * .07s), rotate 1.05s var(--ease) calc(var(--d, 0s) + var(--i, 0) * .07s);
}
.js [data-split].is-in .wi { translate: 0 0; rotate: 0deg; }
[data-split] .accent { background: none; -webkit-text-fill-color: currentColor; }
[data-split] .accent .wi { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: .1em .04em .32em; margin: -.1em -.04em -.32em; }

/* Logo: el isotipo salta y el nombre se descubre */
.brand svg { transition: rotate .5s var(--ease), scale .5s var(--ease); }
.leaf { transform-box: fill-box; animation: leafGrow 1.3s var(--ease) backwards; }
.leaf--a { transform-origin: 50% 100%; animation-delay: .1s; }
.leaf--b { transform-origin: 0% 100%; animation-name: leafGrowB; animation-delay: .5s; }
@keyframes leafGrow { 0% { opacity: 0; transform: scale(.15, 0) rotate(-6deg); } 55% { opacity: 1; transform: scale(1.06, 1.1) rotate(2deg); } 100% { transform: none; } }
@keyframes leafGrowB { 0% { opacity: 0; transform: scale(0, .15) rotate(-12deg); } 55% { opacity: 1; transform: scale(1.1, 1.06) rotate(2deg); } 100% { transform: none; } }
.brand span { animation: logoWipe 1.1s var(--ease) .3s backwards; }
.brand:hover svg, .brand:hover img { rotate: -8deg; scale: 1.08; }
.brand--hero .leaf--a { animation-delay: .25s; }
.brand--hero .leaf--b { animation-delay: .65s; }
.brand--hero span { animation-delay: .9s; }
.brand span { animation-delay: .8s; }
.brand--foot .leaf, .brand--foot span { animation: none; }
@keyframes logoPop { 0% { opacity: 0; scale: .3; rotate: -28deg; } 60% { opacity: 1; scale: 1.14; rotate: 5deg; } 100% { scale: 1; rotate: 0deg; } }
@keyframes logoWipe { from { opacity: 0; clip-path: inset(-10% 100% -10% 0); translate: -14px 0; } to { clip-path: inset(-10% -6% -10% 0); } }

/* Barra superior y globos */
.nav { animation: navIn 1s var(--ease) backwards; }
@keyframes navIn { from { opacity: 0; translate: 0 -100%; } }
.js .badge { animation: float 6s ease-in-out infinite, badgeIn 1s var(--ease) both; animation-delay: 0s, 1.1s; }
.js .badge--2 { animation-delay: -2s, 1.3s; }
.js .badge--3 { animation-delay: -4s, 1.5s; }
@keyframes badgeIn { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }

/* Textos del carrusel entran en cascada */
.js .slide > * { opacity: 0; translate: 0 16px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.js .slide.is-active > * { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease) .15s, translate .9s var(--ease) .15s; }
.js .slide.is-active > :nth-child(2) { transition-delay: .25s; }
.js .slide.is-active > :nth-child(3) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-split] .wi, .js .slide > * { opacity: 1; translate: none; scale: none; rotate: none; transition: none; }
  .leaf, .brand span, .nav, .js .badge { animation: none; }
  html { scroll-behavior: auto; }
  .bg i, .hero__glow, .hero__beam, .badge, .stage__phone::before, .hero__art::before { animation: none; }
}

/* ---------- Responsive ---------- */
/* ---------- Escritorio: imagen a la izquierda, texto a la derecha ---------- */
@media (min-width: 1001px) {
  .hero { --artH: clamp(540px, calc(100vh - 36px), 900px); padding: clamp(12px, 3vh, 36px) 0 clamp(32px, 7vh, 84px); text-align: left; overflow-x: clip; }
  .hero__inner { display: grid; flex-direction: initial; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 72px); min-height: min(calc(100vh - 64px), 920px); }
  .hero__phones { display: none; }
  .hero__text { order: 0; }
  .hero__art { display: block; position: relative; justify-self: center; width: min(124%, calc(var(--artH) * .764)); }
  .hero__art::before {
    content: ""; position: absolute; inset: 4% 2% 10% 6%; z-index: 0; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 138, 92, .42), rgba(238, 106, 79, .14) 58%, transparent);
    filter: blur(8px); animation: pulse 7s ease-in-out infinite;
  }
  .hero__art picture, .hero__art img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
  .hero__text { text-align: left; }
  .brand--hero { margin: 0 0 clamp(16px, 3.4vh, 34px); }
  .hero h1 { font-size: clamp(2.5rem, min(4.4vw, 8.4vh), 4rem); margin: 0 0 clamp(12px, 2.4vh, 22px); max-width: 12ch; }
  .hero__sub { font-size: clamp(1rem, 2.1vh, 1.15rem); margin: 0 0 clamp(18px, 3.4vh, 32px); max-width: 40ch; }
  .hero__trust { justify-content: flex-start; margin-bottom: 0; }
  .badge { display: none; }
  .badge--1 { left: -9%; top: 36%; }
  .badge--2 { right: -7%; top: 11%; animation-delay: -2s; }
  .badge--3 { left: -7%; bottom: 21%; animation-delay: -4s; }
}
@media (min-width: 1320px) { .badge { display: flex; } }
@media (max-width: 1000px) { .badge { display: none; } }
@media (max-width: 880px) {
  .split, .grid--3, .steps { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split--reverse > :first-child { order: 0; }
  .split > div:not(.split__media) { text-align: center; }
  .split .lead { margin-inline: auto; }
  .checks { justify-items: start; text-align: left; max-width: 420px; margin-inline: auto; }
  .section { padding: 68px 0; }
  .stage { grid-template-columns: 1fr; gap: 24px; }
  .stage__phone { justify-content: center; }
  .cta--split { grid-template-columns: 1fr; padding: 0 22px; text-align: center; min-height: 0; }
  .cta--split p { margin-inline: auto; }
  .cta--split .cta__row { justify-content: center; }
  .cta__text { order: -1; padding: 48px 0 8px; }
  .cta__phone { min-height: 330px; }
  .cta__phone .phone { top: 12px; }
  .stage__phone { order: -1; padding: 10px 0; }
  .stage__phone::before { inset: -4% 0; }
  .stage__text { padding: 30px 26px; min-height: 0; text-align: center; }
  .slide p { margin-inline: auto; }
  .burger { display: block; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 22px; display: none; border-radius: 0;
    background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border: 0; border-top: 1px solid rgba(0,0,0,.05); box-shadow: 0 30px 50px -24px rgba(120, 50, 30, .35);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav__links .btn { margin-top: 14px; }
  .footer__cols { gap: 40px; }
}

/* ---------- Móvil: versión compacta ---------- */
.br-m { display: none; }
@media (max-width: 880px) {
  .br-m { display: inline; }
  /* barra superior con textos, sin menú */
  .burger { display: none; }
  .nav__row { height: 54px; }
  .brand--nav { font-size: 1.3rem; }
  .nav__links, .nav__links.is-open {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 0;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none;
  }
  .nav__links a:not(.btn) { padding: 0; border: 0; font-size: .82rem; }
  .nav__links .btn { margin: 0; padding: 7px 13px; font-size: .8rem; border-radius: 11px; }
  /* inicio */
  .hero { padding: 26px 0 0; }
  .brand--hero { font-size: 1.45rem; margin-bottom: 12px; }
  .hero h1 { font-size: 2rem; margin-bottom: 10px; max-width: 13ch; }
  .hero__sub { font-size: .88rem; line-height: 1.45; margin: 0 auto 14px; max-width: 32ch; }
  .hero__trust { margin-bottom: 4px; gap: 8px; justify-content: center; }
  .hero__trust li { font-size: .78rem; padding: 4px 12px 4px 4px; gap: 6px; }
  .hero__trust i { width: 22px; height: 22px; }
  .hero__trust svg { width: 12px; height: 12px; }
  .hero__phones { height: clamp(330px, 86vw, 400px); }
  .center .lead { font-size: .92rem; line-height: 1.45; }
  .hero__phones .phone--a, .hero__phones .phone--b { --w: clamp(150px, 43vw, 205px); bottom: -4%; }
  .hero__phones .phone--a { transform: translateX(-97%); }
  .hero__phones .phone--b { transform: translateX(-3%); }
  /* funciones */
  .section-title, .split h2 { font-size: 1.8rem; }
  .tabs { padding: 4px; gap: 2px; }
  .tab { padding: 8px 13px; font-size: .8rem; border-radius: 12px; }
  .slide h3 { font-size: 1.3rem; }
  .slide p { font-size: .92rem; line-height: 1.45; }
  .stage__text { padding: 24px 22px; }
  .slide .checks { font-size: .86rem; gap: 9px; margin-top: 16px; }
  /* herramientas: de 2 en 2 */
  .grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 16px; border-radius: 20px; }
  .card__icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
  .card__icon svg { width: 20px; height: 20px; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: .8rem; line-height: 1.4; }
  /* detalle de canción */
  .section--dark .lead, .split .lead { font-size: .92rem; line-height: 1.45; }
  .split .checks { font-size: .86rem; gap: 10px; margin-top: 18px; }
  /* descarga: celular primero, tiendas lado a lado */
  .cta__text { display: contents; }
  .cta--split h2 { order: 1; padding-top: 40px; margin-bottom: 10px; }
  .cta--split p { order: 2; }
  .cta__phone { order: 3; min-height: 410px; }
  .cta__row { order: 4; margin-bottom: 34px; }
  .cta__phone .phone { --w: 190px !important; top: 30px; }
  .cta--split h2 { font-size: 1.7rem; }
  .cta--split p { font-size: .92rem; margin-bottom: 18px; }
  .cta__row { flex-wrap: nowrap; gap: 8px; }
  .store { padding: 9px 12px; gap: 7px; }
  .store span { font-size: .92rem; }
  .store small { font-size: .6rem; }
  .store svg { width: 20px; height: 20px; }
}
@media (max-width: 420px) { .nav__links a[aria-current="page"] { display: none; } }

/* Separador entre la portada y las funciones */
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: min(var(--max), calc(100% - 40px)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 106, 79, .45) 30%, rgba(250, 154, 99, .55) 50%, rgba(238, 106, 79, .45) 70%, transparent);
}
.showcase { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 38%); }

/* Badges oficiales de tiendas (sin modificar, sin sombras) */
.store-badge { display: inline-block; line-height: 0; transition: opacity .2s; }
.store-badge img { display: block; height: 50px; width: auto; }
.store-badge:hover { opacity: .85; }
@media (max-width: 880px) { .store-badge img { height: 40px; } .cta__row { gap: 10px; } }

/* Soporte */
.search { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 28px auto 0; padding: 6px 20px; border-radius: 18px; text-align: left; }
.search svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 12px 0; outline: none; color: var(--ink); min-width: 0; }
.search:focus-within { box-shadow: 0 0 0 2px var(--coral), 0 18px 40px -20px rgba(238, 90, 63, .6); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.help { display: grid; gap: 6px; padding: 24px; border-radius: 22px; transition: transform .3s, box-shadow .3s; }
.help:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 30px 50px -26px rgba(150, 60, 35, .45); }
.help i, .contact__list i { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 10px 20px -10px rgba(238, 90, 63, .9); flex: none; }
.help i svg, .contact__list i svg { width: 22px; height: 22px; }
.help b { font-size: 1.05rem; letter-spacing: -.01em; }
.help span { color: var(--ink-2); font-size: .92rem; }
.faq-head { max-width: 780px; margin: 0 auto 22px; text-align: center; }
.faq-head .section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.chip { font: inherit; font-size: .9rem; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(238, 106, 79, .25); background: rgba(255, 255, 255, .6); color: var(--ink-2); cursor: pointer; transition: all .25s; }
.chip:hover { color: var(--coral); }
.chip.is-on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px rgba(238, 90, 63, .9); }
.faq details[hidden] { display: none; }
.faq-empty { text-align: center; color: var(--ink-2); margin-top: 24px; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact__info .section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact__info .lead { margin-bottom: 26px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list i { margin: 0; }
.contact__list span { display: grid; color: var(--ink-2); font-size: .95rem; }
.contact__list b { color: var(--ink); font-size: 1rem; }
.contact__list a { color: var(--coral); }
.form { max-width: none; margin: 0; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row label, .form label { min-width: 0; }
.form.is-sent button { background: #3aa76d; }
@media (max-width: 880px) {
  .help-grid { grid-template-columns: 1fr; gap: 10px; }
  .help { grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; }
  .help i { grid-row: span 2; margin: 0; }
  .contact { grid-template-columns: 1fr; text-align: center; }
  .contact__list { justify-items: start; text-align: left; max-width: 420px; margin-inline: auto; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
  .page-head { padding-top: 40px; }
}
.form input, .form select, .form textarea { width: 100%; box-sizing: border-box; border-color: rgba(238, 106, 79, .18); }

/* Celulares del inicio (móvil): se superponen un poco y entran con animación */
.hero__phones .phone--a { animation: phoneInA 1.5s var(--ease) .35s backwards; }
.hero__phones .phone--b { animation: phoneInB 1.5s var(--ease) .6s backwards; }
@keyframes phoneInA { from { opacity: 0; translate: -70px 90px; rotate: -9deg; scale: .88; } }
@keyframes phoneInB { from { opacity: 0; translate: 70px 120px; rotate: 9deg; scale: .88; } }
.hero__glow { animation-delay: 0s; }
@media (max-width: 880px) {
  .hero__phones .phone--a { transform: translateX(-92%); }
  .hero__phones .phone--b { transform: translateX(-8%); }
}
@media (prefers-reduced-motion: reduce) { .hero__phones .phone--a, .hero__phones .phone--b { animation: none; } }

/* Preguntas frecuentes en cuadros */
.faq { max-width: 960px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qa { border-radius: 22px; padding: 26px; display: block; }
.qa[hidden] { display: none; }
.qa h3 { margin: 0 0 8px; font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.25; }
.qa p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 880px) { .faq { grid-template-columns: 1fr; gap: 12px; } .qa { padding: 20px; } .qa h3 { font-size: 1rem; } .qa p { font-size: .9rem; } }
