@charset "UTF-8";

:root {
  --teal: #09383c;
  --teal-dark: #06292c;
  --gold: #a37d3d;
  --gold-light: #e1bf7d;
  --ink: #15393c;
  --muted: #526668;
  --line: #d7dfde;
  --soft: #f2f5f4;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f7f6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

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

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

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: 5rem;
  line-height: 1.04;
  max-width: 800px;
}

h2 {
  font-size: 3.65rem;
}

h3 {
  font-size: 1.65rem;
}

.wrap {
  width: min(1240px, calc(100% - 5rem));
  margin-inline: auto;
}

.section {
  padding-block: 6.5rem;
}

.eyebrow {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  background: var(--white);
  color: var(--teal);
  padding: 1rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.header {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  gap: 2rem;
}

.brand {
  width: 198px;
  flex-shrink: 0;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: .9375rem;
  font-weight: 600;
}

.header nav a {
  transition: color .15s;
}

.header nav a:hover {
  color: var(--gold);
}

.nav-contact {
  border: 1px solid var(--line);
  padding: .65rem 1.1rem;
}

.nav-contact span {
  margin-left: 1.5rem;
}

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 41, 44, .95), rgba(6, 41, 44, .82) 44%, rgba(6, 41, 44, .54)),
    url("media/limpieza_12_limpieza_pasillo_azul.jpg") center / cover no-repeat;
  border-top: 4px solid var(--gold);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 41, 44, .6), transparent 45%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
  align-items: center;
}

.hero .eyebrow {
  color: var(--gold-light);
  margin-bottom: 1.6rem;
}

h1 span {
  color: var(--gold-light);
}

.hero-description {
  font-size: 1.125rem;
  color: #d5e3e2;
  max-width: 560px;
  margin-top: 1.8rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  min-height: 52px;
  transition: background .15s, transform .15s;
}

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

.button-gold {
  background: var(--gold-light);
  color: var(--teal-dark);
}

.button-gold:hover {
  background: #ecd2a3;
}

.hero .button {
  margin-top: 2rem;
}

.hero-panel {
  border: 1px solid #547073;
  align-self: center;
  background: rgba(6, 41, 44, .92);
  backdrop-filter: blur(4px);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  color: #d6e5e4;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  border-bottom: 1px solid #3c5b5d;
}

.hero-panel > a {
  display: grid;
  grid-template-columns: 2rem 1fr 1.4rem;
  gap: 1rem;
  padding: 1.65rem 1.5rem;
  border-bottom: 1px solid #3c5b5d;
  align-items: start;
  transition: background .15s;
}

.hero-panel > a:hover {
  background: #123f43;
}

.hero-panel > a > span:nth-child(2) {
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

.panel-num,
.panel-arrow {
  color: var(--gold-light);
  font-size: .9375rem;
}

.panel-arrow {
  font-size: 1.5rem;
}

.panel-footer {
  padding: 1.1rem 1.5rem;
  color: #c3d2d1;
  font-size: .875rem;
}

.location-bar {
  border-top: 1px solid #49696c;
  padding-block: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.location-bar > span {
  font-size: .8125rem;
  letter-spacing: .09em;
  font-weight: 600;
  color: #c5d5d4;
}

.location-bar p {
  font-size: .9375rem;
}

.location-bar p span {
  margin: 0 1rem;
  color: var(--gold-light);
}

.impact-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(8, 37, 40, .14);
}

.impact-strip article {
  min-height: 132px;
  padding: 1.45rem 1.5rem;
  border-right: 1px solid var(--line);
}

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

.impact-strip span {
  display: block;
  color: var(--teal);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.impact-strip p {
  color: var(--muted);
  margin-top: .85rem;
  max-width: 190px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
  padding-top: .45rem;
  color: #725623;
}

.services {
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(180deg, #f5f7f6 0%, #eef3f1 42%, #ffffff 100%);
}

.service-row {
  display: grid;
  grid-template-columns: .26fr 1fr 1.35fr;
  gap: 2.3rem;
  padding: 2.4rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 44px rgba(20, 57, 60, .08);
  scroll-margin-top: 2rem;
}

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

.service-row:nth-of-type(even) {
  color: var(--white);
  border-color: #31595c;
  background:
    linear-gradient(135deg, rgba(6, 41, 44, .98), rgba(9, 56, 60, .9)),
    url("media/residuos_04_recuperacion_tarimas.png") center / cover no-repeat;
}

.service-row:nth-of-type(even) .service-num,
.service-row:nth-of-type(even) .tag {
  color: var(--gold-light);
}

.service-row:nth-of-type(even) .service-description p,
.service-row:nth-of-type(even) .service-description ul {
  color: #d4e1e0;
}

.service-row:nth-of-type(even) .text-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}

.service-num {
  font-size: 1rem;
  color: #80602d;
  padding-top: .2rem;
  font-weight: 700;
}

.service-title h3 {
  font-size: 2.1rem;
  line-height: 1.16;
}

.tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  color: #617273;
}

.service-description p {
  color: var(--muted);
}

.service-description ul {
  padding-left: 1.15rem;
  color: var(--muted);
  margin: 1rem 0 1.4rem;
}

.service-description li {
  margin: .35rem 0;
}

.service-description li::marker {
  color: var(--gold);
}

.text-link {
  font-weight: 700;
  border-bottom: 1px solid #b7c5c5;
  padding-bottom: .4rem;
  display: inline-flex;
  gap: 2rem;
}

.text-link:hover {
  color: #80602d;
}

.service-gallery {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-gallery figure {
  margin: 0;
  min-width: 0;
}

.service-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #e5eae9;
  transition: opacity .2s;
}

.service-gallery a:hover img {
  opacity: .85;
}

.service-gallery figcaption {
  font-size: .875rem;
  color: var(--muted);
  padding-top: .6rem;
}

.beforeafter {
  padding-top: 0;
}

.results-copy {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison figure {
  margin: 0;
  position: relative;
}

.comparison img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center;
}

.compare-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--teal);
  color: var(--white);
  padding: .5rem 1rem;
  font-weight: 700;
}

