:root {
  --font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --ink: #072e41;
  --ink-2: #2d6785;
  --blue-900: #072e41;
  --blue-800: #072e41;
  --blue-700: #2d6785;
  --blue-500: #2d6785;
  --brand-gray: #b3b2b2;
  --orange: #f59e38;
  --orange-2: #ec6833;
  --cream: #f4f4f3;
  --paper: #ffffff;
  --white: #ffffff;
  --muted: #62696c;
  --line: rgba(7, 46, 65, 0.12);
  --shadow: 0 24px 70px rgba(7, 46, 65, 0.16);
  --radius: 24px;
  --container: 1220px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

::selection {
  color: var(--white);
  background: var(--orange);
}

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

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

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

button {
  color: inherit;
}

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

.section {
  position: relative;
  padding: 120px 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-900);
  transition: transform .2s ease;
}

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

.preloader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 42%, rgba(45, 103, 133, .3), transparent 21rem),
    radial-gradient(circle at 80% 15%, rgba(245, 158, 56, .1), transparent 18rem),
    #052536;
  transition: opacity .7s ease, visibility .7s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: grid;
  width: min(360px, calc(100% - 48px));
  justify-items: center;
  text-align: center;
}

.preloader__logo-wrap {
  position: relative;
  display: grid;
  width: clamp(190px, 28vw, 270px);
  min-height: 150px;
  place-items: center;
  isolation: isolate;
}

.preloader__logo-wrap::before {
  position: absolute;
  z-index: -2;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  background: rgba(45, 103, 133, .22);
  filter: blur(35px);
}

.preloader__ring {
  position: absolute;
  z-index: -1;
  width: 146px;
  height: 146px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-top-color: var(--orange);
  border-right-color: rgba(245, 158, 56, .42);
  border-radius: 50%;
  animation: preloader-spin 2.2s linear infinite;
}

.preloader__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, .34));
  animation: preloader-logo 2s ease-in-out infinite alternate;
}

.preloader p {
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.preloader__bar {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .22);
}

.preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  box-shadow: 0 0 18px rgba(245, 158, 56, .6);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.preloader__status {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 9px;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preloader__status strong {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

@keyframes preloader-logo {
  from { transform: translateY(2px) scale(.985); }
  to { transform: translateY(-3px) scale(1); }
}

.scroll-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(7, 46, 65, .92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 154px;
  height: 58px;
  overflow: hidden;
}

.brand img {
  width: 138px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu > a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.nav-menu > a:not(.btn)::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transition: width .25s ease;
}

.nav-menu > a:hover,
.nav-menu > a.is-active {
  color: var(--white);
}

.nav-menu > a:hover::after,
.nav-menu > a.is-active::after {
  width: 100%;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}

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

.btn--small {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 12px;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ec6833);
  box-shadow: 0 14px 34px rgba(245, 158, 56, .28);
}

.btn--primary:hover {
  box-shadow: 0 18px 42px rgba(245, 158, 56, .38);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .1);
}

.btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
}

.btn--outline:hover {
  color: var(--blue-900);
  background: var(--white);
}

.btn--outline-dark {
  color: var(--blue-900);
  border-color: rgba(7, 46, 65, .26);
  background: transparent;
}

.btn--outline-dark:hover {
  color: var(--white);
  border-color: var(--blue-900);
  background: var(--blue-900);
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 820px;
  padding: 150px 0 105px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-900);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  z-index: -5;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 46, 65, .98) 0%, rgba(7, 46, 65, .92) 43%, rgba(7, 46, 65, .38) 100%),
    linear-gradient(0deg, rgba(7, 46, 65, .94) 0%, transparent 45%),
    url("images/hero-cad-cam.jpg") center/cover no-repeat;
  transform: scale(1.02);
  transform-origin: center center;
  animation: hero-zoom 26s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__grid {
  position: absolute;
  z-index: -4;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero__glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(22px);
  animation: float-glow 9s ease-in-out infinite alternate;
}

.hero__glow--one {
  top: 12%;
  right: -100px;
  width: 390px;
  height: 390px;
  background: rgba(245, 158, 56, .2);
}

.hero__glow--two {
  bottom: -150px;
  left: 30%;
  width: 330px;
  height: 330px;
  background: rgba(45, 103, 133, .2);
  animation-delay: -4s;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .55fr);
  align-items: center;
  gap: 90px;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.eyebrow--dark {
  color: var(--blue-700);
}

.eyebrow--light {
  color: rgba(255, 255, 255, .66);
}

.hero h1,
.section-heading h2,
.capabilities__content h2,
.quote__copy h2,
.contact h2 {
  font-family: var(--font-heading);
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(52px, 6.1vw, 88px);
  font-weight: 600;
  line-height: .98;
}

.hero h1 em {
  color: var(--orange-2);
  font-style: normal;
}

.hero__copy > p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 40px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__trust span {
  position: relative;
  padding-left: 16px;
}

.hero__trust span::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--orange);
}

.hero-card {
  width: 100%;
  max-width: 390px;
  margin-left: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .26);
  backdrop-filter: blur(16px);
}

.hero-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #79dfb6;
  box-shadow: 0 0 0 5px rgba(121, 223, 182, .12);
}

.hero-card__visual {
  position: relative;
  display: grid;
  width: 230px;
  height: 230px;
  margin: 30px auto;
  place-items: center;
}

.hero-card__badge {
  position: relative;
  z-index: 2;
  display: grid;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-500), var(--blue-900));
  box-shadow: 0 22px 44px rgba(0, 0, 0, .28), inset 0 1px 1px rgba(255, 255, 255, .35);
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.08em;
  place-items: center;
}

.hero-card__badge::after {
  position: absolute;
  right: -10px;
  bottom: 4px;
  width: 32px;
  height: 32px;
  border: 5px solid var(--blue-900);
  border-radius: 50%;
  content: "";
  background: var(--orange);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.orbit::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--orange);
  box-shadow: 0 0 16px rgba(245, 158, 56, .8);
}

.orbit--one {
  inset: 14px;
}

.orbit--two {
  inset: 36px;
  animation-direction: reverse;
  animation-duration: 10s;
}

.hero-card__items {
  display: grid;
  gap: 8px;
}

.hero-card__items > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-card__items strong {
  color: var(--orange-2);
  font-family: var(--font-heading);
  font-size: 12px;
}

.hero-card__items span {
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero__scroll span {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}

.hero__scroll span::after {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: var(--orange);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.ticker {
  overflow: hidden;
  padding: 17px 0;
  color: var(--white);
  background: var(--orange);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker 34s linear infinite;
  will-change: transform;
}

.ticker span {
  padding-inline: 24px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
}

.ticker i {
  font-style: normal;
  opacity: .6;
}

.section-heading h2,
.capabilities__content h2,
.quote__copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.section-heading > p,
.section-heading--split > p,
.section-heading--center > p {
  color: var(--muted);
}

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

.about::before {
  position: absolute;
  top: 0;
  right: -200px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(10, 81, 109, .08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 55px rgba(10, 81, 109, .025), 0 0 0 115px rgba(10, 81, 109, .02);
}

.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.about__content .lead {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 21px;
  line-height: 1.65;
}

.about__content p:not(.lead) {
  color: var(--muted);
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  transition: transform .25s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--orange-2);
}

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

.principle {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 46, 65, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.principle:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 103, 133, .28);
  box-shadow: var(--shadow);
}

.principle--accent {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
}

.principle__number {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
}

.principle h3 {
  margin: 70px 0 12px;
  font-family: var(--font-heading);
  font-size: 26px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.principle--accent p {
  color: rgba(255, 255, 255, .68);
}

.services {
  color: var(--white);
  background: var(--blue-900);
}

.services::before,
.process::before,
.quote__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 70px;
  align-items: end;
}

.services .section-heading--split > p,
.process .section-heading--center > p,
.quote__copy > p {
  color: rgba(255, 255, 255, .62);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.service-card {
  position: relative;
  min-height: 405px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.service-card::before {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  content: "";
  background: rgba(245, 158, 56, .08);
  filter: blur(4px);
  transition: transform .4s ease, opacity .4s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 56, .45);
  background: rgba(255, 255, 255, .065);
}

.service-card:hover::before {
  transform: scale(1.25);
  opacity: .8;
}

.service-card--featured {
  border-color: rgba(245, 158, 56, .44);
  background: linear-gradient(145deg, rgba(245, 158, 56, .17), rgba(255, 255, 255, .04));
}

.service-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: auto;
  gap: 28px;
}

.service-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  place-items: center;
}

.service-card__icon svg {
  width: 28px;
  fill: none;
  stroke: var(--orange-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-card__index {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(255, 255, 255, .28);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin: 62px 0 15px;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.15;
}

.service-card--wide h3 {
  margin: 0 0 8px;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.capabilities__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 90px;
  align-items: center;
}

.capabilities__visual {
  position: relative;
  min-height: 610px;
}

.capabilities__visual::before {
  position: absolute;
  z-index: 0;
  top: -25px;
  left: -25px;
  width: 60%;
  height: 48%;
  border-radius: 24px;
  content: "";
  background: var(--orange);
}

.capabilities__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 610px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.capabilities__label {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-radius: 16px;
  color: var(--white);
  background: var(--blue-900);
  box-shadow: 0 20px 45px rgba(7, 46, 65, .28);
  font-size: 12px;
  font-weight: 800;
}

.capabilities__label span {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: -.08em;
}

.capabilities__content > p {
  margin: 24px 0 32px;
  color: var(--muted);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.capability-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list span {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
}

.capability-list p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.process {
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(150deg, #2d6785, #072e41 70%);
}

.section-heading--center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

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

.process__line {
  position: relative;
  width: calc(100% - 80px);
  height: 2px;
  margin: 64px auto -16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.process__line span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: line-travel 4.5s ease-in-out infinite;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.process-step {
  min-height: 245px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .04);
  transition: transform .3s ease, background .3s ease;
}

.process-step:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .075);
}

.process-step__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--blue-900);
  background: var(--orange-2);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  place-items: center;
}

.process-step h3 {
  margin: 34px 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.projects {
  background: var(--paper);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.filter-btn {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  border-color: var(--blue-900);
  background: var(--blue-900);
}

.projects__grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.project-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--blue-900);
  transition: opacity .25s ease, transform .25s ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card--tall {
  grid-row: span 2;
}

.project-card--wide {
  grid-column: span 2;
}

.project-card__button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.project-card__button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(7, 46, 65, .9) 100%);
  transition: background .3s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1), filter .3s ease;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.02);
}

.project-card__zoom {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 46, 65, .38);
  backdrop-filter: blur(8px);
  place-items: center;
  transition: transform .25s ease, background .25s ease;
}

.project-card:hover .project-card__zoom {
  transform: rotate(90deg);
  background: var(--orange);
}

.project-card figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  pointer-events: none;
}

.project-card figcaption span {
  display: block;
  color: var(--orange-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-card figcaption strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 20px;
}

.projects__note {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.quote {
  overflow: hidden;
  color: var(--white);
  background: var(--blue-900);
}

.quote::before {
  position: absolute;
  top: -240px;
  right: -170px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  content: "";
  background: rgba(245, 158, 56, .13);
  filter: blur(28px);
}

.quote__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.quote__copy > p {
  margin-top: 24px;
}

.quote__contacts {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.quote__contacts a {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.quote__contacts span {
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quote__contacts strong {
  color: var(--white);
  font-size: 14px;
}

.quote-form {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.quote-form input,
.quote-form select {
  height: 52px;
  padding: 0 15px;
}

.quote-form textarea {
  min-height: 145px;
  padding: 14px 15px;
  resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, .32);
}

.quote-form select option {
  color: var(--ink);
  background: var(--white);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 4px rgba(245, 158, 56, .1);
}

.quote-form .is-invalid {
  border-color: #ff7d7d;
}

.checkbox {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px !important;
  margin: 0 0 20px !important;
  cursor: pointer;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--orange-2);
  font-size: 12px;
  text-align: center;
}

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

.faq__grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 100px;
  align-items: start;
}

.faq .section-heading > p {
  margin-bottom: 30px;
}

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

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

.accordion summary {
  position: relative;
  padding: 24px 54px 24px 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.accordion summary span,
.accordion summary span::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: translateY(-50%);
  transition: transform .25s ease;
}

.accordion summary span::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.accordion details[open] summary span::after {
  transform: rotate(0);
}

.accordion details p {
  max-width: 690px;
  margin: -6px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding: 80px 0;
  color: var(--white);
  background: #072e41;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 50px;
}

.contact__brand img {
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}

.contact__brand p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, .54);
  font-size: 13px;
}

.contact__slogan {
  display: block;
  margin-top: 24px;
  color: var(--orange-2);
  font-family: var(--font-heading);
  font-size: 18px;
}

.contact h2 {
  margin: 0 0 20px;
  color: var(--brand-gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact__col p {
  margin: 0 0 8px;
}

.contact__col a {
  display: block;
  margin: 4px 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  word-break: break-word;
}

.contact__col a:hover {
  color: var(--orange-2);
}

.contact address {
  max-width: 280px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  padding: 24px 0;
  color: var(--brand-gray);
  background: #072e41;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer__inner > div {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--orange-2);
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  place-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.whatsapp-float svg {
  width: 29px;
  fill: currentColor;
}

.lightbox {
  width: min(1000px, calc(100% - 32px));
  max-width: none;
  max-height: 90vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(2, 18, 25, .9);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .65, .2, 1);
}

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

.reveal--delay,
.reveal--delay-1 {
  transition-delay: .12s;
}

.reveal--delay-2 {
  transition-delay: .24s;
}

@keyframes hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

@keyframes float-glow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-35px, 25px, 0) scale(1.12); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes line-travel {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}

@media (max-width: 1100px) {
  :root {
    --header-h: 76px;
  }

  .nav-menu {
    gap: 18px;
  }

  .hero__content {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 74px);
  }

  .about__grid,
  .capabilities__grid,
  .quote__grid,
  .faq__grid {
    gap: 60px;
  }

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

  .service-card--wide {
    grid-column: 1 / -1;
  }

  .projects__grid {
    grid-auto-rows: 240px;
  }

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

  .contact__grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .nav-menu {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 80px 34px 34px;
    opacity: 0;
    visibility: hidden;
    background: rgba(4, 31, 44, .98);
    transform: translateY(-14px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu > a:not(.btn) {
    font-family: var(--font-heading);
    font-size: 30px;
  }

  .nav-menu .btn {
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

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

  .hero-card {
    max-width: 100%;
    margin: 0;
  }

  .hero-card__visual {
    float: right;
    width: 190px;
    height: 190px;
    margin: 5px 0 15px 20px;
  }

  .about__grid,
  .capabilities__grid,
  .quote__grid,
  .faq__grid,
  .section-heading--split {
    grid-template-columns: 1fr;
  }

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

  .principle {
    min-height: auto;
  }

  .principle h3 {
    margin-top: 34px;
  }

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

  .capabilities__visual,
  .capabilities__visual img {
    min-height: 480px;
    height: 480px;
  }

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

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

  .project-card--large,
  .project-card--wide {
    grid-column: span 2;
  }

  .project-card--tall {
    grid-row: span 1;
  }

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

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

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

  .section {
    padding: 82px 0;
  }

  .brand {
    width: 130px;
  }

  .brand img {
    width: 118px;
  }

  .hero {
    padding: 124px 0 88px;
  }

  .hero__media {
    background:
      linear-gradient(90deg, rgba(7, 46, 65, .98), rgba(7, 46, 65, .76)),
      linear-gradient(0deg, rgba(7, 46, 65, .98), transparent 48%),
      url("images/hero-cad-cam.jpg") 56% center/cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-card__visual {
    float: none;
    width: 180px;
    height: 180px;
    margin: 22px auto;
  }

  .hero__scroll {
    display: none;
  }

  .section-heading h2,
  .capabilities__content h2,
  .quote__copy h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .services__grid,
  .process__grid,
  .projects__grid,
  .contact__grid,
  .form-row,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .service-card--wide {
    grid-template-columns: 1fr;
  }

  .service-card--wide .btn {
    width: 100%;
  }

  .capabilities__visual,
  .capabilities__visual img {
    min-height: 390px;
    height: 390px;
  }

  .capabilities__label {
    right: 14px;
    bottom: 14px;
  }

  .process__line {
    display: none;
  }

  .projects__grid {
    grid-auto-rows: 300px;
  }

  .project-card--large,
  .project-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .quote-form {
    padding: 22px;
  }

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

  .site-footer__inner,
  .site-footer__inner > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .lightbox__close {
    top: -12px;
    right: -5px;
  }
}

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

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

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

/* Refinamiento visual 2026
   Mantiene intacta la arquitectura y el contenido del sitio. */
:root {
  --ink: #072e41;
  --ink-2: #2d6785;
  --blue-900: #072e41;
  --blue-800: #072e41;
  --blue-700: #2d6785;
  --blue-500: #2d6785;
  --brand-gray: #b3b2b2;
  --orange: #f59e38;
  --orange-2: #ec6833;
  --cream: #f4f4f3;
  --paper: #ffffff;
  --muted: #62696c;
  --line: rgba(7, 46, 65, .12);
  --shadow: 0 28px 80px rgba(7, 46, 65, .16);
  --shadow-soft: 0 16px 50px rgba(7, 46, 65, .08);
  --radius: 28px;
  --container: 1260px;
}

body {
  background:
    radial-gradient(circle at 8% 22%, rgba(45, 103, 133, .055), transparent 23rem),
    var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.accordion summary {
  font-family: var(--font-heading);
}

.hero h1,
.section-heading h2,
.capabilities__content h2,
.quote__copy h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .008em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.1;
}

.principle h3,
.service-card h3,
.process-step h3,
.project-card figcaption strong {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
}

.section-heading h2,
.capabilities__content h2,
.quote__copy h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.preloader__mark,
.hero-card__badge,
.principle__number,
.service-card__index,
.capabilities__label span,
.capability-list span,
.process-step__number {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .035em;
}

.eyebrow,
.ticker span,
.contact__slogan {
  font-family: var(--font-heading);
  font-weight: 600;
}

.nav-menu > a:not(.btn),
.btn,
.eyebrow {
  letter-spacing: .035em;
}

.nav-menu > a,
.btn,
button,
input,
select,
textarea,
.service-card p,
.service-card li,
.quote-form,
.contact,
.site-footer {
  font-family: var(--font-body);
}

.nav-menu > a:not(.btn) {
  font-size: 15px;
  font-weight: 600;
}

.btn {
  font-weight: 700;
}

p {
  line-height: 1.65;
}

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

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

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 35, 49, .84);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14);
  backdrop-filter: blur(22px) saturate(1.2);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.brand {
  width: 142px;
  height: 70px;
  overflow: visible;
}

.brand img {
  width: 130px;
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .22));
}

.contact__brand img {
  width: min(270px, 100%);
}

.nav-menu {
  gap: 8px;
}

.nav-menu > a:not(.btn) {
  padding: 10px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.nav-menu > a:not(.btn)::after {
  display: none;
}

.nav-menu > a:not(.btn):hover,
.nav-menu > a:not(.btn).is-active {
  background: rgba(255, 255, 255, .09);
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  padding-inline: 25px;
  border-radius: 16px;
}

.btn::before {
  position: absolute;
  top: -60%;
  left: -65%;
  width: 48%;
  height: 220%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
  transform: rotate(18deg);
  transition: left .6s ease;
}

.btn:hover::before {
  left: 125%;
}

.btn--small {
  min-height: 44px;
  border-radius: 13px;
}

.btn--primary {
  background: linear-gradient(135deg, #f59e38, #ec6833);
  box-shadow: 0 16px 35px rgba(245, 158, 56, .3);
}

.hero {
  min-height: min(920px, 100svh);
  padding-top: 162px;
  background: #072e41;
}

.hero::after {
  position: absolute;
  z-index: -2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 190px;
  content: "";
  background: linear-gradient(to top, rgba(3, 31, 43, .82), transparent);
  pointer-events: none;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(4, 38, 53, .98) 0%, rgba(4, 38, 53, .9) 44%, rgba(4, 38, 53, .18) 100%),
    linear-gradient(0deg, rgba(4, 38, 53, .9) 0%, transparent 50%),
    url("images/hero-cad-cam.jpg") center/cover no-repeat;
  filter: saturate(.9) contrast(1.05);
}

.hero__grid {
  opacity: .1;
  background-size: 86px 86px;
}

.hero__content {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .52fr);
  gap: clamp(48px, 7vw, 105px);
}

.hero__copy {
  max-width: 790px;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .012em;
  text-wrap: balance;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: #f59e38;
  font-weight: 700;
}

.hero h1 em::after {
  position: absolute;
  right: 2px;
  bottom: -5px;
  left: 2px;
  height: 5px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: .7;
}

.hero__copy > p {
  max-width: 700px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(8px);
}

.eyebrow--dark {
  border-color: rgba(7, 93, 120, .12);
  background: rgba(7, 93, 120, .055);
}

.hero__trust {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-card {
  position: relative;
  padding: 30px;
  border-color: rgba(255, 255, 255, .2);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .035)),
    rgba(4, 38, 53, .36);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .3);
}

.hero-card::before {
  position: absolute;
  top: -1px;
  right: 12%;
  left: 12%;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--orange-2), transparent);
}

.hero-card__items > div {
  grid-template-columns: 42px 1fr;
  padding-block: 12px;
}

.ticker {
  position: relative;
  z-index: 3;
  padding-block: 15px;
  background: linear-gradient(90deg, #ec6833, var(--orange), #f59e38);
  box-shadow: 0 10px 34px rgba(245, 158, 56, .24);
}

.ticker span {
  font-size: 11px;
  letter-spacing: .16em;
}

.section-heading h2,
.capabilities__content h2,
.quote__copy h2 {
  text-wrap: balance;
}

.about {
  background:
    linear-gradient(120deg, transparent 60%, rgba(45, 103, 133, .045)),
    var(--paper);
}

.about__content .lead {
  color: var(--ink);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.7;
}

.principles {
  gap: 22px;
}

.principle {
  position: relative;
  overflow: hidden;
  border-color: rgba(7, 46, 65, .09);
  box-shadow: var(--shadow-soft);
}

.principle::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 5px;
  border-radius: 999px 0 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--orange));
}

.principle--accent {
  background:
    radial-gradient(circle at 100% 0, rgba(245, 158, 56, .22), transparent 38%),
    linear-gradient(145deg, var(--blue-700), var(--blue-900));
}

.services {
  background:
    radial-gradient(circle at 88% 10%, rgba(45, 103, 133, .22), transparent 30rem),
    radial-gradient(circle at 10% 92%, rgba(245, 158, 56, .11), transparent 28rem),
    var(--blue-900);
}

.services__grid {
  gap: 20px;
}

.service-card {
  border-color: rgba(255, 255, 255, .11);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.service-card:hover {
  transform: translateY(-9px);
  border-color: rgba(245, 158, 56, .52);
  background: linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .04));
  box-shadow: 0 28px 60px rgba(0, 0, 0, .18);
}

.service-card--featured {
  background:
    radial-gradient(circle at 95% 90%, rgba(245, 158, 56, .18), transparent 45%),
    linear-gradient(145deg, rgba(245, 158, 56, .2), rgba(255, 255, 255, .04));
}

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

.service-card li {
  background: rgba(255, 255, 255, .04);
}

.capabilities {
  background:
    radial-gradient(circle at 12% 76%, rgba(245, 158, 56, .1), transparent 24rem),
    var(--cream);
}

.capabilities__visual::before {
  top: -20px;
  left: -20px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--orange), #ec6833);
  box-shadow: 0 20px 45px rgba(245, 158, 56, .22);
}

.capabilities__visual img {
  border: 8px solid rgba(255, 255, 255, .72);
  border-radius: 34px;
}

.capabilities__label {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(7, 46, 65, .26);
}

.capability-list > div {
  transition: padding-left .25s ease, background .25s ease;
}

.capability-list > div:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, .4);
}

.process {
  background:
    radial-gradient(circle at 15% 12%, rgba(45, 103, 133, .24), transparent 28rem),
    linear-gradient(150deg, #2d6785, #072e41 68%);
}

.process-step {
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.process-step:hover {
  border-color: rgba(245, 158, 56, .36);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
}

.process-step__number {
  box-shadow: 0 9px 24px rgba(245, 158, 56, .2);
}

.projects {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 28rem),
    var(--paper);
}

.filter-btn {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 13px;
}

.projects__grid {
  gap: 20px;
}

.project-card {
  border: 1px solid rgba(7, 46, 65, .08);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(7, 46, 65, .1);
}

.project-card__button::after {
  background: linear-gradient(180deg, rgba(7, 46, 65, .02) 34%, rgba(7, 46, 65, .94) 100%);
}

.project-card:hover {
  box-shadow: 0 28px 65px rgba(7, 46, 65, .18);
}

.project-card:hover img {
  transform: scale(1.075);
}

.project-card figcaption {
  right: 28px;
  bottom: 26px;
  left: 28px;
}

.project-card figcaption strong {
  margin-top: 5px;
  font-size: 22px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .3);
}

.quote {
  background:
    radial-gradient(circle at 92% 12%, rgba(245, 158, 56, .19), transparent 28rem),
    radial-gradient(circle at 6% 92%, rgba(45, 103, 133, .19), transparent 30rem),
    var(--blue-900);
}

.quote-form {
  padding: clamp(28px, 4vw, 44px);
  border-color: rgba(255, 255, 255, .17);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .045));
  box-shadow: 0 38px 90px rgba(0, 0, 0, .23);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border-color: rgba(255, 255, 255, .17);
  border-radius: 15px;
  background: rgba(1, 20, 29, .24);
}

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

.quote__contacts a {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.quote__contacts a:hover {
  border-color: rgba(245, 158, 56, .28);
  background: rgba(255, 255, 255, .07);
  transform: translateX(5px);
}

.faq {
  background:
    radial-gradient(circle at 8% 10%, rgba(45, 103, 133, .08), transparent 22rem),
    var(--cream);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details,
.accordion details:last-child {
  overflow: hidden;
  border: 1px solid rgba(7, 46, 65, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 10px 28px rgba(7, 46, 65, .055);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.accordion details[open] {
  border-color: rgba(45, 103, 133, .24);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 38px rgba(7, 46, 65, .08);
}

.accordion summary {
  padding-inline: 20px;
}

.accordion details p {
  padding-inline: 20px;
}

.contact {
  position: relative;
  padding-block: 90px;
  background:
    radial-gradient(circle at 0 100%, rgba(45, 103, 133, .12), transparent 24rem),
    #072e41;
}

.contact::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: .6;
}

.contact__grid {
  gap: 42px;
}

.contact__col {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .09);
}

.contact__col a {
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .045);
}

.whatsapp-float {
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24), 0 0 0 0 rgba(37, 211, 102, .25);
  animation: whatsapp-pulse 3.4s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0%, 55%, 100% { box-shadow: 0 14px 36px rgba(0, 0, 0, .24), 0 0 0 0 rgba(37, 211, 102, .25); }
  75% { box-shadow: 0 14px 36px rgba(0, 0, 0, .24), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@media (max-width: 1100px) {
  .brand {
    width: 122px;
    height: 62px;
  }

  .brand img {
    width: 112px;
    max-height: 62px;
  }

  .nav-menu {
    gap: 2px;
  }

  .nav-menu > a:not(.btn) {
    padding-inline: 9px;
  }

  .hero h1 {
    font-size: clamp(36px, 5.5vw, 52px);
  }
}

@media (max-width: 880px) {
  .nav-menu {
    gap: 18px;
    background:
      radial-gradient(circle at 90% 10%, rgba(245, 158, 56, .15), transparent 20rem),
      rgba(4, 31, 44, .985);
  }

  .nav-menu > a:not(.btn) {
    width: 100%;
    padding: 7px 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    max-width: 620px;
    margin-top: 10px;
  }

  .contact__col {
    padding-left: 18px;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 114px;
    height: 58px;
  }

  .brand img {
    width: 106px;
    max-height: 58px;
  }

  .section {
    padding-block: 84px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1.1;
  }

  .section-heading h2,
  .capabilities__content h2,
  .quote__copy h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero h1 em::after {
    height: 3px;
  }

  .eyebrow {
    padding: 6px 9px;
    font-size: 10px;
  }

  .hero__trust {
    gap: 10px 14px;
    font-size: 9px;
  }

  .btn {
    min-height: 54px;
  }

  .principles,
  .services__grid,
  .process__grid,
  .projects__grid {
    gap: 14px;
  }

  .principle,
  .service-card,
  .process-step,
  .project-card {
    border-radius: 22px;
  }

  .project-card figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .quote-form {
    padding: 22px;
    border-radius: 24px;
  }

  .accordion summary,
  .accordion details p {
    padding-inline: 16px;
  }

  .contact__grid {
    gap: 34px;
  }

  .contact__col {
    padding: 0 0 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

.service-card--with-image {
  min-height: 520px;
}

.service-card__media {
  width: calc(100% + 60px);
  height: clamp(150px, 15vw, 190px);
  margin: -30px -30px 24px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1), filter .3s ease;
}

.service-card__media--maintenance img {
  object-position: 60% center;
}

.service-card__media--survey img {
  object-position: 68% center;
}

.service-card__media--repair img {
  object-position: 74% center;
}

.service-card--with-image:hover .service-card__media img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.service-card--with-image h3 {
  margin-top: 0;
}

.service-card:not(.service-card--wide) {
  display: flex;
  flex-direction: column;
}

.service-card:not(.service-card--wide) ul {
  margin-bottom: 26px;
}

.service-card__cta {
  min-height: 50px;
  margin-top: auto;
  border-color: rgba(255, 255, 255, .14);
  color: var(--white);
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 14px 30px rgba(18, 140, 126, .22);
}

.service-card__cta:hover {
  border-color: rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, #2be070, #0f796d);
  box-shadow: 0 18px 38px rgba(18, 140, 126, .32);
}

.service-card--wide .service-card__cta {
  margin-top: 0;
}

@media (max-width: 640px) {
  .service-card--with-image {
    min-height: auto;
  }

  .service-card__media {
    height: 165px;
  }
}

/* Ajustes responsive finales */
@media (max-width: 880px) {
  .section {
    padding-block: 82px;
  }

  .nav-menu {
    justify-content: flex-start;
    padding: max(104px, calc(env(safe-area-inset-top) + 88px)) 28px 34px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 90% 10%, rgba(245, 158, 56, .14), transparent 20rem),
      rgba(7, 46, 65, .99);
    overscroll-behavior: contain;
  }

  .nav-menu > a:not(.btn) {
    display: flex;
    min-height: 42px;
    align-items: center;
  }

  .nav-menu .btn {
    width: min(100%, 320px);
  }

  .hero {
    padding-bottom: 82px;
  }

  .hero__media {
    background:
      linear-gradient(90deg, rgba(7, 46, 65, .98) 0%, rgba(7, 46, 65, .9) 48%, rgba(7, 46, 65, .34) 100%),
      linear-gradient(0deg, rgba(7, 46, 65, .94) 0%, transparent 52%),
      url("images/hero-cad-cam.jpg") 58% center/cover no-repeat;
  }

  .section-heading--split > p {
    max-width: 680px;
  }

  .quote__contacts strong,
  .contact__col a,
  .site-footer {
    overflow-wrap: anywhere;
  }
}

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

  .section {
    padding-block: 68px;
  }

  .site-header,
  .navbar {
    height: 72px;
  }

  .nav-menu {
    gap: 8px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .nav-menu > a:not(.btn) {
    min-height: 44px;
    font-size: 17px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .hero {
    min-height: 100svh;
    padding: 108px 0 68px;
  }

  .hero__media {
    background:
      linear-gradient(90deg, rgba(7, 46, 65, .99) 0%, rgba(7, 46, 65, .92) 54%, rgba(7, 46, 65, .5) 100%),
      linear-gradient(0deg, rgba(7, 46, 65, .97) 0%, transparent 58%),
      url("images/hero-cad-cam.jpg") 64% center/cover no-repeat;
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 12ch;
    margin-bottom: 20px;
    font-size: clamp(34px, 10.4vw, 43px);
  }

  .hero__copy > p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 28px;
    padding-top: 20px;
    font-size: 10px;
  }

  .ticker {
    padding-block: 12px;
  }

  .ticker span {
    padding-inline: 18px;
    font-size: 10px;
  }

  .section-heading h2,
  .capabilities__content h2,
  .quote__copy h2 {
    font-size: clamp(30px, 9.5vw, 40px);
    line-height: 1.08;
  }

  .about__content .lead {
    font-size: 18px;
    line-height: 1.6;
  }

  .about__actions {
    display: grid;
    gap: 14px;
  }

  .principle,
  .service-card,
  .process-step {
    padding: 24px;
  }

  .principle h3 {
    margin-top: 28px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__media {
    width: calc(100% + 48px);
    height: clamp(155px, 48vw, 190px);
    margin: -24px -24px 22px;
  }

  .service-card h3 {
    margin-top: 42px;
  }

  .service-card--with-image h3,
  .service-card--wide h3 {
    margin-top: 0;
  }

  .service-card ul {
    gap: 7px;
    margin-top: 20px;
  }

  .service-card--wide {
    gap: 18px;
  }

  .capabilities__visual,
  .capabilities__visual img {
    min-height: 320px;
    height: 320px;
  }

  .capabilities__visual::before {
    top: -12px;
    left: -12px;
  }

  .capabilities__label {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 13px 16px;
    font-size: 12px;
  }

  .capability-list > div {
    min-width: 0;
  }

  .process-step {
    min-height: auto;
  }

  .process-step h3 {
    margin-top: 24px;
  }

  .projects__grid {
    grid-auto-rows: 265px;
  }

  .project-filters {
    gap: 7px;
    margin-top: 30px;
  }

  .filter-btn {
    min-height: 40px;
    padding-inline: 14px;
  }

  .project-card figcaption strong {
    font-size: 20px;
  }

  .quote__grid {
    gap: 42px;
  }

  .quote__contacts {
    margin-top: 28px;
  }

  .quote__contacts a {
    padding: 15px;
  }

  .quote-form {
    padding: 20px;
  }

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

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px;
  }

  .faq__grid {
    gap: 42px;
  }

  .accordion summary {
    min-height: 64px;
    padding: 16px 48px 16px 16px;
    line-height: 1.35;
  }

  .accordion details p {
    padding: 0 16px 18px;
  }

  .contact {
    padding-block: 64px;
  }

  .contact__brand img {
    width: min(220px, 82%);
  }

  .contact__col {
    padding-left: 14px;
  }

  .site-footer {
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .site-footer__inner {
    gap: 12px;
    line-height: 1.55;
  }

  .whatsapp-float {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .lightbox {
    width: calc(100% - 24px);
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(32px, 10.5vw, 39px);
  }

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

  .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .projects__grid {
    grid-auto-rows: 240px;
  }

  .quote-form {
    padding: 17px;
  }

  .checkbox {
    grid-template-columns: 20px 1fr;
  }
}

@media (max-width: 880px) and (max-height: 600px) {
  .nav-menu {
    padding-top: 82px;
  }
}

/* Tipografía profesional y legible: Manrope para títulos, Inter para lectura. */
body {
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.accordion summary {
  letter-spacing: -.024em;
}

.hero h1 {
  max-width: 900px;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.035em;
}

.hero h1 em {
  font-weight: 800;
}

.section-heading h2,
.capabilities__content h2,
.quote__copy h2,
.manufacturing h2,
.client-trust__heading h2 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.principle h3,
.service-card h3,
.process-step h3,
.project-card figcaption strong {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.018em;
}

.btn,
.filter-btn {
  font-weight: 700;
  letter-spacing: -.005em;
}

.nav-menu > a:not(.btn) {
  letter-spacing: .01em;
}

.eyebrow,
.client-trust__eyebrow,
.manufacturing__eyebrow,
.manufacturing__proof-title,
.ticker span {
  letter-spacing: .1em;
}

h2[data-watermark]::before {
  font-weight: 800;
  letter-spacing: .02em;
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: 16ch;
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.09;
    letter-spacing: -.032em;
  }

  .section-heading h2,
  .capabilities__content h2,
  .quote__copy h2,
  .manufacturing h2,
  .client-trust__heading h2 {
    letter-spacing: -.026em;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    max-width: 15ch;
    font-size: clamp(30px, 9vw, 36px);
  }
}

/* Movimiento industrial sutil: retícula técnica y barrido de luz. */
.client-trust,
.about,
.services,
.manufacturing,
.capabilities,
.process,
.projects,
.quote,
.faq {
  overflow: hidden;
  isolation: isolate;
}

.client-trust::after,
.about::after,
.services::after,
.manufacturing::after,
.capabilities::after,
.process::after,
.projects::after,
.quote::after,
.faq::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(110deg, transparent 42%, rgba(245, 158, 56, .07) 49%, rgba(255, 255, 255, .035) 50%, transparent 57%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: 38% 100%, 68px 68px, 68px 68px;
  opacity: .7;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  animation: industrial-scan 24s linear infinite;
}

.client-trust > .container,
.about > .container,
.services > .container,
.manufacturing > .container,
.capabilities > .container,
.process > .container,
.projects > .container,
.quote > .container,
.faq > .container {
  position: relative;
  z-index: 1;
}

.hero__grid,
.manufacturing__grid-lines {
  animation: industrial-grid-drift 22s linear infinite;
}

@keyframes industrial-scan {
  from { background-position: -65% 0, 0 0, 0 0; }
  to { background-position: 165% 0, 68px 68px, 68px 68px; }
}

@keyframes industrial-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 86px 86px; }
}

/* Escala más contenida para botones y encabezados. */
.btn,
.filter-btn {
  min-height: 46px;
  padding: 10px 18px;
  gap: 8px;
  border-radius: 13px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
}

.btn--small {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 11px;
  font-size: clamp(13px, .9vw, 14px);
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(32px, 4vw, 50px);
}

.section-heading h2,
.capabilities__content h2,
.quote__copy h2,
.client-trust__heading h2 {
  font-size: clamp(27px, 3.2vw, 38px);
}

.manufacturing h2 {
  font-size: clamp(30px, 3.8vw, 44px);
}

.principle h3,
.service-card h3,
.process-step h3,
.project-card figcaption strong {
  font-size: clamp(19px, 2vw, 24px);
}

h2[data-watermark]::before {
  margin-bottom: 10px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .88;
}

@media (max-width: 640px) {
  .client-trust::after,
  .about::after,
  .services::after,
  .manufacturing::after,
  .capabilities::after,
  .process::after,
  .projects::after,
  .quote::after,
  .faq::after {
    background-size: 65% 100%, 54px 54px, 54px 54px;
    opacity: .5;
    animation-duration: 30s;
  }

  .btn,
  .filter-btn {
    min-height: 44px;
    padding: 9px 15px;
    font-size: 14px;
  }

  .nav-menu .btn {
    min-height: 46px;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(30px, 8.3vw, 36px);
  }

  .section-heading h2,
  .capabilities__content h2,
  .quote__copy h2,
  .client-trust__heading h2,
  .manufacturing h2 {
    font-size: clamp(25px, 7.5vw, 32px);
  }

  h2[data-watermark]::before {
    font-size: clamp(32px, 10vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-trust::after,
  .about::after,
  .services::after,
  .manufacturing::after,
  .capabilities::after,
  .process::after,
  .projects::after,
  .quote::after,
  .faq::after,
  .hero__grid,
  .manufacturing__grid-lines {
    animation: none;
  }
}

/* Clientes destacados: prueba de confianza inmediatamente después del hero. */
.client-trust {
  position: relative;
  padding: clamp(46px, 6vw, 78px) 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 15%, rgba(245, 158, 56, .15), transparent 22rem),
    radial-gradient(circle at 92% 90%, rgba(45, 103, 133, .28), transparent 28rem),
    linear-gradient(145deg, #0a3a4d 0%, #062b3c 58%, #041f2d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.client-trust__inner {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.6fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.client-trust__heading {
  max-width: 430px;
}

.client-trust__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.client-trust__heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.client-trust__heading p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.7;
}

.client-trust__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.client-logo {
  display: grid;
  min-height: 142px;
  padding: 24px;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.client-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 128, 31, .45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
}

.client-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82px;
  filter: invert(1) brightness(1.16);
  object-fit: contain;
  opacity: .92;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.client-logo:hover img {
  filter: invert(1) brightness(1.35);
  opacity: 1;
  transform: scale(1.035);
}

@media (max-width: 900px) {
  .client-trust__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .client-trust__heading {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .client-trust {
    padding: 42px 0 48px;
  }

  .client-trust__heading {
    text-align: center;
  }

  .client-trust__logos {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .client-logo {
    min-height: 112px;
    padding: 18px 24px;
    border-radius: 14px;
  }

  .client-logo img {
    max-width: min(100%, 230px);
    max-height: 72px;
  }
}

/* Tema industrial oscuro: elimina los fondos claros de las secciones principales. */
.about,
.capabilities,
.projects,
.faq {
  color: var(--white);
}

.about {
  background:
    radial-gradient(circle at 88% 16%, rgba(45, 103, 133, .22), transparent 28rem),
    linear-gradient(145deg, #062c3d 0%, #041f2d 64%, #052736 100%);
}

.about::before {
  border-color: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .016), 0 0 0 115px rgba(255, 255, 255, .01);
}

.about__content .lead,
.about .section-heading h2,
.principle h3 {
  color: var(--white);
}

.about__content p:not(.lead),
.principle p {
  color: rgba(255, 255, 255, .66);
}

.about .text-link {
  color: var(--orange-2);
}

.principle {
  border-color: rgba(255, 255, 255, .1);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 42px rgba(0, 0, 0, .16);
}

.principle:hover {
  border-color: rgba(245, 158, 56, .38);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .24);
}

.principle--accent {
  background:
    radial-gradient(circle at 100% 0, rgba(245, 158, 56, .22), transparent 38%),
    linear-gradient(145deg, #0b4660, #06283a);
}

.capabilities {
  background:
    radial-gradient(circle at 10% 78%, rgba(245, 158, 56, .1), transparent 26rem),
    radial-gradient(circle at 92% 12%, rgba(45, 103, 133, .24), transparent 28rem),
    linear-gradient(145deg, #0a3b50 0%, #062b3c 62%, #041f2c 100%);
}

.capabilities__content h2,
.capability-list strong {
  color: var(--white);
}

.capabilities__content > p {
  color: rgba(255, 255, 255, .66);
}

.capabilities__visual img {
  border-color: rgba(255, 255, 255, .12);
}

.capability-list {
  border-top-color: rgba(255, 255, 255, .12);
}

.capability-list > div {
  border-bottom-color: rgba(255, 255, 255, .12);
}

.capability-list > div:hover {
  background: rgba(255, 255, 255, .055);
}

.projects {
  background:
    radial-gradient(circle at 90% 8%, rgba(45, 103, 133, .22), transparent 28rem),
    linear-gradient(145deg, #041f2c 0%, #062b3b 54%, #073449 100%);
}

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

.projects .section-heading > p,
.projects__note {
  color: rgba(255, 255, 255, .64);
}

.project-card {
  border-color: rgba(255, 255, 255, .11);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.project-card:hover {
  box-shadow: 0 28px 65px rgba(0, 0, 0, .32);
}

.faq {
  background:
    radial-gradient(circle at 8% 10%, rgba(45, 103, 133, .24), transparent 24rem),
    linear-gradient(145deg, #0a3a4d 0%, #062b3c 58%, #041f2d 100%);
}

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

.faq .section-heading > p {
  color: rgba(255, 255, 255, .64);
}

.accordion details,
.accordion details:last-child {
  border-color: rgba(255, 255, 255, .11);
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 12px 30px rgba(0, 0, 0, .14);
}

.accordion details[open] {
  border-color: rgba(245, 158, 56, .3);
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
}

.accordion summary {
  color: var(--white);
}

.accordion details p {
  color: rgba(255, 255, 255, .66);
}

.about h2[data-watermark]::before,
.capabilities h2[data-watermark]::before,
.projects h2[data-watermark]::before,
.faq h2[data-watermark]::before {
  color: rgba(255, 255, 255, .15);
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--orange);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-shadow: 0 3px 20px rgba(245, 158, 56, .28);
  backdrop-filter: none;
}

.hero .eyebrow span {
  display: none;
}

@media (max-width: 640px) {
  .hero .eyebrow {
    margin-bottom: 18px;
    padding: 0;
    font-size: 12px;
    letter-spacing: .09em;
  }
}

/* Títulos fantasma: doble lectura industrial en encabezados de sección */
h2[data-watermark] {
  position: relative;
}

h2[data-watermark]::before {
  content: attr(data-watermark);
  display: block;
  position: static;
  margin: 0 0 12px;
  color: rgba(7, 46, 65, 0.16);
  font-family: var(--font-heading);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.045em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.section-heading--center h2[data-watermark]::before {
  text-align: center;
}

.services h2[data-watermark]::before,
.process h2[data-watermark]::before,
.quote h2[data-watermark]::before {
  color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
  h2[data-watermark]::before {
    margin-bottom: 10px;
    font-size: clamp(38px, 12vw, 56px);
    line-height: 0.9;
    letter-spacing: 0.025em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .section-heading--center h2[data-watermark]::before {
    text-align: center;
  }
}

/* Botones: tipografía y presencia alineadas con el título principal */
.btn,
.filter-btn {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 600;
  letter-spacing: .02em;
}

.btn--small {
  font-size: clamp(15px, 1.1vw, 17px);
}

.btn__icon,
.filter-btn__icon {
  flex: 0 0 auto;
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__icon--whatsapp {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  stroke: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.project-card__zoom svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .btn,
  .filter-btn {
    font-size: 17px;
  }

  .btn--small {
    font-size: 16px;
  }
}

/* Manufactura industrial de precisión */
.manufacturing {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 48%, rgba(45, 103, 133, .34), transparent 31rem),
    linear-gradient(128deg, #041f2d 0%, var(--blue-900) 54%, #0a3b52 100%);
  isolation: isolate;
}

.manufacturing::before {
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -150px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .018),
    0 0 0 145px rgba(255, 255, 255, .012);
}

.manufacturing__grid-lines {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 32%, #000 100%);
  pointer-events: none;
}

.manufacturing__layout {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  align-items: center;
  min-height: 650px;
  gap: clamp(38px, 5vw, 76px);
}

.manufacturing__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.manufacturing__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manufacturing__eyebrow::before {
  width: 32px;
  height: 2px;
  flex: 0 0 auto;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

.manufacturing h2 {
  max-width: 690px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: .005em;
  text-wrap: balance;
}

.manufacturing__description {
  max-width: 640px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.7;
}

.manufacturing__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.manufacturing__features li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .045);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.manufacturing__feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 158, 56, .3);
  border-radius: 12px;
  color: var(--orange);
  background: rgba(245, 158, 56, .08);
  place-items: center;
}

.manufacturing__feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.manufacturing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.manufacturing__visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 112%;
  max-width: 760px;
  min-width: 0;
  margin: 0 -8% 0 -4%;
  place-items: center;
}

.manufacturing__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 610px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, .22));
}

.manufacturing__machine-glow {
  position: absolute;
  inset: 15% 4% 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 103, 133, .28), rgba(245, 158, 56, .055) 42%, transparent 70%);
  filter: blur(18px);
}

.reveal--right {
  transform: translateX(34px);
}

.reveal--right.is-visible {
  transform: translateX(0);
}

@media (max-width: 1100px) {
  .manufacturing__layout {
    gap: 30px;
  }

  .manufacturing h2 {
    font-size: clamp(38px, 4.8vw, 52px);
  }

  .manufacturing__features {
    gap: 9px;
  }

  .manufacturing__features li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-inline: 9px;
    font-size: 13px;
  }

  .manufacturing__feature-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 880px) {
  .manufacturing__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 54px;
  }

  .manufacturing__content {
    max-width: 720px;
  }

  .manufacturing h2 {
    max-width: 700px;
    font-size: clamp(42px, 7.4vw, 58px);
  }

  .manufacturing__description {
    max-width: 700px;
  }

  .manufacturing__visual {
    width: min(100%, 700px);
    max-width: 700px;
    margin: -20px auto -35px;
  }
}

@media (max-width: 560px) {
  .manufacturing__eyebrow {
    align-items: flex-start;
    font-size: 12px;
    letter-spacing: .09em;
  }

  .manufacturing h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .manufacturing__description {
    margin-top: 20px;
    font-size: 15px;
  }

  .manufacturing__features {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .manufacturing__features li {
    min-height: 58px;
    padding: 9px 11px;
    font-size: 14px;
  }

  .manufacturing__actions {
    display: grid;
    margin-top: 28px;
  }

  .manufacturing__actions .btn {
    width: 100%;
  }

  .manufacturing__visual {
    width: 108%;
    margin: -15px -4% -30px;
  }
}

/* Portafolio responsive: conserva la proporción real de cada fotografía. */
.projects__grid {
  display: block;
  columns: 3 300px;
  column-gap: 20px;
  grid-auto-flow: initial;
  grid-auto-rows: initial;
}

.project-card,
.project-card--large,
.project-card--tall,
.project-card--wide {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  break-inside: avoid;
  vertical-align: top;
}

.project-card__button {
  display: block;
  height: auto;
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.capabilities__visual img {
  object-position: center 24%;
}

@media (max-width: 880px) {
  .projects__grid {
    columns: 2;
    column-gap: 16px;
  }

  .project-card,
  .project-card--large,
  .project-card--tall,
  .project-card--wide {
    margin-bottom: 16px;
  }

  .capabilities__grid {
    gap: 46px;
  }
}

@media (max-width: 640px) {
  .section-heading--split {
    gap: 18px;
  }

  .section-heading--split > p {
    margin-top: 0;
  }

  .project-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .filter-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 9px 10px;
    font-size: 15px;
  }

  .projects__grid {
    columns: 1;
    margin-top: 18px;
  }

  .project-card,
  .project-card--large,
  .project-card--tall,
  .project-card--wide {
    margin-bottom: 14px;
  }

  .project-card figcaption {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .project-card figcaption strong {
    font-size: clamp(18px, 5.5vw, 21px);
    line-height: 1.12;
  }

  .project-card__zoom {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .capabilities__grid {
    gap: 34px;
  }

  .lightbox {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }

  .lightbox img {
    max-height: calc(100svh - 32px);
  }

  .lightbox__close {
    top: 8px;
    right: 8px;
    width: 46px;
    height: 46px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  }
}

@media (hover: none) {
  .project-card:hover {
    box-shadow: 0 18px 45px rgba(7, 46, 65, .1);
  }

  .project-card:hover img {
    filter: none;
    transform: none;
  }

  .project-card:hover .project-card__zoom {
    background: rgba(7, 46, 65, .58);
    transform: none;
  }
}

/* Ajuste integral para navegación, tablets y smartphones. */
@media (min-width: 881px) and (max-width: 1100px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .section {
    padding-block: 92px;
  }

  .navbar {
    gap: 18px;
  }

  .nav-menu > a:not(.btn) {
    padding-inline: 9px;
    font-size: 14px;
  }

  .nav-menu .btn {
    padding-inline: 16px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: calc(74px + env(safe-area-inset-top));
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

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

  .section {
    padding-block: 76px;
  }

  .site-header {
    height: var(--header-h);
    border-color: rgba(255, 255, 255, .08);
    background: rgba(4, 35, 49, .9);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .13);
    backdrop-filter: blur(18px) saturate(1.15);
  }

  .navbar {
    height: 100%;
    padding-top: env(safe-area-inset-top);
  }

  .brand {
    z-index: 4;
    width: 120px;
    height: 62px;
  }

  .brand img {
    width: 112px;
    max-height: 60px;
  }

  .nav-toggle {
    z-index: 4;
    display: block;
    width: 48px;
    height: 48px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
  }

  .nav-toggle:active {
    transform: scale(.96);
  }

  .nav-toggle.is-open {
    border-color: rgba(245, 158, 56, .65);
    background: rgba(245, 158, 56, .14);
  }

  .nav-toggle span {
    width: 25px;
    border-radius: 999px;
  }

  .nav-menu {
    z-index: 3;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding:
      calc(env(safe-area-inset-top) + 118px)
      max(24px, env(safe-area-inset-right))
      calc(30px + env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    background:
      radial-gradient(circle at 94% 8%, rgba(245, 158, 56, .2), transparent 18rem),
      radial-gradient(circle at 2% 92%, rgba(45, 103, 133, .35), transparent 23rem),
      #062a3c;
    transform: translateX(24px);
    overscroll-behavior: contain;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu::before {
    display: block;
    width: min(100%, 520px);
    margin: 0 auto 16px;
    color: var(--orange);
    content: "MENÚ PRINCIPAL";
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
  }

  .nav-menu > a:not(.btn) {
    display: flex;
    width: min(100%, 520px);
    min-height: 62px;
    margin-inline: auto;
    padding: 13px 4px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    color: rgba(255, 255, 255, .88);
    background: transparent;
    font-family: var(--font-heading);
    font-size: clamp(24px, 5vw, 31px);
    font-weight: 600;
  }

  .nav-menu > a:not(.btn)::after {
    position: static;
    display: block;
    width: auto;
    height: auto;
    color: rgba(255, 255, 255, .34);
    content: "↗";
    background: transparent;
    font-size: .72em;
  }

  .nav-menu > a:not(.btn):hover,
  .nav-menu > a:not(.btn).is-active {
    color: var(--orange);
    background: transparent;
  }

  .nav-menu .btn {
    width: min(100%, 520px);
    min-height: 56px;
    margin: 24px auto 0;
  }

  body.menu-open {
    overscroll-behavior: none;
  }

  .about__grid,
  .capabilities__grid,
  .quote__grid,
  .faq__grid {
    gap: 48px;
  }

  .section-heading--split {
    gap: 20px;
  }

  .process__grid,
  .services__grid {
    gap: 18px;
  }

  .quote-form,
  .service-card,
  .principle,
  .process-step {
    scroll-margin-top: calc(var(--header-h) + 20px);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: calc(70px + env(safe-area-inset-top));
  }

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

  .section {
    padding-block: 62px;
  }

  .brand {
    width: 108px;
    height: 56px;
  }

  .brand img {
    width: 102px;
    max-height: 54px;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .nav-menu {
    padding-top: calc(env(safe-area-inset-top) + 100px);
    padding-right: max(20px, env(safe-area-inset-right));
    padding-left: max(20px, env(safe-area-inset-left));
  }

  .nav-menu::before {
    margin-bottom: 10px;
  }

  .nav-menu > a:not(.btn) {
    min-height: 56px;
    font-size: clamp(22px, 7vw, 28px);
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 42px) 0 62px;
  }

  .hero h1 {
    max-width: 13ch;
    overflow-wrap: break-word;
    font-size: clamp(34px, 10.2vw, 43px);
  }

  .hero__copy > p,
  .section-heading p,
  .capabilities__content > p,
  .quote__copy > p {
    font-size: 15.5px;
    line-height: 1.68;
  }

  .hero__trust {
    gap: 9px 12px;
  }

  .about__grid,
  .capabilities__grid,
  .quote__grid,
  .faq__grid {
    gap: 36px;
  }

  .principle,
  .service-card,
  .process-step {
    padding: 22px;
  }

  .capability-list {
    gap: 8px;
  }

  .capability-list > div {
    min-height: 58px;
    padding: 11px 13px;
  }

  .quote__contacts {
    display: grid;
    gap: 10px;
  }

  .quote__contacts a {
    min-width: 0;
  }

  .quote-form {
    width: 100%;
    padding: 19px;
  }

  .quote-form label {
    min-width: 0;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    width: 100%;
    min-width: 0;
  }

  .site-footer__inner {
    gap: 14px;
  }
}

@media (max-width: 460px) {
  .container {
    width: calc(100% - 24px);
  }

  .section {
    padding-block: 56px;
  }

  .hero {
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 39px);
  }

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

  h2[data-watermark]::before {
    font-size: clamp(34px, 11.5vw, 48px);
  }

  .capabilities__visual,
  .capabilities__visual img {
    min-height: 286px;
    height: 286px;
  }

  .capabilities__label {
    right: 9px;
    bottom: 9px;
    padding: 11px 13px;
  }

  .project-card,
  .quote-form,
  .service-card,
  .principle,
  .process-step {
    border-radius: 19px;
  }

  .project-filters {
    gap: 7px;
  }

  .filter-btn {
    min-height: 44px;
    font-size: 14px;
  }

  .contact__col {
    padding-left: 10px;
  }
}

@media (max-width: 880px) and (max-height: 620px) {
  .nav-menu {
    padding-top: calc(env(safe-area-inset-top) + 82px);
  }

  .nav-menu::before {
    display: none;
  }

  .nav-menu > a:not(.btn) {
    min-height: 47px;
    font-size: 21px;
  }

  .nav-menu .btn {
    min-height: 48px;
    margin-top: 14px;
  }
}

/* Corrección del header móvil: barra compacta y menú lateral estable. */
@media (max-width: 880px) {
  :root {
    --header-h: calc(66px + env(safe-area-inset-top));
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-h);
    background: rgba(5, 39, 55, .97);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
  }

  body::after {
    position: fixed;
    z-index: 999;
    inset: var(--header-h) 0 0;
    content: "";
    opacity: 0;
    visibility: hidden;
    background: rgba(2, 18, 25, .58);
    backdrop-filter: blur(3px);
    transition: opacity .25s ease, visibility .25s ease;
  }

  body.menu-open::after {
    opacity: 1;
    visibility: visible;
  }

  .navbar {
    height: 100%;
    padding-top: env(safe-area-inset-top);
  }

  .brand {
    width: 102px;
    height: 52px;
    flex: 0 0 102px;
  }

  .brand img {
    width: 96px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 8px;
    border-radius: 12px;
  }

  .nav-toggle span {
    width: 23px;
    margin-block: 5px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 340px);
    min-height: 0;
    height: auto;
    padding:
      20px
      max(18px, env(safe-area-inset-right))
      calc(24px + env(safe-area-inset-bottom))
      18px;
    opacity: 0;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    background:
      radial-gradient(circle at 100% 0, rgba(245, 158, 56, .13), transparent 15rem),
      #072e41;
    box-shadow: -18px 20px 48px rgba(0, 0, 0, .28);
    transform: translateX(105%);
    transition: opacity .25s ease, visibility .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-menu::before {
    width: 100%;
    margin: 0 0 8px;
    font-size: 11px;
  }

  .nav-menu > a:not(.btn) {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 11px 4px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .01em;
    white-space: normal;
  }

  .nav-menu > a:not(.btn)::after {
    content: "›";
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
  }

  .nav-menu .btn {
    width: 100%;
    min-height: 52px;
    margin: 18px 0 0;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.2;
    white-space: normal;
  }

  .hero {
    padding-top: calc(var(--header-h) + 38px);
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: calc(62px + env(safe-area-inset-top));
  }

  .brand {
    width: 94px;
    height: 48px;
    flex-basis: 94px;
  }

  .brand img {
    width: 89px;
    max-height: 46px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .nav-menu {
    width: min(90vw, 320px);
    padding-top: 16px;
  }

  .nav-menu > a:not(.btn) {
    min-height: 49px;
    font-size: 17px;
  }

  .nav-menu .btn {
    min-height: 50px;
    margin-top: 15px;
    font-size: 15px;
  }
}

@media (max-width: 880px) and (max-height: 560px) {
  .nav-menu {
    padding-top: 10px;
  }

  .nav-menu::before {
    display: none;
  }

  .nav-menu > a:not(.btn) {
    min-height: 43px;
    padding-block: 8px;
    font-size: 16px;
  }

  .nav-menu .btn {
    min-height: 46px;
    margin-top: 10px;
  }
}

/* Ajuste tipográfico final para evitar títulos estrechos en pantallas pequeñas. */
@media (max-width: 640px) {
  .hero h1 {
    max-width: 16ch;
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.09;
    letter-spacing: -.032em;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    max-width: 15ch;
    font-size: clamp(30px, 9vw, 36px);
  }
}

.manufacturing__machine-label {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 34px;
  left: 4%;
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: var(--white);
  background: rgba(4, 31, 44, .84);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .25);
  backdrop-filter: blur(12px);
}

.manufacturing__machine-label span,
.manufacturing__machine-label strong {
  display: block;
}

.manufacturing__machine-label span {
  margin-bottom: 2px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manufacturing__machine-label strong {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.15;
}

@media (max-width: 640px) {
  .manufacturing__machine-label {
    right: 10px;
    bottom: 18px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 11px 13px;
  }

  .manufacturing__machine-label strong {
    font-size: 17px;
  }
}

.manufacturing__proof-title {
  margin: 27px 0 0;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.manufacturing__proof-title + .manufacturing__features {
  margin-top: 13px;
}

.manufacturing__features li {
  min-height: 88px;
}

.manufacturing__features li strong,
.manufacturing__features li small {
  display: block;
}

.manufacturing__features li strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.manufacturing__features li small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .61);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .manufacturing__proof-title {
    margin-top: 23px;
    font-size: 12px;
  }

  .manufacturing__features li {
    min-height: 78px;
    padding: 11px;
  }

  .manufacturing__features li strong {
    font-size: 15px;
  }

  .manufacturing__features li small {
    font-size: 12px;
  }
}

/* Portafolio sin categorías visibles. */
.project-card figcaption span {
  display: none;
}

.project-card figcaption strong {
  margin-top: 0;
}

/* Video de presentación en lightbox. */
.hero__video-button {
  appearance: none;
}

.video-lightbox {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--white);
  background: transparent;
}

.video-lightbox::backdrop {
  background: rgba(2, 18, 25, .94);
  backdrop-filter: blur(9px);
}

.video-lightbox__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: #020f16;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .58);
}

.video-lightbox video {
  display: block;
  width: 100%;
  max-height: 88vh;
  background: #000;
  object-fit: contain;
}

.video-lightbox__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 46, 65, .78);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  place-items: center;
}

