/* Landing de Soshally UGC — construida con el SISTEMA SOSHALLY (soshally-brand):
   ink sobre bg, muted, un único acento rojo (el punto), DM Sans con matriz de
   pesos (500 editorial · 600 estructura · 700 impacto · 900 aparato) y Playfair
   600 italic como firma cross-familia (una sola palabra dentro del display).
   Kickers 11.5px/600/uppercase/1.84px. Sin gradientes ni hero de SaaS. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* voz de etiqueta del sistema (no inventar variantes) */
.lab { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.84px; color: var(--mut); }

/* display: comprimido y sub-1 de interlínea */
h1, .closing h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.h-soft { font-weight: 500; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.025em; margin: 14px 0 46px; }
em { font-family: var(--font-display-italic); font-style: italic; font-weight: 600; margin: 0 .1em; }

/* pastillas */
.btn { display: inline-block; border-radius: 100px; padding: 16px 34px; font-size: 15px; font-weight: 600; transition: opacity .2s, border-color .2s; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { opacity: .84; }
.btn--plain { border: 1px solid var(--line); }
.btn--plain:hover { border-color: var(--ink); }

/* ---------- Top bar ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 40px; padding: 26px 64px; }
.toplogo { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.topdot { color: var(--red); }
.topnav { display: flex; gap: 28px; flex: 1; }
.topnav a { font-size: 13.5px; font-weight: 600; color: var(--mut); }
.topnav a:hover { color: var(--ink); }
.top__cta { padding: 11px 22px; font-size: 13.5px; }

/* ---------- 1 · Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 140px 64px 90px; }
.hero__in { max-width: 1180px; }
.hero h1 { font-size: clamp(46px, 8.6vw, 104px); margin: 18px 0 26px; max-width: 15ch; }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--soft); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ---------- 2 · Estilos ---------- */
.styles { padding: 110px 64px; }
.styles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.scard { border: 1px solid var(--line); border-radius: 18px; padding: 40px; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, transform .25s; }
.scard:hover { border-color: var(--ink); transform: translateY(-3px); }
.scard__n { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; }
.scard__d { font-size: 15px; line-height: 1.55; color: var(--mut); max-width: 40ch; }
.scard__go { margin-top: 14px; font-size: 13px; font-weight: 600; }

/* ---------- 3 · Cómo funciona ---------- */
.how { padding: 110px 64px; }
.how__list { list-style: none; max-width: 1000px; }
.how__step { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.how__n { font-size: 11.5px; font-weight: 600; letter-spacing: 1.84px; color: var(--mut); padding-top: 7px; }
.how__step h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.how__step p { font-size: 15.5px; line-height: 1.6; color: var(--mut); max-width: 58ch; }

/* ---------- 4 · Qué te llevas (filas pesadas, patrón services2) ---------- */
.gets { padding: 110px 0 40px; }
.gets .lab { padding: 0 64px 34px; }
.row { border-top: 2px solid var(--divider-services2); }
.row:last-child { border-bottom: 2px solid var(--divider-services2); }
.row__btn {
  width: 100%; text-align: center; padding: 30px 64px;
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(24px, 5.4vw, 72px); line-height: 1.05;
  transition: opacity .2s;
}
.row__btn:hover { opacity: .55; }
.row__panel { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.7,0,.3,1); }
.row__panel p { padding: 0 64px 32px; font-size: 16px; line-height: 1.6; color: var(--mut); max-width: 70ch; margin: 0 auto; text-align: center; }

/* ---------- 5 · Precio ---------- */
.price { padding: 110px 64px; }
.price__box { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 30px; }
.price__fig { font-size: clamp(64px, 11vw, 150px); font-weight: 700; letter-spacing: -0.05em; line-height: .9; }
.price__note { font-size: 14px; color: var(--mut); margin: 18px 0 34px; }
.price__list { list-style: none; }
.price__list li { font-size: 16px; line-height: 1.55; padding: 16px 0; border-top: 1px solid var(--line); color: var(--soft); }

/* ---------- 6 · Preguntas ---------- */
.faq { padding: 110px 64px; }
.faq__list { max-width: 900px; }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q__btn { width: 100%; text-align: left; padding: 26px 40px 26px 0; font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; letter-spacing: -0.01em; position: relative; }
.q__btn::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-weight: 400; color: var(--mut); transition: transform .3s; }
.q__btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.q__panel { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.7,0,.3,1); }
.q__panel p { padding-bottom: 26px; font-size: 15.5px; line-height: 1.6; color: var(--mut); max-width: 62ch; }

