:root {
  --bone: #f1eee7;
  --paper: #f8f5ef;
  --graphite: #11100f;
  --muted: #716c64;
  --line: rgba(17, 16, 15, 0.2);
  --terracotta: #ad3b31;
  --terracotta-dark: #8f2f28;
  --cobalt: #ad3b31;
  --stone: #b9b2a8;
  --radius: 4px;
}

/* Portada y navegación v41: composición más ligera y visible sin scroll. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(17, 16, 15, 0.08);
}

.main-nav .nav-3d::after { background: #c8522c; }
.main-nav .nav-digital::after { background: #087086; }

.split-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, #272523 0 50%, #f4ede6 50% 100%);
  overflow: hidden;
}

.split-hero-desktop {
  position: relative;
  width: 100%;
  height: calc(100svh - 82px);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.desktop-portal {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.desktop-portal-3d { background: #272523; color: #f4ede6; }
.desktop-portal-digital { background: #f4ede6; color: #272523; }

.desktop-portal-copy {
  position: absolute;
  z-index: 4;
  top: clamp(22px, 3.2vh, 38px);
  left: 50%;
  width: min(360px, 82%);
  transform: translateX(-50%);
  text-align: center;
}

.desktop-portal-copy p {
  margin: 0;
  font-size: clamp(1.8rem, 2.45vw, 2.7rem);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-portal-copy p::after {
  content: "";
  width: 42px;
  height: 2px;
  display: block;
  margin: 15px auto 17px;
  background: currentColor;
}

.desktop-portal-3d .desktop-portal-copy p { color: #c8522c; }
.desktop-portal-digital .desktop-portal-copy p { color: #272523; }

.desktop-portal-copy h2 {
  margin: 0 0 18px;
  font: 400 clamp(.85rem, 1.207vw, 1.2325rem)/1.2 "DM Sans", sans-serif;
}

.desktop-portal-button {
  min-width: 190px;
  display: inline-block;
  padding: 13px 24px;
  border-radius: 7px;
  color: #fff;
  font-size: clamp(.82rem, 1vw, 1rem);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(0,0,0,.12);
}

.desktop-portal-3d .desktop-portal-button { background: #c8522c; }
.desktop-portal-digital .desktop-portal-button { background: #141313; }

.desktop-brand-lockup {
  position: absolute;
  z-index: 8;
  top: clamp(12px, 1.8vh, 22px);
  left: 50%;
  width: min(470px, 32vw);
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  pointer-events: none;
  mix-blend-mode: difference;
}

.desktop-brand-lockup > img {
  width: clamp(70px, 6.3vw, 112px);
  height: clamp(70px, 6.3vw, 112px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.desktop-brand-lockup strong {
  margin-top: -4px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: .17em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-brand-lockup .brand-rule { display: flex; gap: 9px; margin: 20px 0 15px; }
.desktop-brand-lockup .brand-rule i { width: 62px; height: 2px; display: block; background: #fff; }
.desktop-brand-lockup > span:last-child { font-size: clamp(.95rem, 1.45vw, 1.45rem); }

.desktop-3d-composition {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(24px, 4vh, 52px);
  width: auto;
  max-width: 54%;
  height: min(58%, 540px);
  max-height: 58%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .22));
  transform: translateX(-50%);
}

/* Carrusel principal de posibilidades 3D v49. */
.three-d-hero-carousel {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(18px, 2.7vh, 32px);
  width: min(78%, 700px);
  height: min(59%, 520px);
  transform: translateX(-50%);
}

/* Ambos carruseles comparten la misma caja para mantener alineados
   el control izquierdo, el contenido y el control derecho. */
.three-d-hero-carousel,
.digital-hero-carousel {
  bottom: clamp(18px, 2.7vh, 32px);
  width: min(78%, 700px);
  height: min(59%, 520px);
}

.three-d-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.three-d-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 58px;
  justify-items: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px) scale(.985);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}

.three-d-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.three-d-hero-slide img {
  width: auto;
  max-width: 86%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .24));
}

.three-d-hero-slide:nth-child(2) img,
.three-d-hero-slide:nth-child(3) img { max-width: 84%; }
.three-d-hero-slide .three-d-knob {
  max-width: 78%;
  filter:
    drop-shadow(0 0 10px rgba(244, 237, 230, .34))
    drop-shadow(0 18px 24px rgba(0, 0, 0, .28));
}
.three-d-hero-slide .three-d-robot { max-width: 58%; }

.three-d-hero-slide figcaption {
  max-width: 520px;
  align-self: center;
  margin: 0;
  color: #f4ede6;
  font: 400 clamp(.78rem, 1vw, .98rem)/1.35 "DM Sans", sans-serif;
  letter-spacing: .035em;
  text-align: center;
}

.three-d-hero-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 237, 230, .32);
  border-radius: 50%;
  background: rgba(20, 19, 19, .78);
  color: #f4ede6;
  font: 300 1.35rem/1 "DM Sans", sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
  transform: translateY(-50%);
}

.three-d-hero-prev { left: -38px; }
.three-d-hero-next { right: -38px; }
.three-d-hero-arrow:hover { background: #141313; }

.three-d-hero-dots {
  position: absolute;
  z-index: 8;
  bottom: -1px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

.three-d-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 237, 230, .35);
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}

.three-d-hero-dots button.is-active {
  width: 22px;
  background: #f4ede6;
}

.desktop-digital-composition {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: clamp(16px, 2vh, 24px);
  width: 70%;
  height: 58%;
}

.digital-demo { position: absolute; margin: 0; }
.digital-demo img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 12px 13px rgba(20,20,20,.16)); }
.digital-demo figcaption { position: absolute; left: 50%; margin: 0; transform: translateX(-50%); color: #34383b; font-size: clamp(.55rem, .72vw, .72rem); font-weight: 500; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.digital-demo figcaption::after { content: ""; width: 1px; height: 20px; display: block; margin: 5px auto 0; background: #777; }
.digital-demo-web { left: 0; bottom: 6%; width: 64%; height: 67%; padding: 3.5% 2.3% 8%; border: 7px solid #262626; border-bottom-width: 18px; border-radius: 10px 10px 4px 4px; background: #fff; box-shadow: 0 17px 22px rgba(20,20,20,.2); }
.digital-demo-web::after { content: ""; position: absolute; right: -8%; bottom: -27px; left: -8%; height: 13px; border-radius: 2px 2px 12px 12px; background: linear-gradient(#aaa,#555); }
.digital-demo-web figcaption { top: -41px; }
.digital-demo-card { z-index: 3; left: 53%; bottom: 0; width: 20%; height: 72%; }
.digital-demo-card figcaption { top: -33px; }
.digital-demo-loyalty { z-index: 2; right: 0; top: 20%; width: 25%; height: 37%; }
.digital-demo-loyalty img { object-fit: cover; object-position: center; border-radius: 10px; }
.digital-demo-loyalty figcaption { top: -34px; }
.digital-demo-review { z-index: 2; right: 0; bottom: 0; width: 25%; height: 34%; }
.digital-demo-review img { border-radius: 9px; object-fit: cover; object-position: 27% center; }
.digital-demo-review figcaption { bottom: -30px; }
.digital-demo-review figcaption::after { display: none; }

/* Conjunto Digital v42: recursos independientes y centrados, sin marcos externos. */
.digital-showcase {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(30px, 4vh, 48px);
  width: min(80%, 760px);
  height: min(55%, 480px);
  transform: translateX(-50%);
}

.showcase-item {
  position: absolute;
  margin: 0;
}

.showcase-item > figcaption {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  color: #34383b;
  font-size: clamp(.58rem, .68vw, .72rem);
  font-weight: 500;
  letter-spacing: .055em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-item > figcaption::after {
  content: "";
  width: 1px;
  height: 16px;
  display: block;
  margin: 6px auto -4px;
  background: rgba(52, 56, 59, .58);
}

.showcase-item > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 13px 14px rgba(24, 22, 20, .16));
}

.showcase-laptop {
  left: 0;
  bottom: 4%;
  width: 54%;
  height: auto;
  aspect-ratio: 1.68 / 1;
}

.laptop-screen {
  position: absolute;
  inset: 0 0 12%;
  overflow: hidden;
  border: clamp(5px, .55vw, 8px) solid #262626;
  border-bottom-width: clamp(11px, 1vw, 16px);
  border-radius: 9px 9px 4px 4px;
  background: #fff;
  box-shadow: 0 16px 24px rgba(25, 23, 21, .18);
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.laptop-base {
  position: absolute;
  right: -6%;
  bottom: 5%;
  left: -6%;
  height: 8%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #b9b9b9 0%, #777 58%, #4c4c4c 100%);
  box-shadow: 0 9px 13px rgba(25, 23, 21, .2);
}

.showcase-phone {
  z-index: 5;
  left: 57%;
  bottom: 1%;
  width: 14%;
  height: auto;
}

.showcase-loyalty {
  z-index: 4;
  right: 1%;
  top: 12%;
  width: 22%;
  height: auto;
}

.showcase-review {
  z-index: 4;
  right: 0;
  bottom: 1%;
  width: 23%;
  height: auto;
}

.showcase-loyalty > img,
.showcase-phone > img,
.showcase-review > img {
  height: auto;
  object-position: center;
}

/* Carrusel principal de soluciones digitales v44. */
.digital-hero-carousel {
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
}

.digital-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.digital-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px) scale(.985);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}

.digital-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.digital-hero-slide figcaption {
  position: relative;
  z-index: 3;
  align-self: start;
  color: #34383b;
  font: 400 clamp(.67rem, .78vw, .82rem)/1 "DM Sans", sans-serif;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.digital-hero-slide figcaption::after {
  content: "";
  width: 1px;
  height: 17px;
  display: block;
  margin: 7px auto 0;
  background: rgba(52, 56, 59, .5);
}

.digital-hero-slide img {
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(24, 22, 20, .16));
}

.digital-hero-slide:nth-child(2) img { max-height: 94%; }
.digital-hero-slide:nth-child(3) img { max-height: 88%; }
.digital-hero-slide:nth-child(5) img { max-width: 92%; border-radius: 8px; }

/* Las dos imágenes llegaron con cuadrícula de previsualización incorporada;
   el recorte conserva únicamente la silueta de cada dispositivo. */
.carousel-laptop {
  width: 100% !important;
  max-width: 100% !important;
  clip-path: polygon(22% 12%, 78% 12%, 78% 75%, 84% 86%, 84% 91%, 16% 91%, 16% 86%, 22% 75%);
}

.carousel-phone {
  width: auto !important;
  max-width: 88% !important;
  clip-path: none;
  transform: none;
}

.digital-hero-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 56, 59, .22);
  border-radius: 50%;
  background: rgba(248, 245, 239, .86);
  color: #34383b;
  font: 300 1.35rem/1 "DM Sans", sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(24, 22, 20, .08);
  transform: translateY(-50%);
}

