:root {
  /* Marca (extraído del logo colefruse) */
  --burgundy: #6f2a32;
  --burgundy-soft: #80303d;
  --red: #c4232e;
  --red-bright: #e32e26;
  --red-hover: #a61d28;
  --cream: #f6f0e8;
  --white: #ffffff;
  --text-body: #4a3538;
  --overlay: linear-gradient(
    115deg,
    rgba(18, 10, 12, 0.58) 0%,
    rgba(28, 14, 18, 0.45) 45%,
    rgba(18, 10, 12, 0.52) 100%
  );
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-nav: "Cormorant Garamond", Georgia, serif;
  --font-ui: var(--font-body);
  --container: min(1120px, 100% - 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Cabecera fija + barra de categorías al saltar a #categoria-* */
  scroll-padding-top: 7rem;
}

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

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

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.demo-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Cabecera fija (todo el sitio) —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* --header-scroll: 0 = muy transparente; al bajar → casi blanco pero con un poco de transparencia (~0.92) */
  --header-scroll: 0;
  background: rgba(255, 255, 255, calc(0.03 + var(--header-scroll) * 0.89));
  backdrop-filter: blur(calc(4px + var(--header-scroll) * 15px));
  -webkit-backdrop-filter: blur(calc(4px + var(--header-scroll) * 15px));
  border-bottom: 1px solid rgba(111, 42, 50, calc(0.02 + var(--header-scroll) * 0.12));
  box-shadow: 0 calc(var(--header-scroll) * 8px) calc(var(--header-scroll) * 28px) rgba(40, 20, 24, calc(var(--header-scroll) * 0.08));
}

/* Tema terra: barra propia (themes/terra); no usar el degradado Colefruse */
.site-header--terra {
  --header-scroll: 0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.85rem clamp(1.15rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.88;
}

.brand-logo {
  display: block;
  height: clamp(58px, 12vw, 88px);
  width: auto;
  object-fit: contain;
}

/* Dos logotipos: arriba solo el principal; al hacer scroll, el segundo al lado — carga/logotipo */
.brand-logos {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  height: clamp(58px, 12vw, 88px);
  max-width: min(36rem, 92vw);
  vertical-align: middle;
  transition: gap 0.28s ease;
}

.brand--dual-logo .brand-logos .brand-logo {
  display: block;
  flex-shrink: 0;
  height: clamp(58px, 12vw, 88px);
  max-height: clamp(58px, 12vw, 88px);
  width: auto;
  max-width: min(20rem, 48vw);
  object-fit: contain;
  transition:
    opacity 0.28s ease,
    max-width 0.32s ease,
    margin 0.32s ease;
}

.site-header--dual-logo:not(.site-header--is-scrolled) .brand-logo--scroll {
  max-width: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-header--dual-logo.site-header--is-scrolled .brand-logos {
  gap: clamp(0.4rem, 1.5vw, 0.85rem);
}

.site-header--dual-logo.site-header--is-scrolled .brand-logo--scroll {
  max-width: min(16rem, 42vw);
  opacity: 1;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1.8vw, 1.5rem);
}

.nav-list > li {
  display: flex;
  align-items: baseline;
}

.nav-list a {
  font-family: var(--font-nav);
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  line-height: 1.25;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--red-bright);
  border-bottom-color: rgba(227, 46, 38, 0.35);
}

/* Submenú bajo Empresa (Nosotros, Trabaja con nosotros) */
.site-nav-dropdown {
  position: relative;
}

.site-nav-dropdown.is-active > .site-nav-dropdown__trigger {
  color: var(--red-bright);
  border-bottom-color: rgba(227, 46, 38, 0.35);
}

/* «Empresa»: solo despliega submenú, sin navegar (botón con estilo de enlace) */
button.site-nav-dropdown__trigger--panel {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 0;
  text-align: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-variant: inherit;
  line-height: inherit;
}

.nav-list button.site-nav-dropdown__trigger--panel {
  font-family: var(--font-nav);
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  line-height: 1.25;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-list button.site-nav-dropdown__trigger--panel:hover {
  color: var(--red-bright);
  border-bottom-color: rgba(227, 46, 38, 0.35);
}

.site-nav-dropdown.is-active > button.site-nav-dropdown__trigger--panel {
  color: var(--red-bright);
  border-bottom-color: rgba(227, 46, 38, 0.35);
}

.nav-list button.site-nav-dropdown__trigger--panel[aria-current="page"] {
  color: var(--red-bright);
  border-bottom-color: rgba(227, 46, 38, 0.35);
}

.nav-list .site-nav-dropdown__sub {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 0.2rem);
  min-width: 15rem;
  background: #fff;
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 44px rgba(40, 20, 24, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 120;
}

.nav-list .site-nav-dropdown:hover .site-nav-dropdown__sub,
.nav-list .site-nav-dropdown:focus-within .site-nav-dropdown__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-list .site-nav-dropdown__sub a {
  display: block;
  padding: 0.5rem 1.15rem;
  font-size: clamp(0.78rem, 0.9vw + 0.55rem, 0.88rem);
  letter-spacing: 0.09em;
  border-bottom: none;
}

.nav-list .site-nav-dropdown__sub a:hover {
  background: rgba(196, 35, 46, 0.06);
  border-bottom: none;
}

body.theme-terra .terra-header-nav__list .site-nav-dropdown__sub {
  left: 0;
  transform: none;
  min-width: 13.5rem;
}

body.theme-terra .terra-header-nav__list .site-nav-dropdown:hover .site-nav-dropdown__sub,
body.theme-terra .terra-header-nav__list .site-nav-dropdown:focus-within .site-nav-dropdown__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.theme-terra .terra-header-nav__list .site-nav-dropdown__sub a {
  color: var(--terra-charcoal-soft);
}

body.theme-terra .terra-header-nav__list .site-nav-dropdown__sub a:hover {
  color: var(--terra-charcoal);
  background: rgba(37, 36, 34, 0.06);
  border-bottom: none;
}

body.theme-terra .terra-header-nav__list .site-nav-dropdown__sub a[aria-current="page"] {
  color: #8b7349;
  background: rgba(139, 115, 73, 0.1);
}

.terra-menu .site-nav-dropdown__sub {
  position: static;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  left: auto;
  top: auto;
  min-width: 0;
  margin: 0.15rem 0 0.4rem;
  padding: 0 0 0.2rem 0.85rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-left: 2px solid rgba(139, 115, 73, 0.4);
}

.terra-menu .site-nav-dropdown__sub a {
  padding: 0.32rem 0.5rem 0.32rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: none;
  border-bottom: none;
}

.terra-menu .site-nav-dropdown__sub a:hover {
  background: transparent;
}

body.theme-terra .terra-menu .site-nav-dropdown__sub a[aria-current="page"] {
  color: #8b7349;
  font-weight: 600;
}

/* —— Hero —— */
.hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(6.5rem, 12vw, 8.5rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero--slider {
  padding-bottom: clamp(5.5rem, 12vw, 7.25rem);
}

.hero-slides {
  position: absolute;
  inset: 0;
  background-color: #252022;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.15s ease-in-out;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-slide.is-active .hero-slide__img {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--overlay);
  pointer-events: none;
}

/* Home (carrusel): velo más suave para que la foto no se vea tan oscura */
.hero.hero--slider .hero-scrim {
  background: linear-gradient(
    115deg,
    rgba(18, 10, 12, 0.34) 0%,
    rgba(28, 14, 18, 0.26) 45%,
    rgba(18, 10, 12, 0.3) 100%
  );
}

.hero-slider-ui {
  position: absolute;
  bottom: clamp(1.25rem, 4vw, 2.25rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: rgba(12, 8, 10, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease;
}

.hero-slider__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-slider__btn:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.hero-slider__btn:active {
  transform: scale(0.96);
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.15rem;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-slider__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-slider__dot:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.hero-slider__dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(196, 35, 46, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.35s ease;
  }

  .hero-slide__img {
    transform: none;
    transition: none;
  }

  .hero-slide.is-active .hero-slide__img {
    transform: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 46rem;
  padding: 0 0.5rem;
}

.hero-title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 6.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: 0.015em;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.93);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.15s ease, box-shadow 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(196, 35, 46, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0423a 0%, var(--red-hover) 100%);
  box-shadow: 0 10px 32px rgba(196, 35, 46, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

/* Botón secundario legible sobre fondos claros (no usar .btn-ghost en secciones beige/blanco) */
.btn-outline-burgundy {
  background: var(--white);
  color: var(--burgundy);
  border-color: rgba(111, 42, 50, 0.38);
  box-shadow: 0 2px 12px rgba(40, 20, 24, 0.06);
}

.btn-outline-burgundy:hover {
  background: rgba(111, 42, 50, 0.06);
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.btn-outline-burgundy:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 1.15rem;
  font-size: 0.68rem;
}

.btn-dark:focus-visible {
  outline-color: var(--red-bright);
}

/* —— Bloques de contenido (post-hero) —— */
.site-main {
  position: relative;
  z-index: 1;
  background: var(--white);
}

.section {
  padding: clamp(3.25rem, 8vw, 5rem) 1.25rem;
}

.section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  color: var(--burgundy);
  text-align: center;
  letter-spacing: 0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--red-bright), var(--red));
  border-radius: 1px;
}

.section-sub {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  color: var(--burgundy-soft);
  line-height: 1.45;
}

.intro-lead {
  margin: 0 auto;
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  text-align: center;
  color: var(--text-body);
}

/* —— Home Colefruse: texto bajo hero (versión sobria: sin caja, solo tipografía y aire) —— */
.section-home-intro {
  background: var(--white);
  padding-top: clamp(2.85rem, 6vw, 4.25rem);
  padding-bottom: clamp(2.85rem, 6vw, 4.25rem);
}

.section-home-intro .intro-lead--home {
  max-width: 72rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(74, 53, 56, 0.92);
}

.section-home-intro .intro-lead--home strong {
  font-weight: 600;
  color: var(--burgundy-soft);
}

/* Certificados (sección página) */
.section-certs .section-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.section-certs .certs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2.25rem;
  margin-top: 2.85rem;
}

.section-certs .certs-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  min-height: 6.75rem;
  padding: 0.35rem 0.7rem;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.1);
  border-radius: 4px;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
  animation: cert-badge-rise 0.7s ease both, cert-badge-float 4.8s ease-in-out infinite;
}

.section-certs .certs-row a:hover {
  border-color: rgba(196, 35, 46, 0.25);
  box-shadow: 0 14px 34px rgba(40, 20, 24, 0.12);
  transform: translateY(-6px) scale(1.04);
}

.section-certs .certs-row img {
  height: clamp(84px, 10vw, 102px);
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.section-certs .certs-row a:hover img {
  transform: scale(1.05);
}

.section-certs .certs-row a:nth-child(2) {
  animation-delay: 0.08s, 0.5s;
}

.section-certs .certs-row a:nth-child(3) {
  animation-delay: 0.16s, 1s;
}

.section-certs .certs-row a:nth-child(4) {
  animation-delay: 0.24s, 1.5s;
}

.section-certs .certs-row a:nth-child(5) {
  animation-delay: 0.32s, 2s;
}

@keyframes cert-badge-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cert-badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-certs .certs-row a {
    animation: none;
  }

  .section-certs .certs-row a:hover,
  .section-certs .certs-row a:hover img {
    transform: none;
  }
}

/* Productos */
.section-products {
  background-color: var(--cream);
  background-image: linear-gradient(
      rgba(250, 247, 242, 0.92),
      rgba(250, 247, 242, 0.92)
    ),
    url("contenido/almond-texture.jpg");
  background-size: cover;
  background-position: center;
}

/* Home: segunda sección de productos (comparación de diseño) — mismo entorno que la primera */
.section-products--compare-b {
  border-top: 1px solid rgba(111, 42, 50, 0.12);
  background-image: linear-gradient(
      rgba(250, 247, 242, 0.92),
      rgba(250, 247, 242, 0.92)
    ),
    url("contenido/almond-texture.jpg");
  background-size: cover;
  background-position: center;
}

.section-products__compare-tag {
  margin: -0.25rem auto 1rem;
  max-width: 48rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--burgundy-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: 2.75rem;
}

.section-products .section-products__cat-grid {
  margin-top: 2.75rem;
}

/* La proporción va en .product-card__frame (bloque), no en <a>: evita fallos de altura con hijos absolutos */
.product-card {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #1f1416;
  box-shadow: 0 16px 40px rgba(40, 20, 24, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card__frame {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 3 / 4;
  min-height: 280px;
}

a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(40, 20, 24, 0.16);
}

/* Contenedor de imagen: capa CSS background + img (cubre huecos que deje el <img> en algunos navegadores) */
.product-card__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #2a1a1c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-card__media img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  max-width: none;
  max-height: none;
}

/* Marcado antiguo (p. ej. página de componentes): img directa bajo .product-card */
.product-card > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

.product-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(20, 8, 12, 0.75) 100%
  );
  pointer-events: none;
}

.product-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.25rem 1.25rem 1.5rem;
  text-align: center;
}

.product-card-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.product-card .btn-sm {
  background: var(--red);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 16px rgba(196, 35, 46, 0.4);
}

.product-card .btn-sm:hover {
  background: var(--red-hover);
}

/* —— Bloque: Sostenibilidad —— */
.section-sustain {
  background: var(--white);
}

.sustain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 2.75rem;
}

.sustain-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.sustain-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.15rem;
  color: var(--red);
}

.sustain-item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--burgundy);
}

.sustain-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* —— Bloque: Noticias —— */
.section-news {
  background: linear-gradient(180deg, #faf8f6 0%, var(--white) 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: 2.75rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.08);
  box-shadow: 0 8px 28px rgba(40, 20, 24, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(40, 20, 24, 0.1);
}

.news-card-fig {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0;
}

.news-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-fig img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 1.35rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1.3;
}

.news-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  flex: 1;
}

