:root {
  --yellow: #fec400;
  --yellow-deep: #e9b300;
  --ink: #111111;
  --charcoal: #191919;
  --cream: #f4f0e7;
  --cream-2: #ebe6dc;
  --white: #ffffff;
  --gray: #676767;
  --line: rgba(17, 17, 17, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  --container: 1240px;
  --header-offset: 122px;
}

* {
  box-sizing: border-box;
}

.svg-defs,
.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.noscript-note {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 1000;
  padding: 12px 16px;
  color: #11110f;
  background: #f7b500;
  border: 1px solid #11110f;
  font-weight: 700;
  text-align: center;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
}

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

.section {
  padding-block: clamp(78px, 9vw, 140px);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--yellow);
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #746000;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--yellow);
  content: "";
}

.eyebrow--light {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.97);
  color: var(--white);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.topbar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar__inner div {
  display: flex;
  gap: 22px;
}

.topbar a:hover {
  text-decoration: underline;
}

.navbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: 12px;
  background: var(--white);
  padding: 4px 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.brand__logo {
  width: 184px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.9vw, 30px);
}

.nav > a:not(.nav__cta) {
  position: relative;
  color: #e9e9e9;
  font-size: 1rem;
  font-weight: 680;
}

.nav > a:not(.nav__cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--yellow);
  content: "";
  transition: transform 0.2s ease;
}

.nav > a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--yellow);
  font-size: 0.96rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__cta:hover {
  background: var(--yellow);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button svg,
.text-link svg,
.service-card a svg,
.material-card a svg,
.contact__whatsapp > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(254, 196, 0, 0.22);
}

.button--primary:hover {
  background: #ffd12e;
  box-shadow: 0 18px 42px rgba(254, 196, 0, 0.3);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

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

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--outline {
  min-height: 44px;
  border-color: var(--ink);
  padding: 10px 18px;
  color: var(--ink);
}

.button--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(820px, calc(100svh - 116px));
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__media,
.hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__media {
  background-image: url("../images/hero/gestion-residuos-industriales.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.02);
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.97) 0%, rgba(8, 8, 8, 0.8) 45%, rgba(8, 8, 8, 0.45) 68%, rgba(8, 8, 8, 0.68) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 45%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding-block: clamp(72px, 9vw, 130px);
}

.hero__content {
  max-width: 740px;
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 5.4vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.hero h1 span {
  color: var(--yellow);
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.03rem, 1.55vw, 1.28rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  list-style: none;
}

.hero__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__checks svg,
.feature-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.quote-form {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: clamp(24px, 3vw, 42px);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form__heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.quote-form__heading > p:last-child {
  margin-bottom: 24px;
  color: var(--gray);
  font-size: 1.02rem;
}

.quote-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form--compact .quote-form__fields {
  grid-template-columns: 1fr;
}

.quote-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.94rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d9d5cc;
  border-radius: 10px;
  background: #fbfaf7;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 0.98rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input,
.quote-form select {
  min-height: 48px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 0;
  border-color: var(--yellow-deep);
  box-shadow: 0 0 0 4px rgba(254, 196, 0, 0.17);
}

.quote-form__wide {
  grid-column: 1 / -1;
}

.quote-form__group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 4px 0 0;
}

.quote-form__group legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 0.96rem;
  font-weight: 850;
}

.quote-form__choices {
  display: grid;
  gap: 10px 18px;
}

.quote-form__choices--services {
  grid-template-columns: 1fr;
}

.quote-form__industry {
  margin: 8px 0 22px;
}

.quote-form__choices--industry {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-form__choices label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.quote-form .quote-form__choices label > span {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.35;
}

.quote-form__choices input[type="checkbox"],
.quote-form__choices input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
  padding: 0;
  appearance: auto;
  accent-color: var(--yellow-deep);
  box-shadow: none;
}

.quote-form__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-block: 18px 16px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.4;
}

