/*
Theme Name: Eptagono Polymers
Theme URI: https://eptagono.com/
Author: Eptagono Polymers
Description: Tema WordPress convertido desde la web estatica de Eptagono Polymers.
Version: 1.0.0
Text Domain: eptagono-polymers
*/

:root {
  --ink: #08283a;
  --ink-soft: #28475a;
  --orange: #ee6800;
  --orange-dark: #d95800;
  --line: #cfd8dc;
  --paper: #ffffff;
  --white: #ffffff;
  --footer: #032133;
  --footer-deep: #011725;
  --shadow: 0 18px 45px rgba(8, 40, 58, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-anchor {
  scroll-margin-top: 92px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 40, 58, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand img {
  width: 209px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 29px 0 25px;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 17px;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--orange);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 14px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn img {
  width: 10px;
  height: auto;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(238, 104, 0, 0.65);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(238, 104, 0, 0.08);
  border-color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  margin: 4px 0;
}

.hero {
  min-height: 505px;
  overflow: hidden;
  background: var(--paper);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.43fr) minmax(0, 0.57fr);
  align-items: center;
  min-height: 505px;
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 52px 0 44px;
}

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

h1 {
  max-width: 520px;
  font-size: clamp(36px, 3.9vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
}

h1 span,
.sustainability-copy h2 span,
.cta-band h2 span {
  color: var(--orange);
}

.hero-copy h1::after,
.section-copy h2::after,
.materials h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 22px;
  content: "";
  background: var(--orange);
}

.hero-copy p {
  max-width: 410px;
  margin-top: 22px;
  color: #263c49;
  font-size: 16px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: left center;
}

.proof-strip {
  background: rgba(255, 255, 255, 0.62);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: 122px;
}

.proof-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.proof-item img {
  width: 62px;
  justify-self: center;
}

.proof-item p {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.proof-item strong {
  display: block;
}

.technical {
  overflow: hidden;
  background: var(--paper);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(410px, 0.48fr) minmax(480px, 0.52fr);
  align-items: center;
  min-height: 330px;
  gap: 42px;
}

.section-copy {
  min-width: 0;
  padding: 48px 0;
}

.section-copy h2,
.materials h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 800;
}

.section-copy h2::after,
.materials h2::after {
  width: 42px;
  margin-top: 12px;
}

.section-copy > p {
  max-width: 420px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 30px;
}

.metrics-grid article {
  display: grid;
  grid-template-rows: 58px auto;
  justify-items: center;
  align-items: end;
  min-height: 96px;
  padding: 0 13px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.metrics-grid article:first-child {
  padding-left: 0;
}

.metrics-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.metrics-grid img {
  max-width: 54px;
  max-height: 58px;
  object-fit: contain;
}

.metrics-grid span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.wide-media {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.wide-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: left center;
}

.materials {
  padding: 6px 0 28px;
}

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

.material-card {
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(8, 40, 58, 0.13);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.material-card:hover,
.material-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.material-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustainability,
.sectors {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.sustainability {
  padding-top: 36px;
  padding-bottom: 20px;
}

.sustainability-media,
.sectors-media {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 0;
  pointer-events: none;
}

.sustainability-media img,
.sectors-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustainability-grid,
.sectors-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: 50px;
  align-items: start;
}


.sustainability-copy {
  padding-top: 0;
  padding-bottom: 0;
}

.sustainability-copy h2 {
  max-width: 620px;
  font-size: clamp(26px, 2.5vw, 32px);
}

.sustainability-copy h2 span {
  display: block;
}

.sectors .section-copy h2 {
  max-width: 700px;
  font-size: clamp(26px, 2.3vw, 30px);
}

.value-grid {
  display: grid;
  margin-top: 26px;
}

.value-grid article {
  border-right: 1px solid var(--line);
}

.value-grid article:last-child {
  border-right: 0;
}

.value-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid-four article {
  display: grid;
  grid-template-rows: 48px auto;
  justify-items: center;
  gap: 8px;
  padding: 0 20px;
  text-align: center;
}

.value-grid-four img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.value-grid span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.32;
}

.sectors {
  min-height: 0;
  padding-top: 20px;
}

.sectors .section-copy {
  padding-top: 0;
  padding-bottom: 32px;
}

.value-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid-three article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 0 18px;
}

.value-grid-three article:first-child {
  padding-left: 0;
}

.value-grid-three article:last-child {
  padding-right: 0;
}

.value-grid-three img {
  width: 48px;
}

.value-grid-three h3 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.value-grid-three p {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.cta-band {
  background: linear-gradient(90deg, #052b42, #042136);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 8vw, 92px);
}

.cta-band h2 {
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 400;
}

.cta-band h2 span {
  font-weight: 800;
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1.05fr 0.55fr;
  gap: 34px;
  padding: 25px 0 18px;
}

.footer-brand,
.footer-links,
.footer-contact,
.social {
  min-height: 124px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.social {
  border-right: 0;
  padding-right: 0;
}

.footer-brand img {
  width: 162px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 260px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 12px 24px;
}

.footer-links a,
.legal-row a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.footer-links a:hover,
.footer-contact a:hover,
.legal-row a:hover,
.social a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  align-content: center;
  gap: 9px;
  font-style: normal;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

.footer-contact img {
  width: 18px;
  margin-top: 1px;
}

.footer-contact svg {
  margin-top: 1px;
  flex-shrink: 0;
}

.social {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
}

.social span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.linkedin-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 3px;
  background: #12394d;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.legal-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.legal-row div {
  display: flex;
  gap: 28px;
}

.page-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  background: var(--paper);
}

.page-placeholder {
  padding: 90px 0;
  text-align: center;
}

.page-placeholder .eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-placeholder h1 {
  max-width: none;
  margin-top: 12px;
}

.page-placeholder p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--ink-soft);
}

/* ── Contacto page ──────────────────────────────────────── */

.contact-main {
  padding: 56px 0 64px;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.78fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.1;
}

.contact-form-wrap h2::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  content: "";
  background: var(--orange);
}

