@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/raleway-0.woff2) format('woff2'),
       url(../fonts/raleway-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/raleway-1.woff2) format('woff2'),
       url(../fonts/raleway-1.ttf) format('truetype');
}

/* ---- Variables ---- */
:root {
  --bronze: #8e6c40;
  --brown: #563611;
  --taupe: #72614b;
  --sand: #c5a67b;
  --paper: #fffefa;
  --gutter: clamp(1.25rem, 6vw, 7rem);
  --header-h: 114px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: calc(-1 * var(--header-h)) 0 0;
  background: var(--paper);
  color: var(--brown);
  font: 400 1rem/1.7 Raleway, Arial, sans-serif;
}

.ficha-page { margin: 0; }

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

h1, h2, h3 { font-weight: 500; line-height: 1.12; }

h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

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

button { font: inherit; }

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

[hidden] { display: none !important; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 5px;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Contacto flotante ---- */
.whatsapp-float {
  position: fixed;
  right: max(1.25rem, calc(1rem + env(safe-area-inset-right)));
  bottom: max(1.25rem, calc(1rem + env(safe-area-inset-bottom)));
  z-index: 9;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 18px rgba(44, 35, 22, 0.26);
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.whatsapp-float img { width: 27px; height: 27px; filter: invert(1); }
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  width: min(14rem, calc(100vw - 6rem));
  padding: 0.55rem 0.7rem;
  border-radius: 0.25rem;
  background: var(--brown);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateX(0.35rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  visibility: hidden;
  z-index: 1;
}
.whatsapp-float-tooltip::after {
  position: absolute;
  top: 50%;
  right: -0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--brown);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}
.whatsapp-float:hover .whatsapp-float-tooltip,
.whatsapp-float:focus-visible .whatsapp-float-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}
@media (hover: none), (max-width: 720px) {
  .whatsapp-float.is-tooltip-visible .whatsapp-float-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}
.whatsapp-float:hover {
  background: #1d5f3e;
  box-shadow: 0 8px 22px rgba(44, 35, 22, 0.32);
}
.whatsapp-float:focus-visible { outline-color: var(--brown); outline-offset: 4px; }

/* ---- Skip link ---- */
.skip { position: fixed; top: -8rem; left: 1rem; z-index: 10; background: white; padding: 1rem; }
.skip:focus { top: 1rem; }

/* ---- Header / navegación ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
  background: rgba(255, 254, 250, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header nav a {
  font-size: 1rem;
  color: #000000;
  padding: 0.5rem 0;
  transition: color 0.18s;
}
.header nav a:hover {
  color: var(--brown);
}

.brand { display: flex; align-items: center; gap: 1.1rem;}
.brand-icon { height: 57px; width: auto; }
.brand-type { width: 130px; height: auto; }

.header nav {
  position: relative;
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
}
.header nav .nav-contact {
  order: 2;
  margin-left: auto;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--bronze);
  border-radius: 40px;
  color: var(--brown);
}
.header nav .nav-contact:hover {
  color: var(--paper);
  background: var(--bronze);
}
.nav-main-links {
  order: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  padding: 0.5rem 1rem;
  background: none;
  color: var(--brown);
  border: 1px solid var(--sand);
  border-radius: 30px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 690px;
  min-height: clamp(620px, 53vw, 850px);
  margin: 0;
  color: white;
  background: var(--brown);
  isolation: isolate;
}

.hero-visual { position: absolute; inset: 0; z-index: -2; overflow: clip; background: var(--brown); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 50%; display: block; transform: none; -webkit-mask-image: none; mask-image: none; transform: rotate(180deg)}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, transparent 85%, var(--paper) 100%),
    linear-gradient(50deg, rgba(40, 22, 7, 0.55), transparent 80%)
}

.hero-copy { padding: calc(var(--header-h) + 5rem) calc(var(--gutter) - 1.1rem) 8rem; }

.hero h1 {
  font-weight: 600;
  font-size: clamp(3.4rem, 5.8vw, 6.1rem);
  line-height: 1.09;
  letter-spacing: -0.055em;
  margin-bottom: 2rem;
}

.hero-description { font-size: 2rem; line-height: 1.6; margin-bottom: .4rem; }
.hero-copy .button + .button { margin-left: 1rem; }

/* ---- Botones ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 35px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9rem;
  min-height: 50px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.dark { background: var(--brown); color: white; }
.dark:hover { background: white; color: var(--brown); }

/* ---- Secciones y etiquetas ---- */
.section { padding: 7rem var(--gutter); }
.section-label { font-size: 0.9rem; color: var(--taupe); margin-bottom: 2rem; }