/* ---------- 7 · Cierre (wordmark que invierte al entrar) ---------- */
.closing { padding: 130px 64px 0; }
.closing h2 { font-size: clamp(40px, 7vw, 90px); margin-bottom: 40px; }
.footwm-wrap { margin: 120px -64px 0; padding: 60px 64px 40px; transition: background .4s cubic-bezier(.7,0,.3,1); }
.footwm-wrap.is-dark { background: var(--ink); }
.footwm {
  font-weight: 700; font-size: clamp(64px, 24vw, 374px); line-height: .75;
  letter-spacing: -0.055em; transition: color .4s cubic-bezier(.7,0,.3,1);
}
.footwm-wrap.is-dark .footwm { color: #fff; }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  .top { padding: 18px 22px; gap: 16px; }
  .topnav { display: none; }
  .hero { padding: 120px 22px 70px; }
  .styles, .how, .price, .faq { padding: 70px 22px; }
  .styles__grid, .price__box { grid-template-columns: 1fr; gap: 18px; }
  .scard { padding: 28px; }
  .how__step { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .how__n { padding-top: 0; }
  .gets { padding: 70px 0 20px; }
  .gets .lab { padding: 0 22px 22px; }
  .row__btn { padding: 20px 22px; }
  .row__panel p { padding: 0 22px 22px; }
  .closing { padding: 80px 22px 0; }
  .footwm-wrap { margin: 70px -22px 0; padding: 40px 22px 24px; }
}

/* ---------- Cluster de fotos del hero ---------- */
.hero { position: relative; }
.hero__in { position: relative; z-index: 2; }
.cluster { position: absolute; right: 3vw; top: 50%; transform: translateY(-50%); width: 42vw; max-width: 620px; height: 74vh; pointer-events: none; }
.cluster__ph {
  position: absolute; width: 44%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px;
  box-shadow: 0 40px 80px -34px rgba(14,14,14,.45);
  animation: float 16s ease-in-out infinite;
}
.cluster__ph--a { left: 0;   top: 4%;  width: 46%; animation-duration: 17s; }
.cluster__ph--b { right: 2%; top: 0;   width: 38%; animation-duration: 21s; animation-delay: -4s; }
.cluster__ph--c { left: 14%; top: 40%; width: 42%; animation-duration: 19s; animation-delay: -8s; }
.cluster__ph--d { right: 0;  top: 34%; width: 46%; animation-duration: 15s; animation-delay: -2s; }
.cluster__ph--e { left: 30%; top: 72%; width: 34%; animation-duration: 23s; animation-delay: -11s; }
@keyframes float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-16px,0); } }
@media (prefers-reduced-motion: reduce) { .cluster__ph { animation: none; } }

/* ---------- Ventana de navegador con la web REAL dentro ---------- */
.frame { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg);
  box-shadow: 0 40px 70px -40px rgba(14,14,14,.4); margin-bottom: 26px; }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e2e2; display: block; }
.frame__url { flex: 1; margin-left: 8px; font-size: 11.5px; color: var(--mut); background: #f4f4f4; border-radius: 100px; padding: 5px 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__stage { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: #fafafa; }
.frame__stage iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.frame--wide .frame__stage { aspect-ratio: 16/9; }

/* ---------- El asistente en vivo ---------- */
.live { padding: 110px 64px; }
.live__sub { font-size: 16px; line-height: 1.55; color: var(--mut); max-width: 56ch; margin: -26px 0 34px; }
.live__cta { display: inline-block; }

@media (max-width: 860px) {
  .cluster { display: none; }
  .live { padding: 70px 22px; }
}