.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab5bb;
}

.form-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check label {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  cursor: pointer;
}

.form-check a {
  color: var(--orange);
  text-decoration: underline;
}

.form-note {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: -4px;
}

.form-error {
  font-size: 12px;
  font-weight: 700;
  color: #c0392b;
  background: #fdf0ee;
  border-left: 3px solid #c0392b;
  padding: 8px 12px;
  margin: 0;
}

.form-success {
  font-size: 15px;
  font-weight: 700;
  color: #1a6b3c;
  background: #edf7f1;
  border-left: 3px solid #27ae60;
  padding: 16px 20px;
  line-height: 1.5;
}

/* ── Pagina de privacidad ───────────────────────────────── */
.privacy-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.privacy-page h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  max-width: none;
}

.privacy-page h1::after {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 18px;
  content: "";
  background: var(--orange);
}

.privacy-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
}

.privacy-page h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.privacy-page p,
.privacy-page li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.privacy-page ul {
  padding-left: 20px;
  margin: 10px 0;
}

.privacy-page li {
  margin-bottom: 4px;
}

.privacy-page a {
  color: var(--orange);
  text-decoration: underline;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 36px;
  transition: color 160ms ease;
}

.privacy-back:hover {
  color: var(--orange);
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-block h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-info-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.contact-info-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 2px;
}

.contact-info-item a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-top: 2px;
}

.contact-info-item a:hover {
  color: var(--orange-dark);
}

/* Newsletter */
.contact-newsletter {
  background-image: url('Contacto/contacto7.png');
  background-size: cover;
  background-position: center;
  padding: 44px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.newsletter-copy h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.newsletter-copy h2::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  content: "";
  background: var(--orange);
}

.newsletter-copy p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 420px;
  margin-top: 6px;
}

.newsletter-form {
  display: flex;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-right: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  width: 240px;
  background: var(--white);
  border-radius: 0;
}

.newsletter-form input:focus {
  border-color: var(--orange);
}

.newsletter-form button {
  padding: 0 22px;
  background: var(--orange);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 160ms ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--orange-dark);
}

/* Value strip */
.contact-value-strip {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.contact-value-item:last-child {
  border-right: 0;
}

.contact-value-item img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.contact-value-item h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1.2;
}

.contact-value-item p {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 6px;
}

/* ── Sostenibilidad page ────────────────────────────────── */

.sost-section-title {
  text-align: center;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.sost-section-title::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  content: "";
  background: var(--orange);
}

/* Nuestro compromiso */
.sost-commitment {
  padding: 56px 0 60px;
  background: var(--white);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.commitment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px 8px;
  border-right: 1px solid var(--line);
}

.commitment-item:last-child {
  border-right: 0;
}

.commitment-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.commitment-item h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 16px;
  line-height: 1.2;
}

.commitment-item p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
}

/* Impacto / Resultados */
.sost-impact {
  background: var(--paper);
  overflow: hidden;
}