.news-card-cta {
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.news-home-more {
  margin: 2.25rem 0 0;
  text-align: center;
}

.news-home-more__link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 35, 46, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.news-home-more__link:hover {
  color: var(--red-hover);
  border-bottom-color: var(--red-hover);
}

/* Listado noticias (página) */
.page-hero--news {
  background: linear-gradient(145deg, #f5f1ec 0%, #ebe4dc 100%);
}

.section-news-page {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.news-cat-tabs {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.news-cat-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.15rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--burgundy-soft);
  border: 1px solid rgba(111, 42, 50, 0.2);
  border-radius: 999px;
  background: var(--white);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-cat-tabs__tab:hover {
  border-color: rgba(196, 35, 46, 0.45);
  color: var(--red-bright);
}

.news-cat-tabs__tab.is-active {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(196, 35, 46, 0.3);
}

.news-empty {
  margin: 0;
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #6f6366;
}

.news-grid--page {
  margin-top: 0;
}

.news-card--static {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.08);
  box-shadow: 0 8px 28px rgba(40, 20, 24, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card--static:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(40, 20, 24, 0.1);
}

.news-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-card--static:hover .news-card-fig img {
  transform: scale(1.04);
}

.news-card--static h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1.3;
}

.news-card--static p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  flex: 1;
}

/* Noticia detalle */
.news-article {
  padding-bottom: 0;
}

.news-article__hero {
  position: relative;
  min-height: clamp(380px, 56vh, 580px);
  display: flex;
  align-items: flex-end;
  padding-top: clamp(5.65rem, 11vw, 7.35rem);
}

.news-article__hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a1214;
}

.news-article__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-article__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(18, 10, 12, 0.25) 0%,
    rgba(22, 12, 14, 0.55) 38%,
    rgba(26, 14, 16, 0.82) 72%,
    rgba(18, 10, 12, 0.94) 100%
  );
  pointer-events: none;
}

.news-article__hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem;
}

.breadcrumb--on-dark a {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb--on-dark a:hover {
  color: var(--white);
}

.breadcrumb--on-dark .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.35);
}

.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}

.news-article__badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.news-article__title {
  margin: 0 0 1rem;
  max-width: min(100%, 36rem);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--white);
  text-wrap: balance;
}

.news-article__lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.container--article {
  width: min(40rem, 100% - 2.5rem);
  margin-inline: auto;
}

.news-article__body {
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem clamp(3.25rem, 8vw, 4.5rem);
}

.news-article__body > p {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text-body);
}

.news-article__gallery {
  margin: 0 0 2.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.15rem 1.25rem;
}

.news-article__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.12);
  box-shadow: 0 14px 40px rgba(40, 18, 22, 0.09);
  background: #faf8f6;
}

.news-article__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-article__figcaption {
  margin: 0;
  padding: 0.85rem 1rem 1.05rem;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.55;
  color: #5c4e52;
  border-top: 1px solid rgba(111, 42, 50, 0.08);
  background: var(--white);
}

.news-article__foot {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 42, 50, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.news-article__back {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-article__back:hover {
  color: var(--red-hover);
}

.news-article__back--secondary {
  color: var(--burgundy-soft);
}

.news-article__back--secondary:hover {
  color: var(--burgundy);
}

.news-back-wrap {
  margin-top: 1.5rem;
}

/* Ficha referencia PDF (categoría + sub): hero editorial alineado con listado */
.product-ficha-pdf {
  padding-bottom: 0;
}

.product-ficha-pdf__hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #f9f7f2;
  border-bottom: 1px solid rgba(111, 42, 50, 0.08);
}

.product-ficha-pdf__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.34;
  pointer-events: none;
}

.product-ficha-pdf__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(249, 247, 242, 0.94) 0%,
    rgba(249, 247, 242, 0.78) 38%,
    rgba(249, 247, 242, 0.92) 100%
  );
}

.product-ficha-pdf__hero-inner {
  position: relative;
  z-index: 2;
}

.product-ficha-pdf__eyebrow {
  margin: 0.5rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.product-ficha-pdf__title.page-hero__title {
  margin-top: 0.65rem;
}

.product-ficha-pdf__body {
  background: linear-gradient(180deg, #faf8f6 0%, #f6f1eb 55%, #f9f7f2 100%);
  padding: clamp(2.35rem, 5vw, 3.75rem) 1.25rem;
}

.product-ficha-pdf__container {
  max-width: min(52rem, 100%);
  margin-inline: auto;
}

.product-ficha-pdf__panel {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 14px 44px rgba(40, 20, 24, 0.07);
  padding: clamp(1.4rem, 3vw, 1.85rem) clamp(1.35rem, 3vw, 2rem);
  border-left: 4px solid var(--burgundy);
}

.product-ficha-pdf__panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.product-ficha-pdf__panel-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--burgundy);
  opacity: 0.9;
}

.product-ficha-pdf__h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.product-ficha-pdf__h2--section {
  margin-bottom: 1.2rem;
  text-align: center;
}

.product-ficha-pdf__h2--section::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--red-bright), var(--red));
  border-radius: 1px;
}

.product-ficha-pdf__panel-text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-body);
}

.product-ficha-pdf__gallery-block {
  margin-top: clamp(2.25rem, 4.5vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(111, 42, 50, 0.1);
}

.product-ficha-pdf__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .product-ficha-pdf__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.product-ficha-pdf__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.12);
  box-shadow: 0 16px 48px rgba(40, 18, 22, 0.1);
  background: #faf8f6;
}

.product-ficha-pdf__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-ficha-pdf__cta-strip {
  background: #f3e9e6;
  padding: clamp(2.35rem, 5.5vw, 3.5rem) 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(111, 42, 50, 0.08);
}

.product-ficha-pdf__cta-inner {
  max-width: min(32rem, 100%);
  margin-inline: auto;
}

.product-ficha-pdf__cta-lead {
  margin: 0 0 1.4rem;
  font-family: var(--font-ui);
  font-size: clamp(0.96rem, 2.1vw, 1.08rem);
  line-height: 1.62;
  color: #5c4e52;
}

.product-ficha-pdf__footer-nav {
  padding: clamp(1.85rem, 4vw, 2.75rem) 1.25rem clamp(2.75rem, 7vw, 4.25rem);
  background: #f9f7f2;
  border-top: 1px solid rgba(111, 42, 50, 0.06);
}

.product-ficha-pdf__footer-nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1rem;
}

.product-ficha-pdf__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--burgundy);
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.22);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(40, 20, 24, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.product-ficha-pdf__nav-link:hover {
  border-color: var(--burgundy-soft);
  color: var(--burgundy-soft);
  box-shadow: 0 6px 20px rgba(40, 20, 24, 0.1);
}

.product-ficha-pdf__nav-link--secondary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(196, 35, 46, 0.35);
}

.product-ficha-pdf__nav-link--secondary:hover {
  color: var(--white);
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(196, 35, 46, 0.42);
}

.product-ficha-pdf__nav-arrow {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.95;
}

/* Ficha de producto (reutiliza hero/cuerpo de noticia) */
.product-extra {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 42, 50, 0.12);
}

.product-extra__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.product-extra__note {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #6b5c5f;
}

.product-uses {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-uses li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-body);
}

.product-uses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--burgundy));
}

.product-specs {
  margin: 0;
}

.product-specs__row {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 0.5rem 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(111, 42, 50, 0.08);
}

.product-specs__row:first-of-type {
  padding-top: 0;
}

.product-specs__row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.product-specs dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.product-specs dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
}

.product-sheet__cta {
  margin: 2.5rem 0 0;
}

@media (max-width: 520px) {
  .product-specs__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* —— Cabeceras con regla bajo el subtítulo —— */
.block-heading {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.block-heading__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.5rem);
  letter-spacing: 0.02em;
  color: #2a2224;
}

.block-heading__title--accent {
  font-weight: 600;
}

.block-heading__subtitle {
  margin: 0.65rem 0 0;
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  color: #6f6366;
  line-height: 1.5;
}

.block-heading__subtitle--serif {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  color: var(--burgundy-soft);
}

.block-heading__rule {
  display: block;
  width: 42px;
  height: 2px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, var(--red-bright), var(--red));
  border-radius: 1px;
}

/* —— Sobre nosotros (5 pilares) —— */
.section-about {
  background: var(--white);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}

.pillar {
  text-align: center;
  padding: 0 0.35rem;
}

.pillar-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(196, 35, 46, 0.03);
}

.pillar-icon {
  width: 34px;
  height: 34px;
}

.pillar-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.pillar-text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #5c5255;
}

/* —— CTA contacto —— */
.section-contact-cta {
  background: #f3e9e6;
  padding: clamp(3.5rem, 9vw, 5.25rem) 1.25rem;
}

.container--narrow {
  max-width: 36rem;
  text-align: center;
}

.cta-copy {
  margin-top: 2rem;
}

.cta-copy p {
  margin: 0 0 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5c5255;
}

.cta-copy p:last-child {
  margin-bottom: 0;
}

/* Home (demo Colefruse): párrafos del CTA de contacto más legibles */
.cta-copy--home-lead p {
  font-size: clamp(1.08rem, 2.35vw, 1.3rem);
  line-height: 1.65;
}

.btn-contact {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 2rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  border: none;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(196, 35, 46, 0.35);
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-contact:hover {
  background: linear-gradient(135deg, #f0423a 0%, var(--red-hover) 100%);
  box-shadow: 0 12px 32px rgba(196, 35, 46, 0.42);
  color: var(--white);
}

.btn-contact:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.btn-contact__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* —— Footer: cuatro columnas, barra legal + redes (referencia UX oscuro + teal) —— */
.site-footer.site-footer--ux {
  --footer-ux-bg: #1a1a1a;
  --footer-ux-teal: #26c2a3;
  --footer-ux-teal-hover: #1fa88d;
  --footer-ux-text: rgba(255, 255, 255, 0.92);
  --footer-ux-muted: rgba(255, 255, 255, 0.72);
  --footer-ux-gold: #e8c547;
  position: relative;
  z-index: 2;
  margin-top: 0;
  color: var(--footer-ux-text);
  background: var(--footer-ux-bg);
  overflow-x: hidden;
}

.site-footer.site-footer--ux::before {
  display: none;
}

.site-footer.site-footer--ux .site-footer__main {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 6vw, 4rem) 1.25rem clamp(2rem, 4vw, 3rem);
}

.site-footer.site-footer--ux .site-footer__shell {
  padding-bottom: 0;
}

.site-footer.site-footer--ux .site-footer__grid--quaternary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
  text-align: left;
}

.site-footer.site-footer--ux .site-footer__col--stack {
  min-width: 0;
}

.site-footer.site-footer--ux .site-footer__section-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--footer-ux-teal);
}

.site-footer.site-footer--ux .site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer.site-footer--ux .site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer.site-footer--ux .site-footer__links li:last-child {
  margin-bottom: 0;
}

.site-footer.site-footer--ux .site-footer__links a {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--footer-ux-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer.site-footer--ux .site-footer__links a:hover,
.site-footer.site-footer--ux .site-footer__links a:focus-visible {
  color: #fff;
}

.site-footer.site-footer--ux .site-footer__contact-line {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--footer-ux-text);
}

.site-footer.site-footer--ux .site-footer__label {
  display: inline-block;
  min-width: 3.25rem;
  margin-right: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.site-footer.site-footer--ux .site-footer__contact-line a {
  color: var(--footer-ux-text);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer.site-footer--ux .site-footer__contact-line a:hover {
  color: var(--footer-ux-teal);
}

.site-footer.site-footer--ux .site-footer__address {
  margin: 0.75rem 0 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer.site-footer--ux .site-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--footer-ux-teal);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer.site-footer--ux .site-footer__cta:hover {
  background: var(--footer-ux-teal-hover);
  transform: translateY(-1px);
}

.site-footer.site-footer--ux .site-footer__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-footer.site-footer--ux .site-footer__cta-icon {
  display: flex;
  flex-shrink: 0;
}

.site-footer.site-footer--ux .site-footer__cta-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.site-footer.site-footer--ux .site-footer__map-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.site-footer.site-footer--ux .site-footer__map-link {
  color: var(--footer-ux-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer.site-footer--ux .site-footer__map-link:hover {
  color: var(--footer-ux-teal);
}

.site-footer.site-footer--ux .site-footer__talent-text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer.site-footer--ux .site-footer__accent-link {
  color: var(--footer-ux-gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 197, 71, 0.45);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-footer.site-footer--ux .site-footer__accent-link:hover {
  color: #f0d875;
  border-bottom-color: rgba(240, 216, 117, 0.7);
}

.site-footer.site-footer--ux .site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1.25rem 1.35rem;
  background: #141414;
}

.site-footer.site-footer--ux .site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer.site-footer--ux .site-footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
}

.site-footer.site-footer--ux .site-footer__legal-nav a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer.site-footer--ux .site-footer__legal-nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer.site-footer--ux .site-footer__dot {
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}

.site-footer.site-footer--ux .site-footer__social-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.site-footer.site-footer--ux .site-footer__social-lead {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer.site-footer--ux .site-footer__social--footer {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer.site-footer--ux .site-footer__social--footer .site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.site-footer.site-footer--ux .site-footer__social--footer .site-footer__social-link:hover {
  background: var(--footer-ux-teal);
  transform: translateY(-2px);
  color: #fff;
}

.site-footer.site-footer--ux .site-footer__social--footer .site-footer__social-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 1024px) {
  .site-footer.site-footer--ux .site-footer__grid--quaternary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer.site-footer--ux .site-footer__grid--quaternary {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer.site-footer--ux .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 1100px) {
  .about-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 40rem;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .product-grid,
  .sustain-grid,
  .news-grid,
  .news-grid--page {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .product-card__frame {
    aspect-ratio: 3 / 4;
    min-height: 260px;
  }

  .product-mini-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .page-prose-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .about-pillars {
    grid-template-columns: 1fr;
    max-width: 18rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .nav-list {
    justify-content: center;
    row-gap: 0.15rem;
  }

  .nav-list a {
    font-size: clamp(0.9rem, 1.5vw + 0.75rem, 1.05rem);
    letter-spacing: 0.1em;
  }

  .nav-list button.site-nav-dropdown__trigger--panel {
    font-size: clamp(0.9rem, 1.5vw + 0.75rem, 1.05rem);
    letter-spacing: 0.1em;
  }
}

/* —— Páginas interiores —— */
.site-main--page {
  padding-top: 0;
}

.page-hero {
  padding: clamp(6.75rem, 13vw, 8.25rem) 1.25rem clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.page-hero--tone {
  background-color: var(--cream);
  background-image: linear-gradient(
      rgba(250, 247, 242, 0.94),
      rgba(250, 247, 242, 0.94)
    ),
    url("contenido/almond-texture.jpg");
  background-size: cover;
  background-position: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.breadcrumb a {
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
  opacity: 0.82;
}

.breadcrumb__sep {
  opacity: 0.4;
}

.page-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--burgundy);
}

.page-hero__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--red-bright), var(--red));
  border-radius: 1px;
}

.page-hero__lead {
  margin: 1.35rem auto 0;
  max-width: 36rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.section--page-intro .intro-lead {
  max-width: 44rem;
}

.section-muted {
  background: #faf8f6;
}

.products-page-grid {
  margin-top: 2.5rem;
}

.nav-list a[aria-current="page"] {
  color: var(--red-bright);
  border-bottom-color: rgba(227, 46, 38, 0.35);
}

.product-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 2.25rem;
}

.product-mini-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 8px 26px rgba(40, 20, 24, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.product-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(40, 20, 24, 0.1);
}

.product-mini-card__fig {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #6f1a24 0%, #3d1218 100%);
}

.product-mini-card__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-mini-card:hover .product-mini-card__fig img {
  transform: scale(1.05);
}

.product-mini-card__body {
  padding: 1.2rem 1.15rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-mini-card__body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--burgundy);
}

.product-mini-card__body p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
  flex: 1;
}

.product-mini-card__link {
  margin-top: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.page-prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 2rem;
  align-items: start;
}

.page-prose-grid h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--burgundy);
}

