/* =========================================================
   BORDADOS RAMÍREZ — ESTILOS ESPECÍFICOS: PRODUCTOS
   (solo reglas propias de la página + overrides intencionales)
   ========================================================= */

.block-label {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  opacity: 0.6;
  z-index: 10;
}

/* Override intencional respecto a styles.css */
h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 74px);
  line-height: .95;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  max-width: 780px;
  font-weight: 900;
}

/* BOTONES
   Override intencional: en esta página el relleno es cyan (#00B4D8)
   y no el negro de styles.css. */
.btn.primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}

.btn.primary:hover {
  background: transparent;
  color: var(--cyan);
}

/* El secundario conserva el trazo negro en reposo, pero al rellenarse
   acompaña al primario en vez de volver al negro. */
.btn.secondary:hover {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  /* Mismo crema que el fondo de la foto: sin este empalme se ve una
     línea vertical donde termina la columna de texto. */
  background: var(--hero-cream);
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 96px 0;

  /* Crema del fondo de bg-hero-productos.webp */
  --hero-cream: #F6EEE9;
  /* Ancho de la columna de texto */
  --hero-text: clamp(400px, 42vw, 560px);
  /* Aire entre el texto y el borde izquierdo de la foto */
  --hero-gap: 32px;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: var(--hero-text);
}

.hero-content .eyebrow {
  color: var(--cyan);
}

/* El guion hereda el color del label en vez del gris de styles.css */
.hero-content .eyebrow::before {
  background: currentColor;
}

/* Imagen de fondo pegada al borde derecho del viewport.
   Va con ancho explícito y sin `left`: <img> es un elemento reemplazado,
   así que con `width: auto` el navegador toma su tamaño intrínseco e
   ignora el `right`, dejando un hueco a la derecha.
   Ancho = todo lo que sobra a la derecha del texto:
   ancho del hero − gutter del container − columna de texto − aire. */
.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: calc(
    100% - (100% - min(var(--container), 100% - 40px)) / 2
    - var(--hero-text) - var(--hero-gap)
  );
  height: 100%;
  object-fit: cover;
  /* El archivo es casi cuadrado (1008x1024) y la composición está
     centrada: el panel tiene una proporción parecida, así que apenas
     recorta. */
  object-position: center;
  /* Fundido del borde izquierdo contra el fondo del hero: la foto no
     tiene un crema perfectamente plano (cae algo de luz de arriba a
     abajo), así que además del color de fondo se difumina el canto. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 90px);
  mask-image: linear-gradient(to right, transparent 0, #000 90px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  font-weight: 900;
  display: block;
  color: var(--black);
}

/* Tres diferenciales con icono, al pie del hero */
.hero-features {
  display: flex;
  align-items: center;
  list-style: none;
  margin-top: 44px;
  padding: 0;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: clamp(16px, 2.4vw, 30px);
  font-size: 14px;
  line-height: 1.3;
  color: var(--black);
}

.hero-features li + li {
  padding-left: clamp(16px, 2.4vw, 30px);
  border-left: 1px solid var(--gray-300);
}

.hero-features li:last-child {
  padding-right: 0;
}

.hero-features svg {
  width: 30px;
  height: 30px;
  flex: none;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Fuerza el quiebre en dos líneas, como en el diseño */
.hero-features span {
  max-width: 12ch;
}

/* ACLARACIÓN BLOQUE */
.clarification-block {
  background: var(--black);
  padding: 80px 0;
}

.clarification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.clarification-content {
  max-width: 480px;
}

.clarification-content .eyebrow {
  color: var(--cyan);
}

.clarification-content .eyebrow::before {
  background: var(--cyan);
}

.clarification-content h2 {
  color: var(--white);
  line-height: 0.98;
  margin-bottom: 24px;
}

.clarification-content h2 em {
  color: var(--cyan);
  font-style: italic;
  font-weight: 400;
}

.clarification-content > p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.85;
  font-weight: 400;
}

