: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;
}

@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-ui);
  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;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111, 42, 50, 0.07);
  box-shadow: 0 8px 32px rgba(40, 20, 24, 0.04);
}

.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;
}

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

.nav-list a {
  font-family: var(--font-ui);
  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;
  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);
}

/* —— 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: #1a1214;
}

.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;
}

.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.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  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);
}

.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);
}

/* Certificados (sección página) */
.section-certs .certs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.section-certs .certs-row a {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.1);
  border-radius: 4px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-certs .certs-row a:hover {
  border-color: rgba(196, 35, 46, 0.25);
  box-shadow: 0 10px 28px rgba(40, 20, 24, 0.08);
}

.section-certs .certs-row img {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

/* 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;
}

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

.product-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 16px 40px rgba(40, 20, 24, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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);
}

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card::after {
  content: "";
  position: absolute;
  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;
}

/* Blog Idealia: listado tipo tarjeta (rejilla 3 col, acento teal, fecha apilada) */
.site-main--blog-index-idealia {
  background: #eef0f2;
}

/* Hero blog: alineado con cabecera IBE (oscuro + teal); sin tema IBE, bloque claro legible */
.page-hero--news.page-hero--idealia-blog {
  text-align: left;
  background: #f2f4f6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-hero--idealia-blog .breadcrumb {
  justify-content: flex-start;
  color: #7a868c;
  letter-spacing: 0.06em;
}

.page-hero--idealia-blog .breadcrumb a {
  color: #5c6770;
}

.page-hero--idealia-blog .page-hero__title {
  font-family: var(--font-ui);
  font-weight: 700;
  color: #2d3436;
}

.page-hero--idealia-blog .page-hero__title::after {
  margin-left: 0;
  margin-right: auto;
  background: linear-gradient(90deg, #20c997, #1aa179);
}

.page-hero--idealia-blog .page-hero__lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 40rem;
}

body.idealia-theme-ibe .page-hero--news.page-hero--idealia-blog {
  background-color: #15181c;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(165deg, #15181c 0%, #1e2328 52%, #1a1f24 100%);
  background-size: 3px 3px, auto;
  border-bottom: 1px solid rgba(32, 201, 151, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

body.idealia-theme-ibe .page-hero--idealia-blog .breadcrumb {
  color: rgba(255, 255, 255, 0.45);
}

body.idealia-theme-ibe .page-hero--idealia-blog .breadcrumb a {
  color: #20c997;
}

body.idealia-theme-ibe .page-hero--idealia-blog .breadcrumb a:hover {
  color: #5ddeb8;
}

body.idealia-theme-ibe .page-hero--idealia-blog .page-hero__title {
  color: #fff;
}

body.idealia-theme-ibe .page-hero--idealia-blog .page-hero__lead,
body.idealia-theme-ibe .page-hero--idealia-blog .sustain-page-lead {
  color: rgba(255, 255, 255, 0.78);
}

body.idealia-theme-ibe .page-hero--idealia-blog .idealia-blog-index-intro,
body.idealia-theme-ibe .page-hero--idealia-blog .idealia-blog-index-intro p {
  color: rgba(255, 255, 255, 0.82);
}

body.idealia-theme-ibe .page-hero--idealia-blog .idealia-blog-index-intro a {
  color: #20c997;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.idealia-theme-ibe .page-hero--idealia-blog .idealia-blog-index-intro a:hover {
  color: #5ddeb8;
}

.section-news-page--idealia-blog {
  background: #eef0f2;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* Filtros categoría: píldoras (activo teal, inactivo blanco + borde, texto burdeos — coherente con marca / IBE) */
.section-news-page--idealia-blog .news-cat-tabs {
  gap: 0.65rem 0.85rem;
  margin-bottom: 2rem;
}

.section-news-page--idealia-blog .news-cat-tabs__tab {
  min-height: 44px;
  padding: 0 1.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  background: var(--white);
  border: 1px solid rgba(111, 42, 50, 0.14);
  border-radius: 999px;
  box-shadow: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-news-page--idealia-blog .news-cat-tabs__tab:hover:not(.is-active) {
  border-color: rgba(32, 201, 151, 0.4);
  color: #1aa179;
}

.section-news-page--idealia-blog .news-cat-tabs__tab.is-active {
  background: linear-gradient(135deg, #20c997 0%, #1aa179 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 22px rgba(32, 201, 151, 0.38);
}

.section-news-page--idealia-blog .news-cat-tabs__tab.is-active:hover {
  color: var(--white);
  box-shadow: 0 8px 28px rgba(32, 201, 151, 0.45);
}

body.idealia-theme-ibe .section-news-page--idealia-blog .news-cat-tabs__tab {
  font-family: "Montserrat", system-ui, sans-serif;
}

.news-grid--idealia-blog {
  gap: clamp(1.15rem, 2.5vw, 1.65rem);
}

@media (max-width: 900px) {
  .news-grid--idealia-blog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .news-grid--idealia-blog {
    grid-template-columns: 1fr;
  }
}

.news-card--idealia-blog {
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
}

.news-card--idealia-blog .news-card-body {
  padding: 1.1rem 1.15rem 1.1rem;
}

.news-card__title-row {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.news-card__accent {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  min-height: 2.4rem;
  background: #20c997;
  border-radius: 1px;
}

.news-card--idealia-blog .news-card__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2d3436;
}

.news-card--idealia-blog .news-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.58;
  color: #636e72;
  flex: 1;
}

.news-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: #20c997;
  transition: color 0.2s ease;
}

.news-card--idealia-blog:hover .news-card__more {
  color: #1aa179;
}

.news-card__more-arrow {
  display: block;
  flex-shrink: 0;
}

.news-card__date {
  text-align: right;
  flex-shrink: 0;
  line-height: 1;
}

.news-card__date-day {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d3436;
}

.news-card__date-month {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8b95a0;
}

body.idealia-theme-ibe .news-card--idealia-blog .news-card__title,
body.idealia-theme-ibe .news-card--idealia-blog .news-card__excerpt,
body.idealia-theme-ibe .news-card--idealia-blog .news-card__footer,
body.idealia-theme-ibe .page-hero--idealia-blog .page-hero__title,
body.idealia-theme-ibe .page-hero--idealia-blog .page-hero__lead {
  font-family: "Montserrat", system-ui, sans-serif;
}

/* 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;
}

/* —— Entrada de blog Idealia (layout + sidebar, coherente IBE / teal) —— */
.site-main--noticia-idealia {
  background: #eef0f2;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.news-article--idealia-blog {
  padding-bottom: 0;
}

.news-article__idealia-shell {
  width: min(1180px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
}

.news-article__idealia-bc {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #636e72;
}

.news-article__idealia-bc a {
  color: #636e72;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-article__idealia-bc a:hover {
  color: #20c997;
}

.news-article__idealia-bc-current {
  color: #20c997;
  font-weight: 700;
  max-width: 100%;
}

.news-article__idealia-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.news-article__idealia-main {
  background: var(--white);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.06);
}

.news-article__idealia-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.news-article__idealia-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  line-height: 1.45;
  color: #636e72;
}

.news-article__idealia-meta-item--author {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.news-article__idealia-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #20c997, #1aa179);
  box-shadow: 0 0 0 2px rgba(32, 201, 151, 0.25);
}

.news-article__idealia-meta-accent {
  color: #20c997;
  font-weight: 700;
}

.news-article__idealia-meta-sep {
  width: 1px;
  height: 1rem;
  margin: 0 0.65rem;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.news-article__idealia-meta-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #20c997;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-article__idealia-meta-cat:hover {
  color: #1aa179;
}

.news-article__idealia-cat-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.news-article__idealia-dek {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  font-style: italic;
  color: #4a5560;
}

.news-article__idealia-featured {
  position: relative;
  margin: 0 0 1.25rem;
  border-radius: 6px;
  overflow: hidden;
  background: #e8eaed;
}

.news-article__idealia-featured-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-article__idealia-featured-cap {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.news-article__idealia-comments-badge {
  display: inline-block;
  margin: 0.65rem 0.65rem 0 0;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2d3436;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.news-article__idealia-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.news-article__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: #20c997;
  border: 1px solid rgba(32, 201, 151, 0.45);
  border-radius: 4px;
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-article__share-btn:hover {
  background: rgba(32, 201, 151, 0.1);
  border-color: #20c997;
  color: #1aa179;
}

.news-article__idealia-body {
  padding: 0;
}

.news-article__idealia-body > p {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.82;
  color: #2d3436;
}

.news-article__body-html {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.82;
  color: #2d3436;
}

.news-article__body-html p {
  margin: 0 0 1.2rem;
}

.news-article__body-html h2,
.news-article__body-html h3,
.news-article__body-html h4 {
  margin: 1.35rem 0 0.75rem;
  font-family: var(--font-display);
  line-height: 1.3;
  color: #1e272e;
}

.news-article__body-html ul,
.news-article__body-html ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

.news-article__body-html blockquote {
  margin: 0 0 1.2rem;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 3px solid rgba(32, 201, 151, 0.45);
  color: #495057;
}

.news-article__body-html a {
  color: #20c997;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-article__body-html code {
  font-size: 0.92em;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.news-article__gallery--idealia {
  margin: 0 0 1.75rem;
}

.news-article__foot--idealia {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.news-article__back--idealia {
  color: #20c997;
}

.news-article__back--idealia:hover {
  color: #1aa179;
}

.news-article__back--idealia.news-article__back--secondary {
  color: #636e72;
}

.news-article__back--idealia.news-article__back--secondary:hover {
  color: #20c997;
}

.news-article__idealia-sidebar {
  position: sticky;
  top: calc(5.5rem + env(safe-area-inset-top, 0));
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.news-article__widget {
  background: var(--white);
  border-radius: 8px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-article__widget-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #20c997;
}

.news-article__widget-accent {
  display: block;
  width: 4px;
  align-self: stretch;
  min-height: 1rem;
  background: #20c997;
  border-radius: 1px;
  flex-shrink: 0;
}

.news-article__widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-article__widget-list li {
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.4;
}

.news-article__widget-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-article__widget-list a {
  color: #2d3436;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-article__widget-list a:hover {
  color: #20c997;
}

.news-article__widget-list--compact a {
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .news-article__idealia-grid {
    grid-template-columns: 1fr;
  }

  .news-article__idealia-sidebar {
    position: static;
    order: 1;
  }

  .news-article__idealia-main {
    order: 0;
  }
}

body.idealia-theme-ibe .news-article__idealia-bc,
body.idealia-theme-ibe .news-article__idealia-meta,
body.idealia-theme-ibe .news-article__idealia-share,
body.idealia-theme-ibe .news-article__widget-title,
body.idealia-theme-ibe .news-article__widget-list {
  font-family: "Montserrat", system-ui, sans-serif;
}

body.idealia-theme-ibe .news-article__idealia-title,
body.idealia-theme-ibe .news-article__idealia-dek,
body.idealia-theme-ibe .news-article__idealia-body > p {
  font-family: "Playfair Display", Georgia, serif;
}

/* 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;
}

.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 —— */
.site-footer {
  color: rgba(255, 255, 255, 0.88);
  background-color: #171314;
  background-image: linear-gradient(
      180deg,
      rgba(23, 19, 20, 0.94) 0%,
      rgba(18, 14, 15, 0.97) 45%,
      rgba(20, 16, 17, 0.96) 100%
    ),
    url("contenido/almond-texture.jpg");
  background-size: cover;
  background-position: center bottom;
}

.site-footer__main {
  padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
}

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

.site-footer__heading {
  margin: 0 0 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__heading--spaced {
  margin-top: 1.75rem;
}

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

.site-footer__links li {
  margin-bottom: 0.55rem;
}

.site-footer__links a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__col--highlight {
  display: flex;
  justify-content: center;
}

.site-footer__highlight {
  width: 100%;
  max-width: 22rem;
  padding: 1.65rem 1.35rem;
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.site-footer__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.25;
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__contact {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--white);
}

.site-footer__map-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.65rem;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.site-footer__social-link svg {
  width: 18px;
  height: 18px;
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 1.25rem 1.5rem;
}

.site-footer__legal-inner {
  margin: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.site-footer__legal-inner a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal-inner a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__legal-sep {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__col--highlight {
    order: -1;
  }

  .site-footer__highlight {
    margin-inline: auto;
  }

  .site-footer__links {
    text-align: center;
  }

  .site-footer__col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__social {
    justify-content: center;
  }
}

@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 {
    min-height: 280px;
  }

  .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;
  }
}

/* —— 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;
  text-align: center;
}

/* —— 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;
}

.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;
}

.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-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.65;
  color: var(--burgundy-soft);
}

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

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

.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 {
    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;
}

.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-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;
}
