/* ==========================================================================
   home.css — Secciones exclusivas de la página de inicio
   ========================================================================== */

/* ---------- HERO ---------- */
.hero {
  padding-block: clamp(8px, 1.2vw, 20px);
  padding-inline: 0;
  box-sizing: border-box;
}

.hero .wrap {
  width: min(var(--frame-max), calc(100% - (var(--frame-gutter) * 2)));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

body.page-home .hero .wrap {
  padding: 0;
}

.hero h1 {
  font-weight: var(--fw-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  margin: 20px 0 24px;
  color: var(--brand);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero h1 .hero-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero h1 .hero-line {
    white-space: normal;
  }
}

.hero h1 b {
  font-weight: var(--fw-emphasis);
}

.hero p.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: clamp(30ch, 34vw, 42ch);
  margin-bottom: clamp(24px, 2.5vw, 34px);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-bottom: 4px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--frame-radius);
  width: 100%;
  min-height: clamp(380px, 34vw, 520px);
  display: flex;
  align-items: center;
}

/* En pantallas grandes el marco (--frame-max) crece para acercarse al ancho de la ventana;
   mantenemos el mismo 34vw (misma proporción del hero por defecto) y solo subimos el tope
   del alto para que el hero no se aplane ni cambie el encuadre del video/imagen de fondo. */
@media (min-width: 1440px) {
  .hero-panel {
    min-height: clamp(420px, 34vw, 620px);
  }
}

@media (min-width: 1920px) {
  .hero-panel {
    min-height: clamp(460px, 34vw, 720px);
  }
}

@media (min-width: 2560px) {
  .hero-panel {
    min-height: clamp(500px, 34vw, 900px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Ancho suficiente para el h1 a tamaño completo sin partir líneas */
  width: min(72%, 52rem);
  max-width: 52rem;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3.5vw, 48px);
  flex: 0 1 auto;
  min-width: 0;
}

.hero-video,
.hero-panel .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* cover: llena el panel hasta el texto, sin banda vacía */
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.78) 40%,
    rgba(255, 255, 255, 0.22) 58%,
    transparent 72%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content,
.hero-stat {
  position: relative;
  z-index: 2;
}

.hero-stat {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-stat b {
  font-size: 1.7rem;
  font-weight: var(--fw-emphasis);
  display: block;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.hero-stat small {
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ---------- SCOPE STRIP ---------- */
.scope {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.scope .wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding-top: 26px;
  padding-bottom: 26px;
  text-align: left;
  flex-wrap: nowrap;
  min-width: 0;
}

.scope-lead {
  flex: 0 0 auto;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}

.scope-logos {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scope-logos::-webkit-scrollbar {
  display: none;
}

.scope-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.scope-logo-img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex: 0 0 auto;
  transition: transform .25s ease;
}

.scope-logos a:hover .scope-logo-img {
  transform: scale(1.06);
}

/* Contener secciones home al marco global al alejar */
body.page-home .scope > .wrap,
body.page-home .ambientes > .wrap,
body.page-home .colecciones > .wrap,
body.page-home .proyectos > .wrap,
body.page-home #diseno > .wrap,
body.page-home .nosotros > .wrap,
body.page-home .contact > .wrap {
  width: min(var(--maxw), calc(100% - 16%));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* Nosotros: copy + presencia un poco menos anchos; stats se quedan al marco */
body.page-home .nosotros .nos-grid {
  width: min(var(--maxw), 100%);
  margin-inline: auto;
}

/* Home: eyebrow + título alineados a la izquierda, con un ancho máximo definido;
   el párrafo de info va debajo, extendido al mismo ancho máximo (no a lo ancho del wrap). */
body.page-home .sec-head {
  display: block;
  text-align: left;
  margin-inline: 0;
  max-width: clamp(560px, 50vw, 820px);
}

body.page-home .sec-head h2 {
  max-width: 100%;
}

body.page-home .sec-head p:not(.eyebrow) {
  max-width: 100%;
  text-align: justify;
  text-align-last: left;
  margin-inline: 0;
}

body.page-home .proj-foot {
  text-align: center;
}

body.page-home .nos-cta {
  align-self: flex-end;
  margin-inline: 0;
  text-align: right;
}

body.page-home .contact .inner {
  text-align: center;
  margin-inline: auto;
}

body.page-home .contact-actions {
  justify-content: center;
}

/* Showrooms: es una tarjeta de foto + lista, no un panel full-bleed — se queda en el
   contenedor estándar (--maxw) en vez del marco amplio, para no verse estirada a lo ancho. */

/* ---------- AMBIENTES ---------- */
.ambientes {
  background: var(--surface);
}

/* Ambientes: eyebrow + título a la izquierda; el párrafo va a la derecha,
   pegado al borde del contenedor (mismo borde donde termina la 3ra tarjeta). */
body.page-home .ambientes .sec-head {
  display: grid;
  grid-template-columns: clamp(420px, 38vw, 580px) 1fr;
  column-gap: 32px;
  align-items: start;
  max-width: none;
}

body.page-home .ambientes .sec-head .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

body.page-home .ambientes .sec-head h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 100%;
}

body.page-home .ambientes .sec-head p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  max-width: 52ch;
  text-align: right;
  text-align-last: right;
  margin-inline: auto 0;
}

.amb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.amb-card {
  position: relative;
  border-radius: var(--frame-radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 26px;
  cursor: pointer;
  transition: transform .35s;
  border: 1px solid var(--line);
}

/* Las columnas se ensanchan con el marco en pantallas grandes; subimos el alto en la
   misma proporción para que la foto (object-fit: cover) no quede cada vez más cortada. */
@media (min-width: 1440px) {
  .amb-card {
    min-height: 420px;
  }
}

@media (min-width: 1920px) {
  .amb-card {
    min-height: 550px;
  }
}

@media (min-width: 2560px) {
  .amb-card {
    min-height: 670px;
  }
}

.amb-card:hover {
  transform: translateY(-5px);
}

.amb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .62));
  z-index: 1;
}

