/*
 * DS Recuperadora — Dirección B, Circuito Modular.
 * Paleta oficial única: #292C31, #42963F, #6F7EE3,
 * #E6C76E y #FAF8F0.
 * CSS plano, sin Tailwind ni dependencias de build.
 */

:root {
  --ds-ink: var(--kreanog-color-text, #292c31);
  --ds-ink-soft: rgba(41, 44, 49, 0.78);
  --ds-green: var(--kreanog-color-primary, #42963f);
  --ds-green-deep: #42963f;
  --ds-blue: var(--kreanog-color-secondary, #6f7ee3);
  --ds-blue-deep: #6f7ee3;
  --ds-yellow: var(--kreanog-color-accent, #e6c76e);
  --ds-paper: var(--kreanog-color-background, #faf8f0);
  --ds-paper-deep: #faf8f0;
  --ds-white: #faf8f0;
  --ds-carton: #e6c76e;
  --ds-carton-deep: #e6c76e;
  --ds-metal: #6f7ee3;
  --ds-border: #292c31;
  --ds-header-offset: 5.5rem;
  --ds-shadow: 6px 6px 0 0 var(--ds-ink);
  --ds-shadow-sm: 3px 3px 0 0 var(--ds-ink);
  --font-heading: "Roboto Condensed", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Noto Sans", Roboto, ui-sans-serif, system-ui, sans-serif;
  --font-subheading: "Roboto Condensed", ui-sans-serif, system-ui, sans-serif;
  --font-quote: "Noto Sans", Roboto, ui-sans-serif, system-ui, sans-serif;
  --ds-display: var(--font-subheading);
  --ds-sans: var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--ds-header-offset);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--ds-paper);
  color: var(--ds-ink);
  font-family: var(--ds-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h2,
h3,
h4 {
  font-family: var(--font-subheading);
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

h4 {
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ds-green-deep);
}

:focus-visible {
  outline: 3px solid var(--ds-blue-deep);
  outline-offset: 3px;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--ds-white);
  border: 2px solid var(--ds-ink);
  font-weight: 700;
}

/* --- Layout --- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wrap--medium {
  max-width: 900px;
}

.wrap--narrow {
  max-width: 760px;
}

.section {
  padding: 4rem 0;
  border-bottom: 2px solid var(--ds-border);
}

.section--hero {
  position: relative;
  overflow: hidden;
}

.section--blue {
  background-color: var(--ds-blue-deep);
  color: var(--ds-paper);
}

.section--paper-deep {
  background-color: var(--ds-paper-deep);
}

.section--yellow {
  background-color: var(--ds-yellow);
}

.section__head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.section__title--lg {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.section__desc {
  margin-top: 1rem;
  color: var(--ds-ink-soft);
}

.section--yellow .section__desc {
  color: var(--ds-ink);
}

.section--yellow {
  color: var(--ds-ink);
}

.iteration-banner {
  padding: 0.65rem 0;
  background: var(--ds-ink);
  color: var(--ds-white);
  font-family: var(--ds-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.center {
  text-align: center;
}

.text-azul {
  color: var(--ds-blue-deep);
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid--gap-lg {
  gap: 2rem;
}

@media (min-width: 48rem) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 64rem) {
  .section {
    padding: 5rem 0;
  }

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

/* --- Cabecera --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid var(--ds-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.site-branding img,
.custom-logo {
  display: block;
  height: auto;
  width: clamp(9.5rem, 42vw, 12.75rem);
  max-width: 100%;
  aspect-ratio: 450 / 96;
  object-fit: contain;
}

.site-branding__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.site-title {
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 1rem;
}

.site-descriptor {
  margin-top: 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-ink-soft);
}

.site-branding--light .site-title {
  color: var(--ds-paper);
}

.site-branding--light .site-descriptor {
  color: rgba(255, 255, 255, 0.7);
}

.site-branding a,
.site-logo-link {
  display: inline-flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.site-nav__list a {
  color: var(--ds-ink-soft);
  text-decoration: none;
  padding: 0.5rem 0;
  display: inline-block;
}

.site-nav__list a:hover,
.site-nav__list a:focus {
  color: var(--ds-blue-deep);
  text-decoration: underline;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--ds-white);
  border: 2px solid var(--ds-border);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--ds-display);
  font-weight: 700;
  color: var(--ds-ink);
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ds-ink);
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -5px;
}

.menu-toggle__bars::after {
  top: 5px;
}

@media (max-width: 63.99rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 2px solid var(--ds-border);
    padding: 1rem;
    background: var(--ds-white);
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list li + li {
    border-top: 1px solid rgba(41, 44, 49, 0.15);
  }

  .site-nav__list a {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--ds-ink);
  }

  .site-nav__cta {
    margin-top: 1rem;
    width: 100%;
  }
}

/* --- Botones --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--ds-border);
  border-radius: 0.375rem;
  box-shadow: var(--ds-shadow-sm);
  transition: transform 0.15s ease;
}

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

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--ds-green-deep);
  color: var(--ds-paper);
}

.btn--blue {
  background: var(--ds-blue-deep);
  color: var(--ds-paper);
}

.btn--outline {
  background: var(--ds-white);
  color: var(--ds-ink);
}

.link-strong {
  font-family: var(--ds-display);
  font-weight: 700;
  color: var(--ds-ink);
  text-decoration: none;
  text-underline-offset: 4px;
}

.link-strong:hover,
.link-strong:focus {
  text-decoration: underline;
}

/* --- Tarjetas y texturas --- */

.card {
  border: 2px solid var(--ds-border);
  border-radius: 0.5rem;
  padding: 1.75rem;
  box-shadow: var(--ds-shadow-sm);
  height: 100%;
}

.card--white {
  background: var(--ds-white);
}

.card--paper {
  box-shadow: var(--ds-shadow);
}

.texture-paper {
  background-color: var(--ds-white);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(41, 44, 49, 0.05) 0 1px,
      transparent 1px 5px
    ),
    radial-gradient(
      circle at 20% 15%,
      rgba(41, 44, 49, 0.06) 0,
      transparent 55%
    );
}

.texture-carton {
  background-color: var(--ds-carton);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(166, 122, 76, 0.7) 0 3px,
    transparent 3px 11px
  );
}

.texture-metal {
  background-color: var(--ds-metal);
  background-image:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.55) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(
      100deg,
      rgba(41, 44, 49, 0.12),
      transparent 45%,
      rgba(41, 44, 49, 0.1)
    );
}

.edge-cut {
  clip-path: polygon(0 1.2%, 99.4% 0, 100% 98.6%, 0.6% 100%);
}

.edge-cut-alt {
  clip-path: polygon(0.7% 0, 100% 1.4%, 99.2% 100%, 0 98.4%);
}

/* --- Hero --- */

.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ds-green-deep);
  background: var(--ds-white);
  border: 2px solid var(--ds-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.hero__text {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--ds-ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__actions--center {
  justify-content: center;
}

/* --- Collage de materiales --- */

.collage {
  position: relative;
  height: 20rem;
  max-width: 26rem;
  margin: 0 auto;
  width: 100%;
}

.collage span {
  position: absolute;
  border: 2px solid var(--ds-border);
  border-radius: 0.5rem;
  display: block;
}

.collage__paper {
  top: 0;
  left: 0;
  width: 10rem;
  height: 10rem;
  clip-path: polygon(0 1.2%, 99.4% 0, 100% 98.6%, 0.6% 100%);
}

.collage__carton {
  top: 4rem;
  right: 1rem;
  width: 11rem;
  height: 11rem;
  clip-path: polygon(0.7% 0, 100% 1.4%, 99.2% 100%, 0 98.4%);
}

.collage__metal {
  bottom: 0;
  left: 2.5rem;
  width: 14rem;
  height: 8rem;
}

.collage__dot {
  top: 1rem;
  right: 2.5rem;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--ds-green-deep);
  box-shadow: var(--ds-shadow-sm);
}

.collage__diamond {
  bottom: 2rem;
  right: 0;
  width: 3.5rem;
  height: 3.5rem;
  transform: rotate(45deg);
  background: var(--ds-yellow);
  border-radius: 0;
}

.collage--alt .collage__paper {
  background-color: var(--ds-blue);
  background-image: none;
}

/* --- Franja azul --- */

.feature__title {
  font-size: 1.25rem;
  color: var(--ds-paper);
}

.feature__text {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Materiales --- */

.material {
  display: flex;
  flex-direction: column;
}

.material__title {
  font-size: 1.5rem;
}

.material__text {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.95rem;
}

.texture-paper .material__text {
  color: var(--ds-ink-soft);
}

/* --- Proceso --- */

.steps {
  counter-reset: paso;
}

.step__badge {
  display: inline-flex;
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--ds-paper);
  background: var(--ds-green-deep);
  border: 2px solid var(--ds-border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.step__title {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.step__text {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--ds-ink-soft);
}

.reason__rule {
  display: block;
  width: 3rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ds-blue);
}

/* --- Editorial --- */

.editorial {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Bloque de contacto --- */

.contact-card {
  margin-top: 3rem;
}

.kicker {
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.kicker--green {
  color: var(--ds-green-deep);
}

.kicker--blue {
  color: var(--ds-blue-deep);
}

.contact-card__name {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.contact-card__descriptor {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--ds-ink-soft);
}

.contact-card__grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 0;
}

@media (min-width: 40rem) {
  .contact-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card__full {
    grid-column: 1 / -1;
  }
}

.contact-card__grid dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-ink-soft);
  font-weight: 600;
}

.contact-card__grid dd {
  margin: 0.75rem 0 0;
}

.contact-card__link {
  display: block;
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ds-blue-deep);
  text-decoration: none;
  word-break: break-word;
  margin-bottom: 0.5rem;
}

.contact-card__link:hover,
.contact-card__link:focus {
  text-decoration: underline;
}

.contact-card address,
.site-footer address {
  font-style: normal;
}

/* --- Entradas y páginas --- */

.post-list {
  display: grid;
  gap: 2rem;
}

.entry {
  background: var(--ds-white);
}

.entry__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

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

.entry__meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ds-ink-soft);
}

