/* ==========================================================================
   Nexmin Studio — home.css
   Secciones de la portada. Se alternan bloques de tinta (oscuro), papel
   (claro) y naranja para marcar el ritmo del scroll.
   ========================================================================== */

/* `clip` evita el scroll horizontal de la franja inclinada sin crear un
   contenedor de scroll (así `position: sticky` sigue funcionando). */
.home main {
  overflow-x: clip;
}

.home section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.paper {
  background: var(--paper);
  color: var(--ink);
  --color-text-secondary: var(--paper-muted);
}

.paper .btn--primary:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.paper .btn--ghost {
  color: var(--ink);
}

/* ---- Cabeceras grandes ---- */
.bighead {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 980px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.bighead__title {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 700;
  font-stretch: 82%;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.bighead--split {
  max-width: none;
}

@media (min-width: 960px) {
  .bighead--split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 4rem;
  }
}

.bighead__side {
  max-width: 42ch;
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hx {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding-top: calc(var(--navbar-height) + clamp(1.5rem, 4vw, 3rem)) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.hx__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hx__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hx__status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: hxBlink 1.6s steps(1) infinite;
}

@keyframes hxBlink {
  50% {
    opacity: 0.25;
  }
}

.hx__meta-right {
  color: var(--paper-muted);
}

.hx__title {
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  font-size: clamp(3.6rem, 9.2vw, 9.25rem);
  font-weight: 750;
  font-stretch: 84%;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.hx__line {
  display: block;
}

.hx__word {
  display: inline-block;
  padding-right: 0.04em;
  font-family: var(--font-serif);
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: -0.02em;
  color: var(--accent);
  transition: transform 450ms var(--ease-out), opacity 350ms var(--ease-out);
}

.hx__word.is-out {
  transform: translateY(-0.35em) rotate(-3deg);
  opacity: 0;
}

.hx__word.is-in {
  transform: translateY(0.35em) rotate(3deg);
  opacity: 0;
  transition: none;
}

.hx__dot {
  color: var(--ink);
}

/* En móvil la palabra rotatoria va en su propia línea: al cambiar de
   palabra no puede provocar saltos de línea (ni desplazamientos). */
@media (max-width: 719px) {
  .hx__title {
    font-size: clamp(3.4rem, 18.5vw, 6rem);
  }

  .hx__meta-right {
    display: none;
  }

  .hx__word {
    display: block;
    width: max-content;
  }

  .hx__word + .hx__dot {
    display: none;
  }
}

.hx__grid {
  display: grid;
  gap: 2.5rem;
  min-width: 0;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

/* Los hijos de la rejilla no pueden ensancharse por el contenido
   desplazable (pestañas del simulador): evita cortes en móvil. */
.hx__grid > * {
  min-width: 0;
}

@media (min-width: 1000px) {
  .hx__grid {
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.hx__copy {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hx__lead {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.55;
  color: #3b3833;
}

.hx__lead strong {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.hx__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hx .btn--primary:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.hx .btn--ghost {
  color: var(--ink);
}

.hx__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}

.hx__facts div {
  padding: 0.9rem 0.75rem 0 0;
}

.hx__facts div + div {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(18, 17, 16, 0.2);
}

.hx__facts dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.hx__facts dd {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: -0.03em;
}

@media (max-width: 599px) {
  .hx__actions .btn {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   SIMULADOR
   ========================================================================== */
.sim {
  --s-bg: #f6efe3;
  --s-ink: #2b1d12;
  --s-accent: #b5452a;
  --s-soft: rgba(43, 29, 18, 0.1);
  --s-font: var(--font-serif);
  --s-weight: 400;
  --s-case: none;
  --s-radius: 6px;
  position: relative;
  padding: 1.1rem;
  background: var(--ink);
  color: var(--color-text-primary);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--accent);
}

.sim__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sim__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c9c2b6;
}

.sim__tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -0.2rem;
  padding: 0.2rem;
}

.sim__tabs::-webkit-scrollbar {
  display: none;
}

.sim__tab {
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid #3a3733;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d8d1c5;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}

.sim__tab:hover {
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
}

.sim__tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.sim__stage {
  position: relative;
  padding-right: clamp(0px, 9vw, 110px);
  padding-bottom: 2.25rem;
}

.sim__browser {
  overflow: hidden;
  border-radius: 12px;
  background: var(--s-bg);
  color: var(--s-ink);
  transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out);
}

.sim__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--s-soft);
}

.sim__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
}

.sim__url {
  margin-left: 0.6rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.6875rem;
  opacity: 0.75;
}

.sim__site {
  padding: 0.9rem 1.1rem 1.1rem;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.sim.is-switching .sim__site,
.sim.is-switching .sim__phone-screen {
  opacity: 0;
  transform: translateY(8px);
}

.sim__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.sim__brand {
  font-family: var(--s-font);
  font-weight: var(--s-weight);
  text-transform: var(--s-case);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.sim__links {
  display: flex;
  gap: 8px;
}

.sim__links i {
  width: 30px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.2;
}

.sim__hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 170px;
}

.sim__kicker {
  margin-bottom: 0.4rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s-accent);
}

.sim__h {
  margin-bottom: 0.9rem;
  font-family: var(--s-font);
  font-weight: var(--s-weight);
  text-transform: var(--s-case);
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.sim__cta {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--s-radius);
  background: var(--s-accent);
  color: var(--s-bg);
  font-size: 0.75rem;
  font-weight: 700;
}

.sim__art {
  position: relative;
  height: 150px;
  border-radius: var(--s-radius);
  overflow: hidden;
  background: var(--s-soft);
}

.sim__art span {
  position: absolute;
  transition: all 600ms var(--ease-out);
}

.sim__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.sim__cards i {
  height: 46px;
  border-radius: var(--s-radius);
  background: var(--s-soft);
}

/* Móvil del simulador */
.sim__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(118px, 17vw, 168px);
  aspect-ratio: 9 / 18.5;
  padding: 6px;
  border-radius: 26px;
  background: #0a0a09;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  transform: rotate(4deg);
}

.sim__phone-screen {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 0.9rem 0.6rem 0.6rem;
  border-radius: 20px;
  background: var(--s-bg);
  color: var(--s-ink);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out),
    background-color 500ms var(--ease-out);
}

.sim__phone-brand {
  font-family: var(--s-font);
  font-weight: var(--s-weight);
  text-transform: var(--s-case);
  font-size: 0.8rem;
  text-align: center;
}

.sim__phone-art {
  flex: 1;
  border-radius: var(--s-radius);
  background: var(--s-soft);
  background-image: radial-gradient(circle at 30% 35%, var(--s-accent) 0 18%, transparent 19%),
    radial-gradient(circle at 72% 65%, var(--s-accent) 0 12%, transparent 13%);
  opacity: 0.9;
}

.sim__widget {
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.5rem;
  border-radius: var(--s-radius);
  border: 1px solid var(--s-soft);
  background: rgba(255, 255, 255, 0.35);
  font-size: 0.5625rem;
}

.sim__widget span {
  opacity: 0.7;
}

.sim__widget b {
  font-size: 0.625rem;
}

.sim__phone-call {
  padding: 0.45rem;
  border-radius: 999px;
  background: var(--s-accent);
  color: var(--s-bg);
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
}

.sim__note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #8f887c;
}