/* ---- Nosotros ---- */
.about { display: grid; grid-template-columns: 1fr 2.1fr; gap: 5rem; align-items: center; }

.about-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
  text-align: center;
}

.about-signature img { width: 135px; height: auto; }
.about-signature p { color: var(--taupe); font-size: 0.9rem; margin: 0; }

.about-content { max-width: 800px; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.about-columns p { margin-bottom: 0; color: var(--taupe); max-width: 40ch; }
.about-columns p + p { border-left: 1px solid var(--sand); padding-left: 2.2rem; }

/* ---- Productos ---- */
.products.section {
  position: relative;
  display: block;
  padding: 5rem var(--gutter);
  background: #eee6d9;
}

.product-stage {
  display: block;
}

.product-heading {
  position: relative;
  z-index: 2;
  max-width: 70ch;
  margin-bottom: 2.5rem;
}

.product-heading h2 { margin-bottom: 1rem; }
.product-heading h2 + p {color: var(--taupe); margin-bottom: 0; }

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 1.5vw, 1.5rem);
  width: 100%;
  margin: 0;
}

.product {
  min-width: 0;
  flex: 0 1 calc(25% - clamp(1rem, 1.5vw, 1.5rem));
  max-width: calc(25% - clamp(1rem, 1.5vw, 1.5rem));
}

.product-inner {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper);
  border: 1px solid rgba(142, 108, 64, 0.24);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(86, 54, 17, 0.22);
}

.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 0.45rem;
}

.product h3 { font-size: clamp(1.2rem, 1.4vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 0.35rem; }
.product p { color: var(--taupe); margin: 0; font-size: 0.92rem; }

@media (max-width: 1200px) {
  .product { flex-basis: calc(25% - clamp(1rem, 1.5vw, 1.5rem)); max-width: calc(25% - clamp(1rem, 1.5vw, 1.5rem)); }
}

@media (max-width: 900px) {
  .product { flex-basis: calc(33.333% - clamp(1rem, 1.5vw, 1.5rem)); max-width: calc(33.333% - clamp(1rem, 1.5vw, 1.5rem)); }
}

@media (max-width: 480px) {
  .product { flex-basis: 100%; max-width: 100%; }
}

/* ---- Acordeón <details> ---- */
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  font-size: 0.9rem;
}

summary::-webkit-details-marker { display: none; }
summary span { font-size: 1.7rem; font-weight: 400; }
details[open] summary span { transform: rotate(45deg); }