.company {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 41, 44, .94), rgba(6, 41, 44, .78)),
    url("media/tarimas_01_huacal_estructura.jpg") center / cover no-repeat;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
}

.company .eyebrow {
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}

.company-copy > p {
  color: #d7e4e3;
  margin-bottom: 1.2rem;
  font-size: 1.0625rem;
}

.company-detail {
  border-top: 1px solid rgba(255, 255, 255, .25);
  margin-top: 1.8rem;
  padding-top: 1.15rem;
}

.company-detail span {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.company-detail p {
  color: #d7e4e3;
  margin-top: .5rem;
}

.clients {
  position: relative;
  padding-block: 5.5rem;
  color: var(--white);
}

.clients::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(6, 41, 44, .98), rgba(6, 41, 44, .84)),
    url("media/limpieza_14_segregacion_estacion_carton.jpg") center / cover no-repeat;
}

.clients-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: end;
}

.clients h2 {
  max-width: 640px;
  margin-top: .9rem;
}

.clients-note {
  color: #cfdddc;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  gap: .9rem;
}

.client-logo-grid li {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .96);
  color: var(--teal);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.client-logo-grid img {
  width: min(100%, 235px);
  height: 86px;
  object-fit: contain;
}

.clients .featured-client {
  grid-column: span 2;
  background: var(--white);
  border-color: rgba(255, 255, 255, .18);
}

.client-logo-grid li span {
  display: block;
  margin-top: .25rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
}

.compliance {
  position: relative;
}

.compliance::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4f2 100%);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credentials article {
  padding: 2rem 2rem 2.4rem;
  border-right: 1px solid var(--line);
}

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

.credentials article:last-child {
  border: 0;
}

.credential-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .07em;
  font-weight: 700;
  color: #725623;
  margin-bottom: 1.7rem;
}

.credentials h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.credentials p {
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(90deg, rgba(6, 41, 44, .96), rgba(6, 41, 44, .8)),
    url("media/residuos_10_volteo_frontal.png") center / cover no-repeat;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.contact .eyebrow {
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}

.contact h2 {
  font-size: 4rem;
}

.contact h2 + p {
  max-width: 440px;
  color: #c5d9d7;
  margin-top: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
}

.social-links span {
  width: 100%;
  color: var(--gold-light);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, .35);
  padding: .65rem 1rem;
  font-weight: 700;
  transition: background .15s, color .15s;
}

.social-links a:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.contact-action > p {
  font-size: .8125rem;
  letter-spacing: .1em;
  color: #c5d9d7;
  font-weight: 600;
}

.phone-link {
  display: block;
  font-size: 2.4rem;
  line-height: 1.3;
  margin: .5rem 0 1.3rem;
  font-weight: 700;
}