.clarification-aside {
  max-width: 480px;
}

.clarification-aside > p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.85;
  font-weight: 400;
  margin-bottom: 32px;
}

.clarification-note {
  padding: 24px;
  padding-left: 28px;
  border-left: 3px solid var(--magenta);
  background: transparent;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.85;
}

.clarification-note a {
  color: var(--magenta);
  text-decoration: underline;
  font-weight: 600;
}

.clarification-note a:hover {
  opacity: 0.8;
}

/* PRODUCTOS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-image {
  min-height: 240px;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
}

.product-content {
  padding: 24px;
}

.product-content h3 {
  margin-bottom: 12px;
}

.product-content p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--gray);
  font-weight: 400;
}

.product-link {
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.product-link:hover {
  gap: 10px;
}

.product-link::after {
  content: "→";
  font-weight: 700;
}

/* GALERÍA GRID */
.gallery-section {
  background: var(--gray-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-200);
  border: 2px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  padding: 12px;
}

/* DIFERENCIALES */
.diferentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.differential-item {
  text-align: center;
}

.differential-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-600);
}

.differential-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--black);
}

.differential-item p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--gray);
  font-weight: 400;
}

/* ASESORAMIENTO */
.advisory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.advisory-content {
  max-width: 520px;
}

.advisory-content h2 em {
  font-style: italic;
  font-weight: 400;
}

.advisory-content > p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  font-weight: 400;
  margin-bottom: 32px;
}

.advisory-visual {
  min-height: 400px;
}

.advisory-list {
  list-style: none;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}

.advisory-list li {
  position: relative;
  padding-left: 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-300);
}

.advisory-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.advisory-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--magenta);
  font-weight: 600;
  font-size: 18px;
}

.check-list {
  list-style: none;
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.check-list li::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--gray-400);
  border-radius: 4px;
}

/* SPLIT LAYOUT */
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.check-list li {
  list-style: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  margin-top: 7px;
  flex: 0 0 10px;
}

.carousel-wire {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 18px;
  overflow: hidden;
  padding-bottom: 8px;
}

.carousel-wire .placeholder {
  min-height: 420px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: background 0.3s ease, width 0.3s ease;
}

.carousel-dot.active {
  background: var(--magenta);
  width: 28px;
  border-radius: 5px;
}

/* PROCESS ROADMAP */
.differential-section {
  padding: 96px 0;
  background: var(--white);
}

.process-roadmap {
  margin-top: 56px;
  position: relative;
  padding: 40px 0;
}

.process-path {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.process-path svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.step {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 160px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: scale(1);
}

.step:nth-child(odd) {
  margin-top: -80px;
}

.step:nth-child(even) {
  margin-top: 80px;
}

.step-number-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gray-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.step-number::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
}