.impact-copy {
  padding: 36px 0 36px;
}

.impact-copy h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 12px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.impact-stat:first-child {
  padding-left: 0;
}

.impact-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.impact-stat__number {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.impact-stat img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-top: 10px;
}

.impact-stat__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.3;
}

.impact-stat__note {
  font-size: 10px;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* Calidad y cumplimiento */
.sost-quality {
  padding: 56px 0 64px;
  background: var(--white);
}

.sost-cert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 40px;
}

.sost-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.sost-cert-item:last-child {
  border-right: 0;
}

.sost-cert-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.sost-cert-item h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1.2;
}

.sost-cert-item p {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.4;
}

/* CTA final */
.sost-cta {
  background-image: url('Sostenibilidad/sostenibilidad15.png');
  background-size: cover;
  background-position: center;
  padding: 52px 0;
}

.sost-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sost-cta h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.sost-cta h2 span {
  color: var(--orange);
}

/* ── Materiales page ────────────────────────────────────── */

.nuestros-materiales {
  padding: 56px 0 64px;
  background: var(--white);
}

.nuestros-materiales__title {
  text-align: center;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.nuestros-materiales__title::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  content: "";
  background: var(--orange);
}

.mat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.mat-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: stretch;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 40, 58, 0.08);
  overflow: hidden;
}

.mat-card__img {
  width: 118px;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  object-position: center bottom;
  padding: 12px 6px 0;
  background: var(--paper);
  align-self: stretch;
  display: block;
}

.mat-card__body {
  display: flex;
  flex-direction: column;
  padding: 20px 16px 20px 14px;
  gap: 0;
}

.mat-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mat-card__header img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.mat-card__header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.mat-card__subtitle {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 8px;
}

.mat-card__desc {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 10px;
}

.mat-card__apps-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 12px;
}

.mat-card__apps {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
  flex: 1;
}

.mat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}

.mat-card__link img {
  width: 9px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(700%) hue-rotate(8deg);
}

.mat-card__link:hover {
  color: var(--orange-dark);
}

/* Value strip */
.mat-strip {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mat-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  min-height: 130px;
}

.mat-strip-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.mat-strip-item:last-child {
  border-right: 0;
}

.mat-strip-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.mat-strip-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.mat-strip-item p {
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Calidad y cumplimiento */
.mat-quality {
  background: var(--paper);
  overflow: hidden;
  padding-top: 48px;
}

.mat-quality-copy {
  padding-top: 0;
  padding-bottom: 36px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 6px;
  border-right: 1px solid var(--line);
}

.cert-item:last-child {
  border-right: 0;
}

.cert-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.cert-item span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.cert-sub {
  color: var(--ink-soft) !important;
  font-weight: 600 !important;
  font-size: 10px !important;
}

.mat-quality-btn {
  margin-top: 24px;
}

/* Bottom CTA */
.mat-cta {
  background: var(--footer);
  color: var(--white);
  padding: 48px 0;
}

.mat-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.mat-cta h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.mat-cta p {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 460px;
}

/* ── Sectores page ──────────────────────────────────────── */

.page-eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sectors-list {
  padding: 56px 0 64px;
  background: var(--white);
}

.sectors-list__title {
  text-align: center;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.sectors-list__title::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  content: "";
  background: var(--orange);
}

.sector-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.sector-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(8, 40, 58, 0.11);
  overflow: hidden;
}

.sector-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sector-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}

.sector-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sector-card__head img {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  object-fit: contain;
}

.sector-card__head h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.sector-card__desc {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}