.amb-card .inner {
  position: relative;
  z-index: 2;
}

.amb-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -.01em;
  color: #fff;
}

.amb-card .explore {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: .3s;
}

.amb-card:hover .explore {
  opacity: 1;
  transform: translateY(0);
}

.amb-card.big {
  grid-row: span 2;
}

.amb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  object-fit: cover;
}

.amb-carousel-inner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.amb-carousel .amb-img {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.amb-carousel .amb-img.active {
  opacity: 1;
}

.ph-tag {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 3;
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- COLECCIONES ---------- */
/* Colecciones: eyebrow + título a la izquierda; el párrafo va a la derecha,
   pegado al borde del contenedor, a la misma altura del título. */
body.page-home .colecciones .sec-head {
  display: grid;
  grid-template-columns: clamp(420px, 38vw, 580px) 1fr;
  column-gap: 32px;
  align-items: start;
  max-width: none;
}

body.page-home .colecciones .sec-head .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

body.page-home .colecciones .sec-head h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 100%;
}

.colecciones-copy {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

body.page-home .colecciones .sec-head .colecciones-copy p:not(.eyebrow) {
  max-width: 52ch;
  text-align: right;
  text-align-last: right;
  margin: 0;
}

.colecciones-flechas {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.colecciones-scroll-track {
  display: none;
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 140px;
}

.colecciones-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 28px;
  border-radius: 999px;
  background: var(--brand);
  transition: transform 0.12s ease, width 0.12s ease;
  will-change: transform, width;
}

.colecciones-flechas button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  transition: background .2s, border-color .2s;
}

.colecciones-flechas button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.colecciones-gallery {
  width: 100%;
  max-width: 100%;
}

.colecciones .custom-gallery-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0;
  padding: 0 0 72px;
}

.custom-gallery-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  align-items: center;
  touch-action: pan-y;
}

.custom-gallery-slide {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 clamp(14px, 1.8vw, 26px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.custom-container {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  min-height: 0;
  background: transparent;
  border: 1px solid var(--line);
}

.custom-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 14px 14px;
}

.custom-container picture {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.custom-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: unset;
  object-position: center center;
  display: block;
  vertical-align: top;
  transition: transform 0.5s ease;
  padding: 0;
  border-radius: 0;
}

/* PC: cards grandes; la imagen define la altura (sin bandas) */
@media (min-width: 901px) {
  .custom-gallery-slide {
    flex: 0 0 70%;
    max-width: 70%;
    min-width: min(100%, 580px);
    padding: 0 clamp(16px, 2vw, 28px);
  }

  .custom-container {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .custom-container img {
    width: 100%;
    height: auto;
  }

  .custom-container:hover img {
    transform: none;
  }
}

@media (min-width: 1280px) {
  .custom-gallery-slide {
    flex: 0 0 58%;
    max-width: 58%;
  }
}

@media (min-width: 1600px) {
  .custom-gallery-slide {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
  }

  .custom-container {
    min-height: 0;
    aspect-ratio: auto;
  }
}

@media (min-width: 2200px) {
  .custom-gallery-slide {
    flex: 0 0 46%;
    max-width: 46%;
  }
}

.custom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  border-radius: 14px;
  z-index: 2;
}

.custom-container:hover .custom-overlay {
  background: rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.custom-discover-btn,
.custom-cotizar-btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--sans);
}