.entry__thumbnail {
  margin-top: 1.5rem;
  border: 2px solid var(--ds-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.entry__content {
  margin-top: 1.5rem;
}

.pagination,
.post-navigation {
  margin-top: 2.5rem;
  font-family: var(--ds-display);
  font-weight: 700;
}

.pagination a,
.post-navigation a {
  color: var(--ds-blue-deep);
}

.nav-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-ink-soft);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- Pie de página --- */

.site-footer {
  background: var(--ds-ink);
  color: var(--ds-paper);
  border-top: 2px solid var(--ds-border);
  padding: 3.5rem 0 0;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.site-footer__kicker {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-yellow);
}

.site-footer__text {
  max-width: 22rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__list,
.site-footer__contact {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.9rem;
}

.site-footer__list li + li {
  margin-top: 0.5rem;
}

.site-footer__list a,
.site-footer__contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer__list a:hover,
.site-footer__list a:focus,
.site-footer__contact a:hover,
.site-footer__contact a:focus {
  color: var(--ds-yellow);
  text-decoration: underline;
}

.site-footer__contact li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.site-footer__contact li > span {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__address {
  display: block !important;
}

.site-footer__address address {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__widgets {
  margin-top: 2.5rem;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal p {
  margin: 0;
}

.site-footer .site-branding img {
  width: min(100%, 14rem);
}

@media (min-width: 40rem) {
  .site-footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --- Microanimaciones --- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover,
  .btn:focus {
    transform: none;
  }
}

/* --- Utilidades de accesibilidad y bloques --- */

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

.alignwide {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: none;
}

.wp-block-image img {
  border-radius: 0.5rem;
}

blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--ds-green);
  color: var(--ds-ink-soft);
  font-family: var(--font-quote);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
}

blockquote cite,
cite {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 300;
}

.widget-title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Fotografía ilustrativa --- */

.section--photo {
  padding-block: 4rem;
}

.photo {
  position: relative;
  margin: 0;
}

.photo__frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ds-border);
  border-radius: 0.5rem;
  box-shadow: var(--ds-shadow);
}

.photo img {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

@media (min-width: 40rem) {
  .photo--wide img {
    height: 20rem;
  }
}

@media (min-width: 64rem) {
  .photo--wide img {
    height: 26rem;
  }
}

.photo__shape {
  position: absolute;
  display: none;
  border: 2px solid var(--ds-border);
  border-radius: 0.375rem;
  z-index: 1;
}

@media (min-width: 40rem) {
  .photo__shape {
    display: block;
  }
}

.photo__shape--yellow {
  top: -0.75rem;
  left: -0.75rem;
  width: 4rem;
  height: 4rem;
  background: var(--ds-yellow);
}

.photo__shape--metal {
  bottom: -0.75rem;
  right: -0.75rem;
  width: 7rem;
  height: 5rem;
}

.photo__caption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--ds-ink-soft);
}

.photo-pair {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 40rem) {
  .photo-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.photo--framed {
  border: 2px solid var(--ds-border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: var(--ds-shadow-sm);
}

.photo--framed img {
  border: 2px solid var(--ds-border);
  border-radius: 0.375rem;
  height: 14rem;
}

@media (min-width: 40rem) {
  .photo--framed img {
    height: 16rem;
  }
}

.photo__caption--inset {
  color: var(--ds-ink);
}

/* --- Secciones de viewport completo, sin scroll interno --- */

.site-main,
.site-main > .section,
.site-main > .section > .wrap,
.site-main > .section .grid > *,
.site-main > .section .hero > * {
  min-width: 0;
}

.site-main > .section {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding-block: clamp(0.75rem, 2.8vh, 2.25rem);
  overflow: hidden;
  scroll-margin-top: var(--ds-header-offset);
}

.site-main > .section > .wrap {
  flex: 0 1 auto;
  max-height: 100%;
}

/* --- Caja de cartón: volver arriba --- */

.back-to-top {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  color: var(--ds-ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top__icon {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(3px 4px 0 rgba(41, 44, 49, 0.35));
}

.back-to-top__box-back,
.back-to-top__lid {
  fill: var(--ds-carton);
  stroke: var(--ds-ink);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.back-to-top__box-line {
  fill: none;
  stroke: var(--ds-carton-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top__lid {
  transform-box: fill-box;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top__lid--left {
  transform-origin: right bottom;
}

.back-to-top__lid--right {
  transform-origin: left bottom;
}

.back-to-top__arrow {
  fill: none;
  stroke: #42963f;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease-out,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top:hover .back-to-top__lid--left,
.back-to-top:focus-visible .back-to-top__lid--left,
.back-to-top.is-opening .back-to-top__lid--left {
  transform: rotate(-28deg) translate(-2px, -3px);
}

.back-to-top:hover .back-to-top__lid--right,
.back-to-top:focus-visible .back-to-top__lid--right,
.back-to-top.is-opening .back-to-top__lid--right {
  transform: rotate(28deg) translate(2px, -3px);
}

.back-to-top:hover .back-to-top__arrow,
.back-to-top:focus-visible .back-to-top__arrow,
.back-to-top.is-opening .back-to-top__arrow {
  opacity: 1;
  transform: translateY(-5px);
}

@media (max-width: 47.99rem) {
  :root {
    --ds-header-offset: 4.5rem;
  }

  body {
    line-height: 1.42;
  }

  .wrap {
    padding-inline: 0.75rem;
  }

  .site-header__inner {
    padding-block: 0.5rem;
  }

  .site-main > .section {
    padding-block: clamp(0.6rem, 2vh, 1.1rem);
  }

  .site-main > .section .section__head {
    margin-bottom: clamp(0.5rem, 1.6vh, 0.9rem);
  }

  .section__title,
  .section__title--lg {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .section__desc {
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-size: clamp(0.78rem, 3.3vw, 0.9rem);
    line-height: 1.32;
  }

  .kicker {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .site-main > .section .grid,
  .site-main > .section .grid--gap-lg {
    gap: clamp(0.35rem, 1.2vh, 0.65rem);
  }

  #inicio .hero {
    gap: clamp(0.55rem, 1.5vh, 0.9rem);
  }

  #inicio .badge {
    padding: 0.35rem 0.65rem;
    font-size: clamp(0.64rem, 2.8vw, 0.75rem);
  }

  #inicio .hero__title {
    margin-top: clamp(0.55rem, 1.5vh, 0.9rem);
    font-size: clamp(1.75rem, 8.4vw, 2.45rem);
    line-height: 1.02;
  }

  #inicio .hero__text {
    margin-top: clamp(0.55rem, 1.5vh, 0.9rem);
    margin-bottom: 0;
    font-size: clamp(0.78rem, 3.5vw, 0.93rem);
    line-height: 1.35;
  }

  #inicio .hero__actions,
  #contacto .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: clamp(0.6rem, 1.8vh, 1rem);
  }

  #inicio .hero__actions .btn,
  #contacto .hero__actions .btn {
    min-height: 2.75rem;
    padding: 0.5rem 0.35rem;
    font-size: clamp(0.7rem, 3vw, 0.82rem);
    line-height: 1.15;
    text-align: center;
  }

  #inicio .collage {
    height: min(18dvh, 7rem);
    max-width: 14rem;
  }

  #inicio .collage__paper {
    width: 4.5rem;
    height: 4.5rem;
  }

  #inicio .collage__carton {
    top: 1.5rem;
    right: 1.5rem;
    width: 5rem;
    height: 5rem;
  }

  #inicio .collage__metal {
    left: 3rem;
    width: 6.5rem;
    height: 3.5rem;
  }

  #inicio .collage__dot {
    top: 0.25rem;
    right: 3rem;
    width: 2rem;
    height: 2rem;
  }

  #inicio .collage__diamond {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2rem;
    height: 2rem;
  }

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

  .section--blue .feature__title {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .section--blue .feature__text {
    margin-top: 0.15rem;
    margin-bottom: 0;
    font-size: clamp(0.78rem, 3.4vw, 0.9rem);
    line-height: 1.35;
  }

  #materiales .grid,
  #proceso .grid {
    grid-template-columns: 1fr;
  }

  #materiales .card,
  #proceso .card {
    min-height: 0;
    padding: clamp(0.45rem, 1.4vh, 0.7rem) 0.65rem;
    box-shadow: 2px 2px 0 0 var(--ds-ink);
  }

  #materiales .material {
    display: grid;
    grid-template-columns: minmax(4.6rem, 0.34fr) minmax(0, 1fr);
    grid-template-areas:
      "title text"
      "link text";
    align-items: center;
    gap: 0.15rem 0.65rem;
  }

  #materiales .material__title {
    grid-area: title;
    font-size: clamp(0.9rem, 4vw, 1.05rem);
  }

  #materiales .material__text {
    grid-area: text;
    margin: 0;
    font-size: clamp(0.7rem, 3.15vw, 0.82rem);
    line-height: 1.26;
  }

  #materiales .link-strong {
    grid-area: link;
    align-self: end;
    font-size: 0.72rem;
  }

  #proceso .step {
    display: grid;
    grid-template-columns: minmax(5rem, 0.38fr) minmax(0, 1fr);
    grid-template-areas:
      "badge text"
      "title text";
    align-items: center;
    gap: 0.15rem 0.65rem;
  }

  #proceso .step__badge {
    grid-area: badge;
    justify-self: start;
    padding: 0.15rem 0.45rem;
    font-size: 0.6rem;
  }

  #proceso .step__title {
    grid-area: title;
    margin-top: 0;
    font-size: clamp(0.88rem, 3.8vw, 1rem);
  }

  #proceso .step__text {
    grid-area: text;
    margin: 0;
    font-size: clamp(0.7rem, 3.15vw, 0.82rem);
    line-height: 1.26;
  }

  .section--photo .photo--wide img {
    height: min(68dvh, 22rem);
  }

  .section--photo .photo__caption {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .editorial {
    gap: clamp(0.6rem, 2vh, 1rem);
  }

  .editorial .section__desc {
    margin-bottom: 0.55rem;
  }

  .editorial .btn {
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.78rem;
  }

  .editorial .collage {
    height: min(20dvh, 6.5rem);
    max-width: 14rem;
  }

  .editorial .collage__paper {
    width: 4.5rem;
    height: 4.5rem;
  }

  .editorial .collage__carton {
    top: 1.5rem;
    right: 1.5rem;
    width: 5rem;
    height: 5rem;
  }

  .editorial .collage__metal {
    left: 3rem;
    width: 6.5rem;
    height: 3.5rem;
  }

  .editorial .collage__dot {
    top: 0.25rem;
    right: 3rem;
    width: 2rem;
    height: 2rem;
  }

  .editorial .collage__diamond {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2rem;
    height: 2rem;
  }

  #nosotros .grid {
    grid-template-columns: 1fr;
  }

  #nosotros .reason {
    display: grid;
    grid-template-columns: 0.45rem minmax(5.8rem, 0.38fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    min-height: 0;
    padding: 0.45rem 0.55rem;
    box-shadow: 2px 2px 0 0 var(--ds-ink);
  }

  #nosotros .reason__rule {
    width: 0.45rem;
    height: 2.35rem;
  }

  #nosotros .step__title {
    margin: 0;
    font-size: clamp(0.82rem, 3.6vw, 0.95rem);
  }

  #nosotros .step__text {
    margin: 0;
    font-size: clamp(0.67rem, 3vw, 0.78rem);
    line-height: 1.22;
  }

  #nosotros .photo-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: clamp(0.5rem, 1.5vh, 0.8rem);
  }

  #nosotros .photo--framed {
    padding: 0.3rem;
    box-shadow: 2px 2px 0 0 var(--ds-ink);
  }

  #nosotros .photo--framed img {
    height: min(12dvh, 4.75rem);
  }

  #nosotros .photo__caption {
    margin-top: 0.25rem;
    font-size: clamp(0.56rem, 2.5vw, 0.65rem);
    line-height: 1.16;
  }

  #contacto .contact-card {
    margin-top: clamp(0.55rem, 1.5vh, 0.85rem);
    padding: clamp(0.55rem, 1.5vh, 0.8rem);
    box-shadow: 3px 3px 0 0 var(--ds-ink);
  }

  #contacto .contact-card__name {
    margin-top: 0.25rem;
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  #contacto .contact-card__descriptor {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
  }

  #contacto .contact-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.5rem;
  }

  #contacto .contact-card__full {
    grid-column: 1 / -1;
  }

  #contacto .contact-card__grid dt {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  #contacto .contact-card__grid dd {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    line-height: 1.2;
  }

  #contacto .contact-card__link {
    margin-bottom: 0.15rem;
    font-size: clamp(0.68rem, 2.9vw, 0.8rem);
  }

  .back-to-top {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .site-main > .section {
    padding-block: clamp(1rem, 3vh, 2rem);
  }

  #inicio .hero,
  .editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  #materiales .grid--3,
  #proceso .grid--4,
  #nosotros .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #nosotros .photo-pair {
    margin-top: 1.25rem;
  }

  #nosotros .photo--framed img {
    height: min(18dvh, 10rem);
  }
}

@media (min-width: 64rem) {
  #materiales .grid--3,
  #proceso .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-height: 40rem) and (min-width: 40rem) {
  .site-main > .section {
    padding-block: 0.65rem;
  }

  .site-main > .section .section__head {
    margin-bottom: 0.6rem;
  }

  .section__title,
  .section__title--lg {
    font-size: clamp(1.25rem, 4.5vh, 1.7rem);
  }

  .section__desc {
    margin-top: 0.25rem;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  #inicio .hero,
  .editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  #inicio .hero__title {
    margin-top: 0.45rem;
    font-size: clamp(1.5rem, 7vh, 2.25rem);
  }

  #inicio .hero__text {
    margin-top: 0.45rem;
    margin-bottom: 0;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  #inicio .hero__actions {
    margin-top: 0.6rem;
  }

  #inicio .collage {
    height: min(70dvh, 16rem);
  }

  #materiales .grid--3,
  #proceso .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  #materiales .card,
  #proceso .card,
  #nosotros .card {
    padding: 0.65rem;
  }

  .material__title,
  .step__title {
    font-size: 0.95rem;
  }

  .material__text,
  .step__text {
    font-size: 0.7rem;
    line-height: 1.22;
  }

  .section--photo .photo--wide img {
    height: 68dvh;
  }

  .editorial .collage {
    height: min(62dvh, 14rem);
    max-width: 15rem;
  }

  .editorial .collage__paper {
    width: 6rem;
    height: 6rem;
  }

  .editorial .collage__carton {
    top: 2rem;
    right: 1rem;
    width: 7rem;
    height: 7rem;
  }

  .editorial .collage__metal {
    left: 2rem;
    width: 8rem;
    height: 4.5rem;
  }

  .editorial .collage__dot {
    top: 0.5rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .editorial .collage__diamond {
    right: 0.5rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  #nosotros .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  #nosotros .section__head {
    margin-bottom: 0.3rem;
  }

  #nosotros .section__desc {
    font-size: 0.65rem;
    line-height: 1.18;
  }

  #nosotros .photo-pair {
    gap: 0.75rem;
    margin-top: 0.65rem;
  }

  #nosotros .photo--framed {
    padding: 0.25rem;
  }

  #nosotros .photo--framed img {
    height: 12dvh;
  }

  #nosotros .photo__caption {
    margin-top: 0.2rem;
    font-size: 0.55rem;
    line-height: 1.1;
  }

  #contacto > .wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 1rem;
  }

  #contacto .contact-card {
    margin-top: 0;
    padding: 0.65rem;
  }

  #contacto .contact-card__grid {
    gap: 0.45rem;
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top__lid,
  .back-to-top__arrow {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Dirección B · Circuito Modular · avance propio 2026-09-10
   Integra el blueprint puntual de gpt-6-astra; el logotipo vigente no cambia.
   -------------------------------------------------------------------------- */

:root {
  --ds-b-ink: #292c31;
  --ds-b-flow: #42963f;
  --ds-b-blue: #6f7ee3;
  --ds-b-signal: #e6c76e;
  --ds-b-paper: #faf8f0;
  --ds-b-line: rgba(41, 44, 49, 0.24);
  --ds-b-blue-soft: rgba(111, 126, 227, 0.14);
  --ds-b-flow-soft: rgba(66, 150, 63, 0.14);
  --ds-b-header-height: 7.5rem;
}

html {
  color-scheme: light;
  scroll-padding-top: var(--ds-b-header-height);
}

body {
  background: var(--ds-b-paper);
  color: var(--ds-b-ink);
  font-family: "Noto Sans", Roboto, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
.hero__title,
.section__title,
.feature__title,
.material__title,
.step__title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.wrap {
  width: min(calc(100% - 2rem), 76rem);
}

.ds-b-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header.ds-b-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: auto;
  background: var(--ds-b-flow);
  border-bottom: 2px solid var(--ds-b-ink);
  box-shadow: none;
}

.ds-b-header .site-header__inner {
  min-height: 5.75rem;
  gap: 1rem;
  padding-block: 0.75rem;
}

.ds-b-header__plate {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  background: var(--ds-b-paper);
  border: 1px solid var(--ds-b-ink);
  border-radius: 0.2rem;
  box-shadow: 0.35rem 0.35rem 0 var(--ds-b-ink);
}

.ds-b-header__plate .site-branding,
.ds-b-header__plate .site-branding__link {
  margin: 0;
}

.ds-b-header__plate .site-branding__logo {
  display: block;
  width: auto;
  max-width: min(15rem, 56vw);
  height: 2.7rem;
  object-fit: contain;
}

.ds-b-header .menu-toggle {
  min-width: 3rem;
  min-height: 3rem;
  color: var(--ds-b-ink);
  background: var(--ds-b-signal);
  border: 2px solid var(--ds-b-ink);
  border-radius: 0.15rem;
}

.ds-b-header .site-nav {
  background: var(--ds-b-flow);
  border-color: var(--ds-b-ink);
}

.ds-b-header .site-nav__list a {
  color: var(--ds-b-paper);
  font-family: "Roboto Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-underline-offset: 0.35rem;
}

.ds-b-header .site-nav__list {
  padding: 0.55rem;
  background: var(--ds-b-ink);
  border: 1px solid var(--ds-b-paper);
}

.ds-b-header .site-nav__list a:hover,
.ds-b-header .site-nav__list a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.ds-b-iteration {
  padding-block: 0.48rem;
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
  border: 0;
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.66rem, 2.6vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.ds-b-iteration .wrap {
  position: relative;
  padding-left: 1.2rem;
}

.ds-b-iteration .wrap::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--ds-b-signal);
  border: 1px solid var(--ds-b-paper);
  content: "";
  transform: translateY(-50%);
}

.site-main > .section {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  overflow: clip;
}

.ds-b-hero-section {
  position: relative;
  background-color: var(--ds-b-paper);
  background-image:
    linear-gradient(var(--ds-b-blue-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ds-b-blue-soft) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.ds-b-hero-section::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(0.45rem, 1vw, 0.8rem);
  background: var(--ds-b-blue);
  content: "";
}

.ds-b-hero {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.ds-b-kicker,
.kicker.ds-b-kicker {
  color: var(--ds-b-ink);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.7rem, 2.6vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ds-b-hero .hero__title {
  max-width: 12ch;
  margin-top: 1.2rem;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
}

.ds-b-hero .hero__title .text-azul {
  display: block;
  color: var(--ds-b-blue);
  text-shadow: 1px 1px 0 var(--ds-b-ink);
}

.ds-b-hero .hero__text {
  max-width: 62ch;
  margin-top: 1.5rem;
  color: var(--ds-b-ink);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.ds-b-hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ds-b-action,
.btn.ds-b-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.78rem 1.25rem;
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
  border: 2px solid var(--ds-b-ink);
  border-radius: 0.15rem;
  box-shadow: inset 0.35rem 0 var(--ds-b-flow);
  font-family: "Noto Sans", Roboto, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.ds-b-action svg {
  flex: none;
  fill: none;
  stroke: var(--ds-b-signal);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.ds-b-action--secondary,
.btn.ds-b-action--secondary {
  color: var(--ds-b-ink);
  background: var(--ds-b-paper);
  box-shadow: inset 0.35rem 0 var(--ds-b-blue);
}

.ds-b-flow {
  position: relative;
  margin: 0;
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--ds-b-paper);
  border: 2px solid var(--ds-b-ink);
  border-radius: 0.2rem;
  box-shadow: 0.8rem 0.8rem 0 var(--ds-b-blue);
}

.ds-b-flow svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ds-b-flow figcaption {
  margin-top: 1rem;
  color: var(--ds-b-ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

.ds-b-flow__field {
  fill: rgba(111, 126, 227, 0.1);
  stroke: var(--ds-b-blue);
  stroke-width: 2;
}

.ds-b-flow__grid {
  fill: none;
  stroke: var(--ds-b-blue);
  stroke-opacity: 0.3;
  stroke-width: 1;
}

.ds-b-flow__rail,
.ds-b-flow__arrow {
  fill: none;
  stroke: var(--ds-b-flow);
  stroke-width: 7;
}

.ds-b-flow__arrow {
  stroke-width: 4;
}

.ds-b-flow__module {
  fill: var(--ds-b-paper);
  stroke: var(--ds-b-ink);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 3;
}

.ds-b-flow__signal {
  fill: var(--ds-b-signal);
  stroke: var(--ds-b-ink);
  stroke-width: 3;
}

.section--blue {
  color: var(--ds-b-ink);
  background: var(--ds-b-blue);
}

.ds-b-rail {
  position: relative;
  display: grid;
  gap: 1rem;
  list-style: none;
}

.ds-b-rail::before {
  position: absolute;
  top: 2.45rem;
  left: 2.2rem;
  bottom: 2.45rem;
  width: 0.2rem;
  background: var(--ds-b-flow);
  content: "";
}

.ds-b-rail__item {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 1.5rem 1.5rem 1.5rem 5.5rem;
  color: var(--ds-b-ink);
  background: var(--ds-b-paper);
  border: 1px solid var(--ds-b-ink);
}

.ds-b-rail__index {
  position: absolute;
  top: 1.25rem;
  left: 1.2rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
  border: 2px solid var(--ds-b-flow);
  font-family: "Roboto Mono", monospace;
  font-size: 0.74rem;
}

.ds-b-rail .feature__title {
  color: var(--ds-b-ink);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.ds-b-rail .feature__text {
  color: var(--ds-b-ink);
}

#materiales {
  background: var(--ds-b-paper);
}

#materiales .section__head,
#proceso .section__head,
#nosotros .section__head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__title {
  color: var(--ds-b-ink);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.section__desc {
  color: var(--ds-b-ink);
}

.ds-b-materials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
}

.ds-b-materials > li {
  min-width: 0;
}

.ds-b-material,
#materiales .card.ds-b-material {
  position: relative;
  display: flex;
  min-height: 22rem;
  padding: 1.6rem;
  flex-direction: column;
  color: var(--ds-b-ink);
  background: var(--ds-b-paper);
  background-image: none;
  border: 1px solid var(--ds-b-line);
  border-top: 0.35rem solid var(--ds-b-blue);
  border-radius: 0.15rem;
  box-shadow: none;
}

.ds-b-material__signal {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--ds-b-signal);
  border: 1px solid var(--ds-b-ink);
}

.ds-b-material__icon {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0.55rem;
  fill: var(--ds-b-blue-soft);
  stroke: var(--ds-b-ink);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
  background: var(--ds-b-blue-soft);
  border: 1px solid var(--ds-b-blue);
}

.ds-b-material__icon circle:last-child {
  fill: var(--ds-b-signal);
}

.ds-b-material .material__title {
  margin-top: 2rem;
  color: var(--ds-b-ink);
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.ds-b-material .material__text {
  color: var(--ds-b-ink);
}

.ds-b-material .link-strong {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--ds-b-ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.76rem;
  text-decoration-color: var(--ds-b-flow);
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
}

.ds-b-control-section {
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
}

.ds-b-control {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.ds-b-control .ds-b-kicker {
  color: var(--ds-b-signal);
}

.ds-b-control h2 {
  max-width: 11ch;
  margin: 0.7rem 0 1.25rem;
  color: var(--ds-b-paper);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.ds-b-control__intro > p:last-child {
  max-width: 56ch;
  color: var(--ds-b-paper);
}

.ds-b-control__matrix {
  display: grid;
  border: 1px solid var(--ds-b-blue);
}

.ds-b-control__matrix span {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  color: var(--ds-b-signal);
  border-bottom: 1px solid var(--ds-b-blue);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
}

.ds-b-control__matrix span:last-child {
  border-bottom: 0;
}

.ds-b-control__matrix strong {
  color: var(--ds-b-paper);
  font-family: "Noto Sans", Roboto, sans-serif;
  font-size: 1rem;
}

#proceso,
#nosotros {
  background: rgba(111, 126, 227, 0.08);
}

.ds-b-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
}

.ds-b-process > li {
  position: relative;
  min-width: 0;
  padding: 0 0 2rem 4.7rem;
  counter-increment: paso;
}

.ds-b-process > li::after {
  position: absolute;
  top: 3.2rem;
  left: 1.45rem;
  bottom: 0.2rem;
  width: 0.2rem;
  background: var(--ds-b-flow);
  content: "";
}

.ds-b-process > li:last-child::after {
  display: none;
}

.ds-b-process .step {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ds-b-process .step__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  color: transparent;
  background: var(--ds-b-paper);
  border: 2px solid var(--ds-b-blue);
  border-radius: 0;
  font-size: 0;
}

.ds-b-process .step__badge::after {
  color: var(--ds-b-ink);
  content: counter(paso, decimal-leading-zero);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
}

.ds-b-process .step__title {
  margin: 0 0 0.65rem;
  color: var(--ds-b-ink);
  font-size: clamp(2rem, 5vw, 2.7rem);
}

.ds-b-process .step__text {
  color: var(--ds-b-ink);
}

.editorial {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.ds-b-loop {
  position: relative;
  display: grid;
  min-height: 24rem;
  padding: 1.2rem;
  place-items: center;
  background: var(--ds-b-blue);
  border: 2px solid var(--ds-b-ink);
}

.ds-b-loop svg {
  position: absolute;
  inset: 10% 8%;
  width: 84%;
  height: 80%;
  fill: none;
  stroke: var(--ds-b-flow);
  stroke-width: 5;
}

.ds-b-loop__node {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 6rem;
  height: 6rem;
  padding: 0.6rem;
  place-items: center;
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
  border: 2px solid var(--ds-b-signal);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
}

.ds-b-loop__node:nth-child(1) {
  top: 10%;
  left: 8%;
}

.ds-b-loop__node:nth-child(2) {
  top: 36%;
  right: 8%;
}

.ds-b-loop__node:nth-child(3) {
  bottom: 8%;
  left: 28%;
}

.ds-b-loop__node small {
  font-family: "Noto Sans", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.ds-b-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.ds-b-value {
  min-height: 16rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
  border-top: 0.4rem solid var(--ds-b-flow);
}

.ds-b-value--blue {
  color: var(--ds-b-paper);
  background: var(--ds-b-ink);
  border-top-color: var(--ds-b-blue);
  box-shadow: inset 0.75rem 0 var(--ds-b-blue);
}

.ds-b-value__index {
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.ds-b-value h3 {
  margin: 2rem 0 1rem;
  color: inherit;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.ds-b-value p {
  color: inherit;
}

.ds-b-contact,
.section--yellow.ds-b-contact {
  position: relative;
  color: var(--ds-b-ink);
  background: var(--ds-b-paper);
}

.ds-b-contact::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.65rem;
  background: var(--ds-b-signal);
  content: "";
}

.ds-b-contact .contact-card {
  background: rgba(111, 126, 227, 0.1);
  border: 1px solid var(--ds-b-ink);
  border-radius: 0.15rem;
  box-shadow: 0.55rem 0.55rem 0 var(--ds-b-blue);
}

.site-footer {
  background: var(--ds-b-ink);
  border-top: 0.5rem solid var(--ds-b-blue);
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer address,
.site-footer__title,
.site-footer__contact span {
  color: var(--ds-b-paper);
}

.site-footer__kicker,
.site-footer__contact span {
  font-family: "Roboto Mono", monospace;
}

.back-to-top {
  background: var(--ds-b-signal);
  border: 2px solid var(--ds-b-ink);
  border-radius: 0.15rem;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--ds-b-signal);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ds-b-ink);
}

@media (hover: hover) and (pointer: fine) {
  .ds-b-action,
  .ds-b-material,
  .ds-b-rail__item,
  .ds-b-value {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }

  .ds-b-action:hover {
    box-shadow: inset 0.5rem 0 var(--ds-b-signal);
    transform: translateY(-2px);
  }

  .ds-b-material:hover,
  .ds-b-rail__item:hover,
  .ds-b-value:hover {
    box-shadow: 0.45rem 0.45rem 0 var(--ds-b-ink);
    transform: translate(-0.2rem, -0.2rem);
  }
}

@media (min-width: 44rem) {
  .wrap {
    width: min(calc(100% - 4rem), 76rem);
  }

  .ds-b-materials,
  .ds-b-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-b-control {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  }
}

@media (min-width: 64rem) {
  :root {
    --ds-b-header-height: 6.8rem;
  }

  .ds-b-header .site-header__inner {
    min-height: 6.2rem;
  }

  .ds-b-header .site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: transparent;
  }

  .ds-b-header .site-nav__list {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .ds-b-header .site-nav__cta {
    margin: 0;
  }

  .ds-b-hero,
  .editorial {
    grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
  }

  .ds-b-materials {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ds-b-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ds-b-rail::before {
    top: 2.6rem;
    right: 2rem;
    bottom: auto;
    left: 2rem;
    width: auto;
    height: 0.2rem;
  }

  .ds-b-rail__item {
    min-height: 15rem;
    padding: 5.3rem 1.5rem 1.5rem;
  }

  .ds-b-rail__index {
    top: 1.2rem;
  }

  .ds-b-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ds-b-process > li {
    padding: 4.6rem 1.5rem 0 0;
  }

  .ds-b-process > li::after {
    top: 1.45rem;
    right: 0.4rem;
    bottom: auto;
    left: 3.2rem;
    width: auto;
    height: 0.2rem;
  }
}

.js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(1rem);
    transition:
      opacity 480ms ease calc(var(--ds-b-order, 0) * 75ms),
      transform 480ms ease calc(var(--ds-b-order, 0) * 75ms);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .ds-b-action,
  .ds-b-material,
  .ds-b-rail__item,
  .ds-b-value {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Dirección B · navegación fija y recorrido por pantallas · 2026-09-10
   Blueprint de interacción: gpt-6-astra. Integración: gpt-5.6-sol.
   El documento es el único scroller; ninguna sección atrapa la rueda.
   -------------------------------------------------------------------------- */

:root {
  --ds-b-header-height: 5.875rem;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--ds-b-header-height);
  scroll-snap-type: y mandatory;
}

body {
  overflow-x: clip;
  overscroll-behavior-y: auto;
}

.site-header.ds-b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ds-b-flow);
  box-shadow: 0 0.35rem 0 rgba(41, 44, 49, 0.24);
}

.site-main > .section {
  display: flex;
  align-items: center;
  height: auto;
  min-height: calc(100vh - var(--ds-b-header-height));
  min-height: calc(100dvh - var(--ds-b-header-height));
  max-height: none;
  padding-block: clamp(1.25rem, 3vh, 2rem);
  overflow: visible;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.site-main > .section > .wrap {
  max-height: none;
}

.site-footer {
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#materiales .section__head,
#proceso .section__head,
#nosotros .section__head {
  margin-bottom: clamp(0.8rem, 2vh, 1.5rem);
}

.ds-b-material,
#materiales .card.ds-b-material {
  min-height: clamp(14rem, 29vh, 17rem);
  padding: 1rem;
}

.ds-b-material__icon {
  width: 3.5rem;
  height: 3.5rem;
}

.ds-b-material .material__title {
  margin-top: 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
}

.ds-b-process > li {
  padding-top: 3.9rem;
}

.ds-b-loop {
  min-height: clamp(15rem, 34vh, 20rem);
}

.ds-b-values {
  margin-top: clamp(0.8rem, 2vh, 1.5rem);
}

.ds-b-value {
  min-height: clamp(8rem, 19vh, 11rem);
  padding: clamp(0.9rem, 2vw, 1.5rem);
}

.ds-b-value h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

@media (max-width: 43.99rem) {
  .site-main > .section {
    padding-block: clamp(0.6rem, 1.7vh, 0.9rem);
  }

  .site-main > .section .section__head {
    margin-bottom: clamp(0.45rem, 1.2vh, 0.7rem);
  }

  .ds-b-hero {
    gap: clamp(0.55rem, 1.4vh, 0.85rem);
  }

  .ds-b-hero .hero__title {
    margin-top: 0.45rem;
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .ds-b-hero .hero__text {
    margin-top: 0.55rem;
    font-size: clamp(0.74rem, 3.3vw, 0.88rem);
    line-height: 1.3;
  }

  .ds-b-hero .hero__actions {
    margin-top: 0.65rem;
  }

  .ds-b-flow {
    width: min(100%, 17rem);
    margin-inline: auto;
    padding: 0.45rem;
    box-shadow: 0.35rem 0.35rem 0 var(--ds-b-blue);
  }

  .ds-b-flow figcaption {
    margin-top: 0.35rem;
    font-size: 0.56rem;
  }

  .ds-b-rail {
    gap: 0.4rem;
  }

  .ds-b-rail::before {
    top: 1.8rem;
    bottom: 1.8rem;
    left: 1.45rem;
  }

  .ds-b-rail__item {
    min-height: 0;
    padding: 0.55rem 0.65rem 0.55rem 3.5rem;
  }

  .ds-b-rail__index {
    top: 0.55rem;
    left: 0.55rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.62rem;
  }

  .ds-b-rail .feature__title {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
  }

  .ds-b-rail .feature__text {
    margin: 0.15rem 0 0;
    font-size: clamp(0.68rem, 3.05vw, 0.78rem);
    line-height: 1.25;
  }

  .ds-b-materials {
    gap: 0.4rem;
  }

  .ds-b-material,
  #materiales .card.ds-b-material {
    display: grid;
    grid-template-columns: 2.8rem minmax(4.6rem, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      "icon title text"
      "icon link text";
    align-items: center;
    gap: 0.15rem 0.5rem;
    min-height: 0;
    padding: 0.5rem 0.55rem;
  }

  .ds-b-material__signal {
    top: 0.35rem;
    right: 0.35rem;
    width: 0.5rem;
    height: 0.5rem;
  }

  .ds-b-material__icon {
    grid-area: icon;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0.35rem;
  }

  .ds-b-material .material__title {
    grid-area: title;
    margin: 0;
    font-size: clamp(0.95rem, 4.1vw, 1.1rem);
  }

  .ds-b-material .material__text {
    grid-area: text;
    margin: 0;
    font-size: clamp(0.64rem, 2.85vw, 0.74rem);
    line-height: 1.2;
  }

  .ds-b-material .link-strong {
    grid-area: link;
    align-self: end;
    margin-top: 0;
    padding-top: 0.15rem;
    font-size: 0.6rem;
  }

  .ds-b-control {
    gap: clamp(0.75rem, 2vh, 1.2rem);
  }

  .ds-b-control h2 {
    margin: 0.35rem 0 0.55rem;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .ds-b-control__intro > p:last-child,
  .ds-b-control__matrix strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .ds-b-control__matrix span {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.55rem;
    padding: 0.55rem;
    font-size: 0.64rem;
  }

  .ds-b-process > li {
    min-height: 0;
    padding: 0 0 0.55rem 3.5rem;
  }

  .ds-b-process > li::after {
    top: 2.6rem;
    left: 1.25rem;
    bottom: 0;
  }

  .ds-b-process .step__badge {
    width: 2.55rem;
    height: 2.55rem;
  }

  .ds-b-process .step__title {
    margin-bottom: 0.15rem;
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
  }

  .ds-b-process .step__text {
    margin: 0;
    font-size: clamp(0.68rem, 3vw, 0.78rem);
    line-height: 1.22;
  }

  .editorial {
    gap: clamp(0.65rem, 1.7vh, 1rem);
  }

  .editorial .section__desc {
    margin-bottom: 0.45rem;
  }

  .ds-b-loop {
    min-height: clamp(10rem, 25vh, 13rem);
  }

  #nosotros .grid,
  .ds-b-values {
    gap: 0.4rem;
  }

  .ds-b-values {
    margin-top: 0.55rem;
  }

  .ds-b-value {
    min-height: 0;
    padding: 0.55rem 0.65rem;
  }

  .ds-b-value h3 {
    margin: 0.25rem 0 0.15rem;
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .ds-b-value p {
    margin: 0;
    font-size: clamp(0.65rem, 2.9vw, 0.74rem);
    line-height: 1.2;
  }

  .ds-b-value__index {
    font-size: 0.58rem;
  }

  .ds-b-contact .contact-card {
    margin-top: 0.55rem;
    padding: 0.55rem;
  }

  .ds-b-contact .contact-card__grid {
    gap: 0.4rem;
    margin-top: 0.45rem;
  }
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
  .site-main > .section {
    padding-block: clamp(0.9rem, 2vh, 1.4rem);
  }

  .ds-b-material,
  #materiales .card.ds-b-material {
    min-height: clamp(10rem, 19vh, 12rem);
  }

  .ds-b-loop {
    min-height: clamp(13rem, 26vh, 17rem);
  }

  .ds-b-value {
    min-height: clamp(7rem, 14vh, 9rem);
  }
}

@media (min-width: 64rem) {
  :root {
    --ds-b-header-height: 6.325rem;
  }

  .ds-b-hero .hero__title {
    font-size: clamp(4rem, 4.7vw, 4.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
  }

  .site-main > .section,
  .site-footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

/* --------------------------------------------------------------------------
   Corporate Paper Craft · tono visual principal · 2026-09-10
   Blueprint de componentes: gpt-6-astra. Integración: gpt-5.6-sol.
   La navbar GREEN sticky, el scroll-snap, el footer y el logo no cambian.
   -------------------------------------------------------------------------- */

.ds-pc-scope {
  --ds-pc-dark: #292c31;
  --ds-pc-green: #42963f;
  --ds-pc-blue: #6f7ee3;
  --ds-pc-yellow: #e6c76e;
  --ds-pc-paper: #faf8f0;
  --ds-pc-shadow: 0 0.25rem 0.55rem rgba(41, 44, 49, 0.08),
    0 1rem 2rem rgba(41, 44, 49, 0.1);
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
}

.ds-pc-scope > .section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(1rem, 2.4vh, 1.65rem);
  background-color: var(--ds-pc-paper);
  border-bottom: 0;
}

.ds-pc-scope > .section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 1rem;
  background: var(--ds-pc-paper);
  clip-path: polygon(0 30%, 7% 54%, 16% 24%, 27% 62%, 39% 28%, 52% 58%, 66% 23%, 80% 57%, 91% 31%, 100% 52%, 100% 100%, 0 100%);
  content: "";
}

.ds-pc-scope :is(h1, h2, h3, .hero__title, .section__title, .feature__title, .material__title, .step__title) {
  color: var(--ds-pc-dark);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.ds-pc-scope .ds-b-kicker,
.ds-pc-scope .kicker.ds-b-kicker,
.ds-pc-scope .kicker {
  color: var(--ds-pc-green);
  font-family: "Noto Sans", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.ds-pc-scope .ds-b-hero .hero__title .text-azul {
  color: var(--ds-pc-blue);
  text-shadow: none;
}

.ds-pc-card {
  position: relative;
  isolation: isolate;
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.7rem 1rem 0.8rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-card::before {
  position: absolute;
  inset: 0.25rem;
  z-index: -1;
  background: rgba(230, 199, 110, 0.18);
  clip-path: polygon(0 2%, 97% 0, 100% 96%, 2% 100%);
  content: "";
  pointer-events: none;
}

.ds-pc-card--green::before {
  background: rgba(66, 150, 63, 0.1);
}

.ds-pc-card--blue::before {
  background: rgba(111, 126, 227, 0.12);
}

.ds-pc-figure {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1279 / 720;
}

.ds-pc-figure::before,
.ds-pc-figure::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.ds-pc-figure::before {
  inset: 5% 3% -2% 6%;
  background: rgba(111, 126, 227, 0.15);
  clip-path: polygon(2% 5%, 98% 0, 100% 94%, 5% 100%, 0 45%);
}

.ds-pc-figure::after {
  right: 4%;
  bottom: 1%;
  width: 22%;
  height: 16%;
  background: rgba(230, 199, 110, 0.45);
  clip-path: polygon(9% 2%, 100% 14%, 91% 100%, 0 86%);
}

.ds-pc-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0.75rem 0.65rem rgba(41, 44, 49, 0.12));
}

.ds-pc-figure figcaption {
  position: absolute;
  right: 5%;
  bottom: 2%;
  max-width: 72%;
  margin: 0;
  padding: 0.3rem 0.55rem;
  color: var(--ds-pc-dark);
  background: rgba(250, 248, 240, 0.94);
  border-radius: 0.35rem;
  font-size: 0.67rem;
  line-height: 1.25;
}

.ds-b-hero-section,
.ds-pc-scope .ds-b-hero-section {
  background-color: var(--ds-pc-paper);
  background-image:
    radial-gradient(circle at 8% 14%, rgba(230, 199, 110, 0.28) 0 4.2rem, transparent 4.25rem),
    radial-gradient(circle at 95% 88%, rgba(66, 150, 63, 0.12) 0 7rem, transparent 7.05rem);
  background-size: auto;
}

.ds-b-hero-section::before {
  top: 5%;
  bottom: auto;
  left: -2rem;
  width: clamp(5rem, 10vw, 9rem);
  height: clamp(5rem, 10vw, 9rem);
  background: rgba(111, 126, 227, 0.16);
  clip-path: polygon(11% 4%, 100% 12%, 87% 100%, 0 78%);
}

.ds-pc-scope .ds-b-hero {
  gap: clamp(1rem, 4vw, 3.5rem);
}

.ds-pc-scope .ds-b-hero .hero__title {
  max-width: 13ch;
  margin-top: 0.65rem;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
}

.ds-pc-scope .ds-b-hero .hero__text {
  margin-top: 0.8rem;
  font-size: clamp(0.86rem, 1.5vw, 1.05rem);
}

.ds-pc-scope .ds-b-hero .hero__actions {
  margin-top: 1rem;
}

.ds-pc-scope .ds-b-action,
.ds-pc-scope .btn.ds-b-action {
  color: var(--ds-pc-paper);
  background: var(--ds-pc-green);
  border: 1px solid var(--ds-pc-dark);
  border-radius: 0.55rem 0.8rem 0.6rem 0.75rem;
  box-shadow: 0 0.4rem 0.7rem rgba(41, 44, 49, 0.14);
}

.ds-pc-scope .ds-b-action--secondary,
.ds-pc-scope .btn.ds-b-action--secondary {
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
  box-shadow: 0 0.4rem 0.7rem rgba(111, 126, 227, 0.18);
}

.ds-pc-benefits-section,
.ds-pc-scope .section--blue.ds-pc-benefits-section {
  color: var(--ds-pc-dark);
  background: rgba(111, 126, 227, 0.12);
}

.ds-pc-scope .ds-b-rail {
  gap: clamp(0.55rem, 2vw, 1rem);
}

.ds-pc-scope .ds-b-rail::before {
  display: none;
}

.ds-pc-scope .ds-b-rail__item {
  min-height: 0;
  padding: clamp(1rem, 2.3vw, 1.45rem);
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.7rem 1rem 0.8rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope .ds-b-rail__index {
  position: static;
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.7rem;
  color: var(--ds-pc-paper);
  background: var(--ds-pc-green);
  border: 0;
  border-radius: 48% 52% 46% 54%;
  font-family: "Noto Sans", Roboto, sans-serif;
}

.ds-pc-scope .ds-b-rail .feature__title {
  color: var(--ds-pc-dark);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.ds-pc-scope .ds-b-rail .feature__text {
  margin: 0.35rem 0 0;
  color: var(--ds-pc-dark);
}

.ds-pc-section-head-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 18rem);
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin-bottom: clamp(0.65rem, 1.5vh, 1rem);
}

.ds-pc-section-head-layout .section__head {
  margin-bottom: 0 !important;
}

.ds-pc-icon-sheet {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  justify-self: end;
  border-radius: 0.75rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope #materiales {
  background: rgba(66, 150, 63, 0.08);
}

.ds-pc-scope .ds-b-materials {
  gap: clamp(0.5rem, 1.4vw, 0.85rem);
}

.ds-pc-scope .ds-b-material,
.ds-pc-scope #materiales .card.ds-b-material {
  min-height: clamp(10rem, 23vh, 13.5rem);
  padding: clamp(0.75rem, 1.8vw, 1rem);
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.7rem 1rem 0.8rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope .ds-b-material .material__title {
  margin-top: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.ds-pc-scope .ds-b-material .material__text {
  margin-top: 0.45rem;
  color: var(--ds-pc-dark);
  font-size: clamp(0.74rem, 1.2vw, 0.86rem);
  line-height: 1.35;
}

.ds-pc-scope .ds-b-material .link-strong {
  padding-top: 0.5rem;
  color: var(--ds-pc-dark);
  font-family: "Noto Sans", Roboto, sans-serif;
  font-size: 0.7rem;
  text-decoration-color: var(--ds-pc-green);
}

.ds-pc-control-section,
.ds-pc-scope .ds-b-control-section.ds-pc-control-section {
  color: var(--ds-pc-dark);
  background: rgba(230, 199, 110, 0.18);
}

.ds-pc-scope .ds-b-control {
  gap: clamp(1rem, 4vw, 3.5rem);
}

.ds-pc-scope .ds-b-control .ds-b-kicker,
.ds-pc-scope .ds-b-control h2,
.ds-pc-scope .ds-b-control__intro > p:last-child {
  color: var(--ds-pc-dark);
}

.ds-pc-scope .ds-b-control h2 {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.ds-pc-scope .ds-b-control__matrix {
  gap: 0.5rem;
  padding: 0.65rem;
  background: rgba(250, 248, 240, 0.82);
  border: 0;
  border-radius: 0.8rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope .ds-b-control__matrix span {
  padding: 0.75rem;
  color: var(--ds-pc-green);
  background: var(--ds-pc-paper);
  border: 0;
  border-radius: 0.5rem 0.7rem 0.55rem 0.65rem;
  font-family: "Noto Sans", Roboto, sans-serif;
}

.ds-pc-scope .ds-b-control__matrix strong {
  color: var(--ds-pc-dark);
}

.ds-pc-process-section,
.ds-pc-scope #proceso {
  background: rgba(111, 126, 227, 0.08);
}

.ds-pc-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
}

.ds-pc-scope .ds-b-process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.ds-pc-scope .ds-b-process > li {
  min-width: 0;
  padding: 0;
}

.ds-pc-scope .ds-b-process > li::after {
  display: none;
}

.ds-pc-scope .ds-b-process .step {
  display: block;
  min-height: 0;
  padding: 0.75rem;
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.65rem 0.9rem 0.7rem 0.8rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope .ds-b-process .step__badge {
  position: static;
  display: inline-grid;
  width: auto;
  height: auto;
  padding: 0.22rem 0.5rem;
  color: var(--ds-pc-paper);
  background: var(--ds-pc-blue);
  border: 0;
  border-radius: 0.35rem 0.5rem 0.4rem 0.45rem;
  font-size: 0.62rem;
}

.ds-pc-scope .ds-b-process .step__badge::after {
  display: none;
}

.ds-pc-scope .ds-b-process .step__title {
  margin: 0.45rem 0 0.2rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.ds-pc-scope .ds-b-process .step__text {
  margin: 0;
  color: var(--ds-pc-dark);
  font-size: clamp(0.68rem, 1.1vw, 0.78rem);
  line-height: 1.3;
}

.ds-pc-editorial-section {
  overflow: hidden !important;
  background: var(--ds-pc-paper) !important;
}

.ds-pc-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ds-pc-editorial {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}

.ds-pc-editorial-copy {
  max-width: 58ch;
  padding: clamp(1.1rem, 3vw, 2rem);
  text-align: center;
  background: rgba(250, 248, 240, 0.94);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.8rem 1.1rem 0.9rem 1rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-editorial-copy .section__title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.ds-pc-editorial-copy .btn {
  border-radius: 0.5rem 0.75rem 0.55rem 0.7rem;
  box-shadow: 0 0.35rem 0.65rem rgba(41, 44, 49, 0.14);
}

.ds-pc-about-section,
.ds-pc-scope #nosotros {
  background: rgba(66, 150, 63, 0.08);
}

.ds-pc-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
}

.ds-pc-scope #nosotros .grid,
.ds-pc-scope .ds-b-values {
  gap: 0.5rem;
}

.ds-pc-scope #nosotros .reason {
  min-height: 0;
  padding: 0.7rem;
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.65rem 0.9rem 0.7rem 0.8rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope #nosotros .reason__rule {
  width: 2rem;
  height: 0.3rem;
  background: var(--ds-pc-blue);
  border-radius: 52% 48% 46% 54%;
}

.ds-pc-scope #nosotros .reason .step__title {
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
}

.ds-pc-scope #nosotros .reason .step__text {
  margin-top: 0.25rem;
  color: var(--ds-pc-dark);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  line-height: 1.25;
}

.ds-pc-scope .ds-b-values {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.55rem;
}

.ds-pc-scope .ds-b-value,
.ds-pc-scope .ds-b-value--blue {
  min-height: 0;
  padding: 0.7rem;
  color: var(--ds-pc-dark);
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.65rem 0.9rem 0.7rem 0.8rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-scope .ds-b-value h3 {
  margin: 0.35rem 0 0.2rem;
  color: var(--ds-pc-dark);
  font-size: clamp(1rem, 1.9vw, 1.35rem);
}

.ds-pc-scope .ds-b-value p {
  margin: 0;
  color: var(--ds-pc-dark);
  font-size: clamp(0.65rem, 1vw, 0.76rem);
  line-height: 1.25;
}

.ds-pc-scope .ds-b-value__index {
  color: var(--ds-pc-green);
  font-family: "Noto Sans", Roboto, sans-serif;
}

.ds-pc-contact-section,
.ds-pc-scope .ds-b-contact.ds-pc-contact-section {
  background: rgba(230, 199, 110, 0.16);
}

.ds-pc-scope .ds-b-contact::before {
  top: 0;
  right: 0;
  left: 0;
  height: 1.1rem;
  background: var(--ds-pc-yellow);
  clip-path: polygon(0 15%, 8% 64%, 17% 28%, 29% 72%, 42% 22%, 56% 66%, 70% 25%, 83% 71%, 92% 31%, 100% 58%, 100% 100%, 0 100%);
}

.ds-pc-scope .ds-b-contact .contact-card {
  background: var(--ds-pc-paper);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.75rem 1rem 0.85rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

@media (hover: hover) and (pointer: fine) {
  .ds-pc-scope .ds-pc-card,
  .ds-pc-scope .ds-b-rail__item {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .ds-pc-scope .ds-pc-card:hover,
  .ds-pc-scope .ds-b-rail__item:hover {
    box-shadow: 0 0.35rem 0.65rem rgba(41, 44, 49, 0.1),
      0 1.2rem 2.2rem rgba(41, 44, 49, 0.13);
    transform: translateY(-0.18rem);
  }
}

@media (max-width: 63.99rem) {
  .ds-pc-scope .ds-b-hero,
  .ds-pc-process-layout,
  .ds-pc-about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-pc-figure {
    width: min(100%, 24rem);
    justify-self: center;
  }

  .ds-pc-section-head-layout {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 13rem);
  }

  .ds-pc-icon-sheet {
    width: min(100%, 13rem);
  }

  .ds-pc-about-layout .ds-pc-figure {
    width: min(100%, 20rem);
  }
}

@media (max-width: 43.99rem) {
  .ds-pc-scope > .section {
    padding-block: clamp(0.55rem, 1.5vh, 0.8rem);
  }

  .ds-pc-scope .ds-b-hero {
    gap: 0.45rem;
  }

  .ds-pc-scope .ds-b-hero .hero__title {
    margin-top: 0.35rem;
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .ds-pc-scope .ds-b-hero .hero__text {
    margin-top: 0.4rem;
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    line-height: 1.25;
  }

  .ds-pc-scope .ds-b-hero .hero__actions {
    margin-top: 0.45rem;
  }

  .ds-pc-scope .ds-b-hero .hero__actions .btn {
    min-height: 2.55rem;
    padding: 0.4rem 0.3rem;
    font-size: 0.68rem;
  }

  .ds-pc-scope .ds-pc-figure {
    width: min(100%, 15rem);
  }

  .ds-pc-figure figcaption {
    max-width: 82%;
    padding: 0.18rem 0.35rem;
    font-size: 0.5rem;
  }

  .ds-pc-scope .ds-b-rail {
    gap: 0.35rem;
  }

  .ds-pc-scope .ds-b-rail__item {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-areas: "index title" "index text";
    gap: 0.1rem 0.55rem;
    padding: 0.45rem 0.55rem;
  }

  .ds-pc-scope .ds-b-rail__index {
    grid-area: index;
    width: 1.8rem;
    height: 1.8rem;
    margin: 0;
    font-size: 0.58rem;
  }

  .ds-pc-scope .ds-b-rail .feature__title {
    grid-area: title;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .ds-pc-scope .ds-b-rail .feature__text {
    grid-area: text;
    margin: 0;
    font-size: clamp(0.62rem, 2.8vw, 0.72rem);
    line-height: 1.2;
  }

  .ds-pc-section-head-layout {
    grid-template-columns: minmax(0, 1fr) 6.5rem;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
  }

  .ds-pc-icon-sheet {
    width: 6.5rem;
  }

  .ds-pc-scope .ds-b-materials {
    gap: 0.3rem;
  }

  .ds-pc-scope .ds-b-material,
  .ds-pc-scope #materiales .card.ds-b-material {
    display: grid;
    grid-template-columns: minmax(4.5rem, 0.38fr) minmax(0, 1fr);
    grid-template-areas: "title text" "link text";
    gap: 0.1rem 0.45rem;
    min-height: 0;
    padding: 0.4rem 0.5rem;
  }

  .ds-pc-scope .ds-b-material .material__title {
    grid-area: title;
    font-size: 0.92rem;
  }

  .ds-pc-scope .ds-b-material .material__text {
    grid-area: text;
    margin: 0;
    font-size: clamp(0.58rem, 2.6vw, 0.68rem);
    line-height: 1.18;
  }

  .ds-pc-scope .ds-b-material .link-strong {
    grid-area: link;
    padding: 0;
    font-size: 0.56rem;
  }

  .ds-pc-scope .ds-b-control {
    gap: 0.55rem;
  }

  .ds-pc-scope .ds-b-control h2 {
    margin: 0.2rem 0 0.35rem;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .ds-pc-scope .ds-b-control__intro > p:last-child {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.22;
  }

  .ds-pc-scope .ds-b-control__matrix {
    gap: 0.3rem;
    padding: 0.35rem;
  }

  .ds-pc-scope .ds-b-control__matrix span {
    padding: 0.42rem;
    font-size: 0.58rem;
  }

  .ds-pc-scope .ds-b-control__matrix strong {
    font-size: 0.7rem;
  }

  .ds-pc-process-layout {
    gap: 0.4rem;
  }

  .ds-pc-process-layout .ds-pc-figure {
    width: min(100%, 13rem);
  }

  .ds-pc-scope .ds-b-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .ds-pc-scope .ds-b-process .step {
    padding: 0.4rem;
  }

  .ds-pc-scope .ds-b-process .step__badge {
    padding: 0.15rem 0.35rem;
    font-size: 0.52rem;
  }

  .ds-pc-scope .ds-b-process .step__title {
    margin: 0.25rem 0 0.1rem;
    font-size: 0.9rem;
  }

  .ds-pc-scope .ds-b-process .step__text {
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .ds-pc-editorial-copy {
    max-width: 90%;
    padding: 0.85rem;
  }

  .ds-pc-editorial-copy .section__title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .ds-pc-editorial-copy .section__desc {
    font-size: 0.7rem;
  }

  .ds-pc-about-section .section__head {
    margin-bottom: 0.35rem !important;
  }

  .ds-pc-about-layout {
    gap: 0.35rem;
  }

  .ds-pc-scope #nosotros .grid {
    gap: 0.25rem;
  }

  .ds-pc-scope #nosotros .reason {
    display: grid;
    grid-template-columns: 0.3rem minmax(5rem, 0.4fr) minmax(0, 1fr);
    gap: 0.35rem;
    align-items: center;
    padding: 0.35rem 0.4rem;
  }

  .ds-pc-scope #nosotros .reason__rule {
    width: 0.3rem;
    height: 1.9rem;
  }

  .ds-pc-scope #nosotros .reason .step__title,
  .ds-pc-scope #nosotros .reason .step__text {
    margin: 0;
  }

  .ds-pc-scope #nosotros .reason .step__title {
    font-size: 0.78rem;
  }

  .ds-pc-scope #nosotros .reason .step__text {
    font-size: 0.56rem;
    line-height: 1.14;
  }

  .ds-pc-scope .ds-b-values {
    gap: 0.25rem;
    margin-top: 0.3rem;
  }

  .ds-pc-scope .ds-b-value,
  .ds-pc-scope .ds-b-value--blue {
    padding: 0.35rem 0.4rem;
  }

  .ds-pc-scope .ds-b-value h3 {
    margin: 0.15rem 0 0.08rem;
    font-size: 0.78rem;
  }

  .ds-pc-scope .ds-b-value p {
    font-size: 0.55rem;
    line-height: 1.14;
  }

  .ds-pc-scope .ds-b-value__index {
    font-size: 0.5rem;
  }

  .ds-pc-about-layout .ds-pc-figure {
    width: min(100%, 11rem);
  }
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
  .ds-pc-scope .ds-b-hero,
  .ds-pc-process-layout,
  .ds-pc-about-layout {
    gap: 0.7rem;
  }

  .ds-pc-scope .ds-b-hero .hero__title {
    font-size: clamp(2.5rem, 6vw, 3.3rem);
  }

  .ds-pc-scope .ds-b-hero .ds-pc-figure {
    width: min(100%, 22rem);
  }

  .ds-pc-scope .ds-b-material,
  .ds-pc-scope #materiales .card.ds-b-material {
    min-height: clamp(8rem, 15vh, 10rem);
  }

  .ds-pc-process-layout .ds-pc-figure {
    width: min(100%, 18rem);
  }

  .ds-pc-about-layout .ds-pc-figure {
    width: min(100%, 17rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-pc-scope .ds-pc-card,
  .ds-pc-scope .ds-b-rail__item {
    transition: none !important;
  }
}

/* v1.2.4 · los cuatro recursos principales cubren por completo su sección. */
.ds-pc-bg-classification {
  background-color: var(--ds-pc-paper) !important;
  background-image:
    radial-gradient(circle at 8% 14%, rgba(230, 199, 110, 0.28) 0 4.2rem, transparent 4.25rem),
    radial-gradient(circle at 95% 88%, rgba(66, 150, 63, 0.12) 0 7rem, transparent 7.05rem),
    url("../images/paper-craft/ds-hero-clasificacion.webp") !important;
  background-repeat: no-repeat !important;
  background-position: left top, right bottom, 55% center !important;
  background-size: auto, auto, cover !important;
}

.ds-pc-bg-classification .ds-b-hero {
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
}

.ds-pc-bg-classification .ds-b-hero__copy {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: rgba(250, 248, 240, 0.93);
  border: 1px solid rgba(41, 44, 49, 0.14);
  border-radius: 0.8rem 1.1rem 0.9rem 1rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-bg-logistics {
  background-color: rgba(111, 126, 227, 0.08) !important;
  background-image: url("../images/paper-craft/ds-hero-logistica.webp") !important;
  background-repeat: no-repeat !important;
  background-position: 50% center !important;
  background-size: cover !important;
}

.ds-pc-bg-logistics > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas:
    ". process-head"
    ". process-content";
  align-items: center;
  column-gap: clamp(1rem, 4vw, 3.5rem);
}

.ds-pc-bg-logistics .section__head {
  grid-area: process-head;
  padding: 0.75rem;
  background: rgba(250, 248, 240, 0.9);
  border-radius: 0.65rem 0.9rem 0.7rem 0.8rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-bg-logistics .ds-pc-process-layout {
  display: block;
  grid-area: process-content;
}

.ds-pc-bg-collaboration {
  background-color: rgba(66, 150, 63, 0.08) !important;
  background-image: url("../images/paper-craft/ds-hero-colaboracion.webp") !important;
  background-repeat: no-repeat !important;
  background-position: 50% center !important;
  background-size: cover !important;
}

.ds-pc-bg-collaboration > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.63fr) minmax(0, 0.37fr);
  grid-template-areas:
    "about-head ."
    "about-content .";
  column-gap: clamp(1rem, 4vw, 3.5rem);
}

.ds-pc-bg-collaboration .section__head {
  grid-area: about-head;
  padding: 0.75rem;
  background: rgba(250, 248, 240, 0.92);
  border-radius: 0.65rem 0.9rem 0.7rem 0.8rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-bg-collaboration .ds-pc-about-layout {
  display: block;
  grid-area: about-content;
}

.ds-pc-bg-editorial {
  background-color: var(--ds-pc-paper) !important;
  background-image: url("../images/paper-craft/ds-web-background.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

@media (max-width: 63.99rem) {
  .ds-pc-bg-classification {
    background-position: left top, right bottom, 68% center !important;
    background-size: auto, auto, cover !important;
  }

  .ds-pc-bg-classification .ds-b-hero {
    display: block;
  }

  .ds-pc-bg-classification .ds-b-hero__copy {
    width: min(67%, 31rem);
  }

  .ds-pc-bg-logistics {
    background-position: 18% center !important;
    background-size: cover !important;
  }

  .ds-pc-bg-logistics > .wrap {
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  }

  .ds-pc-bg-collaboration {
    background-position: 82% center !important;
    background-size: cover !important;
  }

  .ds-pc-bg-collaboration > .wrap {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 0.32fr);
  }

  .ds-pc-bg-editorial {
    background-position: left center !important;
    background-size: cover !important;
  }
}

@media (max-width: 43.99rem) {
  .ds-pc-bg-classification {
    background-position: left top, right bottom, 56% center !important;
    background-size: auto, auto, cover !important;
  }

  .ds-pc-bg-classification .ds-b-hero {
    padding-bottom: 0;
  }

  .ds-pc-bg-classification .ds-b-hero__copy {
    width: 100%;
    padding: 0.6rem;
    background: rgba(250, 248, 240, 0.9);
  }

  .ds-pc-bg-logistics {
    background-position: 32% center !important;
    background-size: cover !important;
  }

  .ds-pc-bg-logistics > .wrap {
    display: block;
    padding-bottom: 0;
  }

  .ds-pc-bg-logistics .section__head {
    padding: 0.45rem;
  }

  .ds-pc-bg-logistics .ds-b-process {
    margin-top: 0.35rem;
  }

  .ds-pc-bg-collaboration {
    background-position: 68% center !important;
    background-size: cover !important;
  }

  .ds-pc-bg-collaboration > .wrap {
    display: block;
    padding-bottom: 0;
  }

  .ds-pc-bg-collaboration .section__head {
    padding: 0.45rem;
  }

  .ds-pc-bg-editorial {
    background-position: left center !important;
    background-size: cover !important;
  }
}

/* v1.2.5 · foco móvil centrado y contenido en zonas tranquilas. */
@media (min-width: 64rem) {
  .ds-pc-bg-classification .ds-b-hero {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  }

  .ds-pc-bg-classification .ds-b-hero__copy {
    width: 100%;
    max-width: none;
  }

  .ds-pc-bg-logistics > .wrap {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    row-gap: 0.55rem;
  }

  .ds-pc-scope #proceso .ds-b-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .ds-pc-scope #proceso .ds-b-process > li {
    padding: 0;
  }

  .ds-pc-scope #proceso .ds-b-process > li::after {
    display: none;
  }

  .ds-pc-bg-logistics .ds-b-process .step {
    height: 100%;
    padding: 0.7rem;
  }

  .ds-pc-bg-editorial .ds-pc-editorial-copy {
    width: min(40%, 58ch);
  }

  .ds-pc-bg-collaboration > .wrap {
    display: block;
  }

  .ds-pc-bg-collaboration .section__head {
    width: 40%;
  }

  .ds-pc-bg-collaboration .ds-pc-about-layout {
    width: 56%;
  }
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
  .ds-pc-bg-classification .ds-b-hero__copy {
    width: min(54%, 27rem);
  }

  .ds-pc-bg-logistics {
    background-position: 45% center !important;
  }

  .ds-pc-bg-logistics > .wrap {
    grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
    row-gap: 0.4rem;
  }

  .ds-pc-scope #proceso .ds-b-process {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .ds-pc-scope #proceso .ds-b-process > li {
    padding: 0;
  }

  .ds-pc-scope #proceso .ds-b-process > li::after {
    display: none;
  }

  .ds-pc-bg-logistics .ds-b-process .step {
    height: 100%;
    padding: 0.52rem;
  }

  .ds-pc-bg-editorial .ds-pc-editorial-copy {
    width: min(62%, 58ch);
  }

  .ds-pc-bg-collaboration > .wrap {
    grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  }
}

@media (max-width: 43.99rem) {
  .ds-pc-bg-classification {
    background-position: left top, right bottom, center center !important;
  }

  .ds-pc-bg-logistics,
  .ds-pc-bg-collaboration {
    background-position: center center !important;
  }
}

/* v1.2.7 · fondos Paper Craft para las cuatro superficies antes neutras. */
.ds-pc-bg-three-steps {
  background-color: rgba(111, 126, 227, 0.12) !important;
  background-image:
    linear-gradient(rgba(250, 248, 240, 0.18), rgba(250, 248, 240, 0.18)),
    url("../images/paper-craft/ds-fondo-tres-pasos.webp") !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50%, 50% 50% !important;
  background-size: auto, cover !important;
}

.ds-pc-bg-materials {
  background-color: var(--ds-pc-paper) !important;
  background-image:
    linear-gradient(rgba(250, 248, 240, 0.3), rgba(250, 248, 240, 0.3)),
    url("../images/paper-craft/ds-fondo-materiales.webp") !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50%, 50% 50% !important;
  background-size: auto, cover !important;
}

.ds-pc-bg-materials .ds-pc-section-head-layout {
  padding: clamp(0.55rem, 1.5vw, 0.85rem);
  background: rgba(250, 248, 240, 0.9);
  border: 1px solid rgba(41, 44, 49, 0.12);
  border-radius: 0.75rem 1rem 0.85rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-bg-process-route {
  background-color: rgba(230, 199, 110, 0.18) !important;
  background-image:
    linear-gradient(rgba(250, 248, 240, 0.28), rgba(250, 248, 240, 0.28)),
    url("../images/paper-craft/ds-fondo-proceso-ruta.webp") !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50%, 50% 58% !important;
  background-size: auto, cover !important;
}

.ds-pc-bg-process-route .ds-b-control__intro {
  padding: clamp(0.75rem, 2vw, 1.15rem);
  background: rgba(250, 248, 240, 0.9);
  border: 1px solid rgba(41, 44, 49, 0.12);
  border-radius: 0.75rem 1rem 0.85rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

.ds-pc-bg-contact {
  background-color: rgba(230, 199, 110, 0.16) !important;
  background-image:
    linear-gradient(rgba(250, 248, 240, 0.32), rgba(250, 248, 240, 0.32)),
    url("../images/paper-craft/ds-fondo-contacto.webp") !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50%, 50% 50% !important;
  background-size: auto, cover !important;
}

.ds-pc-bg-contact > .wrap > .center {
  padding: clamp(0.65rem, 2vw, 1rem);
  background: rgba(250, 248, 240, 0.9);
  border: 1px solid rgba(41, 44, 49, 0.12);
  border-radius: 0.75rem 1rem 0.85rem 0.95rem;
  box-shadow: var(--ds-pc-shadow);
}

@media (min-width: 64rem) {
  .ds-pc-bg-three-steps .ds-b-rail {
    width: min(47%, 34rem);
    margin-right: auto;
    margin-left: 0;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 63.99rem) {
  .site-main > .section.ds-pc-bg-process-route {
    align-items: flex-start;
    padding-top: clamp(3.5rem, 8vh, 5rem);
  }
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
  .ds-pc-bg-three-steps {
    background-position: 50% 50%, 70% 50% !important;
  }

  .ds-pc-bg-three-steps .ds-b-rail {
    width: min(58%, 30rem);
    margin-right: auto;
    margin-left: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-pc-bg-materials {
    background-position: 50% 50%, 30% 50% !important;
  }

  .ds-pc-bg-contact {
    background-position: 50% 50%, 74% 50% !important;
  }
}

@media (max-width: 43.99rem) {
  .ds-pc-bg-three-steps {
    background-position: 50% 50%, 70% 50% !important;
  }

  .ds-pc-bg-materials {
    background-position: 50% 50%, 20% 50% !important;
  }

  .ds-pc-bg-process-route {
    background-position: 50% 50%, 50% 50% !important;
  }

  .ds-pc-bg-contact {
    background-position: 50% 50%, 78% 50% !important;
  }
}

/* v1.2.8 · composición por zonas tranquilas para los cuatro fondos nuevos. */
@media (min-width: 64rem) {
  .ds-pc-bg-three-steps .ds-b-rail {
    width: min(38%, 30rem);
    margin-right: auto;
    margin-left: 4%;
  }

  .ds-pc-bg-materials > .wrap {
    width: min(72%, 64rem);
  }

  .ds-pc-bg-materials .ds-pc-section-head-layout {
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 12rem);
  }

  .ds-pc-scope #materiales.ds-pc-bg-materials .ds-b-materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-pc-scope .ds-pc-bg-materials .card.ds-b-material {
    min-height: 7.5rem;
  }

  .ds-pc-bg-process-route > .ds-b-control {
    width: min(72%, 58rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr);
  }

  .ds-pc-bg-contact > .wrap {
    display: grid;
    width: min(70%, 62rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    transform: translateY(-5%);
  }

  .ds-pc-bg-contact > .wrap > .center {
    text-align: left;
  }

  .ds-pc-bg-contact .contact-card {
    margin-top: 0;
  }

  .ds-pc-bg-contact .section__title--lg {
    font-size: clamp(2.8rem, 3.5vw, 3.25rem);
  }
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
  .ds-pc-bg-three-steps {
    background-position: 50% 50%, 20% 50% !important;
  }

  .ds-pc-bg-three-steps .ds-b-rail {
    width: min(46%, 23rem);
    margin-right: auto;
    margin-left: 4%;
  }

  .ds-pc-bg-materials > .wrap {
    width: min(82%, 38rem);
  }

  .ds-pc-scope .ds-pc-bg-materials .card.ds-b-material {
    min-height: 7.5rem;
  }

  .site-main > .section.ds-pc-bg-process-route {
    align-items: center;
    padding-top: clamp(0.9rem, 2vh, 1.4rem);
  }

  .ds-pc-bg-process-route > .ds-b-control {
    width: min(82%, 40rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.95fr);
  }

  .ds-pc-bg-contact {
    background-position: 50% 50%, 78% 50% !important;
  }

  .ds-pc-bg-contact > .wrap {
    width: min(62%, 30rem);
    margin-right: auto;
    margin-left: 6%;
  }

  .ds-pc-bg-contact > .wrap > .center {
    text-align: left;
  }
}

@media (max-width: 43.99rem) {
  .site-main > .section.ds-pc-bg-three-steps {
    align-items: flex-end;
  }

  .ds-pc-bg-three-steps {
    background-position: 50% 50%, 73% 45% !important;
  }

  .ds-pc-bg-three-steps .ds-b-rail {
    width: min(92%, 21.5rem);
    margin: 0 auto 4.25rem;
  }

  .ds-pc-bg-materials > .wrap {
    width: min(92%, 21.5rem);
    transform: translateY(-3%);
  }

  .site-main > .section.ds-pc-bg-process-route {
    align-items: center;
    padding-top: clamp(0.55rem, 1.5vh, 0.8rem);
  }

  .ds-pc-bg-process-route > .ds-b-control {
    width: min(90%, 21rem);
    margin-inline: auto;
    transform: translateY(-4%);
  }

  .ds-pc-bg-contact {
    background-position: 50% 50%, 80% 50% !important;
  }

  .ds-pc-bg-contact > .wrap {
    width: min(88%, 20.5rem);
    transform: translateY(-7%);
  }
}

/* v1.2.9 · jerarquía y legibilidad del contenido sobre fondos Paper Craft. */
.ds-pc-scope .ds-b-kicker,
.ds-pc-scope .kicker.ds-b-kicker,
.ds-pc-scope .kicker {
  color: var(--ds-pc-dark);
}

@media (min-width: 64rem) {
  .ds-pc-scope :is(#materiales, #proceso, #nosotros) .section__title {
    font-size: clamp(3rem, 4vw, 3.75rem);
  }

  .ds-pc-bg-editorial .ds-pc-editorial-copy .section__title {
    font-size: clamp(2.5rem, 3.6vw, 3.2rem);
  }

  .ds-pc-scope .ds-b-rail .feature__text {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .ds-pc-scope .ds-b-process .step__badge,
  .ds-pc-scope .ds-b-rail__index,
  .ds-pc-scope .ds-b-value__index {
    font-size: 0.75rem;
  }

  .ds-pc-scope .ds-b-process .step__title {
    font-size: 1.25rem;
  }

  .ds-pc-scope .ds-b-process .step__text {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .ds-pc-scope #nosotros :is(.reason .step__text, .ds-b-value p) {
    font-size: 0.8rem;
    line-height: 1.35;
  }
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
  .ds-pc-scope .ds-pc-bg-materials .material__text,
  .ds-pc-scope #proceso .step__text,
  .ds-pc-scope #nosotros :is(.reason .step__text, .ds-b-value p) {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .ds-pc-scope #proceso .step__badge,
  .ds-pc-scope #nosotros .ds-b-value__index {
    font-size: 0.7rem;
  }

  .ds-pc-scope #proceso .step__title,
  .ds-pc-scope #nosotros :is(.reason .step__title, .ds-b-value h3) {
    font-size: 1rem;
  }

  .ds-pc-bg-editorial .section__desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

@media (max-width: 43.99rem) {
  .ds-pc-scope .ds-b-hero .badge.ds-b-kicker,
  .ds-pc-scope .kicker,
  .ds-pc-scope .ds-b-control .ds-b-kicker {
    font-size: 0.75rem;
  }

  .ds-pc-scope .ds-b-hero .hero__actions .btn {
    min-height: 2.7rem;
    padding: 0.45rem 0.4rem;
    font-size: 0.75rem;
  }

  .ds-pc-scope .ds-b-rail__index {
    font-size: 0.65rem;
  }

  .ds-pc-scope .ds-b-rail .feature__text {
    font-size: 0.75rem;
    line-height: 1.28;
  }

  .ds-pc-scope .ds-pc-bg-materials .section__title,
  .ds-pc-scope #proceso .section__title,
  .ds-pc-scope #nosotros .section__title {
    font-size: 2rem;
  }

  .ds-pc-scope .ds-pc-bg-materials .material__title {
    font-size: 1rem;
  }

  .ds-pc-scope .ds-pc-bg-materials .material__text,
  .ds-pc-scope .ds-pc-bg-materials .link-strong {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .ds-pc-scope .ds-b-control__intro > p:last-child,
  .ds-pc-bg-editorial .section__desc {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .ds-pc-scope .ds-b-control__matrix span {
    font-size: 0.68rem;
  }

  .ds-pc-scope .ds-b-control__matrix strong {
    font-size: 0.8rem;
  }

  .ds-pc-scope #proceso .step__badge {
    font-size: 0.7rem;
  }

  .ds-pc-scope #proceso .step__title {
    font-size: 1rem;
  }

  .ds-pc-scope #proceso .step__text {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .ds-pc-bg-editorial .ds-pc-editorial-copy .section__title {
    font-size: 1.75rem;
  }

  .ds-pc-scope #nosotros .reason .step__title,
  .ds-pc-scope #nosotros .ds-b-value h3 {
    font-size: 0.82rem;
  }

  .ds-pc-scope #nosotros :is(.reason .step__text, .ds-b-value p) {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .ds-pc-scope #nosotros .ds-b-value__index {
    font-size: 0.62rem;
  }

  .ds-pc-bg-contact .section__title--lg {
    font-size: 2.25rem;
  }

  .ds-pc-scope #inicio .ds-b-hero .badge.ds-b-kicker,
  .ds-pc-scope #inicio .ds-b-hero .hero__actions .btn,
  .ds-pc-scope #contacto .contact-card__descriptor {
    font-size: 0.75rem;
  }
}