.video-lightbox__close:hover {
  background: var(--orange);
}

@media (max-width: 640px) {
  .video-lightbox {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
  }

  .video-lightbox__frame {
    border-radius: 16px;
  }

  .video-lightbox video {
    max-height: calc(100svh - 20px);
  }

  .video-lightbox__close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }
}

/* Acceso flotante para regresar al inicio. */
.back-to-top {
  position: fixed;
  z-index: 899;
  right: 24px;
  bottom: 98px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  background: rgba(7, 46, 65, .92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  cursor: pointer;
  backdrop-filter: blur(10px);
  place-items: center;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.menu-open .back-to-top,
body.lightbox-open .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 18px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
  }
}

/* El hero ya no utiliza la segunda columna del diseño anterior. */
.hero__content {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero__copy {
  width: min(100%, 790px);
  min-width: 0;
}

.hero h1 {
  width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (max-width: 640px) {
  .hero__content {
    width: 100%;
  }

  .hero__copy {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .hero__copy > p {
    width: 100%;
    max-width: 38rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    max-width: 12ch;
    font-size: clamp(31px, 9.8vw, 37px);
  }
}

/* Márgenes laterales consistentes exclusivamente en versión móvil. */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
    max-width: var(--container);
  }

  .section-heading,
  .about__content,
  .capabilities__content,
  .quote__copy,
  .quote-form,
  .accordion,
  .contact__col {
    min-width: 0;
  }

  .manufacturing__visual {
    width: 100%;
    margin: 0 auto -20px;
  }

  .capabilities__visual::before {
    left: -6px;
  }

  .whatsapp-float {
    right: 18px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav-menu {
    width: calc(100% - 32px);
  }

  .whatsapp-float {
    right: 16px;
  }
}

/* Menú móvil final: navegación clara a pantalla completa. */
@media (max-width: 880px) {
  body::after,
  body.menu-open::after {
    display: none;
  }

  .nav-menu {
    position: fixed;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100%;
    padding:
      calc(var(--header-h) + 24px)
      max(24px, env(safe-area-inset-right))
      calc(26px + env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    background:
      radial-gradient(circle at 92% 8%, rgba(245, 158, 56, .2), transparent 18rem),
      radial-gradient(circle at 5% 94%, rgba(45, 103, 133, .35), transparent 24rem),
      linear-gradient(145deg, #052536, #072e41 58%, #0a3b52);
    box-shadow: none;
    transform: translateY(-14px) scale(.985);
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-menu::before {
    width: min(100%, 430px);
    margin: 0 auto 10px;
    color: var(--orange);
    text-align: left;
  }

  .nav-menu > a:not(.btn) {
    width: min(100%, 430px);
    min-height: 54px;
    margin-inline: auto;
    padding: 11px 6px;
    font-size: clamp(18px, 4vw, 21px);
  }

  .nav-menu > a:not(.btn)::after {
    color: rgba(255, 255, 255, .42);
  }

  .nav-menu .btn {
    width: min(100%, 430px);
    min-height: 54px;
    margin: 20px auto 0;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .nav-menu > a:not(.btn) {
    min-height: 52px;
    font-size: 18px;
  }
}

@media (max-width: 880px) and (max-height: 600px) {
  .nav-menu {
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 10px);
  }

  .nav-menu::before {
    display: none;
  }

  .nav-menu > a:not(.btn) {
    min-height: 44px;
    padding-block: 7px;
    font-size: 16px;
  }

  .nav-menu .btn {
    min-height: 46px;
    margin-top: 10px;
  }
}

/* Escala final: prevalece sobre los ajustes históricos del sitio. */
.btn,
.filter-btn {
  min-height: 46px;
  padding: 10px 18px;
  gap: 8px;
  border-radius: 13px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
}

.btn--small {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 11px;
  font-size: clamp(13px, .9vw, 14px);
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(32px, 4vw, 50px);
}

.section-heading h2,
.capabilities__content h2,
.quote__copy h2,
.client-trust__heading h2 {
  font-size: clamp(27px, 3.2vw, 38px);
}

.manufacturing h2 {
  font-size: clamp(30px, 3.8vw, 44px);
}

.principle h3,
.service-card h3,
.process-step h3,
.project-card figcaption strong {
  font-size: clamp(19px, 2vw, 24px);
}

h2[data-watermark]::before {
  margin-bottom: 10px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .88;
}

@media (max-width: 640px) {
  .btn,
  .filter-btn {
    min-height: 44px;
    padding: 9px 15px;
    font-size: 14px;
  }

  .nav-menu .btn {
    min-height: 46px;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(30px, 8.3vw, 36px);
    line-height: 1.09;
  }

  .section-heading h2,
  .capabilities__content h2,
  .quote__copy h2,
  .client-trust__heading h2,
  .manufacturing h2 {
    font-size: clamp(25px, 7.5vw, 32px);
  }

  h2[data-watermark]::before {
    font-size: clamp(32px, 10vw, 44px);
  }
}