.custom-container:hover .custom-discover-btn,
.custom-container:hover .custom-cotizar-btn {
  opacity: 1;
  transform: translateY(0);
}

.custom-discover-btn:hover,
.custom-cotizar-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
}

.custom-slide-overlay {
  position: absolute;
  bottom: 20px;
  left: 40px;
  right: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
  z-index: 3;
}

.custom-slide-text {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 60%;
  pointer-events: auto;
}

.custom-gallery-slide-logo {
  width: 110px;
  max-width: 120px;
  max-height: 52px;
  object-fit: contain;
  pointer-events: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

#custom-gallery-pagination {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 12;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 20px;
  user-select: none;
  width: max-content;
  max-width: calc(100% - 32px);
}

#custom-gallery-pagination span {
  flex: 0 0 52px;
  width: 52px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  opacity: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: transparent;
  transition: transform 0.3s ease;
}

#custom-gallery-pagination span::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.14);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#custom-gallery-pagination span:hover::after {
  background-color: rgba(0, 0, 0, 0.28);
}

#custom-gallery-pagination span.active::after {
  background-color: var(--brand);
  transform: scaleY(1.15);
}

.logo-filio {
  width: 140px;
  max-height: 52px;
}

/* ---------- PROYECTOS ---------- */
.proyectos {
  background: var(--sage);
  color: var(--ink);
}

.proyectos .eyebrow {
  color: rgba(0, 0, 0, .5);
}

.proyectos .sec-head h2 {
  color: var(--ink);
}

.proyectos .sec-head p {
  color: rgba(0, 0, 0, .6);
}

/* Proyectos: eyebrow + título a la izquierda; el párrafo va a la derecha,
   pegado al borde del contenedor (mismo borde donde termina la 3ra tarjeta). */
body.page-home .proyectos .sec-head {
  display: grid;
  grid-template-columns: clamp(420px, 38vw, 580px) 1fr;
  column-gap: 32px;
  align-items: start;
  max-width: none;
}

body.page-home .proyectos .sec-head .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

body.page-home .proyectos .sec-head h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 100%;
}

body.page-home .proyectos .sec-head p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  max-width: 52ch;
  text-align: right;
  text-align-last: right;
  margin-inline: auto 0;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proj {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  transition: transform .35s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.proj:hover {
  transform: translateY(-5px);
}

.proj-img {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
  display: block;
  padding: 0;
}

.proj-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-img .m2 {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  font-weight: var(--fw-emphasis);
  font-size: .85rem;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: -.01em;
}

.proj-body {
  padding: 22px 24px 26px;
}

.proj-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}

.proj-body p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.proj-body .lnk {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.proj-body .lnk .arrow {
  transition: transform .25s;
}

.proj:hover .lnk .arrow {
  transform: translateX(5px);
}

.proj-foot {
  text-align: center;
  margin-top: 52px;
}

/* ---------- DISEÑO DE ESPACIOS ---------- */
#diseno .wrap {
  width: min(var(--maxw), calc(100% - 16%));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.design-split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  border-radius: var(--frame-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: clamp(320px, 26vw, 400px);
}

.design-visual {
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.2vw, 22px);
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

.diseno-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .25);
  display: block;
}

