:root {
  --ink: #111827;
  --muted: #596575;
  --line: #d8e0ea;
  --paper: #ffffff;
  --soft: #f3f6f9;
  --soft-warm: #fbf7f1;
  --steel: #263442;
  --navy: #07111f;
  --blue: #1268c4;
  --blue-dark: #084b90;
  --green: #15966a;
  --orange: #e98224;
  --copper: #b86a2c;
  --shadow: 0 26px 70px rgba(7, 17, 31, 0.17);
  --shadow-soft: 0 14px 36px rgba(7, 17, 31, 0.08);
  --radius: 8px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(18, 104, 196, 0.35);
  outline-offset: 3px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  min-height: 72px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.1);
  backdrop-filter: blur(18px) saturate(1.14);
}

.brand {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 76px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.1rem;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.site-header.is-scrolled .brand {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.brand img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: min(820px, calc(100vw - 460px));
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(12, 22, 35, 0.42);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 34px rgba(18, 104, 196, 0.25);
}

.button.primary:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(18, 104, 196, 0.32);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  background:
    radial-gradient(circle at 74% 16%, rgba(18, 104, 196, 0.36), rgba(18, 104, 196, 0) 28%),
    radial-gradient(circle at 18% 82%, rgba(232, 130, 36, 0.17), rgba(232, 130, 36, 0) 27%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.99), rgba(11, 31, 51, 0.95) 50%, rgba(7, 17, 31, 0.99));
}

.hero-media {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35), #000 45%, rgba(0, 0, 0, 0.65));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
  padding: 154px 0 70px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  border: 1px solid rgba(232, 130, 36, 0.32);
  border-radius: 999px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1;
  background: rgba(232, 130, 36, 0.08);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.machinery-copy h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.72rem, 5.8vw, 5.65rem);
  font-weight: 900;
  text-wrap: balance;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: stretch;
}

.visual-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.visual-card-large {
  grid-row: span 2;
  min-height: 470px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 17, 27, 0.82), rgba(10, 17, 27, 0.05) 58%);
}

.visual-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 125px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.36);
}

.hero-panel strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.clients-strip {
  overflow: hidden;
  padding: 38px 0 32px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.clients-heading .eyebrow {
  margin: 0;
}

.clients-heading h2 {
  margin: 0;
  color: var(--steel);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 900;
}

.logo-marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 12vw;
  height: 100%;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--soft), rgba(244, 247, 249, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--soft), rgba(244, 247, 249, 0));
}

.logo-track {
  display: flex;
  min-width: max-content;
  gap: 14px;
  padding: 18px 14px;
  animation: logo-scroll 32s linear infinite;
}

.logo-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 96px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.05);
  flex: 0 0 auto;
}

.logo-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.02);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

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

.section,
.split-section,
.featured-project,
.machinery-section,
.contact-section {
  padding: clamp(78px, 8vw, 112px) 0;
}

.section {
  background:
    linear-gradient(180deg, var(--soft), #ffffff 120%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
}

.section-heading h2,
.split-copy h2,
.machinery-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 900;
  text-wrap: balance;
}

.section-heading p,
.split-copy p,
.machinery-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.section-note {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.section-note strong {
  color: var(--steel);
  line-height: 1.25;
}

.section-note span {
  color: var(--muted);
}

.section-note a {
  width: fit-content;
  color: var(--blue-dark);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

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

.service-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 104, 196, 0.24);
  box-shadow: 0 22px 54px rgba(7, 17, 31, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--steel), var(--navy));
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(7, 17, 31, 0.14);
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
  line-height: 1.22;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 68px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
}

.split-image img,
.image-stack img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: var(--soft);
  border: 1px solid rgba(216, 224, 234, 0.8);
}

.split-image img {
  aspect-ratio: 4 / 3;
}

.split-copy p {
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--steel);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  color: var(--blue-dark);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
  transition: color 160ms ease, transform 160ms ease;
}