/* ---- Estilos por sector (colores, tipografía y "fotografía" abstracta) ---- */
.sim[data-sector="restaurante"] .sim__art span:nth-child(1) {
  width: 120px; height: 120px; left: 12%; top: 14%;
  border-radius: 50%;
  background: #fffaf2;
  box-shadow: inset 0 0 0 14px #ead9c2;
}
.sim[data-sector="restaurante"] .sim__art span:nth-child(2) {
  width: 46px; height: 46px; left: 62%; top: 8%;
  border-radius: 50%;
  background: #b5452a;
}
.sim[data-sector="restaurante"] .sim__art span:nth-child(3) {
  width: 70px; height: 70px; left: 58%; top: 52%;
  border-radius: 50%;
  background: #6e8a4e;
}

.sim[data-sector="clinica"] {
  --s-bg: #eef5f3;
  --s-ink: #12332f;
  --s-accent: #2f8f83;
  --s-soft: rgba(18, 51, 47, 0.1);
  --s-font: var(--font-sans);
  --s-weight: 600;
  --s-radius: 14px;
}
.sim[data-sector="clinica"] .sim__art span:nth-child(1) {
  width: 60%; height: 34px; left: 20%; top: 20%;
  border-radius: 999px; background: #2f8f83;
}
.sim[data-sector="clinica"] .sim__art span:nth-child(2) {
  width: 34px; height: 60%; left: 43%; top: 8%;
  border-radius: 999px; background: #2f8f83;
}
.sim[data-sector="clinica"] .sim__art span:nth-child(3) {
  width: 90px; height: 90px; left: 58%; top: 48%;
  border-radius: 50%; background: #bfe3dc;
}