.page-prose-grid p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
}

.page-prose-grid p:last-child {
  margin-bottom: 0;
}

/* —— Home: enlace a página sostenibilidad —— */
.sustain-teaser-foot {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Sobre nosotros: dos CTAs en fila, el bloque centrado en la sección */
.section-about .sustain-teaser-foot {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

/* —— Página Sostenibilidad —— */
.page-hero--sustain {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f9f6f2 0%, #ebe3da 42%, #f3ebe5 100%);
}

.page-hero--sustain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("contenido/almond-texture.jpg") center / cover;
  opacity: 0.14;
  pointer-events: none;
}

.page-hero--sustain .container {
  position: relative;
  z-index: 1;
}

.sustain-page-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.sustain-page-lead {
  max-width: 40rem;
}

/* Fondos página Recursos humanos (degradados y velos marca) */
.rh-page > .section--rh-intro {
  background:
    radial-gradient(ellipse 100% 75% at 50% 0%, rgba(111, 42, 50, 0.07), transparent 58%),
    linear-gradient(175deg, var(--white) 0%, #faf8f6 52%, var(--cream) 100%);
}

.section.section-muted.section--rh-rights {
  background: linear-gradient(
    158deg,
    #eee6df 0%,
    #faf8f6 42%,
    #f6f0ea 100%
  );
}

.rh-page .section--rh-ethics {
  background: linear-gradient(
    168deg,
    var(--white) 0%,
    #fcfbf9 45%,
    #f3ebe5 100%
  );
}

/* —— Página Recursos humanos —— */
.rh-section1-prose {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.rh-section1-lead {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.rh-section-sub {
  margin-top: 0.35rem;
}

/* Sección 2 — Derechos humanos (cuadrícula estilo FAQ, colores marca) */
.rh-rights-block {
  margin-top: 0.35rem;
}

.rh-rights-block__subtitle {
  margin: 1.5rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  text-align: center;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.rh-rights-block__kicker {
  margin: 0 0 1.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  color: var(--burgundy-soft);
  line-height: 1.45;
}

.rh-rights-faq-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  grid-template-columns: 1fr;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .rh-rights-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rh-rights-faq-card {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(111, 42, 50, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rh-rights-faq-card:hover {
  border-color: rgba(227, 46, 38, 0.28);
  box-shadow: 0 8px 28px rgba(111, 42, 50, 0.1);
}

.rh-rights-faq-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.rh-rights-faq-card__chevron {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--red-bright);
  line-height: 0;
  opacity: 0.95;
}

.rh-rights-faq-card__inner {
  min-width: 0;
}

.rh-rights-faq-card__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--burgundy);
  letter-spacing: 0.01em;
}

.rh-rights-faq-card__text {
  margin: 0.65rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
}

.rh-two-cards {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .rh-two-cards:not(.rh-two-cards--single) {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.rh-two-cards--single {
  max-width: 40rem;
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.rh-commit-card {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(111, 42, 50, 0.18);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.section-muted .rh-commit-card {
  background: #fff;
}

.rh-commit-card__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.rh-commit-card__kicker {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
}

.rh-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rh-check-list li {
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 1.75rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-body);
}

.rh-check-list li:last-child {
  margin-bottom: 0;
}

.rh-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--red-bright);
  background: radial-gradient(circle at 30% 30%, rgba(193, 66, 80, 0.15), transparent 55%);
  box-sizing: border-box;
}

.rh-check-list li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.52rem;
  width: 0.32rem;
  height: 0.55rem;
  border: solid var(--red);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Sección 3 — Salud y seguridad laboral (tarjeta alineada con marca) */
.section--rh-safety {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 95% 75% at 100% 15%, rgba(227, 46, 38, 0.12), transparent 56%),
    radial-gradient(ellipse 85% 70% at 0% 90%, rgba(111, 42, 50, 0.1), transparent 52%),
    linear-gradient(
      145deg,
      #e4d9cf 0%,
      var(--cream) 32%,
      #efe6dc 58%,
      #faf8f6 100%
    );
}

.section--rh-safety::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("contenido/almond-texture.jpg") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.section--rh-safety > .container {
  position: relative;
  z-index: 1;
}

.rh-safety-card {
  max-width: 38rem;
  margin-inline: auto;
  margin-top: 0.35rem;
  padding: clamp(1.65rem, 4vw, 2.35rem) clamp(1.45rem, 4vw, 2.1rem);
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(111, 42, 50, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rh-safety-card:hover {
  border-color: rgba(227, 46, 38, 0.22);
  box-shadow: 0 8px 28px rgba(111, 42, 50, 0.1);
}

.rh-safety-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--burgundy);
}

.rh-safety-card__kicker {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: var(--burgundy-soft);
}

.rh-check-list--safety li {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
}

.rh-ethics-intro {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rh-ethics-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
  grid-template-columns: 1fr;
}

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

.rh-ethics-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: linear-gradient(180deg, #f7f4f1 0%, #faf8f6 100%);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rh-ethics-card:hover {
  border-color: rgba(111, 42, 50, 0.22);
  box-shadow: 0 8px 28px rgba(45, 20, 24, 0.06);
}

.rh-ethics-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--red-bright);
}

.rh-ethics-card__icon svg {
  width: 52px;
  height: 52px;
}

.rh-ethics-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--burgundy);
}

.rh-ethics-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* —— Página Medio ambiente —— */
.ma-page > .section--ma-intro {
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(46, 92, 58, 0.06), transparent 55%),
    linear-gradient(175deg, var(--white) 0%, #f7faf7 50%, var(--cream) 100%);
}

.ma-hero-title {
  max-width: min(100%, 22rem);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}

.ma-intro-prose {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.ma-intro-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text-body);
}

.ma-s1-title-accent {
  font-style: italic;
  font-weight: 600;
  color: var(--burgundy-soft);
}

.ma-intro-strong {
  font-weight: 700;
  color: var(--burgundy);
}

.ma-intro-accent {
  font-weight: 600;
  color: var(--red-bright);
}

.ma-intro-mark {
  font-weight: 700;
  color: var(--burgundy);
  padding: 0 0.12em;
  border-radius: 3px;
  background: linear-gradient(transparent 55%, rgba(227, 46, 38, 0.18) 55%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section--ma-climate.section-muted {
  background: linear-gradient(158deg, #eef4ef 0%, #faf8f6 45%, #f2ebe5 100%);
}

.ma-block-subtitle {
  margin: 1.25rem auto 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.38rem);
  font-weight: 600;
  text-align: center;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.ma-block-subtitle--tight {
  margin-top: 0.65rem;
}

.ma-block-lead {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  color: var(--text-body);
}

.ma-climate-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  grid-template-columns: 1fr;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .ma-climate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ma-climate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ma-climate-card {
  padding: clamp(1.35rem, 3vw, 1.65rem);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(111, 42, 50, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ma-climate-card:hover {
  border-color: rgba(227, 46, 38, 0.22);
  box-shadow: 0 8px 28px rgba(111, 42, 50, 0.09);
}

.ma-climate-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--red-bright);
}

.ma-climate-card__icon svg {
  width: 48px;
  height: 48px;
}

.ma-climate-card__text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-body);
  text-align: left;
}

.ma-climate-footer {
  margin: 2rem auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
}

.section--ma-circular {
  background: linear-gradient(180deg, #fafcf9 0%, var(--white) 50%, #f8f6f3 100%);
}

.ma-circular-section-title {
  margin-bottom: 1.75rem;
}

@keyframes ma-circular-img-arrive {
  from {
    opacity: 0;
    transform: translate3d(1.85rem, 0, 0) scale(1.05);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Economía circular: foto completa + entrada “desde el lado” al revelar */
.section--ma-circular .ma-circular-media {
  aspect-ratio: auto;
  max-height: none;
  align-self: start;
  background: linear-gradient(160deg, #f9f6f2 0%, #ebe3da 55%, #f3ebe5 100%);
}

.section--ma-circular .ma-circular-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html.calidad-js-ready .section--ma-circular.is-revealed .ma-circular-img {
  animation: ma-circular-img-arrive 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.section--ma-circular .ma-circular-media:hover .ma-circular-img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .section--ma-circular .ma-circular-media {
    max-height: none;
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.calidad-js-ready .section--ma-circular.is-revealed .ma-circular-img {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .section--ma-circular .ma-circular-media:hover .ma-circular-img {
    transform: none;
  }
}

.ma-split-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.calidad-split--reverse.section--ma-circular .ma-split-heading {
  text-align: left;
}

.ma-split-intro {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
}

.ma-split-outro {
  margin: 1.25rem 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
}

.section--ma-leadership {
  background: linear-gradient(165deg, #f0ebe6 0%, #faf8f6 50%, #f5f0ea 100%);
}

.ma-leadership-card {
  max-width: 44rem;
  margin: 0.5rem auto 0;
  padding: clamp(1.75rem, 4vw, 2.35rem) clamp(1.5rem, 4vw, 2.15rem);
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(111, 42, 50, 0.08);
}

.ma-leadership-card__heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.38rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--burgundy);
}

.ma-leadership-card__lead {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  text-align: center;
}

.ma-leadership-card__kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  color: var(--burgundy-soft);
}

.ma-leadership-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.ma-leadership-features__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(111, 42, 50, 0.07);
}

.ma-leadership-features__item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.ma-leadership-features__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  color: var(--red-bright);
  background: rgba(111, 42, 50, 0.06);
}

.ma-leadership-features__icon svg {
  width: 26px;
  height: 26px;
}

.ma-leadership-features__text {
  flex: 1;
  min-width: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
}

.ma-leadership-card__closing {
  margin: 0;
  padding: 1.15rem 1.1rem 1.15rem 1.25rem;
  border: none;
  border-left: 4px solid var(--red-bright);
  border-radius: 0 10px 10px 0;
  background: rgba(111, 42, 50, 0.05);
}

.ma-leadership-card__closing p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--burgundy);
}

/* —— Página Ética y Transparencia —— */
.et-page > .section--et-intro {
  background:
    radial-gradient(ellipse 95% 65% at 50% 0%, rgba(111, 42, 50, 0.06), transparent 55%),
    linear-gradient(175deg, var(--white) 0%, #faf8f6 55%, var(--cream) 100%);
}

.et-hero-title {
  max-width: min(100%, 30rem);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.12;
}

.et-intro-prose {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.et-intro-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-body);
}

.section--et-code.section-muted {
  background: linear-gradient(158deg, #f0eae6 0%, #faf8f6 48%, #f5f0ea 100%);
}

.et-block-subtitle {
  margin: 1.15rem auto 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.3vw, 1.35rem);
  font-weight: 600;
  text-align: center;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.et-block-lead {
  margin: 0 auto 1.35rem;
  max-width: 44rem;
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-body);
}

.et-tips-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.25rem);
  grid-template-columns: 1fr;
  margin-top: 0.25rem;
}

@media (min-width: 560px) {
  .et-tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .et-tips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.et-tip-card {
  padding: clamp(1.2rem, 3vw, 1.5rem);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(111, 42, 50, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.et-tip-card:hover {
  border-color: rgba(227, 46, 38, 0.22);
  box-shadow: 0 8px 28px rgba(111, 42, 50, 0.09);
}

.et-tip-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--red-bright);
}

.et-tip-card__icon svg {
  width: 44px;
  height: 44px;
}

.et-tip-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
  text-align: left;
}

.et-section-footer {
  margin: 2rem auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
}

.section--et-prevention {
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(111, 42, 50, 0.05), transparent 50%),
    linear-gradient(180deg, var(--white) 0%, #faf8f6 45%, #f7f2ed 100%);
}

.et-prevention-prose {
  max-width: 44rem;
  margin-inline: auto;
}

.et-prevention-lead {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
}

