:root {
  --ink: #101317;
  --ink-soft: #171c20;
  --muted: #687078;
  --line: #d9dde0;
  --paper: #f4f3f0;
  --white: #fff;
  --orange: #f56a16;
  --orange-dark: #cb4f06;
  --green: #25d366;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-enter {
  animation: pageEnter 0.55s ease both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

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

img,
video {
  display: block;
  width: 100%;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ff9c60;
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 4.2vw;
  color: var(--white);
  background: rgba(13, 16, 19, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header.inner {
  position: fixed;
}

.brand {
  display: inline-flex;
  min-width: 215px;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 5px;
  color: #b7bec4;
  font-size: 9px;
  letter-spacing: 0.25em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 30px 0 27px;
  font-size: 13px;
  opacity: 0.78;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--orange);
  transition: right 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a.is-hovered {
  color: #ff9c60;
  opacity: 1;
  transform: translateY(-2px);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}

.site-nav a.is-leaving {
  animation: navPulse 0.35s ease;
}

@keyframes navPulse {
  50% {
    transform: translateY(-2px) scale(1.06);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.language-switch button {
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  cursor: pointer;
  color: #c5cacf;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.language-switch button:hover {
  color: var(--white);
}

.language-switch button.active {
  color: var(--ink);
  background: var(--white);
}

.header-cta {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero,
.subhero {
  position: relative;
  display: flex;
  min-height: 790px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.subhero {
  min-height: 650px;
}

.contact-subhero {
  min-height: 450px;
}

.contact-subhero .hero-content {
  padding-bottom: 30px;
}

.contact-subhero .eyebrow {
  display: none;
}

.contact-subhero h1 {
  max-width: 900px;
  font-size: clamp(44px, 4.1vw, 60px);
}

.contact-subhero .hero-lead {
  margin: 16px 0 0;
}

html[lang="es"] .subhero:not(.contact-subhero) h1 {
  font-size: clamp(44px, 5vw, 76px);
}

html[lang="es"] .contact-subhero h1 {
  font-size: clamp(40px, 3.5vw, 52px);
}

.hero > img,
.subhero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.93), rgba(5, 7, 9, 0.42)),
    linear-gradient(transparent 45%, rgba(5, 7, 9, 0.76));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 86vw);
  padding: 0 0 9vh;
  margin: 0 auto;
}

.hero-content.narrow {
  max-width: 1000px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ff8b45;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(52px, 7vw, 106px);
  line-height: 0.93;
  letter-spacing: -0.052em;
}

.subhero h1 {
  font-size: clamp(48px, 6.3vw, 92px);
}

.hero-lead {
  max-width: 720px;
  margin: 30px 0 34px;
  color: #d9dde0;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

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

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

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

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 7vw;
  color: var(--white);
  background: var(--ink);
}

.stats div {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: center;
  padding: 28px 3vw;
  border-inline-end: 1px solid #34383c;
}

.stats strong {
  font-size: 32px;
}

.stats span {
  margin-top: 8px;
  color: #aeb5ba;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 110px 7vw;
}

.section-actions {
  margin-top: 36px;
}

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

.section.dark {
  color: var(--white);
  background: #111519;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.7;
}

.division-grid,
.split,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.division-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
}

.division-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.division-card:hover img {
  transform: scale(1.035);
}

.division-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(7, 9, 11, 0.94));
}

.division-content {
  position: absolute;
  z-index: 2;
  inset: auto 42px 40px;
}

.division-content .tag,
.card-tag {
  color: #ff9c60;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.division-content h3 {
  max-width: 560px;
  margin: 16px 0 12px;
  font-size: clamp(32px, 3.3vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.division-content p {
  max-width: 560px;
  color: #d0d4d7;
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.advantage-grid,
.equipment-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage,
.proof-card {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.advantage strong,
.proof-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
}

.advantage p,
.proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.filters {
  display: flex;
  gap: 26px;
  margin-bottom: 30px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.filters button {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 15px;
  border: 0;
  color: #7a8187;
  background: transparent;
  cursor: pointer;
}

.filters button.active {
  color: var(--ink);
  font-weight: 700;
}

.filters button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--orange);
}

.equipment-card {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.equipment-card[hidden] {
  display: none;
}

.equipment-card img {
  aspect-ratio: 1.32;
  object-fit: cover;
}

.equipment-card-body {
  padding: 20px 4px 24px;
}

.equipment-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
}

.equipment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.equipment-meta li {
  padding: 6px 8px;
  color: #50585e;
  background: #ecebe7;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.equipment-card p {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  align-items: center;
  gap: 7vw;
}

.split-media {
  position: relative;
}

.split-media img {
  min-height: 560px;
  object-fit: cover;
}

.concept-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(13, 16, 19, 0.86);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.dark .split-copy > p:not(.eyebrow) {
  color: #b6bdc1;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid #3a4045;
  list-style: none;
}

.feature-list li {
  padding: 16px 10px 16px 0;
  border-bottom: 1px solid #3a4045;
  color: #d0d4d7;
}

.feature-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--orange);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cdd1d3;
}