.design-copy {
  background: var(--surface2);
  padding: clamp(28px, 2.8vw, 44px) clamp(22px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.design-copy h2 {
  font-weight: 500;
  font-size: clamp(1.55rem, 1.6vw + 0.9rem, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 8px 0 14px;
}

.design-copy p {
  color: var(--ink-soft);
  font-size: clamp(0.94rem, 0.4vw + 0.85rem, 1.05rem);
  margin-bottom: clamp(16px, 2vw, 24px);
  max-width: 48ch;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(0.92rem, 0.35vw + 0.82rem, 1rem);
}

.steps b {
  font-weight: var(--fw-emphasis);
  color: var(--ink);
  font-size: .95rem;
  min-width: 26px;
}

/* ---------- NOSOTROS + ALCANCE ---------- */
.nosotros {
  background: var(--bg);
}

.nos-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}

.nos-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.nos-copy h2 {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 14px 0 18px;
}

.nos-copy > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 58ch;
}

.nos-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  border-top: none;
}

.nos-stats > div {
  text-align: center;
  min-width: 0;
}

.nos-stats div b {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: var(--fw-emphasis);
  display: block;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  color: var(--brand);
}

.nos-stats div span {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  display: block;
}

.nos-cta {
  align-self: flex-end;
  text-align: right;
}

.reach {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
}

.reach-lbl {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 24px;
}

.reach-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.reach-block:last-of-type {
  margin-bottom: 28px;
  border-bottom: none;
  padding-bottom: 0;
}

.reach-block h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.reach-block p {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.reach-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brand);
  transition: gap .25s;
}

.reach-cta:hover {
  gap: 12px;
}

/* ---------- SHOWROOMS ---------- */
.showrooms {
  background: var(--surface);
}

/* Espaciado moderado: diseño → nosotros → showrooms → contacto */
body.page-home #diseno.block {
  padding-bottom: clamp(32px, 4vw, 48px);
}

body.page-home .nosotros.block {
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

body.page-home .showrooms.block {
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(16px, 2vw, 24px);
}

body.page-home .contact {
  padding-top: clamp(20px, 2.5vw, 32px);
  padding-bottom: clamp(72px, 8vw, 100px);
}

.show-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.show-head .sec-head {
  margin-bottom: 0;
}

.show-count {
  text-align: right;
}

.show-count b {
  font-weight: var(--fw-emphasis);
  font-size: 3rem;
  line-height: .9;
  display: block;
  letter-spacing: -.03em;
}

.show-count small {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sr-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}

.sr-wrap.sr-clip {
  overflow: hidden;
}

/* El alto de la fila lo fija el contenido de la lista — sin este piso la foto queda
   cada vez más ancha y plana ("estirada"). También abrimos el espacio entre columnas
   en laptop y computadoras grandes para que se vea más aireado, no apretado. */
@media (min-width: 1440px) {
  .sr-wrap {
    min-height: 460px;
    gap: 28px;
  }
}

@media (min-width: 1920px) {
  .sr-wrap {
    min-height: 520px;
    gap: 32px;
  }
}

@media (min-width: 2560px) {
  .sr-wrap {
    min-height: 600px;
    gap: 36px;
  }
}

.sr-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.sr-photo {
  position: relative;
  flex: 1 1 0;
  min-height: 180px;
  background: linear-gradient(135deg, #dadad3, #c4c4ba);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  touch-action: pan-y;
}

.sr-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sr-photo .sr-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, .32);
  font-style: italic;
  font-size: .86rem;
}

.sr-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 7px 15px;
  font-weight: 600;
  font-size: .82rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.sr-info {
  flex: none;
  padding: 26px 30px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: flex-end;
}

@media (min-width: 1440px) {
  .sr-info {
    padding: 30px 34px 32px;
  }
}

@media (min-width: 1920px) {
  .sr-info {
    padding: 34px 38px 36px;
  }
}

.sr-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.sr-info .det {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 46ch;
}

.sr-info .det b {
  color: var(--ink-mid);
  font-weight: 600;
}

.sr-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}

.sr-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  overflow-y: auto;
  padding-right: 4px;
  min-width: 0;
  max-width: 100%;
}

.sr-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.sr-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sr-scroll-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
  font-size: 1rem;
  line-height: 1;
}

.sr-scroll-btn:hover:not(:disabled) {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.sr-scroll-btn:disabled {
  opacity: .35;
  cursor: default;
}

.sr-scroll-track {
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 140px;
}

.sr-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 28px;
  border-radius: 999px;
  background: var(--brand);
  transition: transform 0.12s ease, width 0.12s ease;
  will-change: transform, width;
}

.sr-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: .18s;
  width: 100%;
  font-family: inherit;
  text-align: left;
}