/* ---- Contacto ---- */
.contact {
  background: var(--brown);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.contact .section-label { color: var(--sand); margin-bottom: 2rem; }
.contact h2 { margin-bottom: 1rem; }
.contact h2 + p { margin-bottom: 2.5rem; }
.contact p { color: #e3d7c6; margin-bottom: 0; }

.contact-info { align-self: center; padding-left: 2.5rem; border-left: 1px solid #c5a67b66; }
.contact-info h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.contact-info address { font-style: normal; color: #e3d7c6; }

.contact .dark { border-color: var(--sand); background: transparent; }
.contact .dark:hover { background: white; color: var(--brown); }

.social-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-links a:hover { color: var(--bronze); }
.social-links a:hover .social-icon {
  filter: invert(45%) sepia(17%) saturate(1180%) hue-rotate(356deg) brightness(92%) contrast(88%);
}

.social-links .social-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ---- Footer ---- */
footer {
  padding: 2rem var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

footer img { width: 75px; height: auto; }
footer p { font-size: 1rem; margin: 0; color: var(--taupe); }
footer a, footer small { font-size: 1rem; }
.footer-logo {
  display: inline-flex;
  width: 75px;
  aspect-ratio: 505 / 94;
}

/* ---- Media queries ---- */
@media (min-width: 1800px) {
  body { max-width: 1920px; margin: auto; }
}

@media (max-width: 1000px) {
  .header nav { gap: 1.2rem; }
  .header nav .nav-contact { margin: 0; }
  .about { gap: 3rem; grid-template-columns: 1fr 2.6fr; }
  .hero { min-height: 650px; }
  .hero-copy { padding-top: 4.5rem; }
  .hero h1 { font-size: 4rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 132px; }
  .header { min-height: 0; padding: 1rem var(--gutter); flex-wrap: wrap; gap: 1rem; }
  .brand-icon { height: 40px; }
  .brand-type { width: 100px; }
  .menu-toggle { border: 0; }
  .js .menu-toggle { display: block; }
  .header:has(.menu-toggle[aria-expanded="true"]) {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header nav {
    position: static;
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .js .header nav { display: none; }
  .js .header nav.is-open { display: flex; }
  .header nav .nav-contact {
    order: 0;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    padding: 0.5rem 0;
    color: #000000;
    background: transparent;
  }
  .header nav .nav-contact:hover {
    color: var(--brown);
    background: transparent;
  }
  .nav-main-links {
    order: 0;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hero { min-height: 600px; }
  .hero-visual img { object-position: 0 50%; }
  .hero-copy { padding: calc(var(--header-h) + 3rem) 1.3rem 1.3rem; }
  .hero h1 { font-size: clamp(2.9rem, 9vw, 4rem); }
  .hero-title-cork { display: block; }
  .hero-title-wine { white-space: nowrap; }
  .hero-description { font-size: 1rem; }
   .hero:after {
     background:
       linear-gradient(to bottom, transparent 80%, var(--paper) 100%),
       linear-gradient(180deg, rgba(40, 22, 7, 0.92), rgba(40, 22, 7, 0.62) 72%);
   }
  .section { padding: 4rem var(--gutter); }

  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  #nosotros-title { margin-bottom: 1rem; }
  .about-signature { display: none; }
  #corchos-title { margin-bottom: 1rem; }
  #corchos-title + p { margin: 0; }
  .about-columns { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-columns p + p { border-left: 0; padding-left: 0; }
  .about-columns p { max-width: 60ch; }

  .products.section { padding: 3rem var(--gutter); }
  .product-heading { margin-bottom: 2rem; }
  .product-heading h2 + p { max-width: 50ch; }
  .product-list { justify-content: center; }
  .product { flex-basis: calc(50% - clamp(1rem, 1.5vw, 1.5rem)); max-width: calc(50% - clamp(1rem, 1.5vw, 1.5rem)); }
  .product-inner { padding: 1rem; }

  .contact { grid-template-columns: 1fr; gap: 0rem; }
  .contact h2 + p { margin-bottom: 2rem; }
  .contact-info { border-left: 0; border-top: 1px solid #c5a67b66; padding: 2rem 0 0; }
  .contact h2 { font-size: clamp(2rem, 6.5vw, 3rem); }

  footer { display: grid; grid-template-columns: auto 1fr; gap: 2rem; }
  footer p, footer small { text-align: right; }
  .social-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Preguntas frecuentes ---- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.faq-intro > p { color: var(--taupe); max-width: 32ch; }
.faq-intro h2 { margin-bottom: 1rem; }
.faq-intro h2 + p { margin-bottom: 2.5rem; }

.faq-item { border-top: 1px solid var(--sand); }

.faq-item summary {
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.faq-item summary span { flex-shrink: 0; }
.faq-item > p { color: var(--taupe); padding: 0 2rem 1.5rem 0; margin: 0; max-width: 65ch; }

@media (max-width: 900px) {
  .faq { gap: 2.5rem; }
}

.hero-claim {
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f3e9da;
  border-left: 2px solid var(--sand);
  padding-left: 1rem;
  margin: 0 0 2.2rem;
}

.about-link {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--bronze);
}
.about-link:hover { color: var(--bronze); }

/* ---- Ficha técnica ---- */
.specs-bullets { color: var(--brown); padding-left: 1.2rem; max-width: 70ch; }
.specs-bullets li { margin-bottom: 0.35rem; }
.specs-bullets li::marker { color: var(--bronze); }
.spec-table-wrap { overflow-x: auto; margin: 1rem 0 2rem; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--brown);
  font-size: 0.92rem;
  background: var(--paper);
}
.spec-table th, .spec-table td {
  border: 1px solid rgba(142, 108, 64, 0.5);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}
.spec-table thead th { background: var(--brown); color: #fff; font-weight: 500; }
.spec-table tbody th[scope="row"] { color: var(--brown); white-space: nowrap; }

/* ---- Nuestra fábrica ---- */
.plant.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  background: #eee6d9;
}
.plant-lead { color: var(--taupe); max-width: 70ch; margin-bottom: 2.5rem; }
#planta-title,
#sostenibilidad-title { margin-bottom: 1rem; }
.plant-carousel { min-width: 0; }
.plant-viewport {
  display: grid;
  aspect-ratio: 4 / 3;
}
.plant-card {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  background: var(--paper);
  border: 1px solid rgba(142, 108, 64, 0.24);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px -16px rgba(86, 54, 17, 0.32);
  transition: opacity 0.6s ease;
}
.plant-card.is-active { opacity: 1; }
.plant-card img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .plant.section { grid-template-columns: 1fr; gap: 2rem; }
  .plant-lead { margin-bottom: 2rem; }
}

/* ---- Contacto: email y teléfono visibles ---- */
.contact-info .button.dark { margin-top: .8rem; }

@media (max-width: 720px) {
  .hero-claim { font-size: 0.95rem; }
  .spec-table { font-size: 0.85rem; }
}

@media (max-width: 720px) {
  .faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-intro > p { max-width: 50ch; }
  .faq-intro h2 + p { margin-bottom: 2rem; }
  .faq-item > p { padding-right: 0; }
}

/* ---- Índice de corchos: card enlazada a ficha detalle ---- */
.product-link.product-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.product-link.product-inner:hover {
  border-color: var(--bronze);
  box-shadow: 0 25px 50px -12px rgba(86, 54, 17, 0.32);
}
.product-link.product-inner:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
}

/* ---- Fichas individuales de corchos ---- */
.ficha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  padding-top: 2.5rem;
  background: #eee6d9;
}
.ficha-media {
  display: flex;
  min-height: 0;
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(142, 108, 64, 0.24);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(86, 54, 17, 0.22);
  padding: 1.25rem;
}
.ficha-media img {
  position: absolute;
  inset: 1.25rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  object-fit: contain;
  border-radius: 12px;
}
.ficha-info h1 { font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -0.04em; margin-bottom: 0.4rem; }

@media (max-width: 720px) {
  .ficha { grid-template-columns: 1fr; align-items: start; }
  .ficha-media { display: block; }
  .ficha-media img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ---- Certificados: carrusel infinito solo CSS ---- */
.certs.section { padding-top: 5rem; padding-bottom: 5rem; }
#certs-title { margin-bottom: 1rem; }
.certs-lead { color: var(--taupe); max-width: 70ch; margin-bottom: 2.5rem; }
.certs-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.certs-track {
  display: flex;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  animation: certs-scroll 28s linear infinite;
}
.certs-set { flex: 0 0 auto; }
.certs-set > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.certs-set > ul > li { margin-right: 12.25rem; }
.certs-viewport:hover .certs-track,
.certs-viewport:focus-within .certs-track { animation-play-state: paused; }
.cert-badge {
  display: grid;
  min-height: 90px;
  padding: 0.5rem;
  place-items: center;
}
.cert-logo { display: block; height: var(--cert-logo-height, 64px); max-width: 200px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.35); }
.cert-logo--systecode { --cert-logo-height: 82px; }
.cert-logo--ecocert { --cert-logo-height: 64px; }
.cert-logo--fsc { --cert-logo-height: 48px; }
@keyframes certs-scroll {
  /* Four equal sequences make one quarter of the track one exact sequence. */
  to { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .certs-track { animation: none; flex-wrap: wrap; width: auto; }
  .certs-set { margin-bottom: 1.25rem; }
  .certs-set[aria-hidden="true"] { display: none; }
}
@media (max-width: 720px) {
  .certs.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .certs-lead { margin-bottom: 2rem; }
  .certs-set > ul > li { margin-right: 2rem; }
  .cert-logo { --cert-logo-height: 56px; max-width: 160px; }
  .cert-logo--systecode { --cert-logo-height: 72px; }
  .cert-logo--fsc { --cert-logo-height: 42px; }
  .whatsapp-float { width: 52px; height: 52px; }
}

/* ---- Sostenibilidad ---- */
.sustainability.section {
  background: var(--paper);
}
.sustainability-heading { max-width: 42rem; }
.sustainability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sustainability-item {
  min-width: 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid rgba(142, 108, 64, 0.24);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(86, 54, 17, 0.22);
}
.sustainability-item h3 { margin-bottom: 0.35rem; font-size: clamp(1.2rem, 1.4vw, 1.6rem); letter-spacing: -0.025em; }
.sustainability-item p { margin: 0; color: var(--taupe); font-size: 0.92rem; }

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

@media (max-width: 720px) {
  .sustainability-list { grid-template-columns: 1fr; }
}