.process-grid article {
  min-height: 250px;
  padding: 28px 28px 20px 0;
  border-right: 1px solid #cdd1d3;
}

.process-grid article + article {
  padding-left: 28px;
}

.process-grid span {
  color: var(--orange);
  font-size: 11px;
}

.process-grid h3 {
  margin: 52px 0 14px;
}

.process-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  padding: 0 7vw 72px;
  color: var(--white);
  background: #0c1013;
}

.contact-layout {
  grid-template-columns: 0.78fr 1.22fr;
  gap: 8vw;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  color: #aeb5ba;
  line-height: 1.75;
}

.direct-contact {
  display: grid;
  margin-top: 26px;
  border-top: 1px solid #363c40;
}

.direct-contact a {
  display: grid;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px solid #363c40;
}

.direct-contact small {
  color: #92999e;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-form {
  padding: 24px 30px 26px;
  background: var(--ink-soft);
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #596167;
}

.form-heading h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.form-heading p {
  flex: none;
  margin: 0;
  color: #a6adb1;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.inquiry-form label span {
  color: #c0c5c8;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid #596167;
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.inquiry-form select {
  color-scheme: dark;
}

.inquiry-form textarea {
  min-height: 70px;
  resize: vertical;
}

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

.form-note {
  color: #a6adb1;
  font-size: 11px;
  line-height: 1.6;
}

.form-status {
  min-height: 45px;
  margin-top: 14px;
  padding: 12px 14px;
  color: #b8bec2;
  background: #111519;
  font-size: 12px;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  color: #c9f7d9;
  border-left: 3px solid #58db85;
}

.form-status.error {
  color: #ffd0c7;
  border-left: 3px solid #ff6f55;
}

.site-footer {
  display: flex;
  min-height: 145px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 7vw;
  border-top: 1px solid #252a2e;
  color: #8f969b;
  background: #07090a;
  font-size: 10px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  padding: 14px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  font-size: 11px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 17px;
  }

  .header-cta {
    display: none;
  }

  .equipment-grid,
  .advantage-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 15px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch button {
    min-height: 28px;
    padding: 0 6px;
    font-size: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: #0d1013;
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #2d3236;
  }

  .site-nav a::after {
    bottom: 8px;
  }

  .hero,
  .subhero {
    min-height: 720px;
  }

  .hero-content {
    width: auto;
    padding: 0 20px 70px;
  }

  h1,
  .subhero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 0 20px;
  }

  .stats div {
    min-height: 104px;
    padding: 20px 14px;
    border-bottom: 1px solid #34383c;
  }

  .section,
  .contact-section {
    padding: 75px 20px;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .section-heading h2,
  .split-copy h2,
  .contact-copy h2 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .division-grid,
  .split,
  .contact-layout,
  .equipment-grid,
  .advantage-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .division-card {
    min-height: 500px;
  }

  .division-content {
    inset: auto 24px 25px;
  }

  .split-media {
    order: -1;
  }

  .split-media img {
    min-height: 420px;
  }

  .feature-list,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .process-grid article,
  .process-grid article + article {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #cdd1d3;
  }

  .process-grid h3 {
    margin: 24px 0 10px;
  }

  .inquiry-form {
    padding: 24px 18px;
  }

  .contact-subhero {
    min-height: 420px;
  }

  .contact-subhero .hero-content {
    padding-bottom: 42px;
  }

  .contact-subhero h1 {
    font-size: 44px;
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  html[lang="es"] .hero h1 {
    font-size: 44px;
  }

  .contact-section {
    padding-top: 56px;
  }

  .form-heading {
    display: block;
  }

  .form-heading p {
    margin-top: 10px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