.digital-hero-prev { left: -38px; }
.digital-hero-next { right: -38px; }
.digital-hero-arrow:hover { background: #fff; }

.digital-hero-dots {
  position: absolute;
  z-index: 8;
  bottom: -2px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

.digital-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(52, 56, 59, .28);
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}

.digital-hero-dots button.is-active {
  width: 22px;
  background: #34383b;
}

@media (prefers-reduced-motion: reduce) {
  .digital-hero-slide,
  .three-d-hero-slide { transition: none; }
}

.split-hero-mobile { display: none; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 10px 18px; }
  .site-header .brand span { font-size: 0.78rem; }
  .split-hero-desktop { display: none; }
  .split-hero-mobile { display: block; }

  .mobile-brand-lockup {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 24px 18px 20px;
    background: #f4ede6;
    color: #141313;
    text-align: center;
  }

  .mobile-brand-lockup img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: none;
  }

  .mobile-brand-lockup strong {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .mobile-brand-lockup span { font-size: 0.82rem; letter-spacing: 0.04em; }

  .mobile-portal {
    position: relative;
    min-height: 520px;
    padding: 34px 20px 20px;
    overflow: hidden;
  }

  .mobile-portal-copy { position: relative; z-index: 3; text-align: center; }
  .mobile-portal-copy p {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .mobile-portal-copy h2 { margin: 0 0 16px; font: 400 .918rem/1.25 "DM Sans", sans-serif; }
  .mobile-portal-copy .button { min-width: 172px; padding: 12px 18px; border: 0; color: #fff; }

  .mobile-portal-3d { min-height: 610px; background: #272523; color: #f4ede6; }
  .mobile-portal-3d .mobile-portal-copy p { color: #d45a31; }
  .mobile-portal-3d .button { background: #bd4f2a; }
  .three-d-hero-carousel-mobile {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(520px, 92%);
    height: 405px;
    margin: 18px auto 0;
    transform: none;
  }
  .three-d-hero-carousel-mobile .three-d-hero-slide {
    grid-template-rows: minmax(0, 1fr) 62px;
  }
  .three-d-hero-carousel-mobile .three-d-hero-slide img { max-width: 88%; }
  .three-d-hero-carousel-mobile .three-d-hero-slide:nth-child(2) img,
  .three-d-hero-carousel-mobile .three-d-hero-slide:nth-child(3) img { max-width: 88%; }
  .three-d-hero-carousel-mobile .three-d-hero-slide .three-d-knob { max-width: 76%; }
  .three-d-hero-carousel-mobile .three-d-hero-slide .three-d-robot { max-width: 54%; }
  .three-d-hero-carousel-mobile .three-d-hero-prev { left: -22px; }
  .three-d-hero-carousel-mobile .three-d-hero-next { right: -22px; }

  .mobile-portal-digital { min-height: 560px; background: #f4ede6; color: #272523; }
  .mobile-portal-digital .mobile-portal-copy p { color: #272523; }
  .mobile-portal-digital .button { background: #141313; }
  .mobile-digital-collage { position: relative; height: 365px; margin-top: 14px; }
  .mobile-digital-collage img { position: absolute; display: block; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(25, 25, 25, 0.16)); }
  .mobile-web { left: -8%; top: 16px; width: 82%; }
  .mobile-card { left: 42%; top: 56px; width: 30%; z-index: 2; }
  .mobile-loyalty { right: -3%; top: 48px; width: 31%; z-index: 3; }
}


/* Tarjetas visuales de servicios aprobadas */
.service-paths .service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.service-paths .service-card,
.service-paths .service-card:hover {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--graphite);
  color: inherit;
}

.service-paths .service-card:hover {
  transform: translateY(-5px);
  border-color: var(--terracotta);
}

.service-paths .service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 220 / 338;
  object-fit: cover;
}

@media (max-width: 900px) {
  .service-paths .service-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 42vw);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .service-paths .service-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
  .service-paths .service-grid {
    grid-auto-columns: minmax(205px, 72vw);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--graphite);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(1440px, calc(100% - 10vw));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 42px);
  font-size: 0.92rem;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--cobalt);
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.main-nav .nav-contact {
  padding: 12px 21px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
}

.main-nav .nav-contact::after {
  display: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px 0;
  background: var(--graphite);
}

.hero {
  width: min(1440px, calc(100% - 10vw));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(380px, 1.07fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: 78px 0 88px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--cobalt);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 6.1vw, 6.65rem);
  line-height: 0.88;
}

h1 em {
  color: var(--terracotta);
  font-weight: 500;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 36px;
  color: #514e48;
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--terracotta);
  color: white;
}

.button-primary:hover {
  background: var(--terracotta-dark);
}

.button-secondary {
  border-color: var(--graphite);
}

.button-secondary:hover {
  background: var(--graphite);
  color: white;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% 4% 8%;
  z-index: -1;
  border-radius: 49% 51% 55% 45%;
  background: rgba(199, 101, 69, 0.08);
}

.hero-visual img {
  width: 100%;
  max-height: 670px;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(42, 35, 28, 0.12));
}

.service-paths,
.services-detail,
.projects,
.about {
  width: min(1440px, calc(100% - 10vw));
  margin: 0 auto;
}

.service-paths {
  padding: 115px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 138px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 248, 242, 0.55);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  background: var(--paper);
}

.service-card span {
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 700;
}

.service-card strong {
  font-family: "Newsreader", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
}

.service-card i {
  font-size: 1.5rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.service-card:hover i {
  transform: translate(4px, -4px);
}

.service-card-featured {
  grid-column: 1 / -1;
  background: var(--graphite);
  color: white;
}

.service-card-featured:hover {
  border-color: var(--graphite);
  background: #31312d;
}

.services-detail {
  border-top: 1px solid var(--line);
}

.service-detail {
  min-height: 150px;
  display: grid;
  grid-template-columns: 0.15fr 0.9fr 0.65fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.service-number {
  align-self: start;
  color: var(--terracotta);
  font-weight: 700;
}

.service-detail h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.5rem);
  line-height: 0.98;
}

.service-detail > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.modular-showcase {
  width: min(1440px, calc(100% - 10vw));
  margin: 40px auto 0;
  padding: clamp(70px, 9vw, 125px);
  border-radius: 30px;
  background: var(--paper);
}

.modular-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  align-items: end;
  gap: 10vw;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.modular-intro h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  line-height: 0.94;
}

.modular-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.modular-families {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 60px 0;
  background: var(--line);
}

.modular-families .family-card {
  min-width: 0;
  padding: 24px;
  background: var(--paper);
}

.family-label,
.use-cases span {
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modular-families h3,
.video-copy h3,
.use-cases h3 {
  font-family: "Newsreader", serif;
  font-weight: 500;
}

.modular-families h3 {
  margin: 12px 0 12px;
  font-size: clamp(2.2rem, 3vw, 3.6rem);
}

.family-heading > p:last-child,
.video-copy > p:last-child,
.use-cases p {
  color: var(--muted);
  line-height: 1.65;
}

.family-heading {
  min-height: 205px;
  padding: 14px 14px 20px;
}

.family-carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.carousel-slide {
  min-width: 100%;
  margin: 0;
  scroll-snap-align: start;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 764 / 506;
  object-fit: cover;
  background: #eeeae2;
}

.carousel-slide figcaption {
  min-height: 80px;
  padding: 17px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.carousel-controls {
  min-height: 54px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: 5px 9px;
  border-top: 1px solid var(--line);
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--graphite);
  font-size: 1.25rem;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: var(--bone);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(36, 36, 33, 0.23);
}

.carousel-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--terracotta);
}