.et-prevention-scope {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.15rem 1.15rem 1.35rem;
  border-radius: 0 12px 12px 0;
  border-left: 4px solid var(--burgundy);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(111, 42, 50, 0.06);
}

.et-forbidden-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.et-forbidden-list--numbered {
  counter-reset: et-forbidden;
}

.et-forbidden-list--numbered li {
  position: relative;
  margin: 0 0 0.85rem;
  padding-left: 2.35rem;
  line-height: 1.65;
  color: var(--text-body);
  font-size: 0.96rem;
}

.et-forbidden-list--numbered li:last-child {
  margin-bottom: 0;
}

.et-forbidden-list--numbered li::before {
  counter-increment: et-forbidden;
  content: counter(et-forbidden);
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(145deg, var(--burgundy) 0%, #5c2430 100%);
  border-radius: 50%;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(50, 28, 32, 0.2);
}

.et-prevention-outro {
  margin: 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(111, 42, 50, 0.12);
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-body);
}

.et-prevention-outro__label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.section--et-chain.section-muted {
  background: linear-gradient(165deg, #ebe4df 0%, #faf8f6 55%, #f3ebe5 100%);
}

.et-chain-intro {
  margin: 0 auto 1rem;
  max-width: 44rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  text-align: center;
}

.et-chain-list {
  margin: 0 auto 1.25rem;
  padding-left: 1.25rem;
  max-width: 44rem;
}

.et-chain-list li {
  margin: 0.55rem 0;
  line-height: 1.65;
  color: var(--text-body);
}

.et-chain-list li::marker {
  color: var(--red-bright);
}

.et-chain-outro {
  margin: 0 auto;
  max-width: 44rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  text-align: center;
}

.et-chain-prose {
  max-width: 48rem;
  margin-inline: auto;
}

.container--wide {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow-text {
  width: min(40rem, 100% - 2.5rem);
  margin-inline: auto;
}

.container--legal {
  width: min(44rem, 100% - 2.5rem);
  margin-inline: auto;
}

.legal-doc {
  padding: 0 0 clamp(2.5rem, 6vw, 3.5rem);
}

.legal-doc__meta {
  margin: 0 0 2rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  background: rgba(111, 42, 50, 0.06);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
}

.legal-doc h2 {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-doc p:last-child {
  margin-bottom: 0;
}

.legal-doc ul {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-body);
}

.legal-doc a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: var(--red-hover);
}

.legal-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(111, 42, 50, 0.12);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
  background: var(--white);
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(111, 42, 50, 0.08);
}

.legal-table th {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  background: rgba(111, 42, 50, 0.04);
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-doc__related {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 42, 50, 0.12);
}

.legal-doc__related-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.legal-doc__related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.legal-doc__related-list a {
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(196, 35, 46, 0.35);
}

.legal-doc__related-list a:hover {
  border-bottom-color: var(--red-hover);
}

.section--sustain-intro {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.sustain-intro-grid {
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 20rem);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.sustain-intro-prose p {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--text-body);
}

.sustain-intro-prose p:last-child {
  margin-bottom: 0;
}

.sustain-intro-lead {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--burgundy-soft);
}

.sustain-intro-aside {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 16px 48px rgba(40, 20, 24, 0.07);
}

.sustain-aside-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy);
}

.sustain-aside-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-body);
}

.sustain-aside-list li {
  margin-bottom: 0.55rem;
}

.sustain-aside-list li:last-child {
  margin-bottom: 0;
}

.sustain-stats {
  background: linear-gradient(165deg, #4a1218 0%, #2a0a0d 48%, #1f080a 100%);
  padding: clamp(3rem, 7vw, 4.25rem) 1.25rem;
  color: var(--white);
}

.sustain-stats__head {
  margin: 0 0 2.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
}

.sustain-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.sustain-stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.sustain-stat__label {
  margin: 0.65rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.sustain-pillars-pro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 2.5rem;
}

.sustain-pillar-pro {
  margin: 0;
  padding: 2rem 1.75rem 2.1rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(111, 42, 50, 0.08);
  border-top: 4px solid var(--red);
  box-shadow: 0 14px 44px rgba(40, 20, 24, 0.07);
}

.sustain-pillar-pro__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  color: var(--red);
}

.sustain-pillar-pro__icon svg {
  width: 100%;
  height: 100%;
}

.sustain-pillar-pro h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.sustain-pillar-pro p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-body);
}

.sustain-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 42vw, 420px);
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  background-image: linear-gradient(
      105deg,
      rgba(26, 12, 14, 0.82) 0%,
      rgba(40, 18, 22, 0.75) 100%
    ),
    url("contenido/colefruse-exterior.jpg");
  background-position: center;
  background-size: cover;
}

.sustain-banner__quote {
  margin: 0;
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  text-wrap: balance;
}

.sustain-timeline {
  margin-top: 2.5rem;
}

.sustain-timeline__item {
  position: relative;
  padding: 0 0 2rem 2.35rem;
}

.sustain-timeline__item:last-child {
  padding-bottom: 0;
}

.sustain-timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px rgba(196, 35, 46, 0.35);
  z-index: 1;
}

.sustain-timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.1rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(196, 35, 46, 0.35), rgba(196, 35, 46, 0.08));
}

.sustain-timeline__year {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.sustain-timeline__item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--burgundy);
}

.sustain-timeline__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-body);
}

.sustain-certs-intro {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.sustain-documents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 2.25rem;
}

.sustain-doc-card {
  padding: 1.65rem 1.4rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 10px 32px rgba(40, 20, 24, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sustain-doc-card:hover {
  border-color: rgba(196, 35, 46, 0.22);
  box-shadow: 0 14px 40px rgba(40, 20, 24, 0.08);
}

.sustain-doc-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--burgundy);
}

.sustain-doc-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-body);
}

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

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

  .sustain-pillars-pro {
    grid-template-columns: 1fr;
  }

  .sustain-documents {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .sustain-stats__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Página Empresa —— */
.page-hero--empresa {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f4f1ed 0%, #e8dfd6 45%, #f0e9e3 100%);
}

.page-hero--empresa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(250, 247, 244, 0.92) 0%,
      rgba(250, 247, 244, 0.75) 55%,
      rgba(245, 238, 232, 0.65) 100%
    ),
    url("contenido/colefruse-interior.jpg") center / cover;
  opacity: 1;
  pointer-events: none;
}

.page-hero--empresa .container {
  position: relative;
  z-index: 1;
}

.page-hero--empresa-with-media::before {
  opacity: 0.38;
  filter: saturate(0.88);
}

.empresa-hero-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .empresa-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.page-hero--empresa-with-media .empresa-hero-copy .breadcrumb {
  justify-content: flex-start;
}

.page-hero--empresa-with-media .empresa-hero-copy .empresa-page-title,
.page-hero--empresa-with-media .empresa-hero-copy .empresa-page-title--new {
  margin-inline: 0;
  text-align: left;
  max-width: none;
}

.page-hero--empresa-with-media .empresa-hero-copy .empresa-page-lead {
  margin-inline: 0;
  text-align: left;
}

@media (max-width: 899px) {
  .page-hero--empresa-with-media .empresa-hero-layout {
    text-align: center;
  }

  .page-hero--empresa-with-media .empresa-hero-copy .breadcrumb {
    justify-content: center;
  }

  .page-hero--empresa-with-media .empresa-hero-copy .empresa-page-title,
  .page-hero--empresa-with-media .empresa-hero-copy .empresa-page-title--new {
    text-align: center;
  }

  .page-hero--empresa-with-media .empresa-hero-copy .empresa-page-lead {
    text-align: center;
    margin-inline: auto;
  }
}

.empresa-hero-media {
  position: relative;
}

.empresa-hero-visual {
  position: relative;
  margin: 0;
  padding: 0 0 1.5rem 0.75rem;
}

.empresa-hero-figure {
  margin: 0;
}

.empresa-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.empresa-hero-figure--main img {
  max-height: min(420px, 52vh);
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 20px 50px rgba(40, 20, 24, 0.14),
    0 4px 14px rgba(40, 20, 24, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.empresa-hero-figure--secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 220px);
  transform: rotate(-2deg);
}

.empresa-hero-figure--secondary img {
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow:
    0 16px 36px rgba(40, 20, 24, 0.18),
    0 2px 8px rgba(40, 20, 24, 0.08);
  border: 3px solid var(--white);
}

@keyframes empresa-hero-float-main {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes empresa-hero-float-secondary {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-5px);
  }
}

html.empresa-js-ready .js-empresa-hero-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  transition: none;
}

html.empresa-js-ready .js-empresa-hero-reveal.is-revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  html.empresa-js-ready .js-empresa-hero-reveal.is-revealed .empresa-hero-figure--main img {
    animation: empresa-hero-float-main 7s ease-in-out infinite;
  }

  html.empresa-js-ready .js-empresa-hero-reveal.is-revealed .empresa-hero-figure--secondary img {
    animation: empresa-hero-float-secondary 6.2s ease-in-out infinite;
    animation-delay: 0.35s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.empresa-js-ready .js-empresa-hero-reveal:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }
}

.empresa-gallery-section {
  padding-top: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(180deg, #fffefb 0%, #faf8f6 100%);
}

.empresa-gallery-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

/* Nosotros: 2 filas × 3 columnas, fotos algo más grandes */
.empresa-gallery-grid--nosotros-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.8vw, 1.75rem);
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

.empresa-gallery-grid--nosotros-six .empresa-gallery-figure img {
  height: min(300px, 34vw);
  min-height: 240px;
}

@media (max-width: 900px) {
  .empresa-gallery-grid--nosotros-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .empresa-gallery-grid--nosotros-six .empresa-gallery-figure img {
    height: min(260px, 42vw);
    min-height: 200px;
  }
}

@media (max-width: 520px) {
  .empresa-gallery-grid--nosotros-six {
    grid-template-columns: 1fr;
  }

  .empresa-gallery-grid--nosotros-six .empresa-gallery-figure img {
    height: min(240px, 58vw);
    min-height: 0;
  }
}

.empresa-gallery-item {
  margin: 0;
}

.empresa-gallery-figure {
  margin: 0;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ede8e3;
  box-shadow: 0 12px 36px rgba(40, 20, 24, 0.08);
  border: 1px solid rgba(111, 42, 50, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

html.empresa-js-ready .js-empresa-gallery-item:not(.is-revealed) .empresa-gallery-figure {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
}

html.empresa-js-ready .js-empresa-gallery-item.is-revealed .empresa-gallery-figure {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.55s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

html.empresa-js-ready .js-empresa-gallery-item:nth-child(1).is-revealed .empresa-gallery-figure {
  transition-delay: 0.02s;
}

html.empresa-js-ready .js-empresa-gallery-item:nth-child(2).is-revealed .empresa-gallery-figure {
  transition-delay: 0.1s;
}

html.empresa-js-ready .js-empresa-gallery-item:nth-child(3).is-revealed .empresa-gallery-figure {
  transition-delay: 0.18s;
}

html.empresa-js-ready .js-empresa-gallery-item:nth-child(4).is-revealed .empresa-gallery-figure {
  transition-delay: 0.26s;
}

html.empresa-js-ready .js-empresa-gallery-item:nth-child(n + 5).is-revealed .empresa-gallery-figure {
  transition-delay: 0.34s;
}

@media (prefers-reduced-motion: reduce) {
  html.empresa-js-ready .js-empresa-gallery-item:not(.is-revealed) .empresa-gallery-figure {
    opacity: 1;
    transform: none;
  }
}

.empresa-gallery-figure:hover {
  box-shadow: 0 18px 44px rgba(40, 20, 24, 0.12);
}

.empresa-gallery-figure img {
  width: 100%;
  height: min(240px, 32vw);
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.empresa-gallery-figure:hover img {
  transform: scale(1.05);
}

@media (max-width: 520px) {
  .empresa-gallery-figure img {
    height: 200px;
    min-height: 0;
  }
}

.empresa-page-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.empresa-page-title {
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.15;
}

.empresa-page-title__accent {
  display: inline-block;
  margin-top: 0.2em;
  font-weight: 400;
  font-style: italic;
  font-size: 0.88em;
  color: var(--burgundy-soft);
}

.empresa-page-lead {
  max-width: 36rem;
}

.empresa-page-lead a {
  color: var(--red-bright);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.empresa-page-lead a:hover {
  color: var(--red);
}

.empresa-page-title--new {
  max-width: 26rem;
  font-size: clamp(1.28rem, 3vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.empresa-prose {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-body);
}

.empresa-prose .section-title {
  text-align: left;
  margin: 0 0 1.15rem;
}

.empresa-prose p {
  margin: 0 0 1rem;
  max-width: 52rem;
}

.empresa-prose p:last-child {
  margin-bottom: 0;
}

.empresa-text-list {
  margin: 0.35rem 0 1.15rem;
  padding-left: 1.35rem;
  max-width: 44rem;
}

.empresa-text-list li {
  margin: 0.4rem 0;
}

.empresa-text-list li::marker {
  color: var(--red-bright);
}

.empresa-content-block .section-title {
  margin-top: 0;
}

/* —— Página Nosotros (módulos propios) —— */
.nosotros-hero-title {
  max-width: min(38rem, 100%);
  margin-inline: auto;
  font-size: clamp(1.35rem, 1rem + 2.5vw, 2.4rem);
  line-height: 1.18;
}

.nosotros-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 9vw, 5.5rem) 1.25rem;
  min-height: min(72vh, 36rem);
  display: flex;
  align-items: center;
}

.nosotros-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #2a1818;
  background-image: var(--nosotros-band-image, url("contenido/colefruse-interior.jpg"));
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.nosotros-band__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    125deg,
    rgba(30, 12, 16, 0.72) 0%,
    rgba(50, 18, 24, 0.6) 45%,
    rgba(18, 6, 10, 0.66) 100%
  );
}

.nosotros-band__inner {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  margin-inline: auto;
}

.nosotros-band__panel {
  padding: clamp(1.75rem, 4.5vw, 2.75rem) clamp(1.35rem, 4vw, 2.25rem);
  text-align: left;
  background: linear-gradient(
    145deg,
    rgba(18, 8, 12, 0.72) 0%,
    rgba(32, 12, 18, 0.58) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow:
    0 4px 3px rgba(0, 0, 0, 0.12) inset,
    0 24px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  .nosotros-band__panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nosotros-band__title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.28;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nosotros-band__title::after {
  content: "";
  display: block;
  width: min(12rem, 55%);
  height: 3px;
  margin: 1.05rem auto 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), var(--red-bright));
  border-radius: 2px;
}

.nosotros-band__prose {
  font-family: var(--font-body);
  font-size: clamp(0.97rem, 1.5vw, 1.05rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.nosotros-band__lead {
  margin: 0 0 1.35rem;
  font-size: 1.02em;
  line-height: 1.75;
}

.nosotros-band__stat {
  font-weight: 700;
  color: #fde8e4;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(227, 46, 38, 0.35);
}

.nosotros-band__list-intro {
  margin: 0 0 0.65rem;
  font-weight: 600;
  font-size: 0.95em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 230, 226, 0.95);
}

.nosotros-band__outro {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.9);
}

.nosotros-band__prose p:not(.nosotros-band__lead):not(.nosotros-band__list-intro) {
  margin: 0 0 1rem;
}

.nosotros-band__prose p:last-child {
  margin-bottom: 0;
}

.nosotros-band__list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem 1rem;
}

@media (min-width: 520px) {
  .nosotros-band__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nosotros-band__list li {
  position: relative;
  margin: 0;
  padding: 0.55rem 0.65rem 0.55rem 2.15rem;
  font-size: 0.96em;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nosotros-band__list li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 2px rgba(227, 46, 38, 0.25);
}

/* Seguridad alimentaria (Nosotros): cuatro bloques con icono + titular + texto */
.nosotros-seguridad .section-title {
  margin-bottom: 0;
}

.nosotros-seguridad .section-title::after {
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
}

.nosotros-seguridad__grid {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2.25rem);
  max-width: 72rem;
}

.nosotros-seguridad__item {
  text-align: center;
}

.nosotros-seguridad__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--red-bright);
  color: var(--burgundy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(111, 42, 50, 0.08);
}