.text-link:hover {
  color: var(--orange);
  transform: translateX(2px);
}

.generic-page {
  padding-top: 140px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 146px 0 78px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff, var(--soft));
  border-bottom: 1px solid var(--line);
}

.page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
  padding: 0;
}

.breadcrumb {
  display: none;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero-image {
  position: relative;
}

.page-hero-image::before {
  display: none;
}

.page-hero-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 224, 234, 0.85);
}

.page-hero .button.secondary {
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: #ffffff;
}

.page-section {
  padding: clamp(70px, 7vw, 100px) 0;
  background: #ffffff;
}

.soft-band {
  background:
    linear-gradient(180deg, var(--soft), #ffffff 118%);
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.detail-intro h2,
.page-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.detail-intro .check-list {
  margin-top: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.detail-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 102, 194, 0.28);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
}

.detail-card h2 {
  margin: 22px 0 10px;
  font-size: 1.34rem;
  line-height: 1.18;
  font-weight: 900;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.image-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.image-gallery img {
  width: 100%;
  min-height: 270px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 224, 234, 0.85);
}

.image-gallery img:first-child {
  aspect-ratio: 5 / 3;
}

.page-cta {
  padding: clamp(62px, 7vw, 88px) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 18%, rgba(18, 104, 196, 0.22), rgba(18, 104, 196, 0) 28%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.99), rgba(15, 42, 68, 0.95)),
    var(--navy);
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-cta p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.featured-project {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 80%, rgba(232, 130, 36, 0.16), rgba(232, 130, 36, 0) 30%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(15, 42, 68, 0.94)),
    var(--navy);
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
}

.project-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.05;
  font-weight: 900;
  text-wrap: balance;
}

.project-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

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

.project-stats div {
  min-height: 120px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.project-stats strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.project-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.project-image {
  position: relative;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.project-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.machinery-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(17, 24, 39, 0.9)),
    url("../images/maquinaria-2.png") center / cover;
}

.machinery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: clamp(30px, 4vw, 48px);
  align-items: center;
}

.machinery-copy p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 22px;
  line-height: 1.75;
}

.machinery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.machinery-list span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  line-height: 1.25;
  backdrop-filter: blur(10px);
}

.machinery-card {
  padding: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.machinery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
}

.machinery-card h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 900;
}

.machinery-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
}

.compact {
  background: #ffffff;
}

.values {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.values div {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.04);
}

.values strong,
.values span {
  display: block;
}

.values span {
  color: var(--muted);
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  align-items: end;
  gap: 16px;
}

.image-stack img:first-child {
  aspect-ratio: 3 / 4;
}

.image-stack img:last-child {
  aspect-ratio: 1 / 1.28;
  margin-bottom: 44px;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--soft), #ffffff);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 5vw, 56px);
  align-items: start;
}

.contact-copy p {
  margin-top: 20px;
}

.contact-items {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-items a,
.contact-items span {
  width: fit-content;
  color: var(--steel);
  font-weight: 900;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 17, 31, 0.04);
}

.contact-items a {
  color: var(--blue-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.quote-form {
  position: relative;
  overflow: hidden;
}

.quote-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.quote-form-header {
  display: grid;
  gap: 4px;
  padding: 0 0 6px;
}

.quote-form-header span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(232, 130, 36, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.quote-form-header strong {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.15;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 14px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 102, 194, 0.18);
  border-color: var(--blue);
}

.site-footer {
  padding: 28px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 80% 15%, rgba(18, 104, 196, 0.18), rgba(18, 104, 196, 0) 28%),
    var(--navy);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.footer-cta h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1.08;
}

.footer-cta p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(150px, 0.7fr));
  align-items: flex-start;
  gap: 34px;
}

.footer-brand img {
  width: 156px;
  max-width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
}

.footer-brand p {
  max-width: 390px;
  margin: 18px 0 0;
}

.site-footer strong,
.footer-column strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 900;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-column a {
  width: fit-content;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover {
  transform: translateX(2px);
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #405de6, #c13584 52%, #f77737);
  box-shadow: 0 14px 30px rgba(193, 53, 132, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(193, 53, 132, 0.32);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.94rem;
  font-weight: 700;
}

.help-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 18px 40px rgba(7, 17, 31, 0.22);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.help-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(7, 17, 31, 0.28);
}

@media (max-width: 1040px) {
  .site-header {
    justify-content: flex-end;
    min-height: 74px;
  }

  .brand {
    width: 112px;
    height: 58px;
    padding: 7px 10px;
    border-radius: 13px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    color: var(--ink);
    background: #ffffff;
    border-color: var(--line);
    box-shadow: var(--shadow);
    transform: none;
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero-content,
  .page-hero-layout,
  .detail-intro,
  .section-heading,
  .footer-cta,
  .machinery,
  .project-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    display: grid;
  }

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

  .image-gallery {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-panel {
    max-width: 620px;
  }

  .hero-visual {
    max-width: 680px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: fixed;
    min-height: 66px;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .site-header.is-scrolled {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(7, 17, 31, 0.1);
    backdrop-filter: blur(18px) saturate(1.14);
  }

  .brand {
    position: static;
    width: 108px;
    height: 54px;
    padding: 7px 10px;
    border-radius: 13px;
  }

  .brand img {
    width: 100%;
    height: 100%;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    margin-left: auto;
    border-color: currentColor;
    background: rgba(12, 22, 35, 0.28);
    backdrop-filter: blur(12px);
  }

  .site-header.is-scrolled .menu-toggle {
    color: var(--ink);
    background: #ffffff;
  }

  .site-nav {
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    border-radius: 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 110px 0 34px;
    gap: 28px;
  }

  .hero h1 {
    font-size: 2.28rem;
    line-height: 1.08;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-panel,
  .hero-visual,
  .service-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .visual-card-large {
    min-height: 260px;
  }

  .visual-card {
    min-height: 180px;
  }

  .hero-panel div {
    min-height: 105px;
  }

  .clients-heading {
    display: block;
  }

  .clients-heading h2 {
    margin-top: 6px;
  }

  .logo-track {
    gap: 10px;
    padding: 14px 10px;
  }

  .logo-track span {
    width: 150px;
    height: 76px;
    padding: 10px 14px;
  }

  .section,
  .split-section,
  .featured-project,
  .machinery-section,
  .contact-section {
    padding: 66px 0;
  }

  .generic-page {
    padding-top: 92px;
  }

  .page-hero {
    padding: 112px 0 56px;
  }

  .page-hero-layout {
    gap: 28px;
  }

  .page-hero h1 {
    font-size: 2.08rem;
    line-height: 1.1;
  }

  .page-hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .page-hero-image::before {
    display: none;
  }

  .page-section {
    padding: 56px 0;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .split-copy h2,
  .machinery-copy h2,
  .contact-copy h2,
  .project-copy h2,
  .detail-intro h2,
  .page-cta h2 {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }

  .project-image::before {
    display: none;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .detail-grid,
  .image-gallery {
    grid-template-columns: 1fr;
  }

  .detail-card {
    min-height: auto;
    padding: 22px;
  }

  .image-gallery img,
  .image-gallery img:first-child {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .page-cta-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-cta-inner .button {
    width: fit-content;
  }

  .machinery-list {
    gap: 8px;
  }

  .machinery-list span {
    padding: 9px 11px;
    font-size: 0.92rem;
  }

  .contact-items a,
  .contact-items span {
    width: 100%;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:last-child {
    margin-bottom: 0;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 28px;
  }

  .help-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.92rem;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 1.96rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .page-cta-inner .button {
    width: 100%;
  }

  .form-row,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .project-stats div,
  .hero-panel div {
    min-height: 96px;
  }

  .contact-form {
    padding: 20px;
  }
}