.reference-note {
  margin: -36px 0 58px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.modular-video {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
  color: white;
}

.video-preview {
  min-height: 440px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 28% 24%, rgba(199, 101, 69, 0.92), transparent 24%),
    linear-gradient(145deg, #2452a4, #20201e 70%);
}

.video-preview p {
  margin: 0;
  font-weight: 600;
}

.play-symbol {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-size: 1.35rem;
}

.video-copy {
  align-self: center;
  padding: 45px;
}

.video-copy .eyebrow {
  color: #e79577;
}

.video-copy h3 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.video-copy > p:last-child {
  color: #c9c5bd;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.use-cases article {
  min-height: 210px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.use-cases h3 {
  margin: 36px 0 10px;
  font-size: 1.8rem;
}

.use-cases p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.modular-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 42px;
}

.text-link {
  margin-left: auto;
  font-weight: 600;
}

.project-placeholder-modular {
  background:
    linear-gradient(145deg, rgba(199, 101, 69, 0.88), rgba(36, 82, 164, 0.88)),
    var(--graphite);
}

.projects {
  padding: 130px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.project-card > div:last-child {
  padding: 25px 28px 30px;
}

.project-card p {
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.project-featured {
  grid-row: span 2;
}

.project-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(36, 82, 164, 0.82), rgba(36, 36, 33, 0.92)),
    var(--graphite);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.project-featured .project-placeholder {
  min-height: 525px;
  background:
    radial-gradient(circle at 70% 25%, rgba(199, 101, 69, 0.82), transparent 28%),
    linear-gradient(145deg, #2d2d29, #171715);
}

.about {
  padding: 115px 0 130px;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 12vw;
}

.about h2 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  line-height: 0.96;
}

.about-grid > div {
  padding-top: 12px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.contact {
  padding: clamp(64px, 8vw, 96px) 22px 48px;
  text-align: center;
  background: var(--graphite);
  color: white;
}

.contact .eyebrow {
  color: #e79577;
}

.contact h2 {
  max-width: 940px;
  margin: 0 auto 22px;
  font-size: clamp(3.2rem, 6.5vw, 6.7rem);
  line-height: 0.94;
}

.contact > p:not(.eyebrow) {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: #c9c5bd;
  font-size: 1.15rem;
}

.button-light {
  background: var(--bone);
  color: var(--graphite);
}

footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
  gap: 24px;
  padding: 30px 5vw;
  background: var(--graphite);
  color: #c9c5bd;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  color: white;
}

.footer-brand img {
  filter: invert(1);
}

.service-detail-link {
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.service-detail-link:hover {
  background: var(--terracotta);
  color: white;
}

.contact-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(231, 149, 119, 0.7);
  border-radius: 50%;
  color: #e79577;
  background: transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-icon:hover,
.contact-icon:focus-visible {
  transform: translateY(-3px);
  background: #e79577;
  color: var(--graphite);
}

.contact-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tetra-credit {
  color: #c9c5bd;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-credit-block {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.tetra-credit:hover,
.tetra-credit:focus-visible {
  color: #e79577;
}

footer p {
  margin: 0;
  text-align: center;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 44px);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 80px 22px auto;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(36, 36, 33, 0.16);
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .service-paths,
  .services-detail,
  .projects,
  .about,
  .modular-showcase {
    width: calc(100% - 44px);
  }

  .section-heading,
  .service-detail,
  .about-grid,
  .modular-intro {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 16px;
  }

  .service-detail {
    gap: 15px;
    padding: 55px 0;
  }

  .service-number {
    margin-bottom: 10px;
  }

  .modular-showcase {
    padding: 70px 44px;
  }

  .modular-intro {
    gap: 28px;
  }

  .modular-families,
  .modular-video {
    grid-template-columns: 1fr;
  }

  .modular-families {
    gap: 1px;
  }

  .modular-families .family-card {
    min-height: auto;
  }

  .family-heading {
    min-height: auto;
  }

  .use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .text-link {
    width: 100%;
    margin: 10px 0 0;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(3.35rem, 16vw, 5rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 300px;
  }

  .service-grid,
  .project-grid,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    grid-column: auto;
  }

  .service-card {
    min-height: 112px;
    padding: 24px 22px;
  }

  .modular-showcase {
    width: 100%;
    margin-top: 20px;
    padding: 65px 22px;
    border-radius: 0;
  }

  .modular-video,
  .video-preview {
    min-height: 360px;
  }

  .video-copy {
    padding: 35px 28px;
  }

  .modular-actions {
    display: grid;
  }

  .project-featured {
    grid-row: auto;
  }

  .project-featured .project-placeholder {
    min-height: 330px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer p:last-child {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .tetra-credit {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Identidad editorial Tetra Taller · v2 */
.site-header {
  width: 100%;
  min-height: 82px;
  padding: 0 4vw;
  background: var(--bone);
  border-bottom: 0;
}

.brand {
  gap: 14px;
  font-size: 0.79rem;
  letter-spacing: 0.18em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.main-nav {
  gap: clamp(20px, 2.15vw, 40px);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.main-nav a::after {
  height: 1px;
  background: var(--terracotta);
}

.main-nav .nav-contact {
  min-width: 154px;
  padding: 16px 24px;
  background: #141313;
  color: var(--bone);
  text-align: center;
  border-color: #141313;
}

.hero {
  width: 100%;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 5vw, 92px);
  padding: clamp(76px, 9vh, 118px) 5vw;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(173, 59, 49, 0.055), transparent 33%),
    var(--graphite);
  color: var(--bone);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  margin-bottom: clamp(40px, 5vh, 68px);
  color: var(--stone);
  letter-spacing: 0.24em;
}

.hero .eyebrow::before {
  content: "◆";
  margin-right: 14px;
  color: var(--bone);
  font-size: 0.62rem;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 36px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(4.2rem, 6.55vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--stone);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero h1 span:last-child::after {
  content: "";
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.09em;
  border-radius: 50%;
  background: var(--terracotta);
}

.hero-intro {
  max-width: 610px;
  color: #cbc5bc;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.hero .button {
  min-height: 56px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .button-primary {
  background: var(--bone);
  color: var(--graphite);
}

.hero .button-primary:hover {
  background: white;
}

.hero .button-secondary {
  color: var(--bone);
  border-color: rgba(241, 238, 231, 0.62);
}

.hero-visual {
  min-height: 540px;
}

.hero-visual::before {
  inset: -9% -14% -9% 15%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(241, 238, 231, 0.035);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(241, 238, 231, 0.17);
  filter: saturate(0.78) contrast(1.03) drop-shadow(0 35px 50px rgba(0, 0, 0, 0.38));
}

.service-paths {
  border-top: 0;
}

.section-heading h2,
.service-card strong,
.service-detail h2,
.about h2,
.ecosystem-home h2,
.contact h2 {
  font-family: "DM Sans", sans-serif;
  letter-spacing: -0.055em;
}

.service-card {
  border-radius: 4px;
  background: rgba(248, 245, 239, 0.72);
}

.service-card:hover {
  color: var(--bone);
  border-color: var(--graphite);
  background: var(--graphite);
}

.service-card:hover span {
  color: #d86b5d;
}

.ecosystem-home {
  border-radius: 4px;
  background: var(--graphite);
}

.printed-ideas {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 56vw, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #171513;
  color: var(--bone);
}

.printed-ideas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 14, 13, 0.24) 0%, transparent 52%);
}

.printed-ideas-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.printed-ideas-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 42vw);
  margin-left: 5vw;
}

.printed-ideas .eyebrow {
  color: #d9a52f;
}

.printed-ideas h2 {
  margin-bottom: 28px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(3.4rem, 5.8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.printed-ideas-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 34px;
  color: #c9c3ba;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

.printed-ideas .button-light {
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.clear-process {
  width: min(1440px, calc(100% - 10vw));
  margin: 0 auto;
  padding: clamp(90px, 9vw, 145px) 0;
}

.clear-process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(50px, 10vw, 150px);
  margin-bottom: 60px;
}

.clear-process-heading h2 {
  max-width: 900px;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(3.2rem, 5.7vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.clear-process-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-item {
  min-height: 190px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.38);
  transition: background 180ms ease, color 180ms ease;
}

.process-item:hover {
  background: var(--graphite);
  color: var(--bone);
}

.process-item > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-item h3 {
  margin: 3px 0 12px;
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.process-item p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.process-item:hover p {
  color: #c9c3ba;
}

.order-promise-section {
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(72px, 8vw, 120px) 5vw;
  background:
    radial-gradient(circle at 50% 10%, rgba(241, 238, 231, 0.055), transparent 42%),
    var(--graphite);
}

.order-promise-card {
  width: min(500px, 100%);
  display: grid;
  gap: 28px;
  padding: clamp(30px, 4vw, 48px);
  background: #bd4538;
  color: var(--bone);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

.promise-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 18px;
}

.promise-item svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promise-item p {
  margin: 2px 0 0;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.projects {
  padding-top: 130px;
}

.project-card,
.project-placeholder {
  border-radius: 4px;
}

.contact {
  background: var(--graphite);
}

.button,
.system-card,
.benefit-card,
.system-next {
  border-radius: 4px;
}

@media (max-width: 980px) {
  .site-header {
    width: 100%;
    min-height: 76px;
    padding: 0 22px;
  }

  .main-nav {
    inset: 76px 16px auto;
    background: var(--bone);
  }

  .hero {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 68px 22px 76px;
  }

  .hero h1 {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .printed-ideas {
    min-height: 700px;
  }

  .printed-ideas-image {
    object-position: 58% center;
  }

  .printed-ideas-copy {
    width: min(560px, 55vw);
    margin-left: 22px;
  }

  .clear-process {
    width: calc(100% - 44px);
  }

  .clear-process-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .brand span {
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 56px;
  }

  .hero .eyebrow {
    margin-bottom: 38px;
    font-size: 0.63rem;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15.4vw, 4.7rem);
    line-height: 0.86;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-actions {
    gap: 11px;
  }

  .printed-ideas {
    min-height: 800px;
    align-items: flex-start;
    padding: 52px 22px 0;
    background: #171513;
  }

  .printed-ideas::after {
    background: linear-gradient(180deg, rgba(15, 14, 13, 0.96) 0%, rgba(15, 14, 13, 0.58) 42%, transparent 68%);
  }

  .printed-ideas-image {
    object-position: 69% center;
  }

  .printed-ideas-copy {
    width: 100%;
    margin: 0;
  }

  .printed-ideas h2 {
    max-width: 560px;
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .printed-ideas-copy > p:not(.eyebrow) {
    max-width: 520px;
  }

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

  .process-item {
    min-height: auto;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 28px 22px;
  }

  .process-item > span {
    width: 44px;
    height: 44px;
  }

  .order-promise-section {
    padding: 48px 22px;
  }

  .order-promise-card {
    gap: 24px;
    padding: 28px 24px;
  }

  .promise-item {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .promise-item svg {
    width: 28px;
    height: 28px;
  }
}

/* Guía visual de materiales de impresión 3D */
.filament-guide {
  width: min(1240px, calc(100% - 10vw));
  margin: 0 auto;
  padding: clamp(72px, 7vw, 110px) 0;
}

.filament-guide-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  column-gap: clamp(48px, 9vw, 135px);
  align-items: end;
  margin-bottom: 36px;
}

.filament-guide-heading .eyebrow {
  grid-column: 1 / -1;
}

.filament-guide-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.96;
}

.filament-guide-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.filament-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2.2vw, 30px);
}

.filament-guide-overview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.filament-carousel {
  width: 100%;
  margin: 0;
  box-shadow: 0 12px 34px rgba(17, 16, 15, 0.07);
}

.filament-carousel .carousel-slide img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: white;
}

.filament-carousel .carousel-slide figcaption {
  min-height: 66px;
  padding: 16px 20px;
  background: white;
  font-size: 0.94rem;
}

.filament-carousel .carousel-slide figcaption strong {
  color: var(--graphite);
}

.contact-email {
  color: white;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Cotizador sencillo de impresión 3D */
.quote-section {
  width: min(1440px, calc(100% - 10vw));
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1fr);
  gap: clamp(48px, 8vw, 120px);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) 0;
}

.quote-intro h2 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 5vw, 5.7rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.quote-intro > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.quote-scope {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.quote-scope li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.quote-scope li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

.quote-card {
  display: grid;
  gap: 25px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(248, 245, 239, 0.14);
  background: #171513;
  color: var(--bone);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.quote-card label,
.quote-card legend,
.color-palette > p {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-card input,
.quote-card select {
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(248, 245, 239, 0.2);
  border-radius: 2px;
  background: #242220;
  color: var(--bone);
  font: inherit;
}

.quote-card input:focus,
.quote-card select:focus {
  outline: 2px solid #d9a52f;
  outline-offset: 2px;
}

.quote-file-field small,
.color-palette small {
  display: block;
  margin-top: 8px;
  color: #a9a49c;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.quote-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.model-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.model-analysis[hidden],
.scale-panel[hidden] {
  display: none;
}

.model-preview-wrap {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(248, 245, 239, 0.16);
  background: #151311;
}

.model-preview-wrap canvas {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  touch-action: none;
  cursor: grab;
}

.model-preview-wrap canvas:active {
  cursor: grabbing;
}

.model-preview-wrap > span {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.58);
  color: #bcb7ae;
  font-size: 0.66rem;
}

.model-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(248, 245, 239, 0.16);
  background: #211f1c;
}

.model-data p {
  margin: 0 0 10px;
  color: #d9a52f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-data strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.model-data small {
  margin-top: 13px;
  color: #aaa59c;
  font-size: 0.72rem;
  line-height: 1.5;
}

.scale-panel {
  border-top: 1px solid rgba(248, 245, 239, 0.14);
  border-bottom: 1px solid rgba(248, 245, 239, 0.14);
}

.scale-panel summary {
  padding: 16px 2px;
  color: var(--bone);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.scale-controls {
  padding: 5px 2px 22px;
}

.scale-controls > div {
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: center;
  gap: 16px;
}

.scale-controls input[type="range"] {
  min-height: 30px;
  margin: 8px 0;
  padding: 0;
  accent-color: var(--terracotta);
}

.scale-controls output {
  color: #d9a52f;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
}

.scale-controls p {
  margin: 13px 0 5px;
  font-size: 0.88rem;
}

.scale-controls small {
  color: #aaa59c;
  font-size: 0.73rem;
  line-height: 1.5;
}

.dimension-grid,
.quote-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.color-palette > p {
  margin: 0 0 13px;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.color-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(248, 245, 239, 0.17);
  cursor: pointer;
  font-size: 0.68rem;
}

.color-options input {
  width: 15px;
  min-height: 15px;
  margin: 0;
  accent-color: var(--terracotta);
}

.color-options span {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--swatch);
}

.quote-restrictions {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(248, 245, 239, 0.13);
  color: #aaa59c;
  font-size: 0.76rem;
  line-height: 1.6;
}

.quote-message {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.quote-error {
  border-left: 3px solid #d87537;
  background: rgba(216, 117, 55, 0.12);
  color: #f2c6a8;
}

.quote-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.quote-result {
  display: grid;
  gap: 7px;
  padding: 24px;
  border: 1px solid rgba(217, 165, 47, 0.5);
  background: rgba(217, 165, 47, 0.08);
}

.quote-result[hidden],
.quote-message[hidden] {
  display: none;
}

.quote-result span {
  color: #d9a52f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-result strong {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
}

.quote-result p {
  margin: 4px 0 0;
  color: #aaa59c;
  font-size: 0.78rem;
  line-height: 1.5;
}

.quote-whatsapp {
  justify-self: start;
  margin-top: 10px;
  border: 0;
  background: #2f8f4e;
  color: white;
}

.quote-whatsapp:hover {
  background: #267641;
}

/* Tarjetas digitales de fidelidad */
.loyalty-hero,
.loyalty-section,
.loyalty-benefits,
.loyalty-example {
  width: min(1240px, calc(100% - 10vw));
  margin-right: auto;
  margin-left: auto;
}

.loyalty-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  min-height: calc(100svh - 98px);
  padding: clamp(64px, 8vw, 120px) 0;
}

.loyalty-hero h1 {
  max-width: 820px;
  margin: 0 0 28px;
  font-size: clamp(3.6rem, 6.4vw, 7rem);
  line-height: 0.9;
}

.loyalty-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.loyalty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.loyalty-prototype {
  width: min(100%, 410px);
  margin: 0 auto;
  text-align: center;
}

.loyalty-prototype img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(17, 16, 15, 0.16));
}

.loyalty-prototype figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.loyalty-section {
  padding: clamp(80px, 9vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.loyalty-heading {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 44px;
}

.loyalty-heading h2,
.loyalty-benefits h2,
.loyalty-example h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.loyalty-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.loyalty-steps article {
  min-height: 245px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.loyalty-steps article:last-child {
  border-right: 0;
}

.loyalty-steps span {
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
}

.loyalty-steps h3 {
  margin: 48px 0 12px;
  font-family: "Newsreader", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.loyalty-steps p,
.loyalty-example > p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.loyalty-benefits {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(50px, 9vw, 135px);
  padding: clamp(80px, 9vw, 130px) 0;
}

.loyalty-benefits ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.loyalty-benefits li {
  position: relative;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.loyalty-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--terracotta);
  content: "✓";
  font-weight: 700;
}

.loyalty-example {
  margin-bottom: clamp(80px, 9vw, 130px);
  padding: clamp(48px, 6vw, 78px);
  background: var(--graphite);
  color: white;
}

.loyalty-example h2 {
  max-width: 800px;
}

.loyalty-example > p:last-child {
  max-width: 700px;
  margin: 24px 0 0;
  color: #c9c5bd;
}

.loyalty-contact .button {
  margin-top: 26px;
}

@media (max-width: 900px) {
  .loyalty-hero {
    grid-template-columns: 1fr;
  }

  .loyalty-prototype {
    width: min(78vw, 390px);
  }

  .loyalty-heading,
  .loyalty-benefits {
    grid-template-columns: 1fr;
  }

  .loyalty-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loyalty-steps article:nth-child(2) {
    border-right: 0;
  }

  .loyalty-steps article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 580px) {
  .loyalty-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .loyalty-actions {
    display: grid;
  }

  .loyalty-actions .button {
    width: 100%;
    text-align: center;
  }

  .loyalty-prototype {
    width: min(88vw, 360px);
  }

  .loyalty-steps {
    grid-template-columns: 1fr;
  }

  .loyalty-steps article,
  .loyalty-steps article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .loyalty-steps article:last-child {
    border-bottom: 0;
  }

  .loyalty-steps h3 {
    margin-top: 28px;
  }
}

/* Fidelización digital v32: galería de marcas y demostración */
.loyalty-page { overflow-x: hidden; }
.loyalty-hero-v32 { grid-template-columns: minmax(0, .95fr) minmax(430px, .72fr); gap: clamp(40px, 6vw, 92px); }
.loyalty-hero-v32 h1 { font-size: clamp(3.35rem, 5.8vw, 6.5rem); }
.loyalty-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.loyalty-hero-points li::before { margin-right: 7px; color: var(--terracotta); content: "✓"; }
.loyalty-phone-stage { position: relative; min-height: 650px; display: grid; place-items: center; }
.loyalty-phone { position: relative; z-index: 2; width: min(330px, 80vw); padding: 10px; border: 2px solid #2e2b28; border-radius: 46px; background: #151412; box-shadow: 0 35px 75px rgba(17,16,15,.25); transform: rotate(2deg); }
.loyalty-phone-speaker { position: absolute; z-index: 3; top: 19px; left: 50%; width: 82px; height: 23px; border-radius: 20px; background: #151412; transform: translateX(-50%); }
.loyalty-phone-screen { min-height: 620px; overflow: hidden; padding: 19px 14px 17px; border-radius: 36px; background: #f4f0e8; }
.loyalty-mini-status { display: flex; justify-content: space-between; padding: 1px 8px 20px; color: #1c1916; font-size: .62rem; font-weight: 700; }
.demo-pass { min-height: 445px; padding: 27px 23px; border-radius: 22px; box-shadow: 0 17px 36px rgba(43,21,12,.22); color: #fff7ea; }
.demo-pass-pizza { background: linear-gradient(145deg,#a52e21 0%,#6d1714 100%); }
.demo-pass-brand { display: flex; align-items: center; gap: 13px; }
.demo-pass-brand b { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: .8rem; }
.demo-pass-brand span { font-size: 1.15rem; font-weight: 700; letter-spacing: .07em; }
.demo-pass-brand small { display: block; margin-top: 2px; font-size: .48rem; font-weight: 600; letter-spacing: .18em; opacity: .72; }
.demo-pass > p { margin: 72px 0 20px; max-width: 205px; font-family: "Newsreader",serif; font-size: 2rem; line-height: 1; }
.demo-stamps,.loyalty-card-stamps { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-stamps i,.loyalty-card-stamps i { display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 700; }
.demo-stamps i { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.45); color: #6d1714; background: rgba(255,255,255,.12); }
.demo-stamps i:not(:empty) { background: #fff0ca; }
.demo-pass-reward { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); }
.demo-pass-reward span { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.demo-pass-reward strong { max-width: 130px; font-size: .77rem; text-align: right; }
.loyalty-wallet-bar { display: flex; justify-content: space-between; margin-top: 15px; padding: 13px 7px 3px; color: #625d55; font-size: .63rem; }
.loyalty-float-card { position: absolute; z-index: 1; width: 210px; min-height: 125px; display: grid; grid-template-columns: 40px 1fr; gap: 3px 10px; align-content: center; padding: 17px; border-radius: 18px; color: white; box-shadow: 0 20px 44px rgba(17,16,15,.18); }
.loyalty-float-card > span { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: .68rem; font-weight: 700; }
.loyalty-float-card strong { align-self: end; font-size: .78rem; }.loyalty-float-card small { font-size: .61rem; opacity: .75; }
.loyalty-float-card-left { top: 95px; left: -34px; background: #d05825; transform: rotate(-8deg); }
.loyalty-float-card-right { right: -26px; bottom: 100px; background: #1c5260; transform: rotate(8deg); }

.loyalty-showcase,.loyalty-control { width: min(1240px,calc(100% - 10vw)); margin: 0 auto; padding: clamp(80px,9vw,130px) 0; }
.loyalty-showcase { border-top: 1px solid var(--line); }
.loyalty-showcase-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.45fr); gap: clamp(40px,8vw,110px); align-items: end; margin-bottom: 42px; }
.loyalty-showcase h2,.loyalty-control h2 { max-width: 820px; margin: 0; font-size: clamp(2.7rem,5vw,5.4rem); line-height: .96; }
.loyalty-showcase-heading > p { margin: 0 0 7px; color: var(--muted); line-height: 1.65; }
.loyalty-brand-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.loyalty-brand-card { --card-accent:#fff; min-height: 315px; display: flex; flex-direction: column; padding: 24px; border-radius: 5px; color: white; box-shadow: 0 13px 28px rgba(17,16,15,.1); transition: transform .22s ease,box-shadow .22s ease; }
.loyalty-brand-card:hover { transform: translateY(-5px); box-shadow: 0 19px 38px rgba(17,16,15,.16); }
.loyalty-brand-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.loyalty-monogram { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: .68rem; }
.loyalty-brand-card h3 { margin: 42px 0 8px; font-family: "Newsreader",serif; font-size: 2rem; font-weight: 600; line-height: 1; }
.loyalty-brand-card > p { min-height: 44px; margin: 0 0 24px; font-size: .78rem; line-height: 1.45; opacity: .8; }
.loyalty-card-stamps { margin-top: auto; gap: 5px; }
.loyalty-card-stamps i { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.42); color: #29231f; background: rgba(255,255,255,.1); font-size: .65rem; }
.loyalty-card-stamps i:not(:empty) { background: var(--card-accent); }
.loyalty-brand-card > small { margin-top: 10px; font-size: .59rem; letter-spacing: .07em; text-transform: uppercase; opacity: .72; }
.theme-pizza { --card-accent:#ffe6ad; background:#8d241c; }.theme-cenaduria { --card-accent:#f1c967; background:#173c34; }.theme-ahogadas { --card-accent:#fff0cf; background:#d25825; }.theme-tintoreria { --card-accent:#d9f3ff; background:#39718c; }.theme-sneakers { --card-accent:#d8ff56; background:#24242b; }.theme-crepas { --card-accent:#fff1dc; background:#b96376; }.theme-sushi { --card-accent:#f7d7c6; background:#174d59; }.theme-ramen { --card-accent:#ffdd55; background:#ad2d2d; }

.loyalty-benefits-v32 .loyalty-benefits-intro { max-width: 590px; margin: 24px 0 0; color: var(--muted); line-height: 1.65; }
.loyalty-benefits-v32 li { display: grid; gap: 4px; }.loyalty-benefits-v32 li strong { font-size: .9rem; }.loyalty-benefits-v32 li span { color: var(--muted); font-size: .8rem; }
.loyalty-control { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.8fr); gap: clamp(45px,8vw,115px); align-items: center; border-top: 1px solid var(--line); }
.loyalty-control-copy > p:last-child { max-width: 610px; color: var(--muted); line-height: 1.65; }
.loyalty-control-panels { display: grid; gap: 12px; }
.loyalty-control-panels article { padding: 31px; border: 1px solid var(--line); background: white; box-shadow: 0 12px 28px rgba(17,16,15,.05); }
.loyalty-control-panels article:last-child { background: var(--graphite); color: white; }
.loyalty-control-panels span { color: var(--terracotta); font-size: .65rem; font-weight: 700; letter-spacing: .11em; }
.loyalty-control-panels h3 { margin: 28px 0 8px; font-family: "Newsreader",serif; font-size: 1.8rem; }.loyalty-control-panels p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.55; }.loyalty-control-panels article:last-child p { color:#c9c5bd; }
.loyalty-contact-v32 h2 { max-width: 960px; }.loyalty-contact-v32 > p:not(.eyebrow) { max-width: 740px; }

@media (max-width:1050px) { .loyalty-hero-v32 { grid-template-columns: 1fr; }.loyalty-phone-stage { width:min(620px,100%); margin:0 auto; }.loyalty-brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.loyalty-control { grid-template-columns:1fr; }.loyalty-showcase-heading { grid-template-columns:1fr; } }
@media (max-width:580px) { .loyalty-phone-stage { min-height:570px; }.loyalty-phone { width:290px; }.loyalty-phone-screen { min-height:540px; }.demo-pass { min-height:380px;padding:23px 19px; }.demo-pass > p { margin-top:50px;font-size:1.75rem; }.demo-stamps i { width:37px;height:37px; }.loyalty-float-card { width:165px;min-height:96px;padding:12px; }.loyalty-float-card-left { top:38px;left:-58px; }.loyalty-float-card-right { right:-58px;bottom:45px; }.loyalty-brand-grid { grid-template-columns:1fr; }.loyalty-brand-card { min-height:285px; }.loyalty-showcase,.loyalty-control { width:calc(100% - 36px); }.loyalty-showcase-heading { gap:22px; }.loyalty-control-panels article { padding:25px; } }

/* v33: carrusel exclusivamente dentro de la tarjeta del teléfono */
.phone-pass-carousel { position:relative; height:445px; overflow:hidden; border-radius:22px; box-shadow:0 17px 36px rgba(43,21,12,.22); }
.wallet-pass { --card-accent:#fff1c9; position:absolute; inset:0; display:grid; grid-template-rows:auto 112px auto 1fr; overflow:hidden; padding:20px 19px 17px; border-radius:22px; color:white; opacity:0; visibility:hidden; transform:translateX(22px) scale(.98); transition:opacity .45s ease,transform .45s ease,visibility .45s; }
.wallet-pass.wallet-pass-active { z-index:2; opacity:1; visibility:visible; transform:none; }
.wallet-pass-head { display:flex; align-items:center; gap:11px; padding-bottom:13px; }
.wallet-pass-head b { width:40px; height:40px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(255,255,255,.55); border-radius:50%; font-size:.68rem; }
.wallet-pass-head span { font-size:.86rem; font-weight:700; letter-spacing:.07em; line-height:1.05; }
.wallet-pass-head small { display:block; margin-top:4px; font-size:.42rem; letter-spacing:.16em; opacity:.72; }
.wallet-pass-photo { margin:0 -19px; background-image:url("assets/fidelidad-negocios-v33.png"); background-repeat:no-repeat; background-size:400% 200%; }
.pass-photo-1 { background-position:0 0; }.pass-photo-2 { background-position:33.333% 0; }.pass-photo-3 { background-position:66.666% 0; }.pass-photo-4 { background-position:100% 0; }
.pass-photo-5 { background-position:0 100%; }.pass-photo-6 { background-position:33.333% 100%; }.pass-photo-7 { background-position:66.666% 100%; }.pass-photo-8 { background-position:100% 100%; }
.wallet-pass-data { display:grid; grid-template-columns:1fr 1.3fr; gap:2px 10px; padding:14px 0 12px; border-bottom:1px solid rgba(255,255,255,.27); }
.wallet-pass-data span { font-size:.43rem; font-weight:700; letter-spacing:.08em; opacity:.72; }.wallet-pass-data span:last-child { grid-column:2; grid-row:1 / 3; align-self:center; text-align:right; font-size:.49rem; opacity:.9; }.wallet-pass-data strong { font-size:.7rem; }
.wallet-pass-bottom { display:grid; grid-template-columns:82px 1fr; gap:13px; align-items:center; padding-top:13px; }
.wallet-qr { width:82px; height:82px; border:7px solid white; border-radius:6px; background-color:white; background-image:repeating-linear-gradient(90deg,#111 0 5px,transparent 5px 9px,#111 9px 12px,transparent 12px 16px),repeating-linear-gradient(0deg,transparent 0 4px,#111 4px 8px,transparent 8px 13px,#111 13px 16px); background-blend-mode:multiply; box-shadow:inset 0 0 0 3px white; }
.wallet-pass-bottom small { display:block; margin-bottom:10px; font-size:.43rem; font-weight:700; letter-spacing:.07em; opacity:.78; }
.wallet-stamps { display:flex; flex-wrap:wrap; gap:4px; }
.wallet-stamps i { width:22px; height:22px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.48); border-radius:50%; color:#2a211b; background:rgba(255,255,255,.08); font-size:.56rem; font-style:normal; font-weight:700; }
.wallet-stamps i:not(:empty) { background:var(--card-accent); }
.wallet-carousel-controls { position:relative; z-index:4; display:grid; grid-template-columns:25px 1fr 25px; align-items:center; gap:7px; height:29px; margin-top:5px; }
.wallet-carousel-controls button { width:25px; height:25px; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:transparent; color:#655f56; font:500 1.35rem/1 "DM Sans",sans-serif; cursor:pointer; }
.wallet-carousel-controls button:hover,.wallet-carousel-controls button:focus-visible { background:#ded8ce; color:#1d1a17; outline:none; }
.wallet-carousel-dots { display:flex; justify-content:center; gap:4px; }
.wallet-carousel-dots i { width:4px; height:4px; border-radius:50%; background:#b8b1a7; transition:width .25s ease,background .25s ease; }
.wallet-carousel-dots i.active { width:13px; border-radius:5px; background:var(--terracotta); }
.loyalty-wallet-bar { margin-top:0; padding-top:4px; }
@media (prefers-reduced-motion:reduce) { .wallet-pass { transition:none; } }
@media (max-width:580px) { .phone-pass-carousel { height:380px; }.wallet-pass { grid-template-rows:auto 88px auto 1fr; padding:15px 15px 12px; }.wallet-pass-photo { margin:0 -15px; }.wallet-pass-head { padding-bottom:9px; }.wallet-pass-head b { width:34px;height:34px; }.wallet-pass-bottom { grid-template-columns:68px 1fr;gap:9px;padding-top:9px; }.wallet-qr { width:68px;height:68px;border-width:6px; }.wallet-pass-data { padding:9px 0 8px; }.wallet-stamps i { width:18px;height:18px; }.wallet-carousel-controls { height:25px;margin-top:3px; }.loyalty-wallet-bar { padding-top:1px; } }

/* v34: atmósfera propia, fotografía proporcional y QR real */
.wallet-pass { isolation:isolate; background:#28221e; text-shadow:0 1px 8px rgba(0,0,0,.34); }
.wallet-pass::before { position:absolute; z-index:-2; inset:0; background-image:linear-gradient(180deg,rgba(10,8,7,.22) 0%,rgba(10,8,7,.04) 34%,rgba(10,8,7,.72) 70%,rgba(10,8,7,.9) 100%),var(--pass-image); background-position:center; background-size:cover; content:""; transform:scale(1.015); }
.wallet-pass::after { position:absolute; z-index:-1; inset:0; background:linear-gradient(120deg,var(--pass-tint,rgba(83,30,18,.35)),transparent 55%); content:""; }
.wallet-pass > * { position:relative; z-index:1; }
.wallet-pass.theme-pizza { --pass-image:url("assets/fidelidad/ambiente-1.webp"); --pass-tint:rgba(127,25,17,.58); }
.wallet-pass.theme-cenaduria { --pass-image:url("assets/fidelidad/ambiente-2.webp"); --pass-tint:rgba(18,65,47,.55); }
.wallet-pass.theme-ahogadas { --pass-image:url("assets/fidelidad/ambiente-3.webp"); --pass-tint:rgba(171,48,13,.52); }
.wallet-pass.theme-tintoreria { --pass-image:url("assets/fidelidad/ambiente-4.webp"); --pass-tint:rgba(41,96,126,.5); }
.wallet-pass.theme-sneakers { --pass-image:url("assets/fidelidad/ambiente-5.webp"); --pass-tint:rgba(24,27,35,.56); }
.wallet-pass.theme-crepas { --pass-image:url("assets/fidelidad/ambiente-6.webp"); --pass-tint:rgba(154,65,91,.46); }
.wallet-pass.theme-sushi { --pass-image:url("assets/fidelidad/ambiente-7.webp"); --pass-tint:rgba(15,66,76,.55); }
.wallet-pass.theme-ramen { --pass-image:url("assets/fidelidad/ambiente-8.webp"); --pass-tint:rgba(142,30,25,.54); }
.wallet-pass-photo { margin:0 -19px; background:none; }
.wallet-pass-head { margin:-5px -5px 0; padding:10px 9px 12px; border-radius:13px; background:rgba(18,15,13,.2); backdrop-filter:blur(5px); }
.wallet-pass-data { margin:0 -5px; padding:12px 9px; border:0; border-radius:11px; background:rgba(15,13,11,.32); backdrop-filter:blur(6px); }
.wallet-pass-bottom { margin:8px -5px -4px; padding:10px 9px 8px; border-radius:13px; background:rgba(15,13,11,.48); backdrop-filter:blur(7px); }
.wallet-qr { display:block; width:82px; height:82px; padding:5px; border:0; border-radius:7px; background:white; object-fit:contain; box-shadow:0 5px 14px rgba(0,0,0,.25); text-shadow:none; }
@media (max-width:580px) { .wallet-pass-photo { margin:0 -15px; }.wallet-pass-head { padding:7px 7px 8px; }.wallet-pass-data { padding:8px 7px; }.wallet-pass-bottom { margin:5px -3px -3px;padding:7px; }.wallet-qr { width:68px;height:68px;padding:4px; } }

/* Tarjeta Digital Tetra v35 */
.digital-card-page { overflow-x:hidden; }
.digital-card-hero,.digital-card-demo,.digital-card-features,.digital-card-plans,.digital-card-how { width:min(1240px,calc(100% - 10vw)); margin:0 auto; }
.digital-card-hero { min-height:calc(100svh - 98px); display:grid; grid-template-columns:minmax(0,.9fr) minmax(420px,.72fr); gap:clamp(48px,8vw,120px); align-items:center; padding:clamp(70px,8vw,120px) 0; }
.digital-card-copy h1 { max-width:800px; margin:0 0 28px; font-size:clamp(3.4rem,6vw,6.7rem); line-height:.9; }
.digital-card-copy > p:not(.eyebrow) { max-width:680px; color:var(--muted); font-size:1.04rem; line-height:1.7; }
.digital-card-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.digital-card-badges { display:flex; flex-wrap:wrap; gap:10px 20px; margin:27px 0 0; padding:20px 0 0; border-top:1px solid var(--line); list-style:none; color:var(--muted); font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.digital-card-badges li::before { margin-right:6px; color:var(--terracotta); content:"✓"; }
.digital-card-product { margin:0; }.digital-card-product img { width:100%; aspect-ratio:4/3; display:block; object-fit:cover; border-radius:6px; box-shadow:0 28px 65px rgba(17,16,15,.18); }.digital-card-product figcaption { margin-top:10px; color:var(--muted); font-size:.72rem; text-align:center; }

.digital-card-demo { display:grid; grid-template-columns:minmax(0,.9fr) minmax(330px,.55fr); gap:clamp(55px,10vw,145px); align-items:center; padding:clamp(90px,10vw,150px) 0; border-top:1px solid var(--line); }
.digital-demo-intro h2,.digital-feature-heading h2,.digital-plans-heading h2,.digital-card-how h2 { margin:0; font-size:clamp(2.9rem,5.3vw,5.7rem); line-height:.95; }
.digital-demo-intro > p:last-child { max-width:620px; color:var(--muted); line-height:1.7; }
.profile-phone { width:min(360px,85vw); margin:0 auto; padding:10px; border:2px solid #25221f; border-radius:44px; background:#141312; box-shadow:0 32px 70px rgba(17,16,15,.22); transform:rotate(1.5deg); }
.profile-phone-screen { min-height:650px; overflow:hidden; border-radius:34px; background:#f5f1e9; color:#24211e; }
.profile-cover { height:150px; display:grid; place-items:center; background:linear-gradient(135deg,#b94c37,#6f241f); }.profile-cover span { color:rgba(255,255,255,.18); font-family:"Newsreader",serif; font-size:6rem; }
.profile-identity { position:relative; padding:54px 25px 20px; text-align:center; }.profile-avatar { position:absolute; top:-49px; left:50%; width:92px; height:92px; display:grid; place-items:center; border:5px solid #f5f1e9; border-radius:50%; background:#292521; color:white; font-family:"Newsreader",serif; font-size:1.7rem; transform:translateX(-50%); }.profile-identity p { margin:0 0 6px; color:var(--terracotta); font-size:.58rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }.profile-identity h3 { margin:0 0 6px; font-family:"Newsreader",serif; font-size:2rem; }.profile-identity small { color:var(--muted); }
.profile-primary-actions { display:flex; justify-content:center; gap:10px; padding:0 22px 17px; }.profile-primary-actions a { width:42px; height:42px; display:grid; place-items:center; border:1px solid #ded7cd; border-radius:50%; color:#292521; font-size:.68rem; font-weight:700; text-decoration:none; }.profile-primary-actions a:hover { border-color:var(--terracotta); color:var(--terracotta); }
.profile-save { width:calc(100% - 44px); display:block; margin:0 auto 16px; padding:13px; border-radius:3px; background:#292521; color:white; font-size:.75rem; font-weight:700; text-align:center; text-decoration:none; }
.profile-links { display:grid; gap:8px; padding:0 22px 24px; }.profile-links a { display:flex; justify-content:space-between; padding:13px 14px; border:1px solid #ded7cd; color:#292521; font-size:.73rem; font-weight:600; text-decoration:none; }

.digital-card-features { padding:clamp(85px,9vw,135px) 0; border-top:1px solid var(--line); }.digital-feature-heading { max-width:850px; margin-bottom:42px; }.digital-feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }.digital-feature-grid article { min-height:245px; padding:27px 23px; border-right:1px solid var(--line); }.digital-feature-grid article:last-child { border-right:0; }.digital-feature-grid span { color:var(--terracotta); font-size:.69rem; font-weight:700; }.digital-feature-grid h3 { margin:52px 0 10px; font-family:"Newsreader",serif; font-size:1.65rem; }.digital-feature-grid p { margin:0; color:var(--muted); font-size:.83rem; line-height:1.55; }
.digital-card-plans { padding:clamp(85px,9vw,135px) 0; }.digital-plans-heading { max-width:850px; margin-bottom:42px; }.digital-plans-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.digital-plans-grid article { min-height:430px; padding:34px; border:1px solid var(--line); background:white; box-shadow:0 13px 28px rgba(17,16,15,.05); }.digital-plans-grid article.featured { background:var(--graphite); color:white; transform:translateY(-12px); }.digital-plans-grid article > span { color:var(--terracotta); font-size:.64rem; font-weight:700; letter-spacing:.1em; }.digital-plans-grid h3 { margin:55px 0 12px; font-family:"Newsreader",serif; font-size:2.2rem; }.digital-plans-grid p { min-height:55px; color:var(--muted); line-height:1.55; }.digital-plans-grid .featured p { color:#c9c5bd; }.digital-plans-grid ul { display:grid; gap:12px; margin:28px 0 0; padding:23px 0 0; border-top:1px solid var(--line); list-style:none; font-size:.82rem; }.digital-plans-grid li::before { margin-right:8px; color:var(--terracotta); content:"✓"; }
.digital-card-how { display:grid; grid-template-columns:1fr .85fr; gap:clamp(50px,9vw,130px); align-items:start; padding:clamp(85px,9vw,135px) 0; border-top:1px solid var(--line); }.digital-card-how ol { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }.digital-card-how li { display:grid; grid-template-columns:42px 1fr; gap:15px; align-items:center; padding:22px 0; border-bottom:1px solid var(--line); }.digital-card-how li > span { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--terracotta); color:white; font-size:.72rem; font-weight:700; }.digital-card-how li p { margin:0; color:var(--muted); line-height:1.5; }.digital-card-how strong { color:var(--graphite); }.digital-card-contact .button { margin-top:25px; }
@media (max-width:950px) { .digital-card-hero,.digital-card-demo,.digital-card-how { grid-template-columns:1fr; }.digital-card-product { width:min(650px,100%); margin:0 auto; }.digital-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.digital-feature-grid article:nth-child(2) { border-right:0; }.digital-feature-grid article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.digital-plans-grid { grid-template-columns:1fr; }.digital-plans-grid article.featured { transform:none; } }
@media (max-width:580px) { .digital-card-hero,.digital-card-demo,.digital-card-features,.digital-card-plans,.digital-card-how { width:calc(100% - 36px); }.digital-card-copy h1 { font-size:clamp(3rem,14vw,4.5rem); }.digital-card-actions { display:grid; }.digital-card-actions .button { width:100%; text-align:center; }.digital-card-badges { display:grid; }.digital-feature-grid { grid-template-columns:1fr; }.digital-feature-grid article,.digital-feature-grid article:nth-child(2) { min-height:auto; border-right:0; border-bottom:1px solid var(--line); }.digital-feature-grid article:last-child { border-bottom:0; }.digital-feature-grid h3 { margin-top:30px; }.digital-plans-grid article { min-height:0;padding:28px; }.digital-plans-grid h3 { margin-top:35px; }.profile-phone-screen { min-height:620px; } }

/* v36: tarjeta de presentación vertical, no apariencia de aplicación */
.profile-phone-screen { min-height:710px; background:#f6f0e5; }
.profile-portrait { position:relative; height:255px; overflow:hidden; background:#d9c8b2; }
.profile-portrait img { width:100%; height:100%; display:block; object-fit:cover; object-position:center 28%; }
.profile-portrait::after { position:absolute; right:0; bottom:-1px; left:0; height:52px; background:#6c3029; clip-path:polygon(0 73%,20% 50%,42% 70%,65% 28%,82% 47%,100% 12%,100% 100%,0 100%); content:""; }
.profile-mark { position:absolute; z-index:2; left:22px; bottom:6px; width:52px; height:52px; display:grid; place-items:center; border:4px solid #f6f0e5; border-radius:50%; background:#233b37; color:white; font-family:"Newsreader",serif; font-size:1rem; }
.profile-identity { padding:20px 25px 16px; background:#6c3029; color:white; text-align:left; }
.profile-identity p { margin:0 0 6px; color:#efb895; font-size:.55rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.profile-identity h3 { margin:0 0 4px; color:white; font-family:"Newsreader",serif; font-size:2rem; line-height:1; }
.profile-identity small { color:#eadad1; font-size:.68rem; }
.profile-primary-actions { justify-content:flex-start; gap:9px; padding:0 24px 18px; background:#6c3029; }
.profile-primary-actions a { width:38px; height:38px; border:0; background:#efb895; color:#4b211d; box-shadow:0 4px 10px rgba(48,18,14,.18); }
.profile-primary-actions a:hover { background:white; color:#6c3029; }
.profile-contact-card { width:calc(100% - 36px); display:grid; gap:1px; margin:14px auto 10px; overflow:hidden; border:1px solid #ddd2c3; border-radius:10px; background:#ddd2c3; }
.profile-contact-card a { display:grid; grid-template-columns:65px 1fr; gap:9px; align-items:center; padding:9px 12px; background:white; color:#2c2824; font-size:.58rem; text-decoration:none; }
.profile-contact-card span { color:#8a8178; text-transform:uppercase; letter-spacing:.06em; }.profile-contact-card strong { overflow:hidden; font-size:.68rem; text-overflow:ellipsis; white-space:nowrap; }
.profile-save { width:calc(100% - 36px); margin:0 auto 9px; padding:11px; border-radius:8px; background:#233b37; font-size:.68rem; }
.profile-links { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding:0 18px 19px; }
.profile-links a { display:grid; place-items:center; padding:10px 4px; border:0; border-radius:8px; background:#e8dccb; color:#4f4640; font-size:.56rem; text-align:center; }.profile-links a span { display:none; }
@media (max-width:580px) { .profile-phone-screen { min-height:690px; }.profile-portrait { height:240px; } }

/* Tarjetas digitales: carrusel de ejemplos v37 */
.digital-profile-carousel { position:relative; width:min(470px,92vw); margin:0 auto; }
.digital-profile-carousel-hero { align-self:center; width:min(500px,100%); }
.digital-profile-track { position:relative; aspect-ratio:3/4; }
.digital-profile-slide { position:absolute; inset:0; margin:0; opacity:0; visibility:hidden; transform:translateX(24px) scale(.985); transition:opacity .55s ease,transform .55s ease,visibility .55s; }
.digital-profile-slide.is-active { z-index:2; opacity:1; visibility:visible; transform:none; }
.digital-profile-slide img { width:100%; height:100%; display:block; object-fit:contain; filter:drop-shadow(0 26px 32px rgba(24,21,18,.22)); }
.digital-profile-slide figcaption { position:absolute; top:18px; right:18px; z-index:3; padding:8px 12px; border:1px solid rgba(255,255,255,.5); border-radius:999px; background:rgba(28,26,23,.72); color:white; font-size:.63rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; backdrop-filter:blur(8px); }
.digital-profile-controls { position:absolute; z-index:4; right:8px; bottom:9px; left:8px; display:flex; justify-content:space-between; align-items:center; pointer-events:none; }
.digital-profile-controls button { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.7); border-radius:50%; background:rgba(246,242,234,.9); color:#27231f; font:600 1.35rem/1 "DM Sans",sans-serif; cursor:pointer; box-shadow:0 7px 20px rgba(20,18,16,.17); pointer-events:auto; transition:transform .2s ease,background .2s ease; }
.digital-profile-controls button:hover { background:white; transform:scale(1.06); }
.digital-profile-dots { display:flex; gap:7px; align-items:center; padding:8px 11px; border-radius:999px; background:rgba(246,242,234,.84); backdrop-filter:blur(8px); pointer-events:auto; }
.digital-profile-dots button { width:8px; height:8px; min-width:0; padding:0; border:0; border-radius:50%; background:#aca49a; box-shadow:none; }
.digital-profile-dots button.is-active { width:22px; border-radius:999px; background:var(--terracotta); }
.digital-profile-dots button:hover { transform:none; background:var(--terracotta); }
@media (prefers-reduced-motion:reduce) { .digital-profile-slide { transition:none; } }
@media (max-width:580px) { .digital-profile-carousel { width:min(430px,100%); }.digital-profile-slide figcaption { top:14px; right:14px; }.digital-profile-controls { bottom:6px; }.digital-profile-controls button { width:38px; height:38px; } }

.quote-result > small {
  color: #aaa59c;
  font-size: 0.72rem;
  line-height: 1.45;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-contact .contact-icon {
  width: 46px;
  height: 46px;
}

.footer-contact .contact-icon svg {
  width: 22px;
  height: 22px;
}

.complements-hero { position:relative; width:min(1180px,calc(100% - 44px)); margin:42px auto 0; display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:clamp(44px,5vw,68px); padding:clamp(52px,5vw,68px); overflow:hidden; border:1px solid rgba(231,149,119,.28); border-radius:28px; background:linear-gradient(135deg,#171513 0%,#26211e 58%,#30251f 100%); box-shadow:0 28px 70px rgba(0,0,0,.28); color:var(--bone); }
.complements-hero::before { content:""; position:absolute; width:360px; height:360px; left:-180px; bottom:-230px; border-radius:50%; background:rgba(173,59,49,.26); filter:blur(2px); }
.complements-hero-copy { position:relative; z-index:1; max-width:560px; }
.complements-hero .eyebrow { color:#e79577; }
.complements-hero h1 { max-width:720px; margin:0 0 26px; color:#fff; font-family:"Newsreader",serif; font-size:clamp(3.35rem,5vw,4.55rem); font-weight:500; line-height:.96; letter-spacing:-.045em; }
.complements-hero p:not(.eyebrow) { max-width:520px; margin-bottom:32px; color:#d3cdc5; font-size:1.12rem; line-height:1.65; }
.complements-hero img { position:relative; z-index:1; width:100%; max-width:540px; aspect-ratio:16/9; justify-self:center; object-fit:cover; border:1px solid rgba(255,255,255,.16); border-radius:20px; box-shadow:0 22px 44px rgba(0,0,0,.32); }
.complements-hero .button-primary { background:#bf4938; color:#fff; box-shadow:0 10px 24px rgba(173,59,49,.24); }
.complements-hero .button-primary:hover { background:#d05a47; }
.complements-catalog { padding:78px 0 84px; }
.complements-heading { width:min(1180px,calc(100% - 44px)); margin:0 auto 36px; }
.complements-heading h2 { max-width:760px; }
.complements-grid { width:min(1180px,calc(100% - 44px)); margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.complement-card { min-height:220px; padding:32px; border:1px solid var(--line); border-radius:20px; background:white; }
.complement-card span { color:var(--terracotta); font-size:.78rem; font-weight:700; letter-spacing:.12em; }
.complement-card h2 { margin:45px 0 14px; font-size:1.55rem; }
.complement-card p { margin:0; color:var(--muted); line-height:1.65; }

/* Tienda independiente: tarjetas compactas e imágenes completas, nunca recortadas. */
.shop-page { background:var(--bone); }
.shop-intro { width:min(980px,calc(100% - 44px)); margin:0 auto; padding:76px 0 60px; text-align:center; }
.shop-intro h1 { max-width:780px; margin:0 auto 18px; font-family:"Newsreader",serif; font-size:clamp(2.8rem,5vw,4.5rem); font-weight:500; line-height:1; letter-spacing:-.04em; }
.shop-intro > p:last-child { max-width:650px; margin:0 auto; color:var(--muted); font-size:1.05rem; line-height:1.65; }
.shop-group { width:min(1040px,calc(100% - 44px)); margin:0 auto 76px; }
.shop-group-heading { display:flex; align-items:flex-start; gap:20px; margin-bottom:26px; padding-top:22px; border-top:1px solid var(--line); }
.shop-group-heading > span { margin-top:7px; color:var(--terracotta); font-size:.75rem; font-weight:700; letter-spacing:.13em; }
.shop-group-heading h2 { margin:0 0 6px; font-family:"Newsreader",serif; font-size:clamp(2rem,3vw,2.65rem); font-weight:500; line-height:1; }
.shop-group-heading p { margin:0; color:var(--muted); line-height:1.55; }
.shop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,300px)); justify-content:center; gap:22px; }
.shop-card { width:100%; overflow:hidden; border:1px solid var(--line); border-radius:17px; background:#fff; box-shadow:0 9px 25px rgba(36,30,25,.055); }
.shop-image { display:flex; align-items:center; justify-content:center; height:190px; padding:9px; background:#ebe6dc; }
.shop-image img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; border-radius:10px; }
.shop-card-copy { padding:19px 20px 21px; }
.shop-card-copy .product-format { margin-bottom:7px; }
.shop-card-copy h3 { min-height:45px; margin:0 0 17px; font-family:"Newsreader",serif; font-size:1.35rem; font-weight:500; line-height:1.08; }
.shop-card-copy a { display:inline-flex; align-items:center; gap:7px; color:var(--ink); font-size:.84rem; font-weight:700; text-decoration:none; }
.shop-card-copy a span { color:var(--terracotta); font-size:1.05rem; }

@media (max-width:980px) {
  .shop-grid { grid-template-columns:repeat(2,minmax(0,300px)); }
}

@media (max-width:680px) {
  .shop-intro { padding:54px 0 44px; }
  .shop-group { margin-bottom:58px; }
  .shop-group-heading { gap:14px; }
  .shop-grid { grid-template-columns:minmax(0,320px); gap:17px; }
  .shop-image { height:180px; }
}

.store-section { padding:92px 0 42px; }
.store-heading { width:min(1180px,calc(100% - 44px)); margin:0 auto 54px; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr); column-gap:54px; align-items:end; }
.store-heading .eyebrow { grid-column:1/-1; }
.store-heading h2 { max-width:760px; margin-bottom:0; }
.store-heading > p:last-child { margin:0 0 7px; color:var(--muted); line-height:1.65; }
.store-collection { width:min(1180px,calc(100% - 44px)); margin:0 auto 74px; }
.store-collection-heading { display:flex; gap:22px; align-items:flex-start; margin-bottom:26px; padding-top:25px; border-top:1px solid var(--line); }
.store-number { flex:0 0 auto; margin:6px 0 0; color:var(--terracotta); font-size:.78rem; font-weight:700; letter-spacing:.12em; }
.store-collection-heading h3 { margin:0 0 7px; font-family:"Newsreader",serif; font-size:clamp(2rem,3vw,2.7rem); font-weight:500; line-height:1; }
.store-collection-heading div p { margin:0; color:var(--muted); line-height:1.55; }
.store-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.product-card { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 12px 34px rgba(36,30,25,.06); transition:transform .22s ease,box-shadow .22s ease; }
.product-card:hover { transform:translateY(-4px); box-shadow:0 20px 44px rgba(36,30,25,.11); }
.product-card img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; background:#ddd6ca; }
.product-card-copy { padding:25px 25px 27px; }
.product-format { margin:0 0 10px; color:var(--terracotta); font-size:.74rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.product-card h4 { margin:0 0 11px; font-family:"Newsreader",serif; font-size:1.65rem; font-weight:500; line-height:1.08; }
.product-card-copy > p:not(.product-format) { min-height:78px; margin:0 0 19px; color:var(--muted); line-height:1.55; }
.product-link { display:inline-flex; align-items:center; gap:8px; color:var(--ink); font-size:.92rem; font-weight:700; text-decoration:none; }
.product-link span { color:var(--terracotta); font-size:1.2rem; transition:transform .2s ease; }
.product-link:hover span { transform:translateX(4px); }

/* La guía conserva todas sus columnas visibles sin recorte lateral. */
.filament-guide-overview {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

@media (max-width: 980px) {
  .quote-section {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
  }

  .complements-hero {
    grid-template-columns: 1fr;
  }

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

  .store-heading { grid-template-columns:1fr; }
  .store-heading > p:last-child { margin-top:20px; }
  .store-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 680px) {
  .complements-hero {
    width: 100%;
    margin-top: 20px;
    padding: 42px 22px;
    gap: 28px;
    border-radius: 0;
  }

  .complements-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3rem);
    line-height: .98;
  }

  .complements-hero img {
    max-width: 420px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  }

  .complements-hero .button {
    width: 100%;
  }

  .complements-catalog {
    padding: 64px 0;
  }

  .store-section { padding:68px 0 20px; }
  .store-heading { margin-bottom:42px; }
  .store-collection { margin-bottom:58px; }
  .store-collection-heading { gap:15px; }
  .store-grid { grid-template-columns:1fr; gap:16px; }
  .product-card-copy { padding:23px 22px 25px; }
  .product-card-copy > p:not(.product-format) { min-height:0; }

  .complements-heading {
    margin-bottom: 28px;
  }

  .complements-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .complement-card {
    min-height: 0;
    padding: 26px 24px;
  }

  .complement-card h2 {
    margin-top: 28px;
  }
}

@media (max-width: 680px) {
  .quote-section {
    padding: 80px 0;
  }

  .quote-card {
    padding: 24px 18px;
  }

  .dimension-grid,
  .quote-options-grid {
    grid-template-columns: 1fr;
  }

  .model-analysis {
    grid-template-columns: 1fr;
  }

  .model-preview-wrap,
  .model-preview-wrap canvas {
    min-height: 220px;
  }

  .footer-contact {
    order: 2;
  }
}

@media (max-width: 980px) {
  .filament-guide {
    width: calc(100% - 44px);
  }

  .filament-guide-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .filament-showcase-grid {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .filament-guide {
    padding: 72px 0;
  }

  .filament-guide-heading {
    margin-bottom: 30px;
  }

  .filament-guide-heading h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .filament-guide-overview {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .filament-carousel {
    margin-top: 0;
  }

  .filament-carousel .carousel-slide figcaption {
    min-height: 86px;
    font-size: 0.86rem;
  }
}

/* Ajuste final de proporciones y reducción de desplazamiento */
.filament-guide-heading {
  display: block;
  margin-bottom: 28px;
}

.filament-guide-heading h2 {
  width: min(650px, 100%);
  max-width: 100%;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.filament-showcase-grid {
  align-items: stretch;
}

.filament-guide-overview {
  height: 100%;
  object-fit: cover;
  background: white;
}

.filament-carousel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.filament-carousel .carousel-track {
  flex: 1;
}

.ecosystem-home {
  width: min(1180px, calc(100% - 10vw));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  margin: 64px auto;
  overflow: hidden;
}

.ecosystem-home-copy {
  align-self: center;
  padding: clamp(34px, 4vw, 54px);
  color: var(--bone);
}

.ecosystem-home-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 3.7vw, 4rem);
  line-height: 0.94;
}

.ecosystem-home-copy > p:not(.eyebrow) {
  margin-bottom: 26px;
  color: #c9c3ba;
  line-height: 1.6;
}

.ecosystem-home-image {
  position: relative;
  min-height: 460px;
}

.ecosystem-home-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.ecosystem-home-image span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(17, 16, 15, 0.82);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.printed-ideas {
  width: min(1240px, calc(100% - 10vw));
  min-height: 520px;
  margin: 64px auto;
  border-radius: var(--radius);
}

.printed-ideas-copy {
  width: min(520px, 44%);
  margin-left: clamp(32px, 4vw, 58px);
}

.printed-ideas h2 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 4.2vw, 4.8rem);
}

.printed-ideas-copy > p:not(.eyebrow) {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.55;
}

.order-promise-section {
  width: min(420px, calc(100% - 44px));
  margin: 0 auto 48px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--graphite);
}

.order-promise-card {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px;
  box-shadow: none;
}

.promise-item {
  grid-template-columns: 32px 1fr;
  gap: 12px;
}

.promise-item svg {
  width: 25px;
  height: 25px;
}

.promise-item p {
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact {
  padding: clamp(62px, 6vw, 84px) 8vw;
}

.contact h2 {
  max-width: 780px;
  font-size: clamp(2.7rem, 4.7vw, 4.8rem);
}

@media (max-width: 980px) {
  .ecosystem-home {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
  }

  .ecosystem-home-image,
  .ecosystem-home-image img {
    min-height: 360px;
  }

  .printed-ideas {
    width: calc(100% - 44px);
    min-height: 560px;
  }

  .order-promise-section {
    width: calc(100% - 44px);
  }

  .order-promise-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .filament-guide-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .filament-guide-overview {
    height: auto;
  }

  .ecosystem-home {
    margin: 40px auto;
  }

  .ecosystem-home-copy {
    padding: 30px 24px;
  }

  .ecosystem-home-image,
  .ecosystem-home-image img {
    min-height: 270px;
  }

  .ecosystem-home-image span {
    left: 12px;
    right: 12px;
    text-align: center;
  }

  .printed-ideas {
    min-height: 620px;
    margin: 40px auto;
    padding: 34px 24px 0;
  }

  .printed-ideas-copy {
    width: 100%;
    margin: 0;
  }

  .order-promise-section {
    margin-bottom: 40px;
    padding: 16px;
  }

  .order-promise-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .contact {
    padding: 58px 22px;
  }
}

/* Fondo continuo: únicamente el encabezado conserva el color hueso */
body,
main {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.025), transparent 34%),
    linear-gradient(135deg, #211f1d 0%, #292622 52%, #211f1d 100%);
  color: var(--bone);
}

.site-header {
  background: var(--bone);
  color: var(--graphite);
}

.service-paths,
.services-detail,
.filament-guide,
.order-promise-section,
.ecosystem-home,
.contact {
  background-color: transparent;
}

.service-card {
  color: var(--bone);
  border-color: rgba(241, 238, 231, 0.18);
  background: rgba(17, 16, 15, 0.38);
}

.service-card:hover {
  border-color: var(--terracotta);
  background: rgba(17, 16, 15, 0.72);
}

.services-detail,
.service-detail,
.service-paths {
  border-color: rgba(241, 238, 231, 0.18);
}

.service-detail > p:last-child,
.filament-guide-heading > p:last-child {
  color: #c9c3ba;
}

.filament-guide-overview,
.filament-carousel {
  background: #fff;
}

.ecosystem-home {
  background: rgba(17, 16, 15, 0.72);
}

/* Regla definitiva: mostrar completa la guía de PLA a PVA. */
.filament-showcase-grid > .filament-guide-overview {
  object-fit: contain;
  object-position: center;
}

/* Tienda v29: contraste y jerarquía definitivos. */
main.shop-page {
  background: var(--bone);
  color: var(--graphite);
}

.shop-intro {
  padding: 46px 0 38px;
}

.shop-intro h1 {
  margin: 0 auto 10px;
  color: var(--graphite);
  font-size: clamp(3.4rem, 5.5vw, 5.2rem);
}

.shop-intro .shop-tagline {
  margin: 0 auto 12px;
  color: var(--terracotta);
  font-family: "Newsreader", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
}

.shop-intro > p:last-child {
  color: #625d56;
}

.shop-group-heading h2,
.shop-card,
.shop-card-copy h3,
.shop-card-copy a {
  color: var(--graphite);
}

.shop-group-heading p {
  color: #625d56;
}

.shop-card-copy .product-format,
.shop-card-copy a span {
  color: var(--terracotta);
}

@media (max-width: 680px) {
  .shop-intro {
    padding: 38px 0 32px;
  }
}

/* Ajustes finales v31: servicios compactos y proporcionados */
.service-paths,
.services-detail {
  width: min(1180px, calc(100% - 10vw));
}

.service-paths {
  padding: 72px 0 82px;
}

.service-paths .section-heading {
  display: block;
  margin-bottom: 34px;
}

.service-paths .section-heading .eyebrow {
  margin-bottom: 14px;
}

.service-paths .section-heading h2 {
  max-width: 900px;
  font-size: clamp(2.7rem, 4.25vw, 4.8rem);
  line-height: 0.96;
}

.service-paths .service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.service-paths .service-card,
.service-paths .service-card:hover {
  position: relative;
  aspect-ratio: 220 / 338;
}

.service-paths .service-card img {
  height: 100%;
}

.service-paths .service-ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 64px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(17, 16, 15, 0.97);
  color: var(--bone);
}

.service-paths .service-ribbon b {
  display: grid;
  align-self: stretch;
  place-items: center;
  border-right: 1px solid rgba(241, 238, 231, 0.22);
  color: #e55645;
  font-size: 0.95rem;
}

.service-paths .service-ribbon strong {
  color: var(--bone);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.68rem, 0.76vw, 0.82rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.services-detail .service-detail {
  min-height: 112px;
  grid-template-columns: 72px minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 22px;
  padding: 18px 0;
}

.services-detail .service-number {
  font-size: 0.88rem;
}

.services-detail .eyebrow {
  margin-bottom: 8px;
  font-size: 0.64rem;
}

.services-detail .service-detail h2 {
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.04;
}

.services-detail .service-detail > p:last-child {
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Ajustes finales v31: proceso de fidelización */
.loyalty-section {
  width: min(1180px, calc(100% - 10vw));
  margin: clamp(56px, 7vw, 90px) auto;
  padding: clamp(42px, 5vw, 64px);
  border: 0;
  border-radius: 6px;
  background: var(--bone);
  color: var(--graphite);
}

.loyalty-section .loyalty-heading {
  display: block;
  margin-bottom: 32px;
}

.loyalty-section .loyalty-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta);
}

.loyalty-section .loyalty-heading h2 {
  max-width: 820px;
  color: var(--graphite);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.5rem, 4.4vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.loyalty-section .loyalty-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.loyalty-section .loyalty-steps article,
.loyalty-section .loyalty-steps article:last-child {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(17, 16, 15, 0.055);
}

.loyalty-section .loyalty-steps article > span {
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 700;
}

.loyalty-section .loyalty-steps article > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-top: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 700;
}

.loyalty-section .loyalty-steps h3 {
  margin: 18px 0 8px;
  color: var(--graphite);
  font-family: "DM Sans", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.loyalty-section .loyalty-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .service-paths .service-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(185px, 33vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .services-detail .service-detail {
    grid-template-columns: 56px 1fr;
  }

  .services-detail .service-detail > p:last-child {
    grid-column: 2;
  }

  .loyalty-section .loyalty-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .service-paths,
  .services-detail,
  .loyalty-section {
    width: calc(100% - 36px);
  }

  .service-paths .section-heading h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .services-detail .service-detail {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .loyalty-section {
    padding: 32px 20px;
  }

  .loyalty-section .loyalty-steps {
    grid-template-columns: 1fr;
  }

  .loyalty-section .loyalty-steps article,
  .loyalty-section .loyalty-steps article:last-child {
    min-height: 0;
  }
}

/* Cascada final v40: el encabezado permanece compacto y visible. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--bone);
  color: var(--graphite);
  box-shadow: 0 1px 0 rgba(17, 16, 15, 0.08);
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 10px 18px; }
}