.nosotros-seguridad__card-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--burgundy);
}

.nosotros-seguridad__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.35vw, 0.95rem);
  line-height: 1.62;
  color: #5c5256;
}

@media (max-width: 1024px) {
  .nosotros-seguridad__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .nosotros-seguridad__grid {
    grid-template-columns: 1fr;
  }
}

@keyframes nosotros-seguridad-in {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nosotros-seguridad-icon-idle {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(111, 42, 50, 0.08);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(227, 46, 38, 0.2);
  }
}

@keyframes nosotros-seguridad-line-shimmer {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.92;
    filter: brightness(1.15);
  }
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad:not(.is-revealed) .section-title,
html.nosotros-seguridad-js-ready .js-nosotros-seguridad:not(.is-revealed) .nosotros-seguridad__item {
  opacity: 0;
  transform: translateY(1.35rem);
  will-change: opacity, transform;
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .section-title {
  animation: nosotros-seguridad-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .section-title::after {
  animation: nosotros-seguridad-line-shimmer 2.8s ease-in-out infinite;
  animation-delay: 0.45s;
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item {
  animation: nosotros-seguridad-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(1) {
  animation-delay: 0.14s;
}
html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(2) {
  animation-delay: 0.28s;
}
html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(3) {
  animation-delay: 0.42s;
}
html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(4) {
  animation-delay: 0.56s;
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__icon {
  animation: nosotros-seguridad-icon-idle 4.2s ease-in-out infinite;
  animation-delay: 1s;
}

html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(2) .nosotros-seguridad__icon {
  animation-delay: 1.15s;
}
html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(3) .nosotros-seguridad__icon {
  animation-delay: 1.3s;
}
html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item:nth-child(4) .nosotros-seguridad__icon {
  animation-delay: 1.45s;
}

@media (prefers-reduced-motion: reduce) {
  html.nosotros-seguridad-js-ready .js-nosotros-seguridad:not(.is-revealed) .section-title,
  html.nosotros-seguridad-js-ready .js-nosotros-seguridad:not(.is-revealed) .nosotros-seguridad__item {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .section-title,
  html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__item,
  html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .section-title::after,
  html.nosotros-seguridad-js-ready .js-nosotros-seguridad.is-revealed .nosotros-seguridad__icon {
    animation: none;
  }
}

.nosotros-split {
  padding: clamp(2.75rem, 7vw, 4rem) 1.25rem;
}

.nosotros-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

.nosotros-split__media {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 18px 48px rgba(18, 10, 12, 0.09);
  aspect-ratio: 4 / 3;
}

.nosotros-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nosotros-split__copy .section-title {
  text-align: left;
}

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

  .nosotros-split__media {
    order: -1;
    max-height: 20rem;
  }
}

/* —— Página Calidad —— */
.section-title--left {
  text-align: left;
}

.section-title--left::after {
  margin-left: 0;
  margin-right: auto;
}

.calidad-section-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-bright);
  text-align: center;
}

.calidad-section-kicker--left {
  text-align: left;
}

.calidad-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calidad-intro__prose {
  width: min(46rem, 100%);
  max-width: min(46rem, 100%);
  margin-inline: auto;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.calidad-intro__prose .section-title {
  text-align: center;
  margin-bottom: 1.25rem;
}

.calidad-intro__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text-body);
}

.calidad-split {
  padding: clamp(2.75rem, 7vw, 4rem) 1.25rem;
}

.calidad-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

.calidad-split__media {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 18px 48px rgba(18, 10, 12, 0.09);
  aspect-ratio: 4 / 3;
}

.calidad-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.calidad-split__copy .section-title {
  margin-top: 0;
}

.calidad-text-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  max-width: none;
}

.calidad-text-list li {
  margin: 0.5rem 0;
  line-height: 1.65;
  color: var(--text-body);
}

.calidad-text-list li::marker {
  color: var(--red-bright);
}

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

  .calidad-split__media {
    order: -1;
    max-height: 20rem;
  }
}

.calidad-normativa__intro {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
}

.calidad-values {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 72rem;
}

.calidad-values__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  border: 1px solid rgba(111, 42, 50, 0.1);
  border-left: 4px solid var(--red-bright);
  box-shadow: 0 8px 28px rgba(40, 20, 24, 0.05);
}

.calidad-values__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  line-height: 0;
}

.calidad-values__body {
  min-width: 0;
  text-align: left;
}

.calidad-values__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--burgundy);
}

.calidad-values__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5c5256;
}

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

.calidad-ifs {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 4.5rem) 1.25rem;
}

.calidad-ifs__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #faf7f4;
  background-image:
    linear-gradient(180deg, rgba(250, 247, 242, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%),
    url("contenido/almond-texture.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  pointer-events: none;
}

.calidad-ifs__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.calidad-ifs__prose {
  margin-top: 0.5rem;
  text-align: left;
}

.calidad-ifs__prose p {
  text-align: left;
}

/* Calidad — animación y dinamismo */
@keyframes calidad-reveal-in {
  from {
    opacity: 0;
    transform: translateY(1.65rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes calidad-hero-line {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes calidad-hero-bg-drift {
  0% {
    transform: scale(1.02) translate(0.15%, 0);
    background-position: 48% 42%;
  }
  50% {
    transform: scale(1.035) translate(-0.45%, 0.25%);
    background-position: 51% 46%;
  }
  100% {
    transform: scale(1.028) translate(0.1%, -0.15%);
    background-position: 52% 48%;
  }
}

@keyframes calida-ifs-bg-shift {
  0% {
    background-position:
      center,
      42% 38%;
  }
  100% {
    background-position:
      center,
      58% 62%;
  }
}

html.calidad-js-ready .calidad-page .productos-page-hero--nosotros .productos-page-hero__bg {
  will-change: transform, background-position;
  animation: calidad-hero-bg-drift 28s ease-in-out infinite alternate;
}

html.calidad-js-ready .calidad-page .productos-page-hero__inner .page-hero .breadcrumb {
  opacity: 0;
  animation: calidad-hero-line 0.82s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.calidad-js-ready .calidad-page .productos-page-hero__inner .page-hero .page-hero__title {
  opacity: 0;
  animation: calidad-hero-line 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

html.calidad-js-ready .js-calidad-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateY(1.65rem);
  will-change: opacity, transform;
}

html.calidad-js-ready .js-calidad-reveal.is-revealed {
  animation: calidad-reveal-in 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.calidad-split__media {
  transition:
    box-shadow 0.45s ease,
    transform 0.45s ease;
}

.calidad-split__media:hover {
  box-shadow: 0 22px 52px rgba(18, 10, 12, 0.13);
}

.calidad-split__img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.calidad-split__media:hover .calidad-split__img {
  transform: scale(1.045);
}

.calidad-values__item {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.calidad-values__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 42px rgba(40, 20, 24, 0.1);
}

html.calidad-js-ready .calidad-normativa.is-revealed .calidad-values__icon svg {
  animation: calidad-icon-nudge 4s ease-in-out infinite;
  animation-delay: 0.6s;
}

html.calidad-js-ready .calidad-normativa.is-revealed .calidad-values__item:nth-child(2) .calidad-values__icon svg {
  animation-delay: 0.85s;
}

html.calidad-js-ready .calidad-normativa.is-revealed .calidad-values__item:nth-child(3) .calidad-values__icon svg {
  animation-delay: 1.1s;
}

@keyframes calidad-icon-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.calidad-ifs__bg {
  animation: calida-ifs-bg-shift 20s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  html.calidad-js-ready .calidad-page .productos-page-hero--nosotros .productos-page-hero__bg {
    animation: none;
    transform: scale(1.02);
    background-position: 50% 44%;
  }

  html.calidad-js-ready .calidad-page .productos-page-hero__inner .page-hero .breadcrumb,
  html.calidad-js-ready .calidad-page .productos-page-hero__inner .page-hero .page-hero__title {
    animation: none;
    opacity: 1;
    transform: none;
  }

  html.calidad-js-ready .js-calidad-reveal:not(.is-revealed) {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  html.calidad-js-ready .js-calidad-reveal.is-revealed {
    animation: none;
  }

  html.calidad-js-ready .calidad-normativa.is-revealed .calidad-values__icon svg {
    animation: none;
  }

  .calidad-ifs__bg {
    animation: none;
  }

  .calidad-split__media:hover .calidad-split__img {
    transform: none;
  }

  .calidad-values__item:hover {
    transform: none;
  }
}

.empresa-links-cta--panel {
  position: relative;
  overflow: hidden;
  padding: clamp(4.75rem, 14vw, 8rem) 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #3d1f24 0%, #2a1418 48%, #1e1014 100%);
}

.empresa-links-cta--panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--empresa-cta-bg, none);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.empresa-links-cta--panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    125deg,
    rgba(30, 16, 20, 0.94) 0%,
    rgba(80, 36, 44, 0.82) 42%,
    rgba(25, 14, 18, 0.9) 100%
  );
}

.empresa-links-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.empresa-links-cta__intro {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.empresa-links-cta__lede {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.empresa-links-cta__inline {
  color: #f5c4b8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.empresa-links-cta__inline:hover {
  color: #fff;
}

.empresa-links-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  justify-content: center;
  align-items: center;
}

.empresa-links-cta__btn.btn-primary {
  min-width: 12.5rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.empresa-links-cta__btn.btn-ghost {
  min-width: 12.5rem;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.empresa-links-cta__btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section.empresa-intro:has(.empresa-intro__prose) {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-top: -0.85rem;
}

.empresa-intro .empresa-intro__prose {
  width: min(46rem, 100%);
  max-width: min(46rem, 100%);
  margin-inline: auto;
  padding: 0;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.empresa-intro .empresa-intro__prose p {
  max-width: none;
  text-align: justify;
}

.empresa-intro .empresa-intro__prose .empresa-intro-lead,
.empresa-intro .empresa-intro__prose .empresa-intro-text {
  text-align: justify;
}

.empresa-intro .empresa-intro-lead {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.4vw, 1.28rem);
  line-height: 1.68;
  color: var(--burgundy-soft);
}

.empresa-intro-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
  color: var(--text-body);
  max-width: 52rem;
}

.empresa-intro .empresa-intro__prose .empresa-intro-text {
  max-width: none;
}

.empresa-intro-brand {
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.empresa-intro-place {
  font-style: italic;
  color: var(--burgundy-soft);
}

.empresa-intro-year {
  font-weight: 700;
  font-variant-numeric: lining-nums;
  color: var(--red-bright);
}

.empresa-intro-accent {
  font-weight: 600;
  color: var(--burgundy);
  background: linear-gradient(180deg, transparent 62%, rgba(227, 46, 38, 0.14) 62%);
  padding: 0 0.08em;
  border-radius: 2px;
}

.empresa-intro-key {
  font-weight: 600;
  color: var(--text-body);
  box-shadow: inset 0 -0.38em 0 rgba(111, 42, 50, 0.14);
}

/* Nosotros — Compromiso: mismo criterio que presentación (bloque centrado, texto justificado) */
.section.nosotros-compromiso {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nosotros-compromiso .nosotros-compromiso__prose {
  width: min(46rem, 100%);
  max-width: min(46rem, 100%);
  margin-inline: auto;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.nosotros-compromiso .nosotros-compromiso__prose .section-title {
  text-align: center;
}

.nosotros-compromiso .nosotros-compromiso__prose p {
  margin: 0 0 1rem;
  max-width: none;
  text-align: justify;
  line-height: 1.82;
  color: var(--text-body);
}

.nosotros-compromiso .nosotros-compromiso__prose p:last-child {
  margin-bottom: 0;
}

.empresa-mv {
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}

.nosotros-mv-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.nosotros-mv-head .section-title {
  margin-bottom: 0;
}

.empresa-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.empresa-mv-card {
  margin: 0;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(111, 42, 50, 0.09);
  box-shadow: 0 12px 40px rgba(40, 20, 24, 0.06);
}

.empresa-mv-card__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.empresa-mv-card__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--red-bright), var(--red));
  border-radius: 1px;
}

.empresa-mv-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-body);
}

.empresa-values-grid {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.5rem);
}

.empresa-value-item {
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: #faf8f6;
  border-radius: 8px;
  border: 1px solid rgba(111, 42, 50, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.empresa-value-item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy);
}

.empresa-value-item span {
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--text-body);
}

.empresa-diff-section {
  background: var(--white);
}

.empresa-diff-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.empresa-diff-item {
  margin: 0;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-left: 4px solid var(--red);
  background: linear-gradient(90deg, rgba(196, 35, 46, 0.04), transparent);
  border-radius: 0 8px 8px 0;
}

.empresa-diff-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--burgundy);
}

.empresa-diff-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-body);
}

