/* Alba Miguel · portfolio UGC + influencer · diseño C «Feed vivo»
   Pensado para abrirse desde el enlace de la bio, en el móvil: parece una app.
   Nata, melocotón, coral y ciruela; Bricolage Grotesque + DM Sans + Caveat. */
:root {
  --nata: #FFF6F1;
  --durazno: #FFDCCB;
  --durazno-2: #FBC7B2;
  --melocoton: #FFE7DA;
  --coral: #EC6447;
  --coral-osc: #C9482D;
  --ciruela: #2B1A23;
  --ciruela-2: #4A3340;
  --ciruela-3: #3A2530;
  --rosa: #F7E3EC;
  --gris: #7A6870;
  --linea: rgba(43, 26, 35, .12);
  --story: linear-gradient(45deg, #F9B27A, #EC6447 45%, #D04F8C);

  /* Grano de papel: textura procedural, sin archivos */
  --grano: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .17  0 0 0 0 .10  0 0 0 0 .14  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grano-claro: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .86  0 0 0 .11 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --hand: "Caveat", cursive;

  --gutter: clamp(18px, 4.5vw, 64px);
  --maxw: 1240px;
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .9, .25, 1.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nata) var(--grano);
  color: var(--ciruela);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main > section { overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; }

.hand { font: 600 26px/1 var(--hand); color: var(--coral); }
.hand--light { color: var(--durazno); }
.label { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.label--light { color: var(--durazno-2); }
.h2 { margin-top: 12px; font: 800 clamp(36px, 5.2vw, 66px)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.h2 span { color: var(--coral); }
.h2--light { color: var(--nata); }

.ring {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 2.5px;
  border-radius: 50%;
  background: var(--story);
}
.ring img { width: 100%; height: 100%; border: 2.5px solid var(--nata); border-radius: 50%; object-fit: cover; }
.ring--small { width: 38px; height: 38px; }

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: 700 11.5px/1 var(--sans);
  vertical-align: 1px;
}
.badge[hidden] { display: none; }
.badge.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }

/* ---------- Cabecera tipo app ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(255, 246, 241, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linea);
}
.top__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.top__name { display: grid; line-height: 1.2; min-width: 0; }
.top__name b { font: 700 16px/1.2 var(--display); }
.top__name small { overflow: hidden; color: var(--gris); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.top__nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-weight: 500; font-size: 14.5px; }
.top__nav a { opacity: .75; transition: opacity .2s; }
.top__nav a:hover { opacity: 1; }
.top__btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--ciruela); color: var(--nata); font-weight: 700; font-size: 14px; }

/* ---------- 1 · Portada ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  max-width: 1360px;
  min-height: min(calc(100svh - 65px), 760px);
  margin: 0 auto;
  padding: 24px var(--gutter) 40px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: 6%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--durazno), rgba(255, 220, 203, 0));
}
.hero__title {
  margin-top: 8px;
  font: 800 clamp(58px, 8.6vw, 128px)/.9 var(--display);
  letter-spacing: -.045em;
}
.hero__title span { display: inline-block; color: var(--coral); rotate: -3deg; }
.hero__lead { max-width: 34ch; margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ciruela-2); }

.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.quick__btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 var(--linea), 0 10px 24px -14px rgba(43, 26, 35, .4);
  font: 700 15px/1 var(--sans);
  transition: transform .3s var(--ease);
}
.quick__btn:hover { transform: translateY(-3px); }
.quick__btn--main { background: var(--coral); color: #fff; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pills li { padding: 8px 14px; border-radius: 999px; background: var(--rosa); font-size: 13.5px; color: var(--ciruela-2); }
.pills b { font-family: var(--display); color: var(--ciruela); }

/* Feed de móviles: en escritorio, abanico; en móvil, carrusel */
.feed { position: relative; }
.feed__track {
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(480px, 58vw, 660px);
}
.phone {
  position: relative;
  flex: none;
  width: clamp(160px, 15.5vw, 236px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 30px;
  background: var(--durazno);
  box-shadow: 0 40px 60px -34px rgba(43, 26, 35, .6);
  transition: transform .6s var(--ease), box-shadow .4s;
  cursor: pointer;
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone + .phone { margin-left: -4.2vw; }
.phone:nth-child(1) { transform: translate(34px, 34px) rotate(-8deg) scale(.88); z-index: 1; }
.phone:nth-child(2) { transform: translateY(-14px) scale(1.06); z-index: 3; }
.phone:nth-child(3) { transform: translate(-18px, 28px) rotate(6deg) scale(.94); z-index: 2; }
.phone:nth-child(4) { transform: translate(-52px, -40px) rotate(11deg) scale(.8); z-index: 1; }
.phone:hover { z-index: 5; box-shadow: 0 50px 70px -30px rgba(43, 26, 35, .7); }
.phone:nth-child(1):hover { transform: translate(34px, 24px) rotate(-4deg) scale(.92); }
.phone:nth-child(3):hover { transform: translate(-18px, 18px) rotate(3deg) scale(.98); }
.phone:nth-child(4):hover { transform: translate(-52px, -50px) rotate(6deg) scale(.84); }
.phone__chip, .phone__type {
  position: absolute;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font: 700 11.5px/1 var(--sans);
}
.phone__chip { top: 10px; background: rgba(255, 255, 255, .92); }
.phone__type { bottom: 12px; background: var(--coral); color: #fff; }
.phone__open { position: absolute; inset: 0; }
.feed__hint { position: absolute; right: 4%; bottom: -6px; rotate: -4deg; font-size: 24px; }

/* ---------- 2 · Marcas (cinta en movimiento) ---------- */
.brands { padding: 22px 0 24px; background: var(--ciruela) var(--grano-claro); color: var(--nata); text-align: center; }
.brands__label { padding: 0 var(--gutter); font: 700 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--durazno-2); }
.brands__rail {
  display: flex;
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__list {
  display: flex;
  flex: none;
  align-items: center;
  font: 700 clamp(18px, 1.8vw, 24px)/1.2 var(--display);
  letter-spacing: -.01em;
  white-space: nowrap;
  animation: cinta 38s linear infinite;
}
.brands__list li { display: flex; align-items: center; }
.brands__list li::after { content: ""; width: 7px; height: 7px; margin: 0 clamp(18px, 2.4vw, 32px); border-radius: 50%; background: var(--coral); }
.brands__rail:hover .brands__list { animation-play-state: paused; }
@keyframes cinta { to { transform: translateX(-100%); } }

/* ---------- 3 · Presentación en mensajes ---------- */
.hello {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--sec) var(--gutter);
}
.chat { padding: 18px; border-radius: 30px; background: #fff; box-shadow: 0 40px 70px -46px rgba(43, 26, 35, .55); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--linea); }
.chat__head b { display: block; font: 700 15px/1.2 var(--display); }
.chat__head small { color: var(--gris); font-size: 12px; }
.chat__list { display: grid; gap: 8px; padding: 18px 4px 12px; }
.bubble {
  justify-self: start;
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 22px 22px 22px 6px;
  background: var(--rosa);
  font-size: 15.5px;
  line-height: 1.5;
}
.bubble:first-child { font-weight: 700; }
.chat__replies { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 4px 16px; }
.chat__replies a {
  padding: 9px 14px;
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  color: var(--coral-osc);
  font-weight: 700;
  font-size: 14px;
  transition: background .25s, color .25s;
}
.chat__replies a:hover { background: var(--coral); color: #fff; }
.js .chat .bubble, .js .chat .chat__replies a { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: left bottom; transition: opacity .45s, transform .5s var(--ease), background .25s, color .25s; }
.js .chat .chat__replies a { transform-origin: right bottom; }
.js .chat.is-visible .bubble, .js .chat.is-visible .chat__replies a { opacity: 1; transform: none; }
.js .chat.is-visible .bubble:nth-child(2) { transition-delay: .35s; }
.js .chat.is-visible .bubble:nth-child(3) { transition-delay: .7s; }
.js .chat.is-visible .bubble:nth-child(4) { transition-delay: 1.05s; }
.js .chat.is-visible .chat__replies a { transition-delay: 1.4s, 1.4s, 0s, 0s; }
.js .chat.is-visible .chat__replies a:nth-child(2) { transition-delay: 1.5s, 1.5s, 0s, 0s; }
.js .chat.is-visible .chat__replies a:nth-child(3) { transition-delay: 1.6s, 1.6s, 0s, 0s; }
.chat__reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  color: var(--gris);
}
.chat__reply b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 20px; }
.hello__photo { position: relative; }
.hello__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 30px; rotate: 2.5deg; box-shadow: 0 40px 70px -46px rgba(43, 26, 35, .6); }
.hello__photo figcaption { position: absolute; left: -12px; bottom: -18px; padding: 8px 16px; border-radius: 14px; background: var(--durazno); rotate: -4deg; font-size: 24px; color: var(--ciruela); }

/* ---------- 4 · Tipos de contenido ---------- */
.types { padding: var(--sec) var(--gutter); background: var(--melocoton) var(--grano); border-radius: 44px 44px 0 0; }
.types__head, .packs__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: end;
  gap: 18px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.types__lead, .packs__lead { max-width: 46ch; color: var(--ciruela-2); }
.plus-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ciruela); color: #fff; font-size: 15px; vertical-align: -5px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  max-width: var(--maxw);
  margin: 40px auto 0;
}
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 26px;
  background: var(--durazno);
  text-align: left;
}
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.04); }
.card__num {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  font: 800 14px/1 var(--display);
}
.card__play, .card__go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font: 700 12px/1 var(--sans);
}
.card__play { background: var(--coral); color: #fff; }
.card__go { background: rgba(255, 255, 255, .92); color: var(--ciruela); }
.card__body { display: flex; flex: 1; flex-direction: column; }
.card h3 { margin-top: 14px; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.card p { margin-top: 6px; color: var(--ciruela-2); font-size: 15px; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.card__brand { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; }

.pick, .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px 0 10px;
  border: 1.5px solid var(--ciruela);
  border-radius: 999px;
  font: 700 13px/1 var(--sans);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.pick svg, .chip svg { font-size: 17px; transition: rotate .35s var(--ease); }
.pick:hover, .chip:hover { transform: translateY(-2px); }
.pick[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--ciruela); color: var(--nata); }
.pick[aria-pressed="true"] svg, .chip[aria-pressed="true"] svg { rotate: 360deg; }

.also { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; max-width: var(--maxw); margin: 40px auto 0; }
.also__label { font-weight: 700; font-size: 14px; }
.also__list { display: flex; flex-wrap: wrap; gap: 8px; }
.also__note { flex-basis: 100%; text-align: center; color: var(--ciruela-2); font-size: 14px; }

/* ---------- 5 · Para mi comunidad (modo oscuro, como las estadísticas de la app) ---------- */
.community { padding: var(--sec) var(--gutter); background: var(--ciruela) var(--grano-claro); color: var(--nata); }
.community__head { max-width: var(--maxw); margin: 0 auto; }
.community__head .h2 { max-width: 16ch; }
.community__lead { max-width: 56ch; margin-top: 16px; color: rgba(255, 246, 241, .78); }
.community__wrap {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
  max-width: var(--maxw);
  margin: 44px auto 0;
}
.insights {
  position: sticky;
  top: 88px;
  padding: 18px 20px 22px;
  border-radius: 28px;
  background: var(--ciruela-3);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 241, .08);
}
.insights__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 246, 241, .1); }
.insights__head .ring img { border-color: var(--ciruela-3); }
.insights__head b { display: block; font: 700 15px/1.2 var(--display); }
.insights__head small { color: rgba(255, 246, 241, .6); font-size: 12px; }
.insights__big { display: grid; }
.insights__big div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 246, 241, .1); }
.insights__big dt { color: rgba(255, 246, 241, .72); font-size: 14px; }
.insights__big dd { font: 800 clamp(30px, 3vw, 40px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.insights__big div:first-child dd { color: var(--durazno-2); }
.insights__row { padding-top: 16px; }
.insights__k { display: flex; justify-content: space-between; color: rgba(255, 246, 241, .72); font-size: 14px; }
.insights__k b { color: var(--nata); font: 800 18px/1 var(--display); }
.bar { height: 10px; margin-top: 10px; border-radius: 9px; background: rgba(255, 246, 241, .12); overflow: hidden; }
.bar i { display: block; width: var(--v); height: 100%; border-radius: 9px; background: var(--story); transform-origin: left; }
.js .insights:not(.is-visible) .bar i { transform: scaleX(0); }
.js .insights .bar i { transition: transform 1.1s .3s var(--ease); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags li { padding: 6px 11px; border-radius: 999px; background: rgba(255, 246, 241, .1); font-size: 13px; font-weight: 500; }
.tags abbr { margin-right: 4px; text-decoration: none; color: var(--durazno-2); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; }

.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.reel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ciruela-2);
  text-align: left;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(20, 10, 16, .72)); pointer-events: none; }
.reel:hover img { transform: scale(1.05); }
.reel__brand { position: absolute; z-index: 1; left: 10px; right: 40px; bottom: 10px; font: 700 13px/1.15 var(--display); color: #fff; }
.reel__ico {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
}
.reel__ico--out { background: rgba(255, 255, 255, .9); color: var(--ciruela); }
.reels__more { grid-column: span 3; container-type: inline-size; } /* 13 reels + 3 = 4 filas completas */
/* El reel que comparte fila con la tarjeta del perfil crece con ella: sin huecos */
.reels > li:nth-last-child(2) .reel { height: 100%; }
.reels > li:nth-last-child(2) .reel img { position: absolute; inset: 0; }

/* Tarjeta del perfil de Instagram (como la captura, sin cifras, «Le siguen» ni botones:
   sin publicaciones/seguidores/seguidos para que no se quede anticuada).
   Medidas en cqw: escala con la tarjeta, como una imagen, pero nítida. */
.igp {
  display: block;
  height: 100%;
  padding: 3px;
  border-radius: 16px;
  background: var(--story);
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 22px 44px -22px rgba(10, 4, 8, .8);
  transition: transform .4s var(--ease);
}
.igp:hover { transform: translateY(-3px); }
.igp__in {
  display: grid;
  grid-template-columns: 19cqw minmax(0, 1fr);
  grid-template-areas: "foto top" "foto bio" "dest dest";
  align-content: center;
  column-gap: 5cqw;
  height: 100%;
  padding: 2.8cqw 4cqw 2.4cqw;
  border-radius: 13px;
  background: #fff;
  font-size: 1.95cqw;
  line-height: 1.32;
}
.igp__foto { grid-area: foto; align-self: center; aspect-ratio: 1; padding: .55cqw; border-radius: 50%; background: linear-gradient(45deg, #F9C33C, #F56040 35%, #E1306C 68%, #C13584); }
.igp__foto img { width: 100%; height: 100%; border: .55cqw solid #fff; border-radius: 50%; object-fit: cover; }
.igp__top { grid-area: top; display: flex; flex-direction: column; gap: .5cqw; }
.igp__user { font-size: 3.3cqw; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.igp__name { font-size: 2.05cqw; }
.igp__bio { grid-area: bio; display: flex; flex-direction: column; margin-top: 2.2cqw; }
.igp__cat { margin-bottom: .45cqw; color: #737373; }
.igp__emo { display: inline-block; width: auto; height: 1.05em; margin: 0 .08em; vertical-align: -.12em; }
.igp__emo--pin { height: 1.3em; margin: 0 .12em 0 0; vertical-align: -.28em; }
.igp__threads { display: flex; align-items: center; gap: .3em; margin-top: .45cqw; font-weight: 700; }
.igp__threads img { width: auto; height: 1.3em; }
.igp__dest { grid-area: dest; display: flex; justify-content: space-between; gap: 1.6cqw; margin-top: 2.6cqw; padding-inline: .8cqw; overflow: hidden; }
.igp__dest > span { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1cqw; width: 11cqw; padding-top: .4cqw; font-size: 1.75cqw; font-weight: 700; line-height: 1.2; }
.igp__dest img { width: 9cqw; height: 9cqw; border: .5cqw solid #fff; border-radius: 50%; box-shadow: 0 0 0 .3cqw #DBDBDB; object-fit: cover; }
.igp__dest i { max-width: 100%; overflow: hidden; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

/* En la tarjeta estrecha del móvil, como en la app: foto y nombre arriba, la bio debajo */
@container (max-width: 460px) {
  .igp__in {
    grid-template-columns: min(23cqw, 76px) minmax(0, 1fr);
    grid-template-areas: "foto top" "bio bio" "dest dest";
    column-gap: min(4cqw, 14px);
    padding: min(5cqw, 18px) min(5cqw, 18px) min(4cqw, 14px);
    font-size: min(4.4cqw, 13px);
    line-height: 1.34;
  }
  .igp__foto { padding: min(1.1cqw, 4px); }
  .igp__foto img { border-width: min(1cqw, 3.5px); }
  .igp__top { justify-content: center; gap: min(.8cqw, 3px); }
  .igp__user { font-size: min(6.4cqw, 19px); }
  .igp__name { font-size: min(4.6cqw, 14px); }
  .igp__bio { margin-top: min(3.8cqw, 14px); }
  .igp__cat { margin-bottom: min(.6cqw, 2px); }
  .igp__threads { margin-top: min(.8cqw, 3px); }
  .igp__dest { justify-content: flex-start; gap: min(2.6cqw, 9px); margin: min(4.2cqw, 15px) calc(-1 * min(5cqw, 18px)) 0 0; padding-inline: min(.8cqw, 3px) 0; }
  .igp__dest > span { width: min(17cqw, 60px); gap: min(1.6cqw, 6px); padding-top: min(.8cqw, 3px); font-size: min(3.5cqw, 11.5px); }
  .igp__dest img { width: min(15.4cqw, 54px); height: min(15.4cqw, 54px); border-width: min(1cqw, 3.5px); box-shadow: 0 0 0 min(.7cqw, 2.5px) #DBDBDB; }
}
.community__hint { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; max-width: var(--maxw); margin: 14px auto 0; color: rgba(255, 246, 241, .6); font-size: 12.5px; }
.community__hint span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 6 · Paquetes (tarjetas deslizables) ---------- */
.packs { padding: var(--sec) 0; }
.packs__head { padding: 0 var(--gutter); }
.packs__rail { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 40px auto 0; }
.packs__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--gutter);
}
.pack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 0 var(--linea), 0 30px 50px -40px rgba(43, 26, 35, .55);
}
.pack__tag { align-self: start; padding: 6px 11px; border-radius: 999px; background: var(--rosa); font: 700 11.5px/1 var(--sans); letter-spacing: .04em; }
.pack h3 { margin-top: 16px; font: 800 clamp(24px, 2.2vw, 30px)/1.02 var(--display); letter-spacing: -.03em; }
.pack__for { margin-top: 10px; color: var(--ciruela-2); font-size: 15px; }
.pack__list { display: grid; gap: 8px; margin: 18px 0 22px; font-size: 14.5px; }
.pack__list li { position: relative; padding-left: 22px; }
.pack__list li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 10px; height: 10px; border-radius: 3px; background: var(--coral); rotate: 45deg; scale: .7; }
.pack__price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--durazno-2); color: var(--gris); font-size: 13.5px; font-weight: 500; }
.pack__btn {
  min-height: 48px;
  margin-top: 12px;
  border-radius: 16px;
  background: var(--ciruela);
  color: var(--nata);
  font-weight: 700;
  transition: transform .3s var(--ease), background .25s;
}
.pack__btn:hover { transform: translateY(-2px); background: var(--coral); }
.pack--star { background: var(--coral) var(--grano-claro); color: #fff; }
.pack--star .pack__tag { background: rgba(255, 255, 255, .22); color: #fff; }
.pack--star .pack__for, .pack--star .pack__price { color: rgba(255, 255, 255, .88); }
.pack--star .pack__list li::before { background: #fff; }
.pack--star .pack__price { border-color: rgba(255, 255, 255, .4); }
.pack--star .pack__btn { background: #fff; color: var(--ciruela); }
.pack--star .pack__btn:hover { background: var(--ciruela); color: var(--nata); }
.pack--soft { background: var(--rosa); box-shadow: none; }
.pack--soft .pack__tag { background: #fff; }
.pack.is-chosen { outline: 3px solid var(--ciruela); outline-offset: 3px; }
.packs__swipe { display: none; }

/* ---------- 7 · Cómo trabajamos (barras de story) ---------- */
.steps { padding: var(--sec) var(--gutter); background: var(--rosa) var(--grano); }
.steps__head { max-width: var(--maxw); margin: 0 auto; }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: var(--maxw); margin: 40px auto 0; }
.steps__list li { min-width: 0; }
.steps__bar { display: block; height: 4px; border-radius: 4px; background: rgba(43, 26, 35, .14); overflow: hidden; }
.steps__bar b { display: block; height: 100%; background: var(--coral); transform-origin: left; }
.js .steps__list:not(.is-visible) .steps__bar b { transform: scaleX(0); }
.js .steps__list .steps__bar b { transition: transform .9s linear; }
.js .steps__list li:nth-child(2) .steps__bar b { transition-delay: .9s; }
.js .steps__list li:nth-child(3) .steps__bar b { transition-delay: 1.8s; }
.js .steps__list li:nth-child(4) .steps__bar b { transition-delay: 2.7s; }
.steps__n { display: block; margin-top: 18px; font: 800 clamp(44px, 4.6vw, 64px)/.9 var(--display); letter-spacing: -.04em; color: var(--coral); }
.steps__list h3 { margin-top: 10px; font: 800 21px/1.15 var(--display); letter-spacing: -.02em; }
.steps__list p { margin-top: 6px; color: var(--ciruela-2); font-size: 15px; }
.steps__note { max-width: var(--maxw); margin: 32px auto 0; text-align: right; rotate: -1.5deg; }

/* ---------- 8 · Preguntas rápidas (como mensajes) ---------- */
.faq { padding: var(--sec) var(--gutter); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 24px clamp(32px, 5vw, 80px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.faq__head { position: sticky; top: 96px; }
.faq__list { display: grid; gap: 12px; padding: 20px; border-radius: 30px; background: #fff; box-shadow: 0 40px 70px -46px rgba(43, 26, 35, .5); }
.faq .faq__list details p { background: var(--rosa); box-shadow: none; }
.faq__more { margin-top: 18px; color: var(--ciruela-2); }
.faq__more button { color: var(--coral-osc); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.faq details { display: grid; }
.faq summary {
  justify-self: end;
  max-width: 88%;
  padding: 13px 44px 13px 18px;
  border-radius: 22px 22px 6px 22px;
  background: var(--ciruela);
  color: var(--nata);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  position: relative;
  transition: background .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; translate: 0 -70%; rotate: 45deg; transition: rotate .3s var(--ease), translate .3s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq summary:hover { background: var(--ciruela-2); }
.faq details p {
  justify-self: start;
  max-width: 88%;
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 22px 22px 22px 6px;
  background: #fff;
  font-size: 15.5px;
  line-height: 1.5;
  box-shadow: 0 16px 30px -26px rgba(43, 26, 35, .5);
}
.faq details[open] p { animation: llega .45s var(--ease); }
@keyframes llega { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ---------- 9 · Contacto ---------- */
.contact { padding: 0 var(--gutter) var(--sec); }
.contact__card {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 40px;
  background: var(--coral) var(--grano-claro);
  color: #fff;
}
.contact__photo { position: relative; min-height: 100%; }
.contact__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact__body { padding: clamp(32px, 5vw, 72px); }
.contact__lead { max-width: 42ch; margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, .9); }
.contact__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.contact__btns a, .sheet a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ciruela);
  font: 700 clamp(16px, 1.4vw, 18px)/1.2 var(--display);
  transition: transform .3s var(--ease);
}
.contact__btns a > span, .sheet a > span { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.contact__btns a > svg, .sheet a > svg { font-size: 24px; color: var(--coral); }
.contact__btns a:hover { transform: translateY(-3px); }
.contact__btns small, .sheet small { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.contact__copy { margin-top: 12px; padding: 10px 2px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.brief { margin-top: 24px; padding: 14px 16px 16px; border-radius: 20px; background: rgba(43, 26, 35, .22); }
.brief[hidden] { display: none; }
.brief__k { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--durazno); }
.brief__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.brief__list li { padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--ciruela); font-size: 13px; font-weight: 700; }
.brief__list li.is-forma { background: var(--ciruela); color: var(--nata); }
.brief__clear { margin-top: 10px; color: rgba(255, 255, 255, .85); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.brief--sheet { margin-top: 0; background: var(--rosa); }
.brief--sheet .brief__k { color: var(--coral-osc); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 24px var(--gutter) 28px; background: var(--ciruela); color: rgba(255, 246, 241, .7); font-size: 13px; }
.foot b { color: var(--nata); font-family: var(--display); }
.foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barra rápida (solo móvil) ---------- */
.dock { display: none; }

/* ---------- Hoja de contacto ---------- */
.sheet {
  width: min(100%, 460px);
  max-width: 100%;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: var(--nata);
  color: var(--ciruela);
}
@media (min-width: 761px) { .sheet { margin: auto; border-radius: 28px; } }
.sheet::backdrop { background: rgba(43, 26, 35, .45); backdrop-filter: blur(4px); }
.sheet[open] { animation: sube .45s var(--ease); }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
.sheet__inner { display: grid; gap: 10px; padding: 14px 20px calc(22px + env(safe-area-inset-bottom)); }
.sheet__grab { justify-self: center; width: 42px; height: 5px; margin-bottom: 6px; border-radius: 9px; background: var(--linea); }
.sheet h2 { margin-bottom: 4px; font: 800 24px/1.1 var(--display); }
.sheet__copy, .sheet__close { min-height: 50px; border-radius: 16px; font-weight: 700; }
.sheet__copy { background: var(--ciruela); color: var(--nata); }
.sheet__close { color: var(--gris); }

/* ---------- Visor tipo stories ---------- */
.viewer {
  width: 100vw;
  height: 100svh;
  max-width: 100vw;
  max-height: 100svh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
}
.viewer::backdrop { background: #000; }
.viewer video { width: 100%; height: 100%; object-fit: contain; }
.viewer__bars { position: absolute; z-index: 2; inset: calc(12px + env(safe-area-inset-top)) 12px auto; display: flex; gap: 4px; }
.viewer__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.viewer__bars i b { display: block; width: 0; height: 100%; background: #fff; }
.viewer__meta { position: absolute; z-index: 2; left: 16px; top: calc(26px + env(safe-area-inset-top)); display: grid; font-size: 13px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.viewer__meta b { font: 700 16px/1.2 var(--display); }
.viewer__nav { position: absolute; z-index: 1; top: 0; bottom: 0; width: 30%; }
.viewer__nav--prev { left: 0; }
.viewer__nav--next { right: 0; }
.viewer__close { position: absolute; z-index: 3; right: 12px; top: calc(22px + env(safe-area-inset-top)); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 26px; line-height: 1; }
.viewer__sound { position: absolute; z-index: 3; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); translate: -50% 0; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ciruela); font-weight: 700; }
.viewer__sound[hidden] { display: none; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tableta ---------- */
@media (max-width: 1080px) {
  .packs__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community__wrap { grid-template-columns: minmax(0, 1fr); }
  .insights { position: static; max-width: 560px; }
  .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 28px; padding-bottom: 36px; }
  .hero::before { right: -20%; top: 22%; width: 110%; }
  .feed { margin-inline: calc(var(--gutter) * -1); }
  .feed__track {
    justify-content: flex-start;
    gap: 12px;
    height: auto;
    padding: 6px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .feed__track::-webkit-scrollbar, .packs__track::-webkit-scrollbar { display: none; }
  .phone + .phone { margin-left: 0; }
  .phone, .phone:nth-child(n), .phone:nth-child(n):hover { width: 58vw; max-width: 260px; transform: none; scroll-snap-align: center; }
  .feed__hint { position: static; margin: 0 var(--gutter); text-align: right; font-size: 21px; }
  .hello { grid-template-columns: minmax(0, 1fr); }
  .hello__photo { max-width: 420px; justify-self: center; width: 86%; }
  .types__head, .packs__head { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .pack { flex: none; width: min(78vw, 340px); scroll-snap-align: start; }
  .packs__swipe { display: block; margin: 8px var(--gutter) 0; text-align: right; font-size: 22px; }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .contact__card { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .faq__list { padding: 14px; }
  .contact__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .contact__photo img { object-position: 50% 68%; }
}

@media (max-width: 760px) {
  .top__nav a { display: none; }
  .top__btn { display: none; }
  .hero__title { font-size: clamp(56px, 17vw, 84px); }
  .quick { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
  .quick__btn { justify-content: center; padding: 0 8px; font-size: 14px; }
  .types { border-radius: 30px 30px 0 0; }
  .card__media { border-radius: 20px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 13.5px; }
  .card__num { left: 8px; top: 8px; width: 30px; height: 30px; font-size: 12px; }
  .card__play, .card__go { right: 8px; bottom: 8px; padding: 7px 9px; font-size: 10.5px; gap: 4px; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__brand { align-self: start; font-size: 11px; }
  .pick { justify-content: center; min-height: 40px; }
  .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reels__more { grid-column: span 2; }
  .reel { border-radius: 12px; }
  .reel__brand { left: 7px; right: 30px; bottom: 7px; font-size: 11px; }
  .reel__ico { right: 5px; bottom: 5px; width: 22px; height: 22px; font-size: 11px; }
  .insights__big dd { font-size: 32px; }
  .steps__list { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .steps__n { display: inline-block; margin-top: 14px; font-size: 40px; }
  .steps__list h3 { display: inline-block; margin-left: 10px; vertical-align: 6px; }
  .faq summary, .faq details p { max-width: 94%; font-size: 15px; }
  .contact__card { border-radius: 30px; }
  .contact__btns { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed;
    z-index: 45;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    padding: 6px;
    border-radius: 22px;
    background: rgba(43, 26, 35, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -16px rgba(43, 26, 35, .7);
    transform: translateY(160%);
    transition: transform .5s var(--ease);
  }
  .dock-on .dock { transform: none; }
  .dock a, .dock button { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 16px; color: var(--nata); font-weight: 700; font-size: 14px; }
  .dock a:first-child { background: var(--coral); color: #fff; }
  .dock .badge { margin-left: 5px; }
}

@media (max-width: 370px) {
  .grid { gap: 10px; }
  .pick span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