.sim[data-sector="gimnasio"] {
  --s-bg: #121212;
  --s-ink: #f4f4f0;
  --s-accent: #d4ff3a;
  --s-soft: rgba(244, 244, 240, 0.1);
  --s-font: var(--font-display);
  --s-weight: 800;
  --s-case: uppercase;
  --s-radius: 2px;
}
.sim[data-sector="gimnasio"] .sim__cta {
  color: #121212;
}
.sim[data-sector="gimnasio"] .sim__art span:nth-child(1) {
  width: 70%; height: 16px; left: 15%; top: 45%;
  border-radius: 2px; background: #f4f4f0;
}
.sim[data-sector="gimnasio"] .sim__art span:nth-child(2) {
  width: 26px; height: 90px; left: 10%; top: 20%;
  border-radius: 2px; background: #d4ff3a;
}
.sim[data-sector="gimnasio"] .sim__art span:nth-child(3) {
  width: 26px; height: 90px; left: 76%; top: 20%;
  border-radius: 2px; background: #d4ff3a;
}

.sim[data-sector="barberia"] {
  --s-bg: #1d1a16;
  --s-ink: #efe4d2;
  --s-accent: #c9a15a;
  --s-soft: rgba(239, 228, 210, 0.1);
  --s-font: var(--font-serif);
  --s-weight: 400;
  --s-radius: 0;
}
.sim[data-sector="barberia"] .sim__cta {
  color: #1d1a16;
}
.sim[data-sector="barberia"] .sim__art span:nth-child(1) {
  width: 40px; height: 100%; left: 42%; top: 0;
  background: repeating-linear-gradient(135deg, #c9a15a 0 12px, #efe4d2 12px 24px, #8c2f2f 24px 36px, #efe4d2 36px 48px);
}
.sim[data-sector="barberia"] .sim__art span:nth-child(2) {
  width: 64px; height: 64px; left: 8%; top: 30%;
  border-radius: 50%; border: 3px solid #c9a15a;
}
.sim[data-sector="barberia"] .sim__art span:nth-child(3) {
  width: 50px; height: 50px; left: 74%; top: 55%;
  border-radius: 50%; background: #c9a15a;
}

.sim[data-sector="academia"] {
  --s-bg: #fff6d8;
  --s-ink: #1f2451;
  --s-accent: #5b3fd4;
  --s-soft: rgba(31, 36, 81, 0.1);
  --s-font: var(--font-display);
  --s-weight: 700;
  --s-radius: 18px;
}
.sim[data-sector="academia"] .sim__art span:nth-child(1) {
  width: 70px; height: 70px; left: 10%; top: 14%;
  border-radius: 18px; background: #5b3fd4;
}
.sim[data-sector="academia"] .sim__art span:nth-child(2) {
  width: 70px; height: 70px; left: 55%; top: 14%;
  border-radius: 50%; background: #ffb347;
}
.sim[data-sector="academia"] .sim__art span:nth-child(3) {
  width: 0; height: 0; left: 32%; top: 58%;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 56px solid #ff6f91;
  background: none;
}

@media (max-width: 520px) {
  .sim {
    padding: 0.85rem;
    box-shadow: 6px 6px 0 var(--accent);
  }

  .sim__hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sim__art {
    display: none;
  }

  .sim__cards {
    display: none;
  }

  .sim__stage {
    padding-right: 96px;
    padding-bottom: 1.5rem;
  }

  .sim__phone {
    width: 104px;
  }
}

/* ==========================================================================
   FRANJA DE SECTORES
   ========================================================================== */
.mq {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: -1.2rem -3vw;
  width: 106vw;
  padding-block: 1.1rem;
  background: var(--accent);
  color: var(--ink);
  transform: rotate(-1.6deg);
  border-block: 2px solid var(--ink);
}

.mq__track {
  display: flex;
  width: max-content;
  animation: mqMove 38s linear infinite;
}

.mq__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mq__track span::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  margin-inline: 0.55em;
  background: var(--ink);
  transform: rotate(45deg);
}

@keyframes mqMove {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   QUÉ CONSIGUE TU WEB
   ========================================================================== */
.jobs {
  background: var(--ink);
}

.jobs__list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .jobs__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.job {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-text-primary);
}

.job__n {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  transition: color 300ms var(--ease-out);
}

.job:hover .job__n {
  color: var(--accent);
}

.job__title {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1;
}

.job p {
  max-width: 36ch;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   PLANES
   ========================================================================== */
.plans__grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .plans__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.9rem 1.6rem 1.6rem;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 20px;
}

@media (hover: hover) {
  .plan:hover {
    transform: translate(-5px, -5px);
    box-shadow: 8px 8px 0 var(--ink);
  }
}

.plan--hot {
  background: var(--accent);
}

@media (min-width: 900px) {
  .plan--hot {
    margin-top: -1rem;
    margin-bottom: 1rem;
  }
}

.plan__badge {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan__tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--paper-muted);
}

.plan--hot .plan__tag {
  color: rgba(18, 17, 16, 0.75);
}

.plan__name {
  font-size: 2rem;
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1;
}

.plan__price {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan__price small {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
}

.plan__price--text {
  font-size: 1.9rem;
  line-height: 1.05;
  padding-block: 0.35rem;
}

.plan__time {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1.5px solid rgba(18, 17, 16, 0.2);
}

.plan__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 0.8rem;
  height: 0.45rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.plan--hot .plan__list li::before {
  border-color: var(--ink);
}

.plan__cta {
  margin-top: auto;
  width: 100%;
}

.plan--hot .btn--dark:hover {
  box-shadow: 4px 4px 0 var(--paper);
}

.care {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
  padding: 1.6rem 1.75rem;
  border-radius: 20px;
  background: var(--ink);
  color: var(--color-text-primary);
}

.care > div {
  max-width: 62ch;
}

.care__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.care__title span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.care p {
  color: #c9c2b6;
}

.care .btn--dark {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.care .btn--dark:hover {
  box-shadow: 4px 4px 0 var(--paper);
}

.always {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.always li {
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.always li:first-child {
  border-color: transparent;
  padding-left: 0;
  font-weight: 800;
}

/* ==========================================================================
   PROCESO — tarjetas que se apilan al hacer scroll (CSS sticky)
   ========================================================================== */
.proc {
  background: var(--ink);
}

.proc__wrap {
  display: grid;
  gap: 3rem;
}

.proc__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.proc__steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 230px;
  padding: 2rem 1.75rem;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 22px;
}

.step__day {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.step h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  font-stretch: 82%;
  line-height: 1;
}

.step p {
  max-width: 44ch;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
}

.step--last {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.step--last .step__day,
.step--last p {
  color: var(--ink);
}

@media (min-width: 960px) {
  .proc__wrap {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }

  .proc__head {
    position: sticky;
    top: calc(var(--navbar-height) + 3rem);
  }

  .step {
    position: sticky;
    min-height: 280px;
    box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.9);
  }

  .step:nth-child(1) { top: calc(var(--navbar-height) + 2rem); }
  .step:nth-child(2) { top: calc(var(--navbar-height) + 3.25rem); }
  .step:nth-child(3) { top: calc(var(--navbar-height) + 4.5rem); }
  .step:nth-child(4) { top: calc(var(--navbar-height) + 5.75rem); }

  .proc__steps {
    gap: 2.5rem;
    padding-bottom: 2rem;
  }
}

/* ==========================================================================
   ESTUDIO
   ========================================================================== */
.studio__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .studio__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.studio__hello {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.studio__big {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 10vw, 9rem);
  font-weight: 750;
  font-stretch: 84%;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.studio__big em {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.studio__text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #3b3833;
}

.promises {
  display: flex;
  flex-direction: column;
  margin-block: 0.75rem;
  border-top: 2px solid var(--ink);
}

.promises li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(18, 17, 16, 0.2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  font-stretch: 90%;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.promises b {
  font-weight: 800;
}

.studio__sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink);
}

/* ==========================================================================
   PREGUNTAS
   ========================================================================== */
.faq {
  background: var(--ink);
}

.faq__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }

  .faq__head {
    position: sticky;
    top: calc(var(--navbar-height) + 3rem);
  }
}

.faq__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq__list details {
  border-top: 1px solid var(--ink-line);
}

.faq__list details:last-child {
  border-bottom: 1px solid var(--ink-line);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  transition: color 200ms;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--ink-line);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 300ms var(--ease-out), background-color 200ms, border-color 200ms;
}

.faq__list summary:hover {
  color: var(--accent);
}

.faq__list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.faq__list details p {
  max-width: 60ch;
  padding-bottom: 1.5rem;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  animation: faqIn 400ms var(--ease-out);
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.cta-block {
  background: var(--accent);
  color: var(--ink);
}

.cta-block__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .cta-block__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
    align-items: start;
  }

  .cta-block__copy {
    position: sticky;
    top: calc(var(--navbar-height) + 3rem);
  }
}