.email-link {
  font-size: 2.1rem;
  display: block;
  margin-top: .6rem;
  margin-bottom: 2rem;
  overflow-wrap: anywhere;
}

.email-link:hover {
  text-decoration: underline;
}

.contact-action .email-label {
  margin-top: 2rem;
}

.contact-action .email-link {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.contact-location {
  display: block;
  font-size: .875rem;
  color: #bdd0cf;
  margin-top: 1.4rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.8rem;
  font-size: .8125rem;
  color: var(--muted);
}

.footer a {
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

@media (min-width: 1500px) {
  .hero-inner {
    padding-block: 7rem;
  }
}

@media (max-width: 1000px) {
  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 3rem;
  }

  .contact h2 {
    font-size: 3.35rem;
  }

  .hero-inner {
    gap: 2.5rem;
    grid-template-columns: 1.35fr 1fr;
  }

  .company-grid,
  .contact-grid {
    gap: 3rem;
  }

  .service-row {
    gap: 1.4rem;
    grid-template-columns: .15fr 1fr 1.25fr;
  }

  .credentials article {
    padding-inline: 1.2rem;
  }

  .credentials h3 {
    font-size: 1.7rem;
  }

  .header nav {
    gap: 1.3rem;
  }

  .impact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-strip article:nth-child(2) {
    border-right: 0;
  }

  .impact-strip article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .clients .featured-client {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 2.5rem);
  }

  .header {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .brand {
    width: 158px;
  }

  .header nav {
    width: 100%;
    gap: .75rem 1rem;
    justify-content: flex-start;
    font-size: .875rem;
    border-top: 1px solid var(--line);
    padding-top: .85rem;
    flex-wrap: wrap;
  }

  .nav-contact {
    padding: .4rem .7rem;
  }

  .nav-contact span {
    margin-left: .4rem;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(6, 41, 44, .96), rgba(6, 41, 44, .76)),
      url("media/limpieza_12_limpieza_pasillo_azul.jpg") center / cover no-repeat;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
    gap: 3rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-description {
    font-size: 1.0625rem;
  }

  .hero-panel > a {
    padding: 1.3rem;
    grid-template-columns: 2rem 1fr 1.4rem;
  }

  .hero-panel > a > span:nth-child(2) {
    font-size: 1.65rem;
  }

  .hero-panel br {
    display: none;
  }

  .location-bar {
    display: block;
  }

  .location-bar p {
    margin-top: .6rem;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }

  .location-bar p span {
    margin-inline: .6rem;
  }

  .impact-strip {
    margin-top: 1rem;
    margin-bottom: 0;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .impact-strip article {
    min-height: 112px;
    padding: 1.2rem 1.25rem;
  }

  .impact-strip span {
    font-size: 1.55rem;
  }

  .section {
    padding-block: 3.75rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }

  .service-row {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .service-description {
    grid-column: 2;
  }

  .service-title h3 {
    font-size: 1.8rem;
  }

  .service-gallery {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .service-gallery figure:last-child {
    grid-column: 1 / -1;
  }

  .service-gallery img {
    height: 220px;
  }

  .service-gallery figure:last-child img {
    height: 270px;
  }

  .tag {
    margin-top: .75rem;
  }

  .comparison {
    gap: .75rem;
  }

  .comparison img {
    height: 320px;
  }

  .compare-label {
    font-size: .875rem;
    left: .5rem;
    top: .5rem;
  }

  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .clients {
    padding-block: 3.75rem;
  }

  .clients-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .client-logo-grid li {
    min-height: 108px;
    padding: .85rem;
  }

  .client-logo-grid img {
    height: 64px;
  }

  .credentials {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .credentials article,
  .credentials article:first-child,
  .credentials article:last-child {
    padding: 1.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .credential-label {
    margin-bottom: .8rem;
  }

  .credentials h3 {
    margin-bottom: .8rem;
    font-size: 1.9rem;
  }

  .contact h2 {
    font-size: 2.6rem;
  }

  .phone-link {
    font-size: 2rem;
  }

  .email-link {
    font-size: 1.65rem;
  }

  .contact .button {
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
  }

  .contact-action {
    padding-top: 1.3rem;
    border-top: 1px solid #375557;
  }

  .footer {
    flex-wrap: wrap;
    gap: .65rem 1.5rem;
  }

  .footer span:nth-child(2) {
    width: 100%;
    order: 3;
  }

  .footer-social {
    width: 100%;
    order: 4;
  }
}

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

  * {
    transition: none !important;
  }
}