.sr-item:hover {
  border-color: var(--brand);
}

.sr-item.active {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: rgba(96, 102, 70, .06);
}

.sr-thumb {
  flex: none;
  width: 58px;
  height: 46px;
  border-radius: 7px;
  background: linear-gradient(135deg, #dadad3, #c2c2b8);
  background-size: cover;
  background-position: center;
}

.sr-item .nm {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.2;
}

.sr-item .ct {
  font-size: .76rem;
  color: var(--ink-soft);
}

.sr-item.soon {
  opacity: .6;
  cursor: default;
}

.sr-item.soon:hover {
  border-color: var(--line);
}

.sr-soon-tag {
  margin-left: auto;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive — Home (tablet, móvil, sin scroll horizontal)
   ========================================================================== */

@media (max-width: 900px) {
  body.page-home {
    overflow-x: clip;
  }

  body.page-home section.block {
    overflow-x: clip;
  }
}

/* ---- Desktop grande → tablet (max 1100px) ---- */
@media (max-width: 1100px) {
  .nos-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sr-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }

  .design-split {
    grid-template-columns: 1.25fr 0.75fr;
    min-height: 340px;
  }

  #diseno .wrap {
    width: min(var(--maxw), calc(100% - 16%));
  }

  .design-visual {
    padding: 20px;
  }

  .design-copy {
    padding: 28px 22px;
  }

  .design-copy h2 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
  }

  .custom-gallery-slide {
    flex: 0 0 72%;
    max-width: 72%;
    min-width: min(100%, 560px);
  }
}
@media (max-width: 900px) {
  body.page-home section.block {
    padding: 80px 0;
  }

  body.page-home #diseno.block {
    padding-bottom: 28px;
  }

  body.page-home .nosotros.block {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  body.page-home .showrooms.block {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  body.page-home .contact {
    padding-top: 20px;
    padding-bottom: 64px;
  }

  .colecciones-gallery {
    width: 100%;
    padding-inline: clamp(12px, 2vw, 24px);
  }

  .colecciones,
  .colecciones-gallery {
    overflow: hidden;
    max-width: 100%;
  }

  .colecciones .custom-gallery-container {
    overflow: hidden;
  }

  .sr-wrap {
    min-width: 0;
  }

  .sr-main,
  .sr-list {
    min-width: 0;
    max-width: 100%;
  }

  .sec-head {
    margin-bottom: 40px;
  }

  body.page-home .sec-head {
    max-width: none;
  }

  body.page-home .sec-head p:not(.eyebrow) {
    text-align: left;
  }

  body.page-home .proyectos .sec-head,
  body.page-home .ambientes .sec-head,
  body.page-home .colecciones .sec-head {
    display: block;
  }

  body.page-home .proyectos .sec-head p:not(.eyebrow),
  body.page-home .ambientes .sec-head p:not(.eyebrow),
  body.page-home .colecciones .sec-head p:not(.eyebrow) {
    text-align: left;
    text-align-last: left;
    margin-inline: 0;
    margin-top: 14px;
  }

  body.page-home .colecciones .sec-head .colecciones-copy p:not(.eyebrow) {
    text-align: left;
    text-align-last: left;
    margin-inline: 0;
    margin-top: 14px;
    max-width: none;
  }

  .colecciones-copy {
    align-items: flex-start;
  }

  .colecciones-flechas {
    align-self: stretch;
    justify-content: center;
  }

  .colecciones-flechas button {
    width: 44px;
    height: 44px;
    font-size: .85rem;
  }

  .colecciones-scroll-track {
    display: block;
  }

  .colecciones-gallery #custom-gallery-pagination {
    display: none;
  }

  .sec-head h2 {
    font-size: clamp(1.65rem, 4.5vw, 2.2rem);
  }

  .sec-head p {
    font-size: 1rem;
  }

  /* hero */
  .hero {
    padding: 20px max(12px, 2vw);
  }

  body.page-home .hero .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hero-panel {
    min-height: clamp(440px, 78vw, 560px);
    max-height: none;
    border-radius: 18px;
    display: flex;
    align-items: flex-end;
  }

  .hero-panel::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.55) 62%,
      rgba(255, 255, 255, 0.88) 100%
    );
  }

  .hero-content {
    width: 100%;
    padding: 28px 22px 32px;
  }

  .hero-video,
  .hero-panel .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: none;
    object-fit: cover;
    object-position: 65% center;
  }

  .hero h1 {
    margin: 12px 0 18px;
  }

  .hero h1 .hero-line {
    white-space: normal;
  }

  .hero p.lead,
  .hero-actions .btn-text,
  .hero-stat {
    display: none !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* scope */
  .scope .wrap {
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .scope-lead {
    font-size: .68rem;
  }

  .scope-logos {
    gap: 36px;
  }

  .scope-logo-img {
    height: 38px;
    max-width: 110px;
  }

  /* ambientes */
  .amb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .amb-card.big {
    grid-row: auto;
  }

  .amb-card {
    min-height: 260px;
    padding: 22px;
  }

  /* colecciones — 1 por pantalla, imagen más alta */
  .custom-gallery-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 14px;
  }

  .custom-container {
    max-height: none;
    aspect-ratio: auto;
    height: auto;
    border-radius: 16px;
  }

  .custom-container img {
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .custom-overlay {
    pointer-events: auto;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .4));
    align-items: flex-end;
    justify-content: center;
    padding: 0 14px 64px;
  }

  .custom-discover-btn,
  .custom-cotizar-btn {
    opacity: 1;
    transform: none;
    min-height: 44px;
    padding: 12px 18px;
  }

  .custom-slide-overlay {
    left: 24px;
    right: 20px;
    bottom: 16px;
  }

  .custom-gallery-slide-logo {
    width: 110px;
    max-height: 52px;
  }

  .logo-filio {
    width: 132px;
  }

  .colecciones .custom-gallery-container {
    padding-bottom: 72px;
  }

  #custom-gallery-pagination {
    bottom: 16px;
    gap: 8px;
  }

  #custom-gallery-pagination span {
    flex: 0 0 40px;
    width: 40px;
  }

  /* proyectos */
  .proj-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .proj-foot {
    margin-top: 36px;
  }

  /* diseño */
  .design-split {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 12px;
  }

  #diseno .wrap {
    width: min(var(--maxw), calc(100% - 16%));
    max-width: none;
    padding-inline: 0;
  }

  .design-visual {
    aspect-ratio: 16 / 9;
    padding: 20px;
  }

  .diseno-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .2);
  }

  .design-copy {
    padding: 32px 24px;
  }

  .design-copy h2 {
    font-size: clamp(1.3rem, 4vw, 1.75rem);
  }

  /* nosotros */
  .nos-stats {
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .nos-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    min-height: 112px;
    padding: 22px 16px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .nos-stats > div:nth-child(2n) {
    border-right: none;
  }

  .nos-stats > div:nth-child(n + 3) {
    border-bottom: none;
  }

  .nos-stats div b {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .nos-stats div span {
    font-size: .72rem;
    letter-spacing: .05em;
    line-height: 1.35;
    max-width: 14ch;
  }

  .nos-cta {
    align-self: flex-end;
    text-align: right;
    justify-content: flex-end;
  }

  .reach {
    padding: 28px 24px;
  }

  /* showrooms */
  .show-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
  }

  .show-head .sec-head {
    margin-bottom: 0;
    flex: none;
    width: 100%;
    max-width: none;
  }

  .show-count {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    flex-shrink: 0;
    white-space: normal;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .show-count b {
    font-size: 2.25rem;
    display: block;
    line-height: .9;
  }

  .show-count small {
    display: block;
    font-size: .68rem;
    letter-spacing: .1em;
    line-height: 1.35;
    white-space: nowrap;
  }

  .sr-info {
    padding: 20px 22px 22px;
  }

  .sr-info h3 {
    font-size: 1.25rem;
  }
}

/* ---- Tablet pequeña (max 820px) ---- */
@media (max-width: 820px) {
  .show-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
  }

  .show-head .sec-head {
    margin-bottom: 0;
    flex: none;
    width: 100%;
    max-width: none;
  }

  .show-head .sec-head h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.75rem);
    max-width: 16ch;
  }

  .show-head .sec-head p {
    display: block;
    font-size: .92rem;
    max-width: 36ch;
  }

  .show-count {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    flex-shrink: 0;
    white-space: normal;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .show-count b {
    font-size: 2.1rem;
    display: block;
    line-height: .9;
    letter-spacing: -.03em;
  }

  .show-count small {
    display: block;
    font-size: .66rem;
    letter-spacing: .1em;
    line-height: 1.35;
    white-space: nowrap;
  }

  .sr-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sr-list-wrap {
    order: -1;
  }

  .sr-main {
    height: auto;
  }

  .sr-photo {
    flex: none;
    aspect-ratio: 16 / 9;
    min-height: 240px;
  }

  .sr-list {
    flex-direction: row;
    height: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .sr-list::-webkit-scrollbar {
    display: none;
  }

  .sr-list-wrap .sr-scroll-hint {
    display: flex;
    padding: 12px 4px 0;
  }

  .sr-scroll-track {
    max-width: 120px;
    margin-inline: 0;
  }

  .sr-item {
    min-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .sr-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .sr-cta {
    flex-direction: column;
    width: 100%;
  }

  .sr-cta .btn-primary,
  .sr-cta .btn-ghost {
    width: 100%;
  }
}

/* ---- Móvil (max 560px) ---- */
@media (max-width: 560px) {
  .hero .eyebrow br.solo-movil {
    display: block;
  }

  body.page-home section.block {
    padding: 64px 0;
  }

  body.page-home .wrap {
    padding: 0 8%;
  }

  .sec-head {
    margin-bottom: 32px;
  }

  .sec-head h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    margin: 12px 0 10px;
  }

  .sec-head p {
    font-size: .94rem;
  }

  /* hero */
  body.page-home .hero .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hero {
    padding-inline: max(10px, 2.5vw);
  }

  .hero-panel {
    min-height: clamp(460px, 72vh, 580px);
    border-radius: 16px;
    align-items: flex-end;
  }

  .hero-panel::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 255, 255, 0.5) 65%,
      rgba(255, 255, 255, 0.9) 100%
    );
  }

  .hero-video,
  .hero-panel .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: none;
    object-fit: cover;
    object-position: 65% center;
  }

  .hero-content {
    padding: 28px 18px 30px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2rem);
    line-height: 1.1;
  }

  .hero h1 .hero-line {
    white-space: normal;
  }

  .hero p.lead,
  .hero-actions .btn-text,
  .hero-stat {
    display: none !important;
  }

  /* scope: pegado a hero y ambientes; padding interno para que el contenido no quede pegado */
  body.page-home .scope > .wrap {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .scope-lead {
    font-size: .64rem;
    letter-spacing: .12em;
    white-space: normal;
    text-align: center;
  }

  .scope-logos {
    flex-wrap: wrap;
    overflow-x: visible;
    min-width: 100%;
    gap: 26px;
  }

  .scope-logo-img {
    height: 32px;
    max-width: 96px;
  }

  /* ambientes */
  .amb-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .amb-card.big {
    grid-row: auto;
    grid-column: auto;
  }

  .amb-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 14px;
  }

  .amb-card h3 {
    font-size: 1rem;
  }

  .amb-card .explore {
    opacity: 1;
    transform: none;
    font-size: .78rem;
  }

  /* colecciones — 1 por pantalla, imagen rectangular en móvil */
  .custom-gallery-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .custom-container {
    max-height: none;
    aspect-ratio: auto;
    height: auto;
    border-radius: 14px;
  }

  .custom-container img {
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .custom-container::after {
    border-radius: 0 0 14px 14px;
  }

  .custom-overlay {
    border-radius: 14px;
    /* Touch: CTAs siempre visibles */
    pointer-events: auto;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .42));
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px 56px;
  }

  .custom-discover-btn,
  .custom-cotizar-btn {
    opacity: 1;
    transform: none;
    padding: 12px 16px;
    font-size: .86rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .custom-slide-overlay {
    left: 18px;
    right: 16px;
    bottom: 12px;
  }

  .custom-gallery-slide-logo {
    width: 96px;
    max-height: 44px;
  }

  .logo-filio {
    width: 112px;
  }

  #custom-gallery-pagination {
    bottom: 12px;
    gap: 8px;
    padding: 8px 10px;
  }

  #custom-gallery-pagination span {
    flex: 0 0 36px;
    width: 36px;
    height: 44px;
  }

  .colecciones .custom-gallery-container {
    padding-bottom: 56px;
  }

  /* proyectos */
  .proj-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .proj-body {
    padding: 18px 16px 20px;
  }

  .proj-body h3 {
    font-size: 1.15rem;
  }

  .proj-body p {
    font-size: .86rem;
  }

  .proj-foot {
    margin-top: 28px;
  }

  /* diseño */
  .design-visual {
    padding: 14px;
  }

  .design-copy {
    padding: 22px 18px 24px;
  }

  .design-copy h2 {
    font-size: clamp(1.35rem, 5vw, 1.6rem);
  }

  .design-copy p {
    font-size: .88rem;
  }

  .steps {
    gap: 6px;
    margin-bottom: 16px;
  }

  .steps li {
    font-size: .86rem;
  }

  .steps b {
    font-size: .92rem;
    min-width: 22px;
  }

  /* nosotros */
  .nos-copy h2 {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
    text-align: center;
  }

  .nos-copy {
    text-align: center;
  }

  .nos-copy > p {
    font-size: .96rem;
    margin-bottom: 0;
    margin-inline: auto;
    max-width: 38ch;
  }

  .nos-stats {
    gap: 0;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .nos-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    min-height: 108px;
    padding: 20px 12px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .nos-stats > div:nth-child(2n) {
    border-right: none;
  }

  .nos-stats > div:nth-child(n + 3) {
    border-bottom: none;
  }

  .nos-stats div b {
    font-size: 1.28rem;
    margin-bottom: 0;
  }

  .nos-stats div span {
    font-size: .7rem;
    letter-spacing: .05em;
    line-height: 1.35;
    max-width: 13ch;
  }

  .nos-cta {
    align-self: flex-end;
    text-align: right;
    width: auto;
    justify-content: flex-end;
  }

  .reach {
    padding: 24px 20px;
    border-radius: 14px;
    text-align: center;
  }

  .reach-block h4 {
    font-size: 1.05rem;
  }

  .reach-block p {
    font-size: .86rem;
    margin-inline: auto;
  }

  .reach-cta {
    justify-content: center;
  }

  /* showrooms */
  .show-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
  }

  .show-head .sec-head {
    margin-bottom: 0;
    width: 100%;
  }

  .show-head .sec-head h2 {
    font-size: clamp(1.35rem, 6vw, 1.6rem);
    max-width: 14ch;
  }

  .show-head .sec-head p {
    display: block;
    font-size: .88rem;
    max-width: none;
  }

  .show-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 10px 14px;
    white-space: normal;
  }

  .show-count b {
    font-size: 1.85rem;
    display: block;
    line-height: .9;
  }

  .show-count small {
    display: block;
    font-size: .62rem;
    letter-spacing: .08em;
    line-height: 1.3;
    white-space: nowrap;
  }

  .sr-list-wrap {
    position: relative;
    order: -1;
  }

  .sr-scroll-hint {
    display: flex;
    padding: 12px 4px 0;
  }

  .sr-scroll-track {
    max-width: 120px;
    margin-inline: 0;
  }

  .sr-photo {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .sr-info {
    padding: 16px 16px 18px;
    gap: 14px;
  }

  .sr-info h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .sr-info .det {
    font-size: .84rem;
  }

  .sr-cta {
    flex-direction: column;
    width: 100%;
  }

  .sr-item {
    min-width: 168px;
    padding: 12px;
    min-height: 56px;
    gap: 12px;
  }

  .sr-thumb {
    width: 48px;
    height: 42px;
  }
}

/* ---- Móvil pequeño (max 400px) ---- */
@media (max-width: 400px) {
  body.page-home .wrap {
    padding: 0 8%;
  }

  body.page-home .hero .wrap {
    width: 100%;
    padding: 0;
  }

  .hero {
    padding-inline: max(8px, 2vw);
  }

  .hero-panel {
    min-height: 480px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .custom-gallery-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 8px;
  }

  .custom-container {
    max-height: none;
    aspect-ratio: auto;
    height: auto;
  }

  #custom-gallery-pagination span {
    flex: 0 0 28px;
    width: 28px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-text {
    width: 100%;
    justify-content: center;
  }
}

/* Touch devices: CTAs de colecciones siempre visibles */
@media (hover: none) {
  .custom-overlay {
    pointer-events: auto;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .4));
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 56px;
  }

  .custom-discover-btn,
  .custom-cotizar-btn {
    opacity: 1;
    transform: none;
    min-height: 44px;
  }

  .amb-card .explore {
    opacity: 1;
    transform: none;
  }
}