.quote-form__consent input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
  accent-color: var(--yellow);
}

.quote-form__consent a {
  color: var(--ink);
  text-decoration: underline;
}

.quote-form__note,
.form-message {
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
}

.form-message {
  color: #5e4b00;
  font-weight: 750;
}

.form-message.is-success {
  color: #176f3a;
}

.form-message.is-error {
  color: #a32a22;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.trust-strip {
  position: relative;
  z-index: 5;
  background: var(--yellow);
}

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

.trust-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 98px;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(17, 17, 17, 0.18);
  padding: 20px clamp(16px, 2.7vw, 34px);
}

.trust-strip article:last-child {
  border-right: 1px solid rgba(17, 17, 17, 0.18);
}

.trust-strip strong {
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.trust-strip span {
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.25;
}

.trust-strip__place {
  font-size: clamp(1.2rem, 1.8vw, 1.7rem) !important;
  letter-spacing: -0.04em;
}

.benefits {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.benefits::before {
  position: absolute;
  top: -180px;
  right: -130px;
  width: 440px;
  height: 440px;
  border: 90px solid rgba(254, 196, 0, 0.12);
  border-radius: 50%;
  content: "";
}

.benefits__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(44px, 8vw, 120px);
}

.benefits__intro {
  position: sticky;
  top: calc(var(--header-offset) + 32px);
}

.benefits__intro h2 {
  max-width: 620px;
  margin-bottom: 26px;
}

.benefits__intro > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 34px;
  color: #4c4c4c;
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

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

.benefit-card {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
  padding: clamp(26px, 3vw, 38px);
}

.benefit-card > span {
  margin-bottom: auto;
  color: #8a8a8a;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.benefit-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.benefit-card p {
  margin-bottom: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.58;
}

.benefit-card--featured {
  border-color: var(--yellow);
  background: var(--yellow);
}

.benefit-card--featured > span,
.benefit-card--featured p {
  color: rgba(17, 17, 17, 0.72);
}

.benefit-card--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.benefit-card--dark > span,
.benefit-card--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading > p:last-child,
.section-heading--split > p {
  max-width: 680px;
  color: var(--gray);
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(38px, 8vw, 130px);
}

.section-heading--split h2 {
  margin-bottom: 0;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center > p:last-child {
  margin-inline: auto;
}

.section-heading--light,
.section-heading--light > p,
.section-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading--light h2 {
  color: var(--white);
}

.services {
  background: var(--cream);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(254, 196, 0, 0.8);
  box-shadow: 0 20px 55px rgba(17, 17, 17, 0.1);
}

.service-card__number {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 48px;
  color: #8c7740;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 18px;
  background: rgba(254, 196, 0, 0.16);
}

.service-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.service-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.55;
}

.service-card a,
.material-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 1rem;
  font-weight: 850;
}

.service-card--image {
  min-height: 450px;
  justify-content: flex-end;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--ink);
}

.service-card__photo,
.service-card__shade {
  position: absolute;
  inset: 0;
}

.service-card__photo {
  background: url("../images/materials/chatarra-ferrosa.webp") center / cover;
  transition: transform 0.5s ease;
}

.service-card--dismantling .service-card__photo {
  background-image: url("../images/services/desmantelamiento-industrial.webp");
  background-position: 58% center;
}

.service-card--branches .service-card__photo {
  background-image: url("../images/branches/sucursal-zona-industrial.webp");
  background-position: 48% center;
}

.service-card--electronics .service-card__photo {
  background-image: url("../images/materials/scrap-electronico.webp");
  background-position: center;
}

.service-card--image:hover .service-card__photo {
  transform: scale(1.04);
}

.service-card__shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.96));
}

.service-card__content {
  position: relative;
  z-index: 2;
}

.service-card--image .service-card__number {
  margin-bottom: 20px;
  color: var(--yellow);
}

.service-card--image h3 {
  margin-top: 0;
  color: var(--white);
}