.empresa-closing-band {
  padding: clamp(3rem, 7vw, 4.5rem) 1.25rem;
  background: linear-gradient(160deg, #3d1216 0%, #2a0c10 100%);
}

.empresa-closing-quote {
  margin: 0 auto;
  padding: 0;
  border: none;
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  text-wrap: balance;
}

.empresa-closing-cta {
  margin: 2.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.empresa-closing-band .empresa-closing-cta__secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
}

.empresa-closing-band .empresa-closing-cta__secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.empresa-commercial {
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

.empresa-commercial-text {
  margin: 1.5rem auto 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
  text-align: center;
}

.empresa-commercial-text strong {
  color: var(--burgundy);
  font-weight: 600;
}

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

  .empresa-values-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .empresa-page-title,
  .empresa-page-title--new {
    max-width: none;
  }
}

/* —— Página Contacto —— */
.page-hero--contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #faf6f2 0%, #f0e6df 42%, #f7f1ec 100%);
}

.page-hero--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 120% 80% at 80% 0%,
      rgba(196, 35, 46, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(ellipse 90% 70% at 10% 100%, rgba(111, 42, 50, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero--contact .container {
  position: relative;
  z-index: 1;
}

/* —— Página Trabaja con nosotros —— */
.trabaja-page-hero {
  position: relative;
  overflow: hidden;
  min-height: min(48vh, 26rem);
}

.trabaja-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #2a1418;
  background-image: var(--trabaja-hero-image, url("contenido/colefruse-exterior.jpg"));
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.trabaja-page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(45, 18, 22, 0.72) 0%,
    rgba(74, 26, 32, 0.82) 38%,
    rgba(28, 10, 14, 0.9) 100%
  );
}

.page-hero--trabaja {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.page-hero--trabaja .container {
  position: relative;
  z-index: 1;
}

.trabaja-page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.82);
}

.trabaja-page-hero .breadcrumb a {
  color: #f5c4b8;
}

.trabaja-page-hero .breadcrumb a:hover {
  color: #fff;
  opacity: 1;
}

.trabaja-page-hero .breadcrumb__sep {
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.9);
}

.trabaja-page-hero .empresa-page-kicker {
  color: rgba(255, 255, 255, 0.88);
}

.trabaja-page-hero .page-hero__title {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.trabaja-page-hero .page-hero__title::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), var(--red-bright));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.trabaja-page-hero .page-hero__lead {
  color: rgba(255, 255, 255, 0.92);
}

.trabaja-page-hero .trabaja-hero__link,
.trabaja-page-hero .contact-hero__link-trabaja {
  color: #f5c4b8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.trabaja-page-hero .trabaja-hero__link:hover,
.trabaja-page-hero .contact-hero__link-trabaja:hover {
  color: #fff;
}

.trabaja-hero__link,
.contact-hero__link-trabaja {
  color: var(--red-bright);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.trabaja-hero__link:hover,
.contact-hero__link-trabaja:hover {
  color: var(--red);
}

.trabaja-intro {
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  padding-bottom: 0;
}

.trabaja-intro__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-body);
  text-align: center;
}

.section--trabaja-form {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.trabaja-aside__p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

.trabaja-aside__actions {
  margin: 0;
}

@media (max-width: 900px) {
  .contact-layout--trabaja .contact-layout__aside {
    order: 1;
  }
}

.container--contact {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

.section-contact-layout {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: start;
}

.contact-block-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.contact-block-lead {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}

.contact-block-lead__empleo {
  display: block;
}

.contact-field-hint {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-body);
  opacity: 0.92;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.contact-field--cv input[type="file"] {
  width: 100%;
  max-width: 100%;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  border: none;
  background: transparent;
}

.contact-field--cv.has-error input[type="file"] {
  outline: 1px solid rgba(196, 35, 46, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.contact-required {
  color: var(--red);
  font-weight: 600;
}

.contact-alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-alert--error {
  background: rgba(196, 35, 46, 0.08);
  border: 1px solid rgba(196, 35, 46, 0.28);
  color: #5c2529;
}

.contact-alert p {
  margin: 0;
}

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

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.2);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.6;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 35, 46, 0.12);
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
  border-color: rgba(196, 35, 46, 0.65);
}

.contact-field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--red-hover);
}

.contact-field--check .contact-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-body);
  cursor: pointer;
}

.contact-field--check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--red);
}

.contact-field--check a {
  color: var(--red);
  font-weight: 600;
}

.contact-form__submit {
  margin-top: 0.35rem;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-info-card {
  padding: 1.35rem 1.4rem;
  background: linear-gradient(160deg, #faf8f6 0%, #f3ebe5 100%);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(45, 22, 26, 0.06);
}

.contact-info-card + .contact-info-card {
  margin-top: 1.25rem;
}

.contact-address {
  margin: 0;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-body);
}

.contact-address strong {
  color: var(--burgundy);
}

.contact-info-actions {
  margin: 1rem 0 0;
}

.contact-map-external {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 35, 46, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-map-external:hover {
  color: var(--red-hover);
  border-bottom-color: var(--red-hover);
}

.contact-dl {
  margin: 0;
}

.contact-dl > div {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(111, 42, 50, 0.1);
}

.contact-dl > div:first-child {
  padding-top: 0;
}

.contact-dl > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-dl dt {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.contact-dl dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-dl a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.contact-dl a:hover {
  text-decoration: underline;
}

.section-contact-map {
  background: var(--white);
  padding: clamp(3.25rem, 8vw, 5rem) 0 0;
}

.container--contact-map-head {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
}

.section-sub--contact-map {
  margin-bottom: 0;
}

.contact-map-fullbleed {
  width: 100%;
  margin: 0;
}

.contact-map-frame {
  margin-top: 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.15);
  box-shadow: 0 20px 50px rgba(40, 18, 22, 0.1);
  min-height: 420px;
  background: var(--cream);
}

.contact-map-frame--full {
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-top: 1px solid rgba(111, 42, 50, 0.14);
  box-shadow: none;
}

.contact-map__canvas {
  width: 100%;
  min-height: 420px;
  height: 480px;
}

.contact-map-frame .leaflet-container {
  font-family: var(--font-ui);
  background: var(--cream);
}

.contact-map-frame .leaflet-tile-pane {
  filter: sepia(0.22) saturate(0.55) hue-rotate(318deg) brightness(0.94) contrast(1.06);
}

.contact-map-frame .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-body);
  font-size: 0.65rem;
}

.contact-map__marker {
  background: transparent !important;
  border: none !important;
}

.contact-map__marker-pin {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--red-bright) 0%, var(--burgundy) 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 14px rgba(111, 42, 50, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.contact-thanks {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) 1.5rem;
  background: linear-gradient(180deg, #faf8f6 0%, var(--white) 100%);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 12px;
}

.contact-thanks__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 500;
  color: var(--burgundy);
}

.contact-thanks__text {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--text-body);
}

.contact-thanks__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.contact-thanks .contact-thanks__btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border-color: rgba(111, 42, 50, 0.4);
  backdrop-filter: none;
}

.contact-thanks .contact-thanks__btn-ghost:hover {
  background: rgba(111, 42, 50, 0.06);
  border-color: var(--burgundy);
  color: var(--burgundy);
}

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

  .contact-layout__aside {
    order: -1;
  }

  .contact-map__canvas {
    height: 360px;
    min-height: 360px;
  }

  .contact-map-frame {
    min-height: 360px;
  }

  .contact-map-frame--full {
    min-height: 360px;
  }
}

/* —— Galería interna: catálogo de componentes (componentes.php) —— */
.ds-page__hero .page-hero__title {
  margin-bottom: 0.75rem;
}

.ds-page__badge {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.ds-page__hint {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text-body);
}

.ds-page__code {
  padding: 0.15rem 0.45rem;
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
  background: rgba(111, 42, 50, 0.08);
  border-radius: 4px;
}

.ds-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.ds-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--burgundy-soft);
  border: 1px solid rgba(111, 42, 50, 0.18);
  border-radius: 999px;
  background: var(--white);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ds-toc a:hover {
  color: var(--red-bright);
  border-color: rgba(196, 35, 46, 0.4);
}

.ds-page__main {
  padding: clamp(2.5rem, 6vw, 3.75rem) 1.25rem clamp(3.5rem, 9vw, 5rem);
  background: #faf9f7;
}

.ds-section {
  margin-bottom: clamp(2.5rem, 6vw, 3.75rem);
  scroll-margin-top: 6rem;
}

.ds-section:last-of-type {
  margin-bottom: 0;
}

.ds-section__title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--burgundy);
  border-bottom: 2px solid rgba(196, 35, 46, 0.25);
}

.ds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.ds-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.ds-item {
  padding: 1.25rem 1.2rem;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(40, 18, 22, 0.04);
}

.ds-item--wide {
  grid-column: 1 / -1;
}

.ds-item--dark {
  background: linear-gradient(160deg, #3d1216 0%, #2a0c10 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.ds-item__label {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.ds-item__label--on-dark {
  color: rgba(255, 255, 255, 0.75);
}

.ds-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
}

.ds-row--wrap {
  align-items: flex-start;
}

.ds-type-demo-h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--burgundy);
}

.ds-type-demo-h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--burgundy-soft);
}

.ds-type-demo-h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-body);
}

.ds-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.ds-small {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #6f6366;
}

.ds-link-inline {
  color: var(--red);
  font-weight: 600;
}

.ds-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-body);
}

.ds-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ds-toggle__track {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(111, 42, 50, 0.2);
  transition: background 0.2s ease;
}

.ds-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.ds-toggle__input:checked + .ds-toggle__track {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
}

.ds-toggle__input:checked + .ds-toggle__track::after {
  transform: translateX(20px);
}

.ds-toggle__input:focus-visible + .ds-toggle__track {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.ds-search {
  position: relative;
  display: flex;
  align-items: center;
}

.ds-search__icon {
  position: absolute;
  left: 0.85rem;
  width: 18px;
  height: 18px;
  color: var(--burgundy-soft);
  pointer-events: none;
}

.ds-search__input {
  width: 100%;
  padding: 0.72rem 0.85rem 0.72rem 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  border: 1px solid rgba(111, 42, 50, 0.2);
  border-radius: 8px;
}

.ds-search__input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 35, 46, 0.12);
}

.ds-list-bullets {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.65;
  color: var(--text-body);
}

.ds-list-num {
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.65;
  color: var(--text-body);
}

.ds-card-scale .product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ds-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ds-person__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(145deg, var(--red-bright), var(--burgundy));
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.ds-person__name {
  margin: 0;
  font-weight: 600;
  color: var(--burgundy);
}

.ds-person__role {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #6f6366;
}

.ds-badge--soft {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(111, 42, 50, 0.08);
  border-radius: 4px;
}

.ds-badge--outline {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  border: 1px solid rgba(111, 42, 50, 0.35);
  border-radius: 4px;
  background: transparent;
}

.ds-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  background: rgba(111, 42, 50, 0.06);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 999px;
}

.ds-chip--active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  border-color: transparent;
}

button.ds-chip {
  cursor: pointer;
  font: inherit;
}

.ds-chip--dismiss {
  padding-right: 0.55rem;
}

.ds-blockquote {
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 4px solid var(--red);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--burgundy);
}

.ds-blockquote footer {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: #6f6366;
}

.ds-stat {
  text-align: center;
  padding: 0.5rem 0;
}

.ds-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 2.85rem);
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1;
}

.ds-stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
}

.ds-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(111, 42, 50, 0.12);
  overflow: hidden;
}

.ds-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-bright), var(--burgundy));
  transition: width 0.35s ease;
}

.ds-alert {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ds-alert:first-of-type {
  margin-top: 0;
}

.ds-alert--success {
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.28);
  color: #2e4a30;
}

.ds-alert--info {
  background: rgba(25, 80, 120, 0.08);
  border: 1px solid rgba(25, 80, 120, 0.22);
  color: #2a4558;
}

.ds-empty {
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.ds-empty__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--burgundy);
}

.ds-empty__text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #6f6366;
}

.ds-skeleton-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ds-skeleton {
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(111, 42, 50, 0.08) 0%,
    rgba(111, 42, 50, 0.14) 50%,
    rgba(111, 42, 50, 0.08) 100%
  );
  background-size: 200% 100%;
  animation: ds-shimmer 1.2s ease-in-out infinite;
}

@keyframes ds-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-skeleton {
    animation: none;
    background: rgba(111, 42, 50, 0.1);
  }
}

.ds-skeleton--line {
  height: 14px;
}

.ds-skeleton--short {
  width: 65%;
}

.ds-skeleton--media {
  height: 120px;
  border-radius: 10px;
}

.ds-panel {
  padding: 1.15rem 1.2rem;
  background: linear-gradient(160deg, #faf8f6 0%, #f3ebe5 100%);
  border: 1px solid rgba(111, 42, 50, 0.1);
  border-radius: 10px;
}

.ds-panel__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--burgundy);
}

.ds-panel__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
}

.ds-divider {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid rgba(111, 42, 50, 0.12);
}

.ds-details {
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 8px;
  background: #faf8f6;
}

.ds-details summary {
  font-weight: 600;
  color: var(--burgundy);
  cursor: pointer;
}

.ds-details p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
}

.ds-dialog {
  max-width: min(26rem, 100% - 2rem);
  padding: 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(20, 8, 12, 0.35);
}

.ds-dialog::backdrop {
  background: rgba(18, 10, 12, 0.55);
}

.ds-dialog__form {
  padding: 1.5rem 1.35rem 1.35rem;
}

.ds-dialog__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--burgundy);
}

.ds-dialog__text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

.ds-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.ds-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.ds-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--burgundy-soft);
  border: 1px solid rgba(111, 42, 50, 0.15);
  border-radius: 8px;
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ds-pagination__link:hover:not(.ds-pagination__link--disabled) {
  color: var(--red-bright);
  border-color: rgba(196, 35, 46, 0.35);
}

.ds-pagination__link.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  border-color: transparent;
}

.ds-pagination__link--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ds-pagination__ellipsis {
  padding: 0 0.25rem;
  color: #9a8e91;
  font-size: 0.85rem;
}

.ds-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ds-step;
}

.ds-steps__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8a7e82;
  counter-increment: ds-step;
}

.ds-steps__item::before {
  content: counter(ds-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.72rem;
  background: rgba(111, 42, 50, 0.1);
  color: var(--burgundy-soft);
}

.ds-steps__item.is-done {
  color: var(--text-body);
}

.ds-steps__item.is-done::before {
  background: rgba(46, 125, 50, 0.2);
  color: #2e6b32;
}

.ds-steps__item.is-current {
  color: var(--burgundy);
}

.ds-steps__item.is-current::before {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: var(--white);
}

.ds-carousel-mock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(12, 8, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ds-carousel-mock .hero-slider__btn {
  cursor: default;
}

/* —— Catálogo componentes 51–70 (sección «Más componentes») —— */
.ds-input-group {
  display: flex;
  flex-wrap: wrap;
  max-width: 22rem;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.18);
  border-radius: 10px;
}

.ds-input-group__field {
  flex: 1 1 10rem;
  min-width: 0;
  border: none;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--white);
}

.ds-input-group__field:focus {
  outline: 2px solid rgba(196, 35, 46, 0.35);
  outline-offset: -2px;
}

.ds-input-group__btn {
  border-radius: 0;
  white-space: nowrap;
}

.ds-range-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--burgundy);
}

.ds-range {
  width: 100%;
  max-width: 18rem;
  accent-color: var(--red);
}

.ds-file {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.ds-file__input {
  position: absolute;
  width: 0.01px;
  height: 0.01px;
  opacity: 0;
  overflow: hidden;
}

.ds-file__ui {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: 1px dashed rgba(111, 42, 50, 0.35);
  border-radius: 8px;
  background: #faf8f6;
  color: var(--burgundy);
}

.ds-file:hover .ds-file__ui {
  border-color: var(--red);
}

.ds-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  border: 2px solid rgba(111, 42, 50, 0.15);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: ds-spin 0.75s linear infinite;
}

@keyframes ds-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-spinner {
    animation: none;
    border-top-color: var(--burgundy);
  }
}

.ds-stars {
  display: inline-flex;
  gap: 0.15rem;
  font-size: 1.25rem;
  line-height: 1;
  color: #c9c0c2;
}

.ds-stars__item.is-on {
  color: #c4a035;
}

.ds-timeline {
  margin: 0 0 0 0.65rem;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(111, 42, 50, 0.12);
}

.ds-timeline__item {
  position: relative;
  padding: 0 0 1.25rem 1.35rem;
}

.ds-timeline__item:last-child {
  padding-bottom: 0;
}

.ds-timeline__dot {
  position: absolute;
  top: 0.2rem;
  left: -0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  box-shadow: 0 0 0 3px #faf8f6;
}

.ds-timeline__title {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
  color: var(--burgundy);
}

.ds-timeline__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-body);
}

.ds-dark-panel {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #2a181c, #1a1012);
}

.ds-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 1rem;
}

.ds-kpi {
  padding: 1rem 0.75rem;
  text-align: center;
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 10px;
  background: var(--white);
}

.ds-kpi__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--burgundy);
}

.ds-kpi__unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ds-kpi__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #8a7e82;
}

.ds-pre {
  margin: 0;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #f0e8ea;
  background: #1e1416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.ds-pre code {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.ds-kbd {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(111, 42, 50, 0.2);
  border-radius: 5px;
  background: linear-gradient(180deg, var(--white), #f2ece8);
  box-shadow: 0 1px 0 rgba(111, 42, 50, 0.15);
}

.ds-toast {
  display: inline-flex;
  max-width: 22rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(46, 125, 50, 0.35);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(20, 8, 12, 0.12);
}

.ds-toast__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2e6b32;
  background: rgba(46, 125, 50, 0.15);
  border-radius: 50%;
}

.ds-toast__msg {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-body);
}

.ds-dropdown {
  position: relative;
  display: inline-block;
}

.ds-dropdown__trigger {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  list-style: none;
  cursor: pointer;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.2);
  border-radius: 8px;
}

.ds-dropdown__trigger::-webkit-details-marker {
  display: none;
}

.ds-dropdown[open] .ds-dropdown__trigger {
  border-color: var(--red);
}

.ds-dropdown__menu {
  position: absolute;
  z-index: 20;
  min-width: 11rem;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(20, 8, 12, 0.12);
}

.ds-dropdown__menu a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-body);
  text-decoration: none;
}

.ds-dropdown__menu a:hover {
  color: var(--red);
  background: #faf8f6;
}

.ds-media-overlay {
  position: relative;
  max-width: 480px;
  overflow: hidden;
  border-radius: 12px;
}

.ds-media-overlay img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.ds-media-overlay__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem 1.1rem;
  background: var(--overlay);
}

.ds-media-overlay__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}

.ds-media-overlay__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.ds-iconbar {
  display: inline-flex;
  gap: 0.35rem;
}

.ds-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--burgundy);
  cursor: pointer;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.18);
  border-radius: 10px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ds-iconbtn:hover {
  color: var(--red-bright);
  background: #fff9f8;
  border-color: var(--red);
}

.ds-iconbtn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.ds-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1.25rem;
  filter: grayscale(0.2);
  background: var(--cream);
  border: 1px solid rgba(111, 42, 50, 0.08);
  border-radius: 10px;
}

.ds-logo-strip img {
  object-fit: contain;
  opacity: 0.92;
}

.ds-corner-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.ds-corner-ribbon {
  position: absolute;
  top: 0.65rem;
  right: -2.25rem;
  z-index: 2;
  padding: 0.28rem 2.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--red-bright), var(--burgundy));
  box-shadow: 0 4px 12px rgba(111, 42, 50, 0.25);
  transform: rotate(42deg);
  transform-origin: center;
}

.ds-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 42, 50, 0.12);
  border-radius: 12px;
}

.ds-compare__col {
  padding: 1rem 1.15rem;
  background: #faf8f6;
}

.ds-compare__col--accent {
  background: linear-gradient(160deg, rgba(246, 240, 232, 0.95), rgba(255, 255, 255, 0.98));
  border-left: 1px solid rgba(111, 42, 50, 0.1);
}

.ds-compare__head {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--burgundy);
}

.ds-compare__col--accent .ds-compare__head {
  color: var(--red);
}

.ds-compare__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
}

.ds-banner {
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  border-left: 4px solid var(--burgundy);
  background: linear-gradient(90deg, rgba(111, 42, 50, 0.08), transparent);
}

.ds-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
}

.ds-linklist {
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  list-style: none;
}

.ds-linklist li {
  border-bottom: 1px solid rgba(111, 42, 50, 0.08);
}

.ds-linklist li:last-child {
  border-bottom: none;
}

.ds-linklist a {
  display: block;
  padding: 0.4rem 0;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
}

.ds-linklist a:hover {
  color: var(--red);
  text-decoration: underline;
}

.ds-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--burgundy);
  cursor: pointer;
  background: #faf8f6;
  border: none;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.ds-bell:hover {
  color: var(--red);
  background: rgba(196, 35, 46, 0.12);
}

.ds-bell__badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15rem;
  color: var(--white);
  text-align: center;
  background: var(--red-bright);
  border: 2px solid var(--white);
  border-radius: 999px;
}

.ds-page__footer-note {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
}

.ds-page__footer-note a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.ds-page__footer-note a:hover {
  text-decoration: underline;
}

/* —— Productos (briefing PDF: tres categorías, fichas con una o dos imágenes) —— */
/* Hero inmersivo: texto sobre la imagen; degradado solo abajo para leer sin tapar toda la foto */
.productos-page-hero--immersive {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(400px, 62vh, 720px);
  padding-top: clamp(4.25rem, 11vw, 5.5rem);
  overflow: hidden;
}

/* Nosotros: migas + título centrados en vertical en el hero (padding inferior = superior para el eje flex) */
.productos-page-hero--immersive.productos-page-hero--nosotros {
  justify-content: center;
  padding-bottom: clamp(4.25rem, 11vw, 5.5rem);
}

.productos-page-hero--immersive .productos-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #ebe4df;
  background-image: var(--productos-hero-image, url("contenido/almond-texture.jpg"));
  background-size: cover;
  background-position: center;
}

.productos-page-hero--immersive .productos-page-hero__blend {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 10, 12, 0) 0%,
    rgba(18, 10, 12, 0.08) 35%,
    rgba(246, 240, 232, 0.55) 68%,
    rgba(246, 240, 232, 0.94) 100%
  );
}

/* Nosotros: foto más nítida, velo burdeos con centro más luminoso, transición suave al crema */
.productos-page-hero--nosotros .productos-page-hero__bg {
  transform: scale(1.04);
  transform-origin: 52% 42%;
  background-position: 52% 42%;
  filter: contrast(1.06) saturate(1.06);
}

/* Calidad: menos zoom que el hero genérico «nosotros» (la imagen no se ve tan recortada/expandida) */
.calidad-page .productos-page-hero--nosotros .productos-page-hero__bg {
  transform: scale(1.02);
  transform-origin: 50% 44%;
  background-position: 50% 44%;
}

body.theme-terra .calidad-page .productos-page-hero--immersive.productos-page-hero--nosotros .productos-page-hero__bg,
body.theme-naturale .calidad-page .productos-page-hero--immersive.productos-page-hero--nosotros .productos-page-hero__bg {
  transform: scale(1.02);
  transform-origin: 50% 44%;
  background-position: 50% 44%;
}

.productos-page-hero--nosotros .productos-page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Centro más claro (texto), bordes y pie algo más densos — menos aspecto “barro” */
  background:
    radial-gradient(
      ellipse 85% 70% at 50% 36%,
      rgba(255, 240, 242, 0.09) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 120% 90% at 50% 100%,
      rgba(12, 4, 8, 0.35) 0%,
      transparent 48%
    ),
    linear-gradient(
      168deg,
      rgba(42, 14, 20, 0.38) 0%,
      rgba(58, 20, 28, 0.48) 42%,
      rgba(36, 12, 18, 0.55) 100%
    );
}

.productos-page-hero--nosotros .productos-page-hero__blend {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(18, 10, 12, 0) 0%,
    rgba(18, 10, 12, 0) 58%,
    rgba(250, 247, 242, 0.14) 82%,
    rgba(250, 247, 242, 0.92) 93%,
    #faf8f6 100%
  );
}

.productos-page-hero--nosotros .productos-page-hero__inner {
  z-index: 3;
}

body .productos-page-hero.productos-page-hero--nosotros .page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.86);
}

body .productos-page-hero.productos-page-hero--nosotros .page-hero .breadcrumb a {
  color: #f5c4b8;
}

body .productos-page-hero.productos-page-hero--nosotros .page-hero .breadcrumb a:hover {
  color: #fff;
  opacity: 1;
}

body .productos-page-hero.productos-page-hero--nosotros .page-hero .breadcrumb__sep {
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.85);
}

body .productos-page-hero.productos-page-hero--nosotros .page-hero .page-hero__title {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 4px 36px rgba(0, 0, 0, 0.35);
}

body .productos-page-hero.productos-page-hero--nosotros .page-hero .page-hero__title::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), var(--red-bright));
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

body .productos-page-hero.productos-page-hero--nosotros .section--page-intro {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

body .productos-page-hero.productos-page-hero--nosotros .section--page-intro .container {
  max-width: 42rem;
}

body .productos-page-hero.productos-page-hero--nosotros .intro-lead--productos {
  margin: 0 auto;
  padding: 0;
  max-width: 38rem;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 2.35vw, 1.28rem);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.012em;
  color: rgba(255, 255, 255, 0.97);
  text-align: center;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.65),
    0 2px 18px rgba(0, 0, 0, 0.4);
}

body .productos-page-hero.productos-page-hero--nosotros .intro-lead--productos strong {
  color: #fff;
  font-weight: 600;
}

body .productos-page-hero.productos-page-hero--nosotros .intro-lead--productos a {
  color: #ffe8e0;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 0 12px rgba(0, 0, 0, 0.35);
}

body .productos-page-hero.productos-page-hero--nosotros .intro-lead--productos a:hover {
  color: #fff;
}

.productos-page-hero--immersive .productos-page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.productos-page-hero--immersive .page-hero {
  padding: clamp(0.75rem, 2vw, 1.25rem) 1.25rem clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}

.productos-page-hero--immersive .section--page-intro {
  padding-top: 0;
  padding-bottom: clamp(1.75rem, 5vw, 2.75rem);
}

.productos-page-hero--immersive .page-hero__title {
  text-shadow: 0 2px 24px rgba(255, 252, 250, 0.65);
}

.productos-page-hero--immersive .breadcrumb a,
.productos-page-hero--immersive .breadcrumb span:not(.breadcrumb__sep) {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}

.productos-page-hero--immersive .intro-lead--productos {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.productos-page-hero--immersive.productos-page-hero--nosotros .page-hero__title {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 4px 36px rgba(0, 0, 0, 0.35);
}

.productos-page-hero--immersive.productos-page-hero--nosotros .breadcrumb a,
.productos-page-hero--immersive.productos-page-hero--nosotros .breadcrumb span:not(.breadcrumb__sep) {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.productos-page-hero--immersive.productos-page-hero--nosotros .intro-lead--productos {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.65),
    0 2px 18px rgba(0, 0, 0, 0.4);
}

.productos-page-hero--tone .page-hero--tone {
  background: none;
  background-image: none;
}

.productos-page-hero--tone .productos-pdf-nav {
  background: linear-gradient(
    180deg,
    rgba(255, 246, 247, 0.35) 0%,
    rgba(244, 224, 230, 0.65) 100%
  );
  border-bottom: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 4px 24px rgba(18, 10, 12, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#catalogo-productos,
.section-products-pdf-cat {
  scroll-margin-top: 1rem;
}

.intro-lead--compact {
  max-width: 40rem;
  margin-inline: auto;
}

.intro-lead--productos {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.2rem, 3.1vw, 1.75rem);
  line-height: 1.55;
}

.intro-lead--productos strong {
  font-weight: 600;
  color: var(--burgundy);
}

.intro-lead--productos a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.intro-lead--productos a:hover {
  color: var(--red);
}

.productos-pdf-nav {
  position: sticky;
  top: 4.25rem;
  z-index: 20;
  padding: 0.85rem 0 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-bottom: 1px solid rgba(111, 42, 50, 0.1);
  box-shadow: 0 4px 20px rgba(18, 10, 12, 0.04);
  backdrop-filter: blur(12px);
}

/* Barra única: tres segmentos enlazados (sin huecos entre cajas) */
.productos-pdf-nav__chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  max-width: 52rem;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(111, 42, 50, 0.16);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(18, 10, 12, 0.07);
}

.productos-pdf-nav__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 4.75rem;
  padding: 0.95rem 0.85rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-body);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 240, 232, 0.42) 100%);
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(111, 42, 50, 0.12);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.productos-pdf-nav__chip:last-child {
  border-right: none;
}

.productos-pdf-nav__chip:hover {
  background: linear-gradient(180deg, #fff 0%, rgba(252, 238, 232, 0.92) 100%);
}

.productos-pdf-nav__chip:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}

@media (max-width: 640px) {
  .productos-pdf-nav__chips {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .productos-pdf-nav__chip {
    border-right: none;
    border-bottom: 1px solid rgba(111, 42, 50, 0.12);
    min-height: 4.25rem;
    padding: 0.85rem 1rem;
  }

  .productos-pdf-nav__chip:last-child {
    border-bottom: none;
  }
}

.productos-pdf-nav__chip-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.25;
}

.productos-pdf-nav__chip-sub {
  margin-top: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 53, 56, 0.65);
}

.section-products-pdf-cat {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.productos-pdf-cat-head .section-sub {
  max-width: 42rem;
  margin-inline: auto;
}

.productos-pdf-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  align-items: start;
}

@media (min-width: 720px) {
  .productos-pdf-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.productos-pdf-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(18, 10, 12, 0.06);
}

.productos-pdf-card__imgs {
  display: grid;
  gap: 0;
  flex-shrink: 0;
  min-height: 0;
  background: #ece8e4;
  border-radius: 0;
  overflow: hidden;
}

.productos-pdf-card__imgs--dual {
  grid-template-columns: 1fr 1fr;
}

.productos-pdf-card__imgs--single {
  grid-template-columns: 1fr;
}

.productos-pdf-card__imgs--empty {
  grid-template-columns: 1fr 1fr;
  min-height: 140px;
  background: repeating-linear-gradient(
    -12deg,
    #e8e4df,
    #e8e4df 10px,
    #e2ddd8 10px,
    #e2ddd8 20px
  );
}

.productos-pdf-card__imgwrap {
  position: relative;
  min-height: 0;
  aspect-ratio: 1;
  background: #f0ebe6;
}

.productos-pdf-card__imgwrap--single {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.productos-pdf-card__imgwrap--single img {
  object-fit: cover;
}

.productos-pdf-card__imgwrap--ph {
  aspect-ratio: 1;
  min-height: 120px;
  background: linear-gradient(145deg, #ded8d2, #ebe6e0);
}

.productos-pdf-card__imgwrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.productos-pdf-card__body {
  padding: 0.6rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  /* Sin flex-grow: el bloque blanco no se estira dejando hueco inferior */
}

.productos-pdf-card__nombre {
  margin: 0;
  padding: 0.4rem 0 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--burgundy);
  border: none;
  border-bottom: 2px solid rgba(111, 42, 50, 0.2);
  border-radius: 0;
  background: transparent;
}

.productos-pdf-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-body);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.productos-pdf-card__envases {
  margin: 0;
  padding-top: 0.1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(74, 53, 56, 0.85);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

/* —— Productos: índice por categorías (tarjetas imagen + CTA) —— */
.productos-cat-index {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.productos-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 72rem;
  margin-inline: auto;
}

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

.productos-cat-card {
  position: relative;
  display: block;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #1a1214;
  box-shadow: 0 16px 40px rgba(18, 10, 12, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.productos-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18, 10, 12, 0.18);
}

.productos-cat-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.productos-cat-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.productos-cat-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.productos-cat-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 8, 10, 0.88) 0%,
    rgba(12, 8, 10, 0.35) 42%,
    rgba(12, 8, 10, 0) 68%
  );
  pointer-events: none;
}

.productos-cat-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: clamp(1.1rem, 3vw, 1.65rem);
  text-align: center;
}

.productos-cat-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.productos-cat-card__intro {
  margin: 0.45rem 0 0;
  font-family: var(--font-ui);
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.productos-cat-card__cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: #c62828;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.productos-cat-card:hover .productos-cat-card__cta {
  background: var(--red-bright);
}

/* —— Variante B: franja central con marca Colefruse (burdeos + CTA rojo, tipografía alineada al resto) —— */
.productos-cat-card--band {
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(18, 10, 12, 0.14);
}

.productos-cat-card--band .productos-cat-card__media {
  aspect-ratio: 1 / 1;
}

.productos-cat-card--band .productos-cat-card__band {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: clamp(1rem, 3vw, 1.35rem) 0.85rem clamp(1.15rem, 3vw, 1.45rem);
  background: linear-gradient(
    165deg,
    rgba(111, 42, 50, 0.92) 0%,
    rgba(80, 30, 38, 0.9) 45%,
    rgba(60, 22, 30, 0.88) 100%
  );
  text-align: center;
  box-shadow: 0 4px 22px rgba(40, 20, 24, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.productos-cat-card--band .productos-cat-card__title-band {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.productos-cat-card--band .productos-cat-card__intro-band {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.55vw, 0.92rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.productos-cat-card--band .productos-cat-card__cta-band {
  margin-top: 0.35rem;
  padding: 0.5rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 50%, var(--red-hover) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(196, 35, 46, 0.45);
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.productos-cat-card--band:hover .productos-cat-card__cta-band {
  background: linear-gradient(180deg, #f0352e 0%, var(--red-bright) 45%, var(--red) 100%);
  box-shadow: 0 6px 18px rgba(196, 35, 46, 0.55);
}

.productos-cat-card--band:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(18, 10, 12, 0.2);
}

/* —— Listado por categoría (editorial, referencia premium) —— */
.productos-list-page {
  position: relative;
  background: #f9f7f2;
  /* visible: el parallax horizontal no recorta el borde del último bloque */
  overflow-x: visible;
  /* Amplitud entrada lateral collage (mucho más amplia que el antiguo 1.75rem) */
  --productos-list-collage-slide: clamp(3rem, 22vw, 10rem);
}

.productos-list-item__collage-inner {
  position: relative;
  width: 100%;
  will-change: transform, opacity;
  opacity: 0;
  transform: translate3d(var(--productos-list-collage-slide), 0, 0);
}

/* Tras cerrar la animación (JS pone animation:none): sin esto u opacity inline vuelve el estado inicial. */
.productos-list-item__collage-inner.parallax-ready {
  opacity: 1;
}

.productos-list-item--reverse .productos-list-item__collage-inner {
  transform: translate3d(calc(-1 * var(--productos-list-collage-slide)), 0, 0);
}

.productos-list-item__collage-inner--in-view {
  animation: productosListCollageIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.productos-list-item--reverse .productos-list-item__collage-inner--in-view {
  animation-name: productosListCollageInRev;
}

@keyframes productosListCollageIn {
  from {
    opacity: 0;
    transform: translate3d(var(--productos-list-collage-slide), 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes productosListCollageInRev {
  from {
    opacity: 0;
    transform: translate3d(calc(-1 * var(--productos-list-collage-slide)), 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .productos-list-item__collage-inner {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Listado categoría: mismo hero que productos.php (.productos-page-hero--tone + intro) */
.productos-list-page .productos-page-hero--tone .section--page-intro .intro-lead--productos {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.65;
  color: rgba(74, 53, 56, 0.92);
  max-width: 42rem;
}

.productos-list-watermark {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  right: -5%;
  width: min(52vw, 380px);
  height: min(48vh, 420px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%236f2a32' d='M160 180c-35-8-62-32-78-62 18 4 36 2 52-6-12-28-8-58 14-82 8 22 10 46 4 68 20-16 34-40 38-66 6 35-6 70-30 98zM42 165c18-32 20-70 8-104-22 24-32 56-26 88 8-10 14-22 18-34z'/%3E%3C/svg%3E")
    no-repeat bottom right / contain;
  opacity: 0.06;
  z-index: 0;
}

.productos-list-body {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  /* El padding va en cada fila para que el fondo sea banda a todo el ancho */
  padding-inline: 0;
}

.productos-list-item {
  scroll-margin-top: 6rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(0.25rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid rgba(111, 42, 50, 0.07);
}

/* Filas con fondos distintos (ciclo de 3), alineados con cream / blanco / burdeos suave */
.productos-list-body .productos-list-item:nth-child(3n + 1) {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, #faf8f5 0%, var(--cream) 55%, #efe6dc 100%);
}

.productos-list-body .productos-list-item:nth-child(3n + 2) {
  background:
    linear-gradient(90deg, rgba(111, 42, 50, 0.04) 0%, transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f9f6f2 48%, #f3ebe4 100%);
}

.productos-list-body .productos-list-item:nth-child(3n + 3) {
  background:
    linear-gradient(200deg, transparent 55%, rgba(111, 42, 50, 0.045) 100%),
    linear-gradient(135deg, #f8f4ef 0%, #fdfcfa 40%, #f0e8e0 100%);
}

.productos-list-item:last-of-type {
  border-bottom: none;
}

/* Listado por categoría: sin franja vacía entre última referencia y bloque CTA */
.productos-list-page .section.section-contact-cta.section-cta-inline {
  margin-top: 0;
  padding: clamp(2rem, 5vw, 3rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  background-color: #f3e9e6;
}

.productos-list-item__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .productos-list-item__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .productos-list-item__text {
    order: 1;
  }

  .productos-list-item__visual {
    order: 2;
  }

  .productos-list-item--reverse .productos-list-item__text {
    order: 2;
  }

  .productos-list-item--reverse .productos-list-item__visual {
    order: 1;
  }
}

.productos-list-item__heading {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.productos-list-item__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  color: rgba(111, 42, 50, 0.18);
}

.productos-list-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--burgundy);
}

.productos-list-item__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.productos-list-item__title a:hover {
  color: var(--burgundy-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.productos-list-item__tagline {
  margin: 0.5rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}

.productos-list-item__envases {
  margin: 1.25rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(74, 53, 56, 0.85);
}

.productos-list-item__btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: #c4b7aa;
  border: none;
  border-radius: 2px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.productos-list-item__btn:hover {
  background: #b0a394;
  color: var(--white);
}

.productos-list-item__visual {
  justify-self: center;
  width: 100%;
  max-width: 28rem;
}

.productos-list-item--reverse .productos-list-item__visual {
  justify-self: center;
}

@media (min-width: 900px) {
  .productos-list-item__visual {
    max-width: none;
  }
}

.productos-list-item__collage {
  position: relative;
  width: 100%;
  min-height: 200px;
}

.productos-list-item__collage--single .productos-list-item__frame--main {
  max-width: 22rem;
  margin-inline: auto;
}

.productos-list-item__collage--single img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.productos-list-item__collage--dual .productos-list-item__collage-inner {
  min-height: 280px;
}

.productos-list-item__collage--dual {
  max-width: 26rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .productos-list-item__collage--dual {
    max-width: 100%;
    margin-inline: 0;
  }

  .productos-list-item:not(.productos-list-item--reverse) .productos-list-item__collage--dual {
    margin-left: auto;
  }

  .productos-list-item--reverse .productos-list-item__collage--dual {
    margin-right: auto;
  }
}

.productos-list-item__frame {
  overflow: hidden;
  background: #ece8e4;
}

.productos-list-item__frame--main {
  position: relative;
  z-index: 1;
  width: 78%;
  margin-left: auto;
}

.productos-list-item__frame--main img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.productos-list-item__frame--secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52%;
  z-index: 2;
  box-shadow: 0 14px 40px rgba(18, 10, 12, 0.18);
}

.productos-list-item__frame--secondary img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.productos-list-item__collage--empty .productos-list-item__frame--ph {
  aspect-ratio: 4 / 5;
  width: 70%;
  margin-inline: auto;
  background: repeating-linear-gradient(
    -12deg,
    #e4e0db,
    #e4e0db 12px,
    #dcd7d1 12px,
    #dcd7d1 24px
  );
}