.material-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.material-tag {
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(8, 40, 58, 0.07);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.sectors-applications {
  background: var(--paper);
  overflow: hidden;
}

.applications-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.applications-icons article {
  display: grid;
  grid-template-rows: 48px auto auto;
  justify-items: center;
  gap: 6px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.applications-icons article:first-child {
  padding-left: 0;
}

.applications-icons article:last-child {
  padding-right: 0;
  border-right: 0;
}

.applications-icons img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.app-icon-title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.app-icon-desc {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.cta-band--sectors {
  position: relative;
  overflow: hidden;
}

.cta-pellet {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 130%;
  width: auto;
  pointer-events: none;
  user-select: none;
}

.cta-pellet--left {
  left: 0;
}

.cta-pellet--right {
  right: 0;
}

/* ── Empresa page ───────────────────────────────────────── */

.empresa-quienes {
  background: var(--paper);
  overflow: hidden;
  padding: 56px 0;
}

.empresa-quienes__p2 {
  max-width: 420px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.empresa-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.empresa-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.empresa-stat:first-child {
  padding-left: 0;
}

.empresa-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.empresa-stat img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.empresa-stat__number {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-top: 10px;
}

.empresa-stat__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.3;
}

.empresa-filosofia {
  padding: 56px 0 64px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 18px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--paper);
    box-shadow: 0 18px 32px rgba(8, 40, 58, 0.12);
  }

  .site-nav.is-open a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(8, 40, 58, 0.09);
  }

  .site-nav.is-open a::after {
    bottom: 6px;
    width: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-media {
    margin-inline: 0;
  }

  .hero-media img {
    min-width: 0;
    width: 100%;
    max-height: 420px;
  }

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

  .proof-item {
    padding: 14px 22px;
  }

  .proof-item:nth-child(2n) {
    border-right: 0;
  }

  .split-grid,
  .sustainability-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wide-media {
    margin-inline: 0;
    order: -1;
  }

  .sustainability-media,
  .sectors-media {
    position: relative;
    width: auto;
    min-width: 0;
    margin-right: 0;
  }

  .sustainability-copy,
  .sectors .section-copy {
    padding-top: 22px;
  }

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

  .footer-links {
    border-right: 0;
  }

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

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

  .contact-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .contact-value-item:nth-child(2n) {
    border-right: 0;
  }

  .contact-value-item {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .contact-value-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .newsletter-form input {
    width: 200px;
  }

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

  .commitment-item:nth-child(2n) {
    border-right: 0;
  }

  .commitment-item {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .commitment-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .sost-cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 0;
  }

  .sost-cert-item:nth-child(3n) {
    border-right: 0;
  }

  .impact-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .impact-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }

  .impact-stat:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .sost-cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .empresa-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mat-cards {
    grid-template-columns: 1fr;
  }

  .mat-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 0;
  }

  .mat-strip-item:nth-child(2n) {
    border-right: 0;
  }

  .mat-strip-item:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    justify-self: center;
    width: 50%;
  }

  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .cert-item:nth-child(3n) {
    border-right: 0;
  }

  .mat-cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 172px;
  }

  .site-nav.is-open {
    top: 72px;
  }

  .hero-copy {
    padding-top: 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.4vw, 38px);
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-actions,
  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .proof-grid,
  .materials-grid,
  .value-grid-four,
  .value-grid-three {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:last-child,
  .metrics-grid article,
  .value-grid article,
  .value-grid-three article,
  .value-grid-three article:first-child,
  .value-grid-three article:last-child {
    padding-inline: 0;
    border-right: 0;
  }

  .proof-item {
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

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

  .metrics-grid article:nth-child(2n) {
    border-right: 0;
  }

  .metrics-grid article:last-child {
    grid-column: 1 / -1;
  }

  .value-grid-four {
    gap: 18px;
  }

  .value-grid-four article {
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .value-grid-three {
    gap: 22px;
  }

  .sustainability-media,
  .sectors-media,
  .wide-media,
  .hero-media {
    margin-inline: 0;
  }

  .cta-inner {
    align-items: stretch;
    padding: 26px 0;
    gap: 18px;
  }

  .cta-band h2 {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact,
  .social {
    min-height: auto;
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .social {
    border-bottom: 0;
  }

  .legal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sector-cards {
    grid-template-columns: 1fr;
  }

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

  .applications-icons article {
    border-right: 1px solid var(--line);
  }

  .applications-icons article:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .applications-icons article:first-child {
    padding-left: 0;
  }

  .cta-pellet {
    height: 100%;
    opacity: 0.5;
  }

  .mat-strip-grid {
    grid-template-columns: 1fr;
  }

  .mat-strip-item,
  .mat-strip-item:nth-child(2n),
  .mat-strip-item:last-child {
    grid-column: auto;
    width: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .mat-strip-item:first-child {
    border-top: 0;
  }

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

  .cert-item:nth-child(2n) {
    border-right: 0;
  }

  .mat-cta {
    padding: 36px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .empresa-stats {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .empresa-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }

  .empresa-stat:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .contact-value-grid {
    grid-template-columns: 1fr;
  }

  .contact-value-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }

  .contact-value-item:last-child {
    border-bottom: 0;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    flex: 1;
    width: auto;
  }
}


body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.form-success {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 4px solid #2e7d32;
  background: rgba(46, 125, 50, 0.08);
  color: var(--ink);
  font-weight: 650;
}