.cta-block__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-block__title {
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.cta-block__text {
  max-width: 34ch;
  font-size: 1.25rem;
  line-height: 1.5;
}

.cta-block__mail {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  border-bottom: 3px solid var(--ink);
  transition: color 200ms;
  overflow-wrap: anywhere;
}

.cta-block__mail:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.cta-block .contact-form {
  background: var(--ink);
  color: var(--color-text-primary);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--ink-2);
}

.cta-block .contact-form a {
  color: var(--accent);
}

/* ==========================================================================
   Movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mq__track,
  .hx__status i {
    animation: none;
  }

  .plan:hover {
    transform: none;
  }
}

/* ==========================================================================
   PÁGINAS INTERIORES (servicios, estudio)
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.phero {
  background: var(--paper);
  color: var(--ink);
  padding-top: calc(var(--navbar-height) + clamp(2.5rem, 6vw, 5rem)) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
  border-bottom: 2px solid var(--ink);
}

.phero .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.phero__title {
  max-width: 14ch;
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  font-weight: 750;
  font-stretch: 84%;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.phero__lead {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.55;
  color: #3b3833;
}

.phero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.phero__jump a {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 200ms, color 200ms;
}

.phero__jump a:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---- Detalle de plan ---- */
.pd--ink {
  background: var(--ink);
}

.pd--accent {
  background: var(--accent);
  color: var(--ink);
  --color-text-secondary: rgba(18, 17, 16, 0.75);
}

.pd--paper {
  background: var(--paper);
  color: var(--ink);
  --color-text-secondary: var(--paper-muted);
}

.pd__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .pd__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .pd__head {
    position: sticky;
    top: calc(var(--navbar-height) + 3rem);
  }
}

.pd__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.pd__name {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 750;
  font-stretch: 82%;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.pd__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  font-stretch: 80%;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pd__price small {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
}

.pd__price--sm {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.pd__time {
  padding: 0.3rem 0.75rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.pd__ideal,
.pd__need {
  max-width: 46ch;
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
}

.pd__ideal b,
.pd__need b {
  color: inherit;
  font-weight: 700;
}

.pd--ink .pd__ideal b,
.pd--ink .pd__need b {
  color: var(--color-text-primary);
}

.pd__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.pd__sub {
  font-size: 1.5rem;
  font-weight: 700;
}

.pd__body .plan__list {
  width: 100%;
  margin: 0;
  border-top-color: currentColor;
}

.pd__body .plan__list li {
  padding-block: 0.35rem;
  font-size: 1.0625rem;
}

.pd--accent .plan__list li::before {
  border-color: var(--ink);
}

.pd--accent .btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pd--accent .btn--primary:hover {
  box-shadow: 4px 4px 0 var(--paper);
}

.pd--paper .btn--primary:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---- Tabla comparativa ---- */
.cmp__scroll {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--paper-2);
}

.cmp__table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.cmp__table th,
.cmp__table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(18, 17, 16, 0.15);
  text-align: center;
}

.cmp__table tbody th {
  text-align: left;
  font-weight: 500;
}

.cmp__table thead th {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 85%;
  border-bottom: 2px solid var(--ink);
}

.cmp__table tr:last-child th,
.cmp__table tr:last-child td {
  border-bottom: 0;
  font-weight: 700;
}

.cmp__hot {
  background: var(--accent);
}

.cmp__yes {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.cmp__no {
  color: rgba(18, 17, 16, 0.3);
}

/* ---- Texto largo (estudio) ---- */
.essay {
  background: var(--ink);
}

.essay__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .essay__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.essay__block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.essay__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  font-stretch: 84%;
  line-height: 0.98;
  margin-bottom: 0.5rem;
}

.essay__block p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ---- Llamada final corta ---- */
.cta-block__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 4rem;
}

.cta-block__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.cta-block .btn--dark:hover {
  box-shadow: 4px 4px 0 var(--paper);
}

.cta-block--page {
  padding-top: calc(var(--navbar-height) + clamp(2.5rem, 6vw, 5rem)) !important;
}

.cta-block__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
}

.cta-block__meta li::before {
  content: "→ ";
}

/* Sobre fondo naranja, el cuadrado de la etiqueta pasa a tinta. */
.pd--accent .kicker::before,
.cta-block .kicker::before,
.plan--hot .kicker::before {
  background: var(--ink);
}

/* Segundo bloque de extras (Alojamiento y dominios) bajo Cuidado mensual. */
.care--line {
  margin-top: 1rem;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.care--line p {
  color: var(--paper-muted);
}

.care--line .btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.care--line .btn--dark:hover {
  box-shadow: 4px 4px 0 var(--accent);
}

.cmp--sep {
  border-top: 2px solid var(--ink);
}