.service-card--image p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card--image a {
  margin-top: 20px;
  color: var(--white);
}

.service-card--featured h3 {
  max-width: 360px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.service-card--featured p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.75);
}

.materials {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

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

.material-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  background: #202020;
}

.material-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.material-card:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.04);
}

.material-card > div {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
}

.material-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.material-card a {
  flex: 0 0 auto;
  color: var(--yellow);
}

.materials__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
}

.materials__more strong {
  margin-right: 6px;
  color: var(--white);
}

.materials__more span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 12px;
}

.not-accepted {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin-top: 40px;
  border: 2px solid rgba(254, 196, 0, 0.82);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(254, 196, 0, 0.18), rgba(254, 196, 0, 0.08));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  padding: clamp(28px, 3vw, 38px);
}

.not-accepted::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--yellow);
  content: "";
}

.not-accepted__mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(254, 196, 0, 0.2);
}

.not-accepted h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.not-accepted p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

.process {
  background: var(--white);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  counter-reset: process;
  list-style: none;
}

.process__grid li {
  position: relative;
  min-height: 210px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 30px;
}

.process__grid li:nth-child(3n),
.process__grid li:last-child {
  border-right: 1px solid var(--line);
}

.process__grid li:nth-last-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.process__grid li > span {
  display: block;
  margin-bottom: 38px;
  color: #ad8c00;
  font-size: 0.88rem;
  font-weight: 900;
}

.process__grid h3 {
  margin-bottom: 10px;
}

.process__grid p {
  margin: 0;
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.55;
}

.process__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  border-radius: var(--radius-md);
  background: var(--yellow);
  padding: 24px 28px;
}

.process__cta p {
  max-width: 740px;
  margin: 0;
}

.dismantling {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--charcoal);
  color: var(--white);
}

.dismantling__image {
  overflow: hidden;
}

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

.dismantling__content {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 130px);
}

.dismantling__content h2 {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
}

.dismantling__content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 34px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
}

.compliance {
  background: var(--cream-2);
}

.compliance__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.compliance__copy > p:not(.eyebrow) {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.6;
}

.registry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.registry-list div {
  background: var(--cream-2);
  padding: 20px;
}

.registry-list dt {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.registry-list dd {
  margin: 5px 0 0;
  font-size: 1.08rem;
  font-weight: 850;
}

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

.compliance__logos figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.compliance__logos img {
  width: 100%;
  aspect-ratio: 2.05;
  object-fit: contain;
}

.compliance__logos figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.branches {
  background: var(--cream);
}

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

.branch-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.branch-card__media {
  position: relative;
}

.branch-card__media img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.branch-card__mobile-map {
  display: none;
}

.branch-card__body {
  padding: 25px;
}

.branch-card__tag {
  margin-bottom: 10px;
  color: #8a7000;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.branch-card h3 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.branch-card address {
  min-height: 92px;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.55;
  font-style: normal;
}

.branch-card__phone {
  display: block;
  margin: 12px 0 22px;
  font-size: 1.18rem;
  font-weight: 850;
}

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
}

.about__media {
  position: relative;
}

.about__media > img {
  width: 100%;
  min-height: 640px;
  border-radius: 150px 20px 20px 20px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  right: -28px;
  bottom: 36px;
  display: grid;
  max-width: 250px;
  border-radius: var(--radius-md);
  background: var(--yellow);
  padding: 26px;
  box-shadow: var(--shadow);
}

.about__badge strong {
  font-size: 1.7rem;
}

.about__badge span {
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.3;
}

