/* Nukleo — panel "Gestión de redes sociales" (puerta de entrada, #gate-panel-social)

   Pantalla completa con su propio scroll (la puerta bloquea el de la página), en ROSA (petición
   del usuario): fondo rosa pálido, rosa fuerte de acento, tinta berenjena casi negra.
   Izquierda: "Redes sociales." en vertical, pegado al borde y fijo (sticky), más largo que la
   pantalla: sube con el scroll del panel (--p y --travel, social.js) hasta verse entero.
   Derecha: primero cinco iPhone 17 en carrusel (el del centro delante; dos a cada lado girados
   hacia él), que cambian solos; en sus pantallas, cifras reales y animaciones (sin vídeos aún).
   Debajo, "Por qué importa": la importancia de las redes hoy. */

.gate__panel.soc {
  --soc-bg: #fff0f6;
  --soc-pink: #ff2e88;
  --soc-pink-deep: #d6146b;
  --soc-blush: #ffd3e6;
  --soc-ink: #1d0812;
  --soc-soft: rgba(29, 8, 18, 0.64);
  --soc-line: rgba(214, 20, 107, 0.2);
  --soc-rs: #ff4b3e;
  --soc-pad: clamp(1rem, 2.5vw, 2.5rem);
  /* la palabra vertical: su cuerpo marca el ancho de su columna */
  --word-fs: min(26vh, 30vw, 17rem);
  /* el móvil: su alto sale del hueco que dejan la barra y el pie; el ancho, de su proporción */
  --pw: clamp(8.5rem, calc((100dvh - 13rem) * 0.4842), 20rem);

  position: fixed;
  inset: 0;
  z-index: 5;
  width: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--soc-bg);
  color: var(--soc-ink);
  font-family: var(--font-display);
  animation: soc-in 800ms var(--ease-out-expo) both;
}

@keyframes soc-in {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.soc ::selection {
  background: var(--soc-pink);
  color: #fff;
}

.soc__layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

/* ---------- La palabra vertical ---------- */

.soc__word {
  position: sticky;
  top: 0;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--soc-line);
  color: var(--soc-pink);
}

.soc__word-in {
  display: block;
  padding-block: clamp(1rem, 3vh, 2rem);
  writing-mode: vertical-rl;
  font-size: var(--word-fs);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transform: translateY(calc(var(--p, 0) * var(--travel, 0px) * -1));
  will-change: transform;
}

.soc__dot {
  color: var(--soc-ink);
}

/* ---------- Columna derecha ---------- */

.soc__main {
  min-width: 0;
}

.soc__hero {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100dvh;
  padding: calc(var(--soc-pad) + var(--sa-t)) var(--soc-pad) calc(var(--soc-pad) + var(--sa-b));
}

.soc__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.soc__back {
  margin: 0;
  color: var(--soc-ink);
}

.soc__lockup {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  margin: 0;
  font-size: clamp(1.3rem, 0.8rem + 1.6vw, 2.6rem);
  line-height: 1;
  white-space: nowrap;
}

.soc__lockup-nk {
  font-weight: 700;
  letter-spacing: -0.04em;
}

.soc__lockup-nk span {
  color: var(--soc-pink);
}

.soc__lockup-x {
  font-size: 0.7em;
  font-weight: 300;
  opacity: 0.45;
}

.soc__lockup-rs {
  color: var(--soc-rs);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-synthesis: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.02em;
}

/* ---------- El carrusel de móviles ---------- */

.soc__carousel {
  position: relative;
  min-height: 0;
  overflow-x: clip;
  outline: none;
}

/* un halo rosa detrás del de delante */
.soc__carousel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--pw) * 3.2);
  height: calc(var(--pw) * 1.6);
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 46, 136, 0.28), transparent);
  filter: blur(20px);
  pointer-events: none;
}

.soc__phones {
  position: relative;
  height: 100%;
  perspective: 1400px;
}

.soc__phone {
  --o: 0;
  --s: 1;
  --ry: 0deg;
  --z: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--pw);
  margin: 0;
  transform: translate(-50%, -50%) translateX(calc(var(--o) * var(--pw) * 0.8)) translateZ(var(--z)) rotateY(var(--ry))
    scale(var(--s));
  transition: transform 700ms var(--ease-out-expo), opacity 500ms ease, filter 500ms ease;
  user-select: none;
  container-type: inline-size;
}

.soc__phone.is-center {
  --z: 60px;
  z-index: 5;
}

/* sombra en el suelo del de delante */
.soc__phone::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -5%;
  height: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 18, 66, 0.4), transparent);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.soc__phone.is-center::after {
  opacity: 1;
}

.soc__phone.is-near {
  --s: 0.8;
  --z: -40px;
  --ry: calc(var(--o) * -16deg);
  z-index: 4;
  filter: brightness(0.95);
  cursor: pointer;
}

.soc__phone.is-far {
  --s: 0.64;
  --z: -120px;
  --ry: calc(var(--o) * -12deg);
  z-index: 3;
  opacity: 0.6;
  filter: saturate(0.85);
  cursor: pointer;
}

.soc__phone.is-near:hover,
.soc__phone.is-far:hover {
  filter: none;
  opacity: 1;
}

/* el que da la vuelta (de un extremo al otro) no cruza por delante: salta invisible y aparece */
.soc__phone.is-jump {
  opacity: 0;
  transition: none;
}

.soc__frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* la pantalla: el hueco medido en el recorte (tools/cut-iphone.py); sus medidas internas van en
   cqi (el ancho del móvil, que es el contenedor: .soc__phone), así todo escala con él */
.soc__screen {
  position: absolute;
  z-index: 1;
  inset: 1.69% 4.14%;
  overflow: hidden;
  border-radius: 12% / 5.6%;
  background: linear-gradient(165deg, var(--s1), var(--s2));
  color: #fff;
}

.soc__screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* barras de "historia" arriba: la primera se llena en el de delante */
.soc__story {
  position: absolute;
  top: 15cqi;
  left: 7cqi;
  right: 7cqi;
  display: flex;
  gap: 2cqi;
}

.soc__story i {
  flex: 1;
  height: 1.1cqi;
  min-height: 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.soc__story i:first-child::before {
  content: "";
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.soc__phone.is-center .soc__story i:first-child::before {
  animation: soc-story var(--soc-auto, 2400ms) linear forwards;
}

@keyframes soc-story {
  to {
    transform: scaleX(1);
  }
}

/* --- cifras --- */
.soc__screen--stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 9cqi;
}

.soc__stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 2cqi;
  margin: 0;
  line-height: 0.9;
}

.soc__stat b {
  font-size: 24cqi;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.soc__stat small {
  font-size: 8cqi;
  font-weight: 600;
  opacity: 0.85;
}

.soc__stat-t {
  margin: 5cqi 0 0;
  font-size: 6.6cqi;
  font-weight: 500;
  line-height: 1.25;
}

.soc__stat-src {
  position: absolute;
  left: 9cqi;
  right: 9cqi;
  bottom: 10cqi;
  margin: 0;
  font: 500 3.6cqi/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* --- publicación de ejemplo --- */
.soc__screen--post {
  display: flex;
  flex-direction: column;
  padding: 17cqi 0 0;
  color: var(--soc-ink);
}

.soc__post-top {
  display: flex;
  align-items: center;
  gap: 3cqi;
  margin: 0;
  padding: 0 6cqi 4cqi;
  font-size: 5cqi;
}

.soc__post-top i {
  margin-left: auto;
  font-style: normal;
  opacity: 0.6;
}

.soc__post-av {
  display: grid;
  place-items: center;
  width: 10cqi;
  height: 10cqi;
  border-radius: 50%;
  background: var(--soc-pink);
  box-shadow: 0 0 0 0.8cqi #fff, 0 0 0 1.6cqi var(--soc-pink);
  color: #fff;
  font-size: 3.6cqi;
  font-weight: 700;
}

.soc__post-img {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: radial-gradient(60% 50% at 30% 30%, #ff9cc7, transparent), linear-gradient(160deg, #ff2e88, #6b1242);
}

.soc__heart {
  width: 34cqi;
  height: 34cqi;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.8 4.5c2.2 0 3.6 1.2 5.2 3 1.6-1.8 3-3 5.2-3 3.8 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.8 4.5c2.2 0 3.6 1.2 5.2 3 1.6-1.8 3-3 5.2-3 3.8 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21z'/></svg>") center / contain no-repeat;
  filter: drop-shadow(0 1cqi 3cqi rgba(107, 18, 66, 0.4));
  opacity: 0;
  transform: scale(0.2);
}

.soc__phone.is-center .soc__heart {
  animation: soc-heart 1600ms var(--ease-out-expo) 250ms infinite;
}

@keyframes soc-heart {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  25% {
    opacity: 1;
    transform: scale(1.15);
  }
  40% {
    transform: scale(0.95);
  }
  55% {
    opacity: 1;
    transform: scale(1);
  }
  85%,
  100% {
    opacity: 0;
    transform: scale(1.05) translateY(-6cqi);
  }
}

.soc__post-ic {
  display: flex;
  gap: 4cqi;
  margin: 0;
  padding: 4cqi 6cqi 2cqi;
}

.soc__post-ic span {
  width: 7cqi;
  height: 7cqi;
  background: var(--soc-ink);
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

.soc__ic-heart {
  --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.8 4.5c2.2 0 3.6 1.2 5.2 3 1.6-1.8 3-3 5.2-3 3.8 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21z'/></svg>");
}

.soc__phone.is-center .soc__ic-heart {
  background: var(--soc-pink);
}

.soc__ic-com {
  --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3C6.5 3 2 6.9 2 11.5c0 2.3 1.1 4.4 3 5.9L4 21l4.2-2c1.2.4 2.5.6 3.8.6 5.5 0 10-3.9 10-8.5S17.5 3 12 3z'/></svg>");
}

.soc__ic-send {
  --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M22 2L2 10l8 3 3 8z'/></svg>");
}

.soc__post-t {
  margin: 0;
  padding: 0 6cqi;
  font-size: 4.6cqi;
  line-height: 1.35;
}

/* --- palabras --- */
.soc__screen--words {
  display: flex;
  align-items: center;
  padding: 0 9cqi;
}

.soc__words {
  display: grid;
  gap: 1cqi;
  margin: 0;
  font-size: 17cqi;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.soc__words span {
  opacity: 0.22;
}

.soc__phone.is-center .soc__words span {
  animation: soc-word 2400ms ease infinite;
}

.soc__phone.is-center .soc__words span:nth-child(2) {
  animation-delay: 800ms;
}

.soc__phone.is-center .soc__words span:nth-child(3) {
  animation-delay: 1600ms;
}

@keyframes soc-word {
  0%,
  45% {
    opacity: 1;
    color: var(--soc-pink);
  }
  55%,
  100% {
    opacity: 0.22;
    color: #fff;
  }
}

/* ---------- Pie del carrusel ---------- */

.soc__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--soc-line);
}

.soc__text {
  max-width: 34rem;
  margin: 0;
  color: var(--soc-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.soc__cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--soc-pink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out-expo), background-color var(--duration-normal) ease;
}

.soc__cta:hover {
  background: var(--soc-ink);
  transform: translateY(-2px);
}


/* ---------- Secciones de abajo (común) ---------- */

.soc__sec {
  padding: clamp(3.5rem, 10vh, 7rem) var(--soc-pad);
  border-top: 1px solid var(--soc-line);
}

.soc__eyebrow {
  margin: 0 0 1.25rem;
  color: var(--soc-pink-deep);
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.soc__h {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.4rem, 1rem + 4.4vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.soc__h em {
  color: var(--soc-pink);
  font-style: normal;
}

.soc__lead {
  max-width: 38rem;
  margin: clamp(1.25rem, 3vh, 2rem) 0 0;
  color: var(--soc-soft);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  line-height: 1.5;
}

.soc__n {
  color: var(--soc-pink-deep);
  font: 500 0.78rem/1 var(--font-mono);
  letter-spacing: 0.08em;
}

/* (solo en sus listas: el menú de planes lleva sus propios h4 y p, plans.css) */
.soc__why-list h4,
.soc__svc h4,
.soc__steps h4 {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(1.4rem, 1rem + 1.1vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.soc__why-list p,
.soc__svc p,
.soc__steps p {
  margin: 0;
  color: var(--soc-soft);
  line-height: 1.5;
}

/* ---------- Por qué importa ---------- */

.soc__why {
  background: linear-gradient(180deg, var(--soc-bg), var(--soc-blush));
}

.soc__why-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  margin: clamp(2.5rem, 7vh, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.soc__why-list li {
  padding-top: 1.1rem;
  border-top: 2px solid var(--soc-pink);
}

/* ---------- Qué hacemos: rejilla de 6 que se invierte a rosa al señalar ---------- */

.soc__svc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2.5rem, 7vh, 4.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--soc-line);
  border-left: 1px solid var(--soc-line);
  list-style: none;
}

.soc__svc li {
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  border-right: 1px solid var(--soc-line);
  border-bottom: 1px solid var(--soc-line);
  transition: background-color 350ms ease, color 350ms ease;
}

.soc__svc li:hover {
  background: var(--soc-pink);
  color: #fff;
}

.soc__svc li:hover .soc__n,
.soc__svc li:hover p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Dónde: cinta de redes ---------- */

.soc__nets {
  overflow: hidden;
  padding: clamp(1.5rem, 4vh, 2.5rem) 0;
  background: var(--soc-pink);
  color: #fff;
}

.soc__nets-eb {
  margin: 0 var(--soc-pad) 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.soc__marquee-in {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: max-content;
  font-size: clamp(3rem, 1.5rem + 6vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  animation: soc-marquee 26s linear infinite;
}

.soc__marquee-in i {
  font-size: 0.4em;
  font-style: normal;
  opacity: 0.6;
}

/* dos copias seguidas: al llegar a la mitad vuelve a empezar sin salto */
@keyframes soc-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Cómo trabajamos: cinco pasos unidos por una línea ---------- */

.soc__how {
  background: var(--soc-blush);
}

.soc__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin: clamp(2.5rem, 7vh, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.soc__steps::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--soc-pink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1400ms var(--ease-out-expo) 200ms;
}

.soc__steps.is-in::before {
  transform: none;
}

.soc__step-dot {
  position: relative;
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  margin-bottom: 1.1rem;
  border: 2px solid var(--soc-pink);
  border-radius: 50%;
  background: var(--soc-blush);
}

.soc__steps li:hover .soc__step-dot {
  background: var(--soc-pink);
}

/* ---------- Planes: el menú de columnas común, en rosa ---------- */

.soc__price .plans-wrap {
  --plans-h: clamp(28rem, 70vh, 36rem);
  --plans-more-h: 9rem;
  --plans-soft: var(--soc-soft);
  --plans-bleed: var(--soc-pad);
  --plans-pad-x-m: var(--soc-pad);
  --plans-line: var(--soc-line);
  --plans-ink: var(--soc-ink);
  --plans-open-bg: var(--soc-pink);
  --plans-open-ink: #fff;
  --plans-num-open: var(--soc-ink);
  --plans-accent: var(--soc-ink);
  --plans-accent-ink: #fff;
  --plans-name-font: var(--font-display);
  --plans-name-weight: 700;
  --plans-name-track: -0.035em;
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
}


/* ---------- Casos: aún ninguno, una invitación ---------- */

.soc__case {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.soc__case-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.soc__case-slots span {
  aspect-ratio: 9 / 16;
  border: 2px dashed var(--soc-pink);
  border-radius: 1rem;
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 46, 136, 0.07) 12px 24px);
}

.soc__case-slots span:nth-child(2) {
  translate: 0 -1.5rem;
}

.soc__case-body .soc__cta {
  margin-top: 1.75rem;
}

/* (el cierre es el final común, .finale--soc en global.css) */

@media (max-width: 60rem) {
  .soc__svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soc__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-left: 2rem;
  }

  .soc__steps::before {
    top: 0;
    bottom: 0;
    left: 0.5rem;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: 50% 0;
  }

  .soc__step-dot {
    position: absolute;
    left: 0;
    margin: 0;
  }

  .soc__steps li {
    position: relative;
  }

  .soc__steps li .soc__step-dot {
    left: -2rem;
  }

  .soc__case {
    grid-template-columns: minmax(0, 1fr);
  }

  .soc__case-slots {
    max-width: 22rem;
  }
}

/* entradas al bajar (social.js pone .is-in) */
.soc [data-soc-rv] {
  opacity: 0;
  translate: 0 1.5rem;
  transition: opacity 800ms ease, translate 900ms var(--ease-out-expo);
  transition-delay: calc(var(--rv-i, 0) * 110ms);
}

.soc [data-soc-rv].is-in {
  opacity: 1;
  translate: none;
}

/* el robot de la puerta (z-index 110) no asoma sobre este panel; el aviso "Email copiado", sí */
.gate:has(.soc:not([hidden])) ~ .peek-bot[data-side="bc"] {
  visibility: hidden;
}

.gate:has(.soc:not([hidden])) ~ .toast {
  z-index: 120;
}

/* ---------- Móvil ---------- */

@media (max-width: 48rem), (max-height: 32rem) {
  /* En móvil (también en horizontal: poco alto) la palabra vertical se comía un cuarto de la pantalla en todo el recorrido. Ahora:
     barra fija con "Volver" arriba (siempre a mano), "Redes sociales." en horizontal a todo el
     ancho, el carrusel y el resto a pantalla completa. .soc__main y .soc__hero se "deshacen"
     (display: contents) para poder ordenar barra → título → carrusel. */
  .gate__panel.soc {
    --pw: clamp(7.5rem, calc(min(118vw, 60dvh) * 0.44), 13rem);
  }

  .soc__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .soc__main,
  .soc__hero {
    display: contents;
  }

  .soc__bar {
    order: -2;
    position: sticky;
    top: 0;
    z-index: 6;
    padding: calc(0.8rem + var(--sa-t)) var(--soc-pad) 0.8rem;
    border-bottom: 1px solid var(--soc-line);
    background: rgba(255, 240, 246, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .soc__word {
    order: -1;
    position: static;
    height: auto;
    padding: 1.4rem var(--soc-pad) 0;
    overflow: visible;
    border-right: 0;
  }

  .soc__word-in {
    padding: 0;
    writing-mode: horizontal-tb;
    font-size: min(19vw, 24dvh);
    line-height: 0.86;
    white-space: normal;
    transform: none;
    will-change: auto;
  }

  .soc__carousel {
    height: min(118vw, 60dvh);
    margin-top: 0.5rem;
  }

  .soc__foot {
    margin: 0 var(--soc-pad);
    padding-bottom: 2rem;
  }

  .soc__phone.is-far {
    opacity: 0;
    pointer-events: none;
  }

  .soc__phone {
    transform: translate(-50%, -50%) translateX(calc(var(--o) * var(--pw) * 0.58)) translateZ(var(--z)) rotateY(var(--ry))
      scale(var(--s));
  }

  .soc__lockup {
    font-size: 1.1rem;
  }

  .soc__cta {
    white-space: normal;
  }

  .soc__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .soc__text {
    font-size: 0.85rem;
  }

  .soc__why-list,
  .soc__svc {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) and (width < 0px) {
  .gate__panel.soc {
    animation: none;
  }

  .soc__phone,
  .soc [data-soc-rv] {
    transition: none;
  }

  .soc__phone.is-center .soc__heart {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .soc__phone.is-center .soc__words span,
  .soc__phone.is-center .soc__story i:first-child::before,
  .soc__marquee-in {
    animation: none;
  }

  .soc__steps::before {
    transition: none;
  }

  .soc__words span {
    opacity: 1;
  }
}