.step.visible .step-number::before {
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.step-content {
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step.visible .step-content {
  border-color: var(--gray-400);
}

.step:hover .step-content {
  transform: translateY(-6px);
  border-color: var(--gray-500);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.step-content h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.step-content p {
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
}

/* CTA FINAL */
.cta-section {
  padding: 80px 0;
  background: var(--magenta);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-section .eyebrow {
  color: var(--white);
  opacity: 0.7;
}

.cta-section .eyebrow::before {
  background: var(--white);
  opacity: 0.7;
}

/* INTRO CENTER */
.intro-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.intro-center .eyebrow {
  display: inline-flex;
  margin: 0 auto 24px;
}

.intro-center h2 {
  margin: 0 auto;
}

.intro-center h2 em {
  font-style: italic;
  font-weight: 400;
}

.intro-center p {
  margin: 18px auto 0;
}

/* INTRO LEFT */
.intro-left {
  text-align: left;
  max-width: 720px;
  margin: 0 0 64px 0;
}

.intro-left h2 {
  margin: 0;
}

.intro-left h2 em {
  font-style: italic;
  font-weight: 400;
}

/* INTRO SPLIT */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.intro-split h2 {
  max-width: 480px;
}

.intro-split h2 em {
  font-style: italic;
  font-weight: 400;
}

.intro-split .intro-text {
  max-width: 480px;
}

.intro-split .intro-text p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--gray);
  font-weight: 400;
  margin: 0;
  max-width: 56ch;
}

.cta-content {
  max-width: 480px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-title em {
  font-style: italic;
  font-weight: 400;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.85;
  margin: 0;
  font-weight: 400;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 60px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: var(--white);
  color: var(--magenta);
}

.contact-link .arrow {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.contact-link:hover .arrow {
  transform: translateX(4px);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* PLACEHOLDERS */
.placeholder {
  background: var(--gray-200);
  border: 2px dashed var(--gray-300);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  min-height: 200px;
}

.placeholder.tall {
  min-height: 320px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .advisory-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* El hero se apila: la foto pasa a ocupar el ancho completo, debajo */
  .hero {
    display: block;
    min-height: 0;
    padding: 56px 0 0;
  }

  .hero-content {
    max-width: 100%;
  }

  /* Apilada la foto queda en franja apaisada: se le da algo más de alto
     que antes porque el archivo es cuadrado y recorta arriba y abajo. */
  .hero-visual {
    position: static;
    width: 100%;
    height: clamp(320px, 62vw, 460px);
    margin-top: 48px;
    /* Apilada no hay junta lateral que disimular */
    -webkit-mask-image: none;
    mask-image: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .diferentials {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clarification-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .clarification-aside {
    padding-top: 0;
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .intro-left {
    margin: 0 0 48px 0;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-contact {
    padding-top: 0;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .carousel-wire {
    grid-auto-columns: 88%;
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  /* Los tres diferenciales pasan a columna: no entran en fila */
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 36px;
  }

  .hero-features li,
  .hero-features li + li {
    padding: 0;
    border-left: 0;
  }

  .hero-features span {
    max-width: none;
  }

  .btn-row,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cta-box {
    flex-direction: column;
    gap: 28px;
    padding: 40px 20px;
  }

  .cta-content {
    text-align: center;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-text {
    font-size: 15px;
  }

  .cta-buttons {
    text-align: center;
  }

  .step {
    max-width: 100%;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .step-content h3 {
    font-size: 15px;
  }

  .step-content p {
    font-size: 12px;
  }

  .diferentials {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   PROCESO — TIMELINE VERTICAL TIPO COSTURA
   ========================================= */
.tl {
  position: relative;
  max-width: 860px;
  margin: 64px auto 0;
  padding: 8px 0;
}

/* Punta de máquina de coser arriba del recorrido */
.tl-needle {
  display: block;
  width: auto;
  height: 100px;
  object-fit: contain;
  margin: 15px auto 10px;
  position: relative;
  z-index: 4;
}

/* Hilo de costura curvo (SVG) que serpentea uniendo los números */
.tl-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Costura recta de respaldo (solo mobile) */
.tl::before {
  content: "";
  position: absolute;
  display: none;
  top: 6px;
  bottom: 6px;
  left: 23px;
  width: 3px;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--magenta) 0 7px,
      transparent 7px 14px
    );
  opacity: 0.55;
  border-radius: 2px;
}

.tl-step {
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

/* Altura fija por paso -> los números quedan en posiciones exactas
   para que la costura curva pase por cada uno */
.tl-step.tl-left,
.tl-step.tl-right {
  height: 112px;
}

.tl-step.tl-left {
  left: 0;
  padding-right: 30px;
}

.tl-step.tl-right {
  left: 50%;
  padding-left: 30px;
}

.tl-left .tl-card,
.tl-right .tl-card {
  width: 100%;
}

.tl-step.tl-center {
  left: 25%;
  width: 50%;
  height: 130px;
  padding: 0;
}

/* Círculo numerado sobre la costura */
.tl-num {
  position: absolute;
  top: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(0, 180, 216, 0.30);
  border: 3px solid var(--white);
  z-index: 3;
}

/* En la esquina superior interna (lado que mira a la costura) */
.tl-left .tl-num { right: 10px; }
.tl-right .tl-num { left: 10px; }
.tl-center .tl-num {
  left: 50%;
  top: -15px;
  transform: translateX(-50%);
}

/* Tarjeta blanca — ícono al lado del texto */
.tl-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tl-center .tl-card {
  margin-top: 12px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--cyan);
}

.tl-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 30px;
  height: 30px;
  color: var(--magenta);
}

.tl-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tl-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0 0 3px 0;
}

.tl-card p {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--gray);
  margin: 0;
}

/* Tarjetas derechas espejadas: ícono afuera, número del lado de la costura */
.tl-right .tl-card {
  grid-template-columns: 1fr auto;
  text-align: right;
}

.tl-right .tl-icon { grid-column: 2; }

.tl-right .tl-card h3,
.tl-right .tl-card p { grid-column: 1; }

/* Nota elegante al pie */
.tl-note {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 16px 22px;
  border: 1px dashed var(--gray-300);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
  text-align: center;
}

@media (max-width: 768px) {
  .tl {
    margin-top: 48px;
  }

  /* En mobile: costura recta a la izquierda, ocultar hilo curvo */
  .tl-thread {
    display: none;
  }

  /* Aguja alineada a la izquierda, centrada sobre la costura */
  .tl-needle {
    height: auto;
    width: 44px;
    margin: 15px auto 10px 2px;
  }

  .tl::before {
    display: block;
    top: 84px;
  }

  .tl-step,
  .tl-step.tl-left,
  .tl-step.tl-right,
  .tl-step.tl-center {
    width: 100%;
    height: auto;
    display: block;
    left: 0;
    padding-left: 62px;
    padding-right: 0;
    margin-bottom: 28px;
    margin-top: 0;
  }

  .tl-left .tl-num,
  .tl-right .tl-num,
  .tl-center .tl-num {
    left: 0;
    right: auto;
    top: 20px;
    transform: none;
  }

  /* Desespejar las cards derechas en mobile */
  .tl-right .tl-card {
    grid-template-columns: auto 1fr;
    text-align: left;
  }

  .tl-right .tl-icon { grid-column: 1; }

  .tl-right .tl-card h3,
  .tl-right .tl-card p { grid-column: 2; }

  .tl-center .tl-card {
    margin-top: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* CARRUSEL DE PRODUCTOS (mismo sistema que "Superficies y técnicas") */
.sup-carousel-wrap {
  position: relative;
}

.sup-carousel {
  list-style: none;
  margin: 0;
  padding: 4px 2px 10px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.sup-carousel::-webkit-scrollbar {
  display: none;
}

.sup-carousel.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.sup-card {
  flex: 0 0 auto;
  width: calc((100% - 36px) / 3);
  scroll-snap-align: start;
}

.sup-card-img {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  background:
    repeating-linear-gradient(45deg, #f2f2f2 0 12px, #e7e7e7 12px 24px);
}

.sup-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.sup-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--magenta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
}

.sup-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sup-arrow:hover {
  background: var(--cyan);
}

.sup-prev {
  left: -18px;
}

.sup-next {
  right: -18px;
}

.sup-arrow[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .sup-carousel {
    gap: 12px;
  }

  .sup-card {
    width: calc((100% - 12px) / 2);
  }

  .sup-arrow {
    width: 38px;
    height: 38px;
    background: rgba(229, 0, 127, 0.9);
  }

  .sup-arrow svg {
    width: 18px;
    height: 18px;
  }

  .sup-prev {
    left: 4px;
  }

  .sup-next {
    right: 4px;
  }
}