.about__content > p:not(.eyebrow) {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.62;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.about__values article {
  border-right: 1px solid var(--line);
  padding: 22px 15px 10px 0;
}

.about__values article:not(:first-child) {
  padding-left: 15px;
}

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

.about__values span {
  color: #8a7000;
  font-size: 0.82rem;
  font-weight: 900;
}

.about__values h3 {
  margin: 8px 0 0;
  font-size: 1.08rem;
}

.industries {
  background: var(--yellow);
}

.industries .section-heading {
  margin-bottom: 36px;
}

.industries .eyebrow {
  color: var(--ink);
}

.industries .eyebrow::before {
  background: var(--ink);
}

.industries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industries__list li {
  border: 1px solid rgba(17, 17, 17, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 10px 17px;
  font-size: 1rem;
  font-weight: 800;
}

.clients {
  background: var(--cream);
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.clients__grid figure {
  margin: 0;
  background: var(--white);
}

.clients__grid img {
  width: 100%;
  aspect-ratio: 2.18;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.clients__grid figure:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.clients__disclaimer {
  max-width: 900px;
  margin: 20px auto 0;
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
}

.soro-section {
  overflow: hidden;
  background: var(--white);
}

.soro-section .section-heading {
  margin-bottom: clamp(32px, 5vw, 58px);
}

#soro-blog {
  width: 100%;
  min-height: 320px;
}

#soro-blog:empty {
  display: grid;
  place-items: center;
  border: 2px dashed rgba(17, 17, 17, 0.16);
  border-radius: var(--radius-md);
  background: var(--cream);
  padding: 32px;
  text-align: center;
}

#soro-blog:empty::before {
  max-width: 560px;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.6;
  content: "Los artículos del blog se cargarán aquí al activar la conexión en Soro.";
}

.soro-section__noscript {
  border-left: 5px solid var(--yellow);
  background: var(--cream);
  padding: 18px 20px;
  color: var(--gray);
}

.faq {
  background: var(--white);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 140px);
}

.faq__intro {
  position: sticky;
  top: 150px;
  align-self: start;
}

.faq__intro h2 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.faq__intro > p:not(.eyebrow) {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.62;
}

.text-link {
  margin-top: 12px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 4px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  cursor: pointer;
  padding: 25px 54px 25px 0;
  font-weight: 850;
  font-size: 1.05rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  padding: 0 54px 24px 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.58;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  padding-block: clamp(80px, 9vw, 130px);
}

.contact::before {
  position: absolute;
  top: -260px;
  left: -220px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  content: "";
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.contact .eyebrow {
  color: var(--ink);
}

.contact .eyebrow::before {
  background: var(--ink);
}

.contact__copy > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 1.08rem;
  line-height: 1.62;
}

.contact__whatsapp {
  display: flex;
  max-width: 430px;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  border-radius: var(--radius-md);
  background: var(--ink);
  padding: 17px;
  color: var(--white);
}

.contact__whatsapp > span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  font-size: 0.8rem;
  font-weight: 900;
}

.contact__whatsapp > div {
  display: grid;
  flex: 1;
}

.contact__whatsapp small {
  color: rgba(255, 255, 255, 0.64);
}

.contact__email {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid var(--ink);
  font-size: 1rem;
  font-weight: 750;
}

.footer {
  background: var(--ink);
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.66);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 0.8fr));
  gap: 50px;
  padding-bottom: 58px;
}

.brand--footer {
  margin-bottom: 22px;
}

.brand--footer .brand__logo {
  width: 210px;
}

.footer__brand p {
  max-width: 380px;
}

.footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__grid > div:not(.footer__brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__grid > div:not(.footer__brand) a,
.footer__grid > div:not(.footer__brand) p {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.footer a:hover {
  color: var(--yellow);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  font-size: 0.82rem;
}

.footer__bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-whatsapp svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal--delay-sm {
  transition-delay: 0.08s;
}

.js .reveal--delay,
.js .reveal--delay-md {
  transition-delay: 0.15s;
}

.legal-page {
  min-height: 70vh;
  background: var(--cream);
  padding-block: 90px 120px;
}

.legal-page__inner {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.legal-page h2 {
  margin-top: 45px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page li {
  color: #494949;
}

@media (max-width: 1120px) {
  :root {
    --header-offset: 84px;
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    background: var(--ink);
    padding-inline: 20px;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
  }

  .nav.is-open {
    max-height: 600px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 24px 30px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a:not(.nav__cta) {
    padding: 8px 0;
    font-size: 1rem;
  }

  .nav__cta {
    justify-self: start;
    margin-top: 8px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.7rem);
  }

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

  .service-card--featured {
    grid-row: span 2;
  }

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

  .dismantling__content {
    padding: 70px 50px;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.97));
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 78px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__form {
    max-width: 680px;
  }

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

  .trust-strip article:nth-child(2) {
    border-right: 1px solid rgba(17, 17, 17, 0.18);
  }

  .trust-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  }

  .section-heading--split,
  .benefits__grid,
  .compliance__grid,
  .about__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    align-items: start;
    gap: 24px;
  }

  .benefits__intro {
    position: static;
  }

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

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

  .process__grid li:nth-child(3n) {
    border-right: 0;
  }

  .process__grid li:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .process__grid li:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .process__grid li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .dismantling__image {
    min-height: 480px;
  }

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

  .branch-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  }

  .branch-card__media,
  .branch-card__media img {
    height: 100%;
  }

  .branch-card__media img {
    aspect-ratio: auto;
  }

  .branch-card address {
    min-height: auto;
  }

  .about__media > img {
    min-height: 520px;
  }

  .about__badge {
    right: 20px;
  }

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

  .faq__intro {
    position: static;
  }

  .contact__grid {
    gap: 55px;
  }

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

  .footer__grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 74px;
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .navbar {
    min-height: 74px;
  }

  .brand__logo {
    width: 158px;
  }

  .nav {
    top: 74px;
  }

  .hero__grid {
    padding-block: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__checks {
    display: grid;
  }

  .quote-form__fields {
    grid-template-columns: 1fr;
  }

  .quote-form__wide {
    grid-column: auto;
  }

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

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip article,
  .trust-strip article:nth-child(2),
  .trust-strip article:last-child {
    min-height: 76px;
    border-right: 1px solid rgba(17, 17, 17, 0.18);
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  }

  .services__grid,
  .benefits__cards,
  .materials__grid,
  .process__grid,
  .compliance__logos,
  .registry-list,
  .about__values,
  .clients__grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--featured {
    min-height: 400px;
    grid-row: auto;
  }

  .material-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .material-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .materials__more strong {
    width: 100%;
  }

  .not-accepted {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 22px 24px 28px;
  }

  .not-accepted__mark {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }

  .process__grid li,
  .process__grid li:nth-child(2n),
  .process__grid li:nth-child(3n),
  .process__grid li:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .process__grid li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .process__cta {
    align-items: stretch;
    flex-direction: column;
  }

  .dismantling__image {
    min-height: 340px;
  }

  .dismantling__content {
    padding: 64px 20px;
  }

  .branch-card {
    display: block;
  }

  .branch-card__media,
  .branch-card__media img {
    height: auto;
  }

  .branch-card__media img {
    aspect-ratio: 1.55;
  }

  .branch-card__mobile-map {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  }

  .branch-card__mobile-map svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .branch-card__body {
    padding: 24px 20px 26px;
  }

  .branch-card address {
    min-height: auto;
  }

  .branch-card__phone {
    margin-bottom: 16px;
  }

  .branch-card .button--outline {
    width: 100%;
    border-color: var(--yellow-deep);
    background: var(--yellow);
    color: var(--ink);
  }

  .about__media > img {
    min-height: 430px;
    border-radius: 80px 18px 18px 18px;
  }

  .about__badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -70px 18px 0;
  }

  .about__values article,
  .about__values article:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

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

  #soro-blog {
    min-height: 240px;
  }

  #soro-blog:empty {
    padding: 24px 18px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__grid > div:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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