:root {
  --ink: #121820;
  --text: #303943;
  --muted: #687480;
  --line: #dce2e8;
  --paper: #f5f7f8;
  --white: #ffffff;
  --steel: #182535;
  --blue: #0f6096;
  --blue-dark: #0b4b78;
  --accent: #c36d2f;
  --accent-dark: #9f5523;
  --green: #526f63;
  --shadow: 0 18px 48px rgba(18, 24, 32, .13);
  --shadow-soft: 0 12px 28px rgba(18, 24, 32, .08);
  --radius: 8px;
  --max: 1550px;
}

/* Stable layout for the four-photo cast-iron feature. */
#service-big-kokili[data-big-kokili-layout="v2"] {
  width: min(1600px, calc(100vw - 80px)); max-width: 100%; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "main photos" "main facts"; grid-template-rows: minmax(0, 1fr) 164px;
  gap: 14px 18px; border: 0; outline: 0; background: transparent; box-shadow: none; overflow: visible;
}
#service-big-kokili[data-big-kokili-layout="v2"] > .service-main {
  grid-area: main; min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto;
  align-self: stretch; align-content: start; position: relative; overflow: hidden; height: 100%; padding: 0 58px 20px;
  border: 0; outline: 0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(17,42,65,.12);
}
#service-big-kokili[data-big-kokili-layout="v2"] > .service-main::after {
  content: ""; position: absolute; left: 30px; top: 440px; bottom: 20px; width: 5px;
  border-radius: 3px; background: #137db6;
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-main-photo-frame {
  width: calc(100% + 116px); max-width: none; aspect-ratio: 2.03 / 1;
  margin: 0 -58px 28px; overflow: hidden; border: 0; outline: 0; border-radius: 16px;
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-main-photo-frame img,
#service-big-kokili[data-big-kokili-layout="v2"] .service-photos img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-main > h3 {
  margin: 0 0 16px; max-width: 640px;
  color: #121820; font-size: clamp(30px,3vw,52px); font-weight: 800;
  line-height: 1.05; letter-spacing: -.035em; text-transform: none;
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-main > p {
  margin: 0 0 18px; max-width: 690px;
  color: #526474; font-size: 18px; font-weight: 400; line-height: 1.55;
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-main > .more-link { justify-self: start; margin: 0; }
#service-big-kokili[data-big-kokili-layout="v2"] > .service-photos {
  grid-area: photos; min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; margin: 0;
}
#service-big-kokili[data-big-kokili-layout="v2"] > .service-photos figure {
  min-width: 0; min-height: 0; margin: 0; overflow: hidden; border: 0; outline: 0; border-radius: 14px;
}
#service-big-kokili[data-big-kokili-layout="v2"] > .service-big-kokili__facts {
  grid-area: facts; min-width: 0; min-height: 164px; display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 0; outline: 0; border-radius: 14px;
  color: #fff; background: linear-gradient(120deg,#0e78b2,#075384);
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-big-kokili__fact {
  min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.28);
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-big-kokili__fact:first-child { border-left: 0; }
#service-big-kokili[data-big-kokili-layout="v2"] .service-big-kokili__fact svg {
  display: block; flex: 0 0 62px; width: 62px !important; height: 62px !important;
  min-width: 62px; max-width: 62px; max-height: 62px; padding: 9px; box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(3,54,87,.22);
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
#service-big-kokili[data-big-kokili-layout="v2"] .service-big-kokili__fact svg .accent { stroke: #ff8a00; }
#service-big-kokili[data-big-kokili-layout="v2"] .service-big-kokili__fact h4 {
  margin: 0; color: inherit; font-size: clamp(15px,1.1vw,20px); line-height: 1.15; text-transform: uppercase;
}
@media (max-width: 980px) {
  #service-big-kokili[data-big-kokili-layout="v2"] {
    width: min(100% - 32px,760px); grid-template-columns: 1fr;
    grid-template-areas: "main" "photos" "facts"; grid-template-rows: auto auto auto;
  }
}
@media (max-width: 620px) {
  #service-big-kokili[data-big-kokili-layout="v2"] > .service-main { padding: 0 28px 18px; }
  #service-big-kokili[data-big-kokili-layout="v2"] .service-main-photo-frame {
    width: calc(100% + 56px); margin: 0 -28px 22px;
  }
  #service-big-kokili[data-big-kokili-layout="v2"] > .service-photos,
  #service-big-kokili[data-big-kokili-layout="v2"] > .service-big-kokili__facts { grid-template-columns: 1fr; }
}

/* Home preview hero */
.home-preview-page {
  background: #eef3f6;
  color: #101820;
  min-height: 100vh;
}

.home-preview-hero {
  position: relative;
}

.home-preview-reference-hero {
  width: 100%;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: #eef3f6;
}

.home-preview-reference-image {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}

.home-preview-hero-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-preview-reference-hero {
    min-height: auto;
  }

  .home-preview-reference-image {
    width: 100%;
    min-width: 900px;
    transform: translateX(-18%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

main section[data-admin-bg="true"],
main .editable-block[data-admin-bg="true"] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

main section[data-admin-bg="true"]::before,
main .editable-block[data-admin-bg="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(8, 13, 19, var(--admin-bg-dim, .35));
  pointer-events: none;
}

main section[data-admin-bg="true"] > *:not(.edit-controls),
main .editable-block[data-admin-bg="true"] > *:not(.edit-controls) {
  position: relative;
  z-index: 1;
}

main section[data-admin-bg="true"] > .edit-controls,
main .editable-block[data-admin-bg="true"] > .edit-controls {
  z-index: 90;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(251, 251, 253, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.header-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: 58px;
}

.logo img {
  width: 136px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, .7vw, 10px);
  color: rgba(18, 24, 32, .82);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav a {
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  transition: color .16s ease, background .16s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, .06);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-link::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid currentColor;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  opacity: .68;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 320;
  display: grid;
  min-width: 270px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: rgba(251, 251, 253, .98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px) scale(.98);
  transition: opacity .16s ease, transform .16s ease;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.nav-submenu a {
  padding: 11px 14px;
  border-bottom: 0;
  border-radius: 12px;
  color: rgba(18, 24, 32, .86);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}

.nav-submenu a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, .06);
}

.header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(18, 24, 32, .86);
  font-weight: 800;
  letter-spacing: -.015em;
  transition: color .16s ease, background .16s ease;
}

.contact-link:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, .06);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--white);
  background: #1d1d1f;
  font-size: 12px;
  line-height: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
}

.header-cta {
  padding: 0 14px;
  color: var(--white);
  background: var(--steel);
}

.anchor-target {
  position: relative;
  top: -96px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 86px) 0 54px;
  color: var(--white);
  isolation: isolate;
  background: var(--steel);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 16, 24, .86) 0%, rgba(10, 16, 24, .62) 44%, rgba(10, 16, 24, .22) 100%),
    linear-gradient(0deg, rgba(10, 16, 24, .66), rgba(10, 16, 24, .08));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) brightness(1.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(560px, .92fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
}

.hero-lead {
  max-width: 800px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.9vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-facts {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.hero-facts span {
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .1);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 154px;
  gap: 12px;
  margin-right: clamp(-90px, -5vw, -34px);
}

.hero-gallery:has(.hero-photo-equipment) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr);
  margin-right: clamp(-190px, -10vw, -120px);
}

.hero-gallery figure,
.portfolio-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #dce2e8;
  box-shadow: var(--shadow);
}

.hero-gallery figure {
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero-photo-large {
  grid-row: span 2;
}

.hero-photo-equipment {
  grid-column: 4;
  grid-row: 1 / span 3;
}

.hero-gallery .hero-photo-equipment img {
  object-position: 50% 50%;
}

.hero-gallery img,
.portfolio-grid img,
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(18, 24, 32, .78);
  font-weight: 900;
}

.kokil-full-hero {
  position: relative;
  display: block;
  overflow: hidden;
  height: clamp(560px, 46vw, 780px);
  min-height: 0;
  color: #fff;
  isolation: isolate;
  background: #111820;
}

/* The inner Kokili page uses the same total header height as the home page:
   86px navigation plus the visual hero. */
@media (min-width: 861px) and (max-width: 1600px) {
  .kokil-simple-hero {
    height: 614px;
  }
}

@media (min-width: 1601px) {
  .kokil-simple-hero {
    height: clamp(574px, calc(34vw - 86px), 614px);
  }
}

.kokil-full-hero > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 78%;
  filter: contrast(1.05) brightness(.98);
}

.kokil-full-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 12, 18, .82) 0%, rgba(7, 12, 18, .58) 42%, rgba(7, 12, 18, .14) 100%),
    linear-gradient(0deg, rgba(7, 12, 18, .38), rgba(7, 12, 18, .1));
  pointer-events: none;
}

.kokil-full-hero-text {
  position: absolute;
  left: max(36px, calc((100vw - var(--max)) / 2 + 36px));
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 1;
  box-sizing: border-box;
  width: min(920px, calc(100% - 84px));
  max-width: min(920px, calc(100% - 84px));
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.kokil-full-hero-text .section-kicker {
  color: #f28a3c;
  font-size: 13px;
}

.kokil-full-hero-text h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(46px, 6vw, 86px);
  line-height: .94;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .7);
}

.kokil-full-hero-text p:not(.section-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .64);
}

.custom-admin-text {
  max-width: 100%;
}

.custom-admin-text > .wrap {
  width: min(100%, var(--admin-text-width, var(--max)));
}

.custom-admin-text h1,
.custom-admin-text h2,
.custom-admin-text h3,
.custom-admin-text p,
.custom-admin-text li,
.custom-admin-text span {
  font-size: var(--admin-text-size, inherit);
}

.kokil-title-hero {
  padding: clamp(22px, 3vw, 34px) 0 28px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fa;
}

.kokil-title-hero-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
}

.kokil-title-hero-card img {
  display: block;
  width: 100%;
  height: clamp(460px, 53vw, 760px);
  object-fit: cover;
  object-position: center;
}

.kokil-title-hero-card figcaption {
  position: absolute;
  left: clamp(24px, 4.5vw, 70px);
  right: clamp(24px, 4.5vw, 70px);
  bottom: clamp(34px, 5vw, 80px);
  color: #fff;
}

.kokil-title-hero-card h1 {
  max-width: 1180px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(46px, 6vw, 86px);
  line-height: .94;
  text-transform: uppercase;
  text-shadow:
    0 4px 12px rgba(0, 0, 0, .72),
    0 16px 34px rgba(0, 0, 0, .52);
}

.kokil-title-hero-card p {
  max-width: 760px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 900;
  text-shadow: 0 4px 10px rgba(0, 0, 0, .74);
}

.contacts-page-hero {
  padding: clamp(54px, 7vw, 92px) 0;
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .08), rgba(255, 255, 255, .98) 42%),
    #f6f8fa;
}

.contacts-page-grid {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(520px, 1.28fr);
  gap: 28px;
  align-items: stretch;
}

.contacts-card,
.contacts-map,
.contacts-video-section .wrap {
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(18, 24, 32, .1);
}

.contacts-card {
  padding: clamp(28px, 4vw, 44px);
}

.contacts-card h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 70px);
  line-height: .98;
}

.contacts-lead {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.contacts-list {
  display: grid;
  gap: 12px;
}

.contacts-list a,
.contacts-list div {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  background: rgba(15, 96, 150, .07);
}

.contacts-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contacts-list b {
  font-size: 22px;
  line-height: 1.18;
}

.contacts-map {
  overflow: hidden;
  min-height: 520px;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.contacts-video-section {
  padding: 0 0 clamp(60px, 7vw, 96px);
  background: #f6f8fa;
}

.contacts-video-section .wrap {
  padding: clamp(26px, 4vw, 42px);
}

.contacts-video-head {
  max-width: 920px;
  margin-bottom: 24px;
}

.contacts-video-head h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.contacts-video-head p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.process-steps {
  padding: clamp(34px, 5vw, 62px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f6f8fa 0%, #ffffff 100%);
}

.process-icons-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  justify-items: center;
  margin-bottom: 10mm;
}

.process-icon-frame {
  position: relative;
  display: block;
  width: min(100%, clamp(142px, 13vw, 190px));
  aspect-ratio: 1;
}

.process-icon-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  max-width: none;
  height: 114.7%;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}

.process-icon-frame:nth-child(2) img {
  height: 105.9%;
}

.process-icon-frame:nth-child(3) img {
  height: 113.1%;
}

.process-icon-frame:nth-child(4) img {
  height: 115.8%;
}

.process-icon-frame:nth-child(5) img {
  height: 116.7%;
}

.process-cycle-head {
  margin: 0 0 18px;
}

.process-cycle-head h2 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.process-cycle-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  counter-reset: none;
}

.process-cycle-line li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 96, 150, .16);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.process-cycle-line li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  z-index: 1;
  color: var(--blue);
  font-weight: 900;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step-card {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 24, 32, .08);
}

.process-step-icon {
  display: grid;
  place-items: center;
  width: 109px;
  height: 109px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.process-step-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.process-step-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
}

.process-step-card figure {
  overflow: hidden;
  width: 100%;
  margin: 0;
  min-height: 150px;
  border-radius: 6px;
  background: #dce2e8;
}

.process-step-card figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.process-steps:not(.is-process-legacy) .process-steps-grid {
  gap: 12px;
}

.process-steps:not(.is-process-legacy) .process-step-card {
  display: block;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 24, 32, .06);
}

.process-steps:not(.is-process-legacy) .process-step-card h2 {
  display: none;
}

.process-steps:not(.is-process-legacy) .process-step-card figure {
  min-height: 178px;
  border-radius: 8px;
}

.process-steps:not(.is-process-legacy) .process-step-card figure img {
  min-height: 178px;
  aspect-ratio: 1.42 / 1;
}

.intro,
.foundry-tech,
.services,
.engineering,
.portfolio,
.docs-news,
.order {
  padding: clamp(58px, 8vw, 108px) 0;
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

#kokil {
  padding: clamp(58px, 6vw, 88px) 0 clamp(34px, 4vw, 54px);
  border-bottom: 0;
}

#service-tech {
  padding: clamp(58px, 6vw, 88px) 0 clamp(46px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.intro-grid,
.engineering-grid,
.docs-news-grid,
.order-grid {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
}

.intro-grid {
  align-items: center;
}

.intro-copy {
  display: grid;
  gap: 22px;
}

.intro p,
.foundry-tech p,
.engineering p,
.order p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 7px;
}

.intro-visual::before {
  content: none;
}

.intro-visual::after {
  content: none;
}

.intro-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 1.8 / 1;
  border-radius: 7px;
  object-fit: contain;
}

.kokil-original-triptych {
  padding: 28px 0 0;
  border-top: 1px solid rgba(220, 226, 232, .7);
  border-bottom: 1px solid rgba(220, 226, 232, .7);
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.kokil-original-triptych-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 30px;
  align-items: stretch;
}

.kokil-original-triptych figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 18px rgba(15, 23, 42, .24);
  transition: transform .24s ease, box-shadow .24s ease;
}

.kokil-original-triptych figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, .3);
}

.kokil-original-triptych img {
  width: 100%;
  height: clamp(260px, 24vw, 500px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.kokil-modern {
  --kokil-copy-size: 18px;
  --kokil-copy-line: 1.62;
  padding: 72px 0 88px;
  border-top: 1px solid rgba(220, 226, 232, .72);
  background:
    linear-gradient(180deg, #f7fafc 0%, #fff 42%, #f5f8fb 100%);
}

.kokil-modern-head {
  max-width: 1080px;
  margin-bottom: 28px;
}

.kokil-modern-head .section-kicker {
  color: #6f7a86;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.2;
}

.kokil-modern-head h2 {
  max-width: 1180px;
  font-size: 44px;
  line-height: 1.06;
}

.kokil-production-kicker {
  margin: 0 0 20px;
  color: #6f7a86;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kokil-search-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background: #16202b;
  box-shadow: 0 22px 54px rgba(18, 24, 32, .18);
}

.kokil-search-hero img {
  display: block;
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  object-fit: cover;
  object-position: center;
}

.kokil-search-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 19, .14) 0%, rgba(8, 13, 19, .02) 42%, rgba(8, 13, 19, .48) 100%),
    linear-gradient(90deg, rgba(8, 13, 19, .18) 0%, rgba(8, 13, 19, .04) 56%, rgba(8, 13, 19, .16) 100%);
  pointer-events: none;
}

.kokil-search-hero figcaption {
  position: absolute;
  left: clamp(20px, 4vw, 54px);
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(20px, 4vw, 48px);
  z-index: 1;
  max-width: 1120px;
  color: #fff;
}

.kokil-search-hero h3 {
  margin: 0;
  color: #f4f7fa;
  font-size: clamp(38px, 5vw, 78px);
  line-height: .96;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, .18),
    0 5px 12px rgba(0, 0, 0, .62),
    0 16px 34px rgba(0, 0, 0, .52);
}

.kokil-search-hero p {
  max-width: 780px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .88);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .58);
}

.kokil-detail-hero {
  margin: 0 0 28px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .06), rgba(255, 255, 255, .98) 42%),
    #fff;
  box-shadow: 0 22px 54px rgba(18, 24, 32, .12);
}

.kokil-detail-hero h3 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1;
  font-weight: 900;
}

.kokil-detail-hero .hero-lead {
  color: var(--muted);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
}

.kokil-detail-hero .hero-facts span {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  background: rgba(15, 96, 150, .08);
  backdrop-filter: none;
}

.kokil-detail-hero .hero-gallery {
  margin-right: 0;
}

.kokil-detail-hero .hero-gallery figure {
  border-color: rgba(194, 207, 218, .86);
}

.kokil-detail-portfolio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-self: center;
}

.kokil-detail-portfolio img {
  height: 145px;
}

.kokil-detail-portfolio figcaption {
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 8px;
  font-size: 12px;
}

.big-cast-kokili {
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid rgba(35, 48, 63, .9);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, .98), rgba(31, 45, 58, .96)),
    #101820;
  box-shadow: 0 24px 58px rgba(18, 24, 32, .2);
}

.big-cast-kokili-hero {
  margin: 0;
  background: #111820;
}

.big-cast-kokili-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.big-cast-kokili-copy {
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: start;
}

.big-cast-kokili-copy .section-kicker {
  color: #f28a3c;
}

.big-cast-kokili-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.05;
}

.big-cast-kokili-copy p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
}

.kokil-video-section {
  margin: 0 0 28px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 24, 32, .04), rgba(255, 255, 255, .98) 48%),
    #fff;
  box-shadow: 0 18px 44px rgba(18, 24, 32, .1);
}

.kokil-video-head {
  max-width: 920px;
  margin-bottom: 24px;
}

.kokil-video-head h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.kokil-video-head p:not(.section-kicker) {
  color: var(--muted);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
}

.kokil-video-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(300px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.kokil-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  color: #fff;
  background: #18202a;
  box-shadow: 0 18px 36px rgba(18, 24, 32, .14);
}

.kokil-video-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  filter: brightness(.92) contrast(1.05);
}

.kokil-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 19, .04) 0%, rgba(8, 13, 19, .72) 100%);
}

.kokil-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

.kokil-video-play::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--blue);
}

.kokil-video-title {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
}

.kokil-video-points {
  display: grid;
  align-content: center;
  gap: 14px;
}

.kokil-video-points p {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
  background: rgba(15, 96, 150, .07);
}

.kokil-video-points b {
  color: var(--ink);
}

.kokil-modern-copy,
.kokil-modern-tech {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(194, 207, 218, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(18, 24, 32, .08);
}

.kokil-modern-copy span,
.kokil-modern-tech span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.kokil-modern-copy h3,
.kokil-modern-tech h3 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.12;
}

.kokil-modern-copy p,
.kokil-modern-tech p {
  color: var(--muted);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
}

.kokil-modern-copy p + p,
.kokil-modern-tech p + p {
  margin-top: 16px;
}

.kokil-portfolio-showcase {
  margin: 26px 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 250, 252, .96), rgba(255, 255, 255, .98)),
    #fff;
  box-shadow: 0 18px 44px rgba(18, 24, 32, .1);
}

.kokil-portfolio-head {
  max-width: 980px;
  margin-bottom: 24px;
}

.kokil-portfolio-head h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.kokil-portfolio-head p:not(.section-kicker) {
  color: var(--muted);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
}

.kokil-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kokil-portfolio-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background: #dce2e8;
  box-shadow: 0 16px 34px rgba(18, 24, 32, .14);
}

.kokil-portfolio-grid img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
  transition: transform .24s ease;
}

.kokil-portfolio-grid figure:hover img {
  transform: scale(1.035);
}

.kokil-portfolio-grid figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(18, 24, 32, .78);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.kokil-modern-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.kokil-modern-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(194, 207, 218, .86);
  border-radius: 8px;
  background: #dce2e8;
  box-shadow: 0 18px 38px rgba(18, 24, 32, .13);
}

.kokil-modern-gallery img {
  display: block;
  width: 100%;
  height: clamp(300px, 24vw, 470px);
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .94), rgba(220, 226, 232, .98) 66%),
    #dce2e8;
}

.kokil-modern-tech {
  align-items: stretch;
  grid-template-columns: minmax(420px, 1.18fr) minmax(280px, .82fr);
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .08), rgba(255, 255, 255, .96) 38%),
    #fff;
}

.kokil-modern-accent {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 75, 120, .98), rgba(24, 37, 53, .96)),
    url("assets/kokili-collage-new-03.webp") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.kokil-modern-accent b {
  font-size: 28px;
  line-height: 1.14;
}

.kokil-modern-accent span {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: var(--kokil-copy-size);
  line-height: var(--kokil-copy-line);
}

.intro-tech {
  margin-top: 0;
}

.intro-tech-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 30px;
}

.intro-tech-heading .section-kicker {
  margin-bottom: 22px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.process-row figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 24, 32, .08);
}

.process-row img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  object-fit: contain;
  padding: 10px;
  background: transparent;
}

.process-row figcaption {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  background: var(--paper);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.intro-tech-content {
  margin-top: 34px;
}

.foundry-tech {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.tech-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tech-visuals figure {
  display: grid;
  place-items: center;
  min-height: 230px;
  margin: 0;
}

.tech-visuals img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.tech-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.tech-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.tech-points span {
  padding: 16px;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: var(--paper);
  color: var(--text);
  font-weight: 900;
}

.section-heading {
  margin-bottom: 34px;
}

.services .section-heading {
  max-width: 1120px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.services .section-heading .section-kicker {
  margin-bottom: 22px;
}

.services .section-heading .services-kicker-gray {
  color: #6f7a86;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.services .section-heading h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  white-space: nowrap;
}

.wide-photo-strip {
  padding: clamp(30px, 4vw, 48px) 0;
  background: var(--white);
}

.wide-photo-strip-grid {
  display: grid;
  grid-template-columns: minmax(200px, .9fr) minmax(200px, .9fr) minmax(400px, 1.85fr);
  gap: clamp(14px, 1.5vw, 22px);
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.wide-photo-strip figure {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 24, 32, .18);
  transition: box-shadow .35s ease, transform .35s ease;
}

.wide-photo-strip img {
  display: block;
  width: 100%;
  height: clamp(270px, 27vw, 430px);
  object-fit: cover;
  object-position: center;
  transition: transform 1s cubic-bezier(.2, .7, 0, 1), object-position 1s cubic-bezier(.2, .7, 0, 1);
  will-change: transform;
}

.wide-photo-strip figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(18, 24, 32, .2);
}

.wide-photo-strip figure:hover img {
  transform: scale(1.07);
}

.wide-photo-strip figure:nth-child(1):hover img {
  object-position: 48% center;
}

.wide-photo-strip figure:nth-child(2):hover img {
  object-position: 52% center;
}

.wide-photo-strip figure:nth-child(3):hover img {
  object-position: 54% center;
}

@media (prefers-reduced-motion: reduce) {
  .wide-photo-strip figure,
  .wide-photo-strip img {
    transition: none;
  }

  .wide-photo-strip figure:hover,
  .wide-photo-strip figure:hover img {
    transform: none;
  }
}

.quick-sections {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 32px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 24, 32, .08);
}

.quick-sections a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(15, 96, 150, .42);
  border-radius: 999px;
  color: var(--blue-dark);
  background: transparent;
  font-weight: 900;
  box-shadow: none;
  text-align: center;
}

.quick-sections a:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(15, 96, 150, .18);
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-chapter {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(15, 96, 150, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .08), transparent 48%),
    var(--white);
}

.service-chapter:first-child {
  margin-top: 0;
}

.service-chapter h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.service-chapter p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-chapter-compact {
  background:
    linear-gradient(90deg, rgba(24, 37, 53, .96), rgba(24, 37, 53, .86)),
    url("assets/wp-26-img-20240608-140943-new-1536x1152.webp") center / cover;
}

.service-chapter-compact h3 {
  color: var(--white);
}

.service-chapter-compact p:last-child {
  color: rgba(255, 255, 255, .78);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(340px, 1.12fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 24, 32, .06);
  overflow: hidden;
}

.core-boxes-transferred {
  padding: 28px 0 12px;
}

.core-boxes-transferred .service-separator {
  margin-bottom: 16px;
}

.core-boxes-page .core-boxes-transferred #service-core {
  width: 100%;
}

#service-kokili {
  position: relative;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  transform: none;
}

.service-main {
  overflow: hidden;
  border-radius: 6px;
  background: #fbfcfd;
}

.service-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-main-photo-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 280px;
  margin: 0;
  overflow: hidden;
  contain: paint;
  border-radius: 6px 6px 0 0;
  background: #dce2e8;
}

.service-main-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: #dce2e8;
  display: block;
}

.admin-photo-frame > img[data-photo-scale],
.admin-photo-frame-editing > img {
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
}

.service-main span {
  display: block;
  margin: 20px 22px 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.service-main h3 {
  margin: 10px 22px;
  font-size: 24px;
  line-height: 1.12;
}

.service-main p {
  margin: 0 22px 24px;
  color: var(--muted);
}

.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 46px;
  width: fit-content;
  padding: 0 20px;
  margin: 0 22px 24px;
  border: 1px solid #8fc7e7;
  border-radius: 6px;
  color: var(--white);
  background: #147cad;
  font-weight: 900;
  text-transform: none;
  box-shadow: 0 8px 18px rgba(15, 96, 150, .16);
}

.more-link::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
}

.more-link:hover {
  color: var(--white);
  border-color: #0d6795;
  background: #0d6795;
}

.service-separator {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(320px, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(15, 96, 150, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .08), transparent 50%),
    var(--white);
}

.service-separator h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
}

.service-separator p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-separator-reverse {
  direction: rtl;
}

.service-separator-reverse > * {
  direction: ltr;
}

.service-separator-copy {
  grid-template-columns: minmax(260px, .62fr) minmax(360px, 1fr);
}

.service-separator-text {
  display: grid;
  gap: 14px;
}

.service-separator a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.service-separator-dark {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 75, 120, .96), rgba(15, 96, 150, .82)),
    url("assets/wp-26-img-20240608-140943-new-1536x1152.webp") center / cover;
}

.service-separator-dark p {
  color: rgba(255, 255, 255, .78);
}

.service-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.service-photo-frame {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 214px;
  margin: 0;
  overflow: hidden;
  contain: paint;
  border-radius: 6px;
  background: #dce2e8;
}

.service-photos img,
.service-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: #dce2e8;
}

.service-photo-frame img {
  border-radius: 0;
}

#service-kokili .service-photos {
  isolation: isolate;
}

#service-kokili .service-photos img,
#service-kokili + .service-banner-collage figure,
#service-kokili + .service-banner-collage img {
  background: #dce2e8;
}

#service-kokili .service-photos img {
  mix-blend-mode: multiply;
}

#service-kokili .service-photos,
#service-kokili + .service-banner-collage {
  background: transparent;
}

#service-kokili + .service-banner-collage img {
  mix-blend-mode: multiply;
}

#service-kokili .service-photos img:nth-child(2),
#service-kokili .service-photos .service-photo-frame:nth-child(2) img {
  object-position: center 58%;
}

#service-big-kokili .service-photos {
  grid-template-rows: repeat(2, minmax(214px, 1fr));
}

#service-big-kokili .service-main {
  align-self: stretch;
  min-height: 0;
}

#service-big-kokili .service-photos img {
  aspect-ratio: 1.52 / 1;
  min-height: 214px;
  height: auto;
  padding: 0;
  object-fit: contain;
  background: #dce2e8;
}

#service-castings .service-main img,
#service-castings .service-photos img {
  padding: 0;
  object-fit: contain;
  background: #dce2e8;
}

#service-core {
  align-items: start;
  grid-template-columns: minmax(560px, 1fr) minmax(520px, 640px);
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(14px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 24, 32, .06);
}

#service-core .service-main {
  display: grid;
  align-content: start;
  min-height: 578px;
  padding: clamp(42px, 5vw, 64px);
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .045), transparent 46%),
    #fbfcfd;
}

#service-core .service-main span {
  margin: 0 0 14px;
}

#service-core .service-main h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1.05;
}

#service-core .service-main p {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.62;
}

#service-core .core-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}

#service-core .core-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid rgba(15, 96, 150, .18);
  border-radius: 999px;
  color: #0b4b78;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
}

#service-core .service-main .more-link {
  margin: 0;
}

#service-core .service-photos {
  width: 100%;
  max-width: 640px;
  justify-self: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 186px;
  align-self: start;
  align-items: stretch;
  gap: 9px;
  padding: 0;
  background: transparent;
}

#service-core .core-photo-frame {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  height: 186px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #dce2e8;
  box-shadow: 0 8px 20px rgba(18, 24, 32, .045);
}

#service-core .core-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #dce2e8;
  transform: none;
}

#service-core .core-photo-frame-new img {
  padding: 0;
}

#service-core .core-photo-zoom-left img {
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: contain;
}

#service-core .core-photo-zoom-right img {
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: contain;
}


#service-lnd .service-main img,
#service-lnd .service-photos img {
  padding: 0;
  object-fit: contain;
  background: #dce2e8;
}

#service-lnd {
  grid-template-columns: minmax(430px, .88fr) minmax(720px, 1.32fr);
  align-items: start;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(14px, 1.5vw, 18px);
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .055), transparent 42%),
    #fff;
}

#service-lnd .service-main {
  align-self: start;
  border: 1px solid rgba(220, 226, 232, .86);
  box-shadow: 0 14px 34px rgba(18, 24, 32, .055);
}

#service-lnd .lnd-main-photos {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 8px;
  height: 300px;
  background: #dce2e8;
}

#service-lnd .lnd-main-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

#service-lnd .lnd-main-photos img:nth-child(2) {
  object-fit: contain;
}

#service-lnd .service-main > img {
  height: 300px;
  object-fit: contain;
  object-position: center;
  background: #dce2e8;
}

#service-lnd .service-main span {
  margin-top: 22px;
}

#service-lnd .service-main h3 {
  font-size: clamp(26px, 2.4vw, 36px);
}

#service-lnd .service-main p {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.55;
}

#service-lnd .service-photos {
  grid-template-columns: minmax(340px, 1fr) minmax(260px, .78fr);
  grid-template-rows: 650px;
  align-items: stretch;
  gap: 12px;
}

#service-lnd .service-photos img {
  height: 100%;
  min-height: 0;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(18, 24, 32, .055);
}

#service-lnd .lnd-photo-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  min-height: 0;
}

#service-lnd .lnd-photo-stack img {
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

#service-lnd .service-photos > img:first-child {
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

#service-machines:not(.kokil-machines) {
  position: relative;
  grid-template-columns: minmax(320px, .72fr) minmax(560px, 1fr);
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin-left: 0;
  padding: 16px;
  overflow: hidden;
  transform: none;
  background:
    linear-gradient(105deg, rgba(15, 96, 150, .055) 0%, rgba(15, 96, 150, .055) 28%, #fff 28%, #fff 100%);
  box-shadow: 0 24px 56px rgba(18, 24, 32, .09);
}

#service-machines:not(.kokil-machines)::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 38px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

#service-machines .machines-story-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(24px, 2.4vw, 38px) 0 clamp(24px, 2.4vw, 38px) 38px;
}

#service-machines .machines-story-copy span {
  display: block;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

#service-machines .machines-story-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(27px, 2.3vw, 34px);
  line-height: 1.12;
}

#service-machines .machines-story-copy p {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

#service-machines .machines-story-copy .more-link {
  margin: 0;
}

#service-machines .machines-photo-story {
  display: grid;
  width: 100%;
  justify-self: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: clamp(300px, 26vw, 380px) clamp(165px, 14vw, 215px);
  gap: 12px;
  min-width: 0;
}

#service-machines .machines-photo-story figure {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(194, 207, 218, .9);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .86), rgba(220, 226, 232, .96) 64%),
    #dce2e8;
  box-shadow: 0 14px 28px rgba(18, 24, 32, .08);
  contain: paint;
}

#service-machines .machines-photo-story img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-width: none;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0;
  background: transparent;
}

#service-machines .machines-photo-story figure:nth-child(1) {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  padding: 0;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, .98), rgba(230, 236, 241, .98) 58%, #d4dde5 100%);
  box-shadow:
    0 22px 44px rgba(18, 24, 32, .13),
    inset 0 0 0 1px rgba(15, 96, 150, .10);
}

#service-machines .machines-photo-story figure:nth-child(1) img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent;
}

#service-machines .machines-photo-story figure:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  margin-top: 0;
}

#service-machines .machines-photo-story figure:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  place-items: center;
}

#service-machines .machines-photo-story figure:nth-child(4) img,
#service-machines .machines-photo-story figure:nth-child(5) img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  padding: 0;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent;
}

#service-machines .machines-photo-story figure:nth-child(3) img,
#service-machines .machines-photo-story figure:nth-child(5) img,
#service-machines + .service-photo-strip figure:nth-child(3) img,
#service-machines + .service-photo-strip figure:nth-child(4) img {
  mix-blend-mode: multiply;
}

#service-machines .machines-photo-story figure:nth-child(3) img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  padding: 0;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent;
}

#service-machines .machines-photo-story figure:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  margin-top: 0;
}

#service-machines .machines-photo-story figure:nth-child(5) {
  display: none;
}

#service-machines .machines-photo-mobile img {
  width: 136%;
  height: 136%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

#service-machines .machines-photo-story figure[data-added-photo] {
  grid-column: span 4;
  grid-row: auto;
  min-height: 205px;
  margin-top: 0;
}

#service-machines .machines-photo-story figure[data-added-photo] img {
  object-fit: contain;
  padding: 0;
  background: #dce2e8;
}

#service-machines + .service-photo-strip figure {
  background: #dce2e8;
}

.service-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-photo-strip-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-photo-strip figure {
  overflow: hidden;
  margin: 0;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .92), transparent 48%),
    linear-gradient(90deg, #11161b 0%, #d7dbe0 50%, #11161b 100%);
}

.service-photo-strip img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: contain;
}

.service-photo-strip-big-kokili figure {
  background: #dce2e8;
}

.service-photo-strip-big-kokili img {
  padding: 14px;
}

.service-banner {
  overflow: hidden;
  margin: 2px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-banner-collage {
  display: grid;
  grid-template-columns: 1.35fr .65fr .65fr;
  grid-template-rows: 160px 160px;
  gap: 14px;
  padding: 14px;
}

.service-banner-collage figure {
  overflow: hidden;
  margin: 0;
  border-radius: 6px;
  background: #dce2e8;
}

.service-banner-collage-three {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 260px;
}

.service-banner-collage-three .service-banner-large,
.service-banner-collage-three figure:nth-child(2) {
  grid-row: auto;
}

.service-banner-collage-three img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-banner-large {
  grid-row: 1 / -1;
}

.service-banner-collage figure:nth-child(2) {
  grid-row: 1 / -1;
}

/* Legacy card selectors kept harmless for older markup variants. */
.service-card h3 {
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.14;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.engineering {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 37, 53, .96), rgba(24, 37, 53, .82)),
    url("assets/wp-24-img-20210518-152535-1536x1152.webp") center / cover;
}

.engineering h2 {
  color: var(--white);
}

.engineering p {
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
}

.engineering-items {
  display: grid;
  gap: 14px;
}

.engineering-items div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 110px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.engineering-items b {
  color: var(--accent);
  font-size: 28px;
}

.engineering-items span {
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  font-weight: 800;
}

.portfolio {
  background: #eef2f5;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}

.portfolio-grid figure {
  height: 100%;
}

.portfolio-grid figcaption {
  display: none;
}

.portfolio-group {
  margin-top: 38px;
}

.portfolio-group:first-of-type {
  margin-top: 0;
}

.portfolio-group:not(:last-of-type) {
  display: none;
}

.portfolio-group h3 {
  margin-bottom: 24px;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.14;
  text-align: center;
}

.portfolio-grid-four,
.portfolio-grid-many {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid a {
  display: block;
  min-height: 100%;
}

.portfolio-grid a:hover img {
  transform: scale(1.035);
}

.portfolio-grid img {
  transition: transform .22s ease;
}

.portfolio-restored {
  padding: 28px 0 72px;
}

.portfolio-restored .section-heading {
  margin-bottom: 26px;
}

.portfolio-restored .section-heading h2 {
  margin: 38px 0 0;
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 1.08;
  text-align: center;
}

.portfolio-restored .portfolio-group {
  margin-top: 0;
}

.portfolio-restored .portfolio-grid {
  grid-auto-rows: 220px;
  gap: 14px;
}

.portfolio-restored .portfolio-grid figure {
  overflow: hidden;
  border-radius: 7px;
  background: #e4e9ed;
}

.portfolio-restored .portfolio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-large {
  grid-row: span 2;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  padding: clamp(16px, 3vw, 32px);
  background: rgba(8, 13, 19, .92);
}

.portfolio-modal.is-open {
  display: grid;
}

.portfolio-modal-inner {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  width: min(1240px, 100%);
  max-height: calc(100vh - clamp(32px, 6vw, 64px));
  margin: auto;
}

.portfolio-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(8, 13, 19, .96);
  box-shadow: none;
}

.portfolio-stage figure {
  margin: 0;
  background: transparent;
}

.portfolio-stage img {
  display: block;
  width: 100%;
  height: clamp(360px, 52vw, 640px);
  object-fit: contain;
  background: transparent;
}

.portfolio-stage figcaption {
  display: none;
}

.portfolio-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 42%),
    rgba(18, 24, 32, .86);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .24);
  cursor: pointer;
  transform: translateY(-50%);
}

.portfolio-arrow:hover {
  border-color: rgba(213, 110, 31, .9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 42%),
    rgba(24, 37, 53, .94);
}

.portfolio-arrow-prev {
  left: 12px;
}

.portfolio-arrow-next {
  right: 12px;
}

.portfolio-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}

.portfolio-thumb {
  flex: 0 0 112px;
  overflow: hidden;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: var(--blue-dark);
  cursor: pointer;
  scroll-snap-align: start;
}

.portfolio-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.portfolio-thumb.is-active {
  border-color: var(--accent);
}

.portfolio-thumb.is-active img,
.portfolio-thumb:hover img {
  opacity: 1;
}

.portfolio-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(18, 24, 32, .94);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 72px 24px 32px;
  background: rgba(8, 13, 19, .9);
}

.lightbox:target {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 101;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.docs-news {
  background: var(--white);
}

.doc-list,
.news {
  display: grid;
  gap: 12px;
}

.doc-list a,
.news article {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.doc-list span,
.news time {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.doc-list b {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.18;
}

.news h3 {
  margin: 10px 0;
  font-size: 21px;
}

.news p {
  margin-bottom: 0;
  color: var(--muted);
}

.order {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 24, 32, .95), rgba(18, 24, 32, .72)),
    url("assets/wp-26-img-20240608-140943-new-1536x1152.webp") center / cover;
}

.order h2 {
  color: var(--white);
}

.order p {
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(8, 13, 19, .58);
  font: inherit;
}

.lead-form select option {
  color: var(--ink);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, .52);
}

.lead-form button {
  width: max-content;
}

.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  font-size: 14px;
  font-weight: 700;
}

.lead-form .consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--accent);
}

.form-legal {
  margin: -4px 0 0 !important;
  color: rgba(255, 255, 255, .52);
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}

.request-modal:target,
.request-modal.is-open {
  display: grid;
}

.request-modal-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(8, 13, 19, .88);
  backdrop-filter: blur(6px);
}

.request-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(360px, 1fr);
  gap: clamp(20px, 4vw, 46px);
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 24, 32, .96), rgba(11, 75, 120, .88)),
    url("assets/wp-26-img-20240608-140943-new-1536x1152.webp") center / cover;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .46);
}

.request-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  background: rgba(255, 255, 255, .14);
  font-size: 26px;
  font-weight: 900;
}

.request-modal-copy h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.request-modal-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.side-jump-nav {
  position: fixed;
  top: 50%;
  left: 14px;
  z-index: 39;
  display: grid;
  gap: 8px;
  width: 204px;
  padding: 10px;
  border: 1px solid rgba(15, 96, 150, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 36px rgba(18, 24, 32, .16);
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.side-jump-nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--blue-dark);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.side-jump-nav a:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(18, 24, 32, .22);
  font-size: 24px;
  font-weight: 900;
}

.floating-request {
  position: fixed;
  right: 84px;
  bottom: 22px;
  z-index: 41;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(18, 24, 32, .22);
}

.floating-layout-edit {
  position: fixed;
  right: 284px;
  bottom: 22px;
  z-index: 41;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--steel);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(18, 24, 32, .18);
}

.floating-request:hover {
  background: var(--blue-dark);
}

.floating-layout-edit:hover {
  background: var(--blue-dark);
}

.scroll-top:hover {
  background: var(--accent-dark);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .78);
  background: #101820;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.site-footer span {
  font-weight: 900;
}

.custom-block {
  padding: clamp(54px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  background: #f5f7f8;
}

.custom-block-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.custom-block-head {
  max-width: 860px;
  margin-bottom: 24px;
}

.custom-block-head h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: .98;
}

.custom-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.custom-block-two .custom-block-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custom-block-wide .custom-block-grid {
  grid-template-columns: 1fr;
}

.custom-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 27, 42, .06);
}

.custom-card figure {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 220px;
  aspect-ratio: 1.52 / 1;
  background: #dce3e9;
}

.custom-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #dce3e9;
}

.custom-card-body {
  padding: 18px;
}

.custom-card-body h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.08;
}

.custom-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.custom-card-text {
  display: flex;
  min-height: 220px;
}

.custom-card-text .custom-card-body {
  display: grid;
  align-content: center;
}

.machines-page {
  background: #f5f7f8;
}

.machines-hero {
  padding: clamp(54px, 8vw, 104px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 22%, rgba(15, 96, 150, .42), transparent 34%),
    linear-gradient(135deg, #07111c 0%, #142235 54%, #0a1018 100%);
}

.machines-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
}

.machines-hero-copy h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: .98;
  letter-spacing: -.045em;
}

.machines-hero-copy p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(18px, 1.8vw, 22px);
}

.machines-hero-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: #dce2e8;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .36);
}

.machines-hero-photo img {
  width: 100%;
  min-height: clamp(360px, 34vw, 620px);
  object-fit: cover;
  object-position: center;
}

.machines-v2 {
  color: #101821;
  background: #f3f6f8;
}

.machines-v2-hero {
  position: relative;
  min-height: clamp(560px, 70vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #111923;
}

.machines-v2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 20, .88) 0%, rgba(5, 12, 20, .58) 44%, rgba(5, 12, 20, .12) 100%),
    linear-gradient(0deg, rgba(5, 12, 20, .70) 0%, rgba(5, 12, 20, .06) 52%);
  pointer-events: none;
}

.machines-v2-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.machines-v2-hero-text {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1520px);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 108px) 0;
}

.machines-v2-hero-text h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

.machines-v2-hero-text p:not(.section-kicker) {
  max-width: 780px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.machines-v2 .button-secondary {
  color: #101821;
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .72);
}

.machine-automation-note {
  padding: clamp(32px, 4vw, 56px) 0 0;
}

.machine-automation-note .service-separator {
  grid-template-columns: minmax(420px, 1fr) minmax(360px, .86fr);
}

.machine-types,
.machine-robotics,
.machine-advantages,
.machine-gallery,
.machine-order {
  padding: clamp(58px, 7vw, 104px) 0;
}

.machine-section-head {
  max-width: 1080px;
  margin-bottom: 30px;
}

.machine-section-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.machine-type-grid,
.machine-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.machine-type-grid article,
.machine-advantage-grid article {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(18, 24, 32, .08);
}

.machines-v2 .machine-type-grid article,
.machines-v2 .machine-advantage-grid article {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 249, 252, .96));
  box-shadow: 0 18px 46px rgba(16, 24, 33, .09);
}

.machine-type-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.machine-type-grid h3,
.machine-advantage-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.machine-type-grid p,
.machine-advantage-grid p,
.machine-split p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.machine-advantage-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.machine-advantage-photo-grid figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dce2e8;
  box-shadow: 0 18px 46px rgba(16, 24, 33, .09);
}

.machine-advantage-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.machine-robotics {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 28, .96), rgba(20, 34, 53, .90)),
    url("assets/machines-custom-03.webp") center / cover;
}

.machine-split {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(440px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.machine-split h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.02;
}

.machine-split p {
  color: rgba(255, 255, 255, .76);
}

.machine-split p + p {
  margin-top: 16px;
}

.machine-split figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
}

.machine-split img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.machines-v2-automation {
  padding: clamp(62px, 7vw, 110px) 0;
  color: var(--white);
  background: #0d1824;
}

.machines-v2-automation-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(460px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.machines-v2-automation h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

.machines-v2-automation p:not(.section-kicker) {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  line-height: 1.62;
}

.machines-v2-automation p + p {
  margin-top: 16px;
}

.machines-v2-automation figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #dce2e8;
  box-shadow: 0 30px 72px rgba(0, 0, 0, .34);
}

.machines-v2-automation img {
  width: 100%;
  height: clamp(340px, 34vw, 560px);
  object-fit: cover;
  object-position: center;
}

.machines-v2-gallery {
  background: #eef3f6;
}

.machines-v4 {
  color: #101821;
  background: #f3f6f8;
}

.machines-v4-hero {
  position: relative;
  min-height: clamp(560px, 70vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #111923;
}

.machines-v4-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 20, .88) 0%, rgba(5, 12, 20, .58) 44%, rgba(5, 12, 20, .12) 100%),
    linear-gradient(0deg, rgba(5, 12, 20, .70) 0%, rgba(5, 12, 20, .06) 52%);
  pointer-events: none;
}

.machines-v4-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.machines-v4-hero-text {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1520px);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 108px) 0;
}

.machines-v4-hero-text h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

.machines-v4-hero-text p:not(.section-kicker) {
  max-width: 780px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

/* Keep the machines page header on the same 700px desktop rhythm as the
   homepage header: 86px shared navigation + 614px visual hero. */
@media (min-width: 861px) {
  .machines-v4-hero {
    height: 614px;
    min-height: 614px;
    align-items: center;
  }

  .machines-v4-hero-text {
    padding: 44px 0;
  }

  .machines-v4-hero-text h1 {
    max-width: 900px;
    font-size: clamp(48px, 4.4vw, 68px);
    line-height: 0.98;
  }

  .machines-v4-hero-text p:not(.section-kicker) {
    max-width: 760px;
    font-size: clamp(18px, 1.35vw, 20px);
    line-height: 1.45;
  }
}

.machines-v4 .button-secondary {
  color: #101821;
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .72);
}

.machines-v4 .machine-type-grid article,
.machines-v4 .machine-advantage-grid article {
  min-height: 196px;
  padding: 28px 34px 26px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 249, 252, .96));
  box-shadow: 0 18px 46px rgba(16, 24, 33, .09);
}

.machines-v4 .machine-type-grid span {
  margin-bottom: 20px;
}

.machines-v4 .machine-type-grid h3,
.machines-v4 .machine-advantage-grid h3 {
  margin-bottom: 10px;
}

.machines-photo-strip {
  padding: clamp(40px, 4.8vw, 72px) 0 clamp(44px, 5.2vw, 78px);
  background:
    linear-gradient(180deg, #f3f6f8 0%, #eef3f6 62%, #dfe7ed 100%);
}

.machines-photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 1.7vw, 24px);
}

.machines-photo-strip figure {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(174, 188, 200, .84);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(16, 24, 32, .12);
}

.machines-photo-strip-media {
  display: block;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1.35 / 1;
  height: auto;
  padding: 0;
  background: linear-gradient(180deg, #edf3f7 0%, #dbe5ec 100%);
}

.machines-photo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  will-change: auto !important;
}

.machines-photo-strip figure::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1.35 / 1;
  height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 48%, rgba(12, 22, 32, .08) 100%);
  pointer-events: none;
}

.machines-photo-strip figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  min-height: 168px;
  padding: 22px 22px 24px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f6f9fb 100%);
}

.machines-photo-strip figcaption span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.machines-photo-strip figcaption strong {
  display: block;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.12;
}

.machines-photo-strip figcaption em {
  display: block;
  color: var(--muted);
  font-size: 16px;
  font-style: normal;
  line-height: 1.48;
}

.machines-complex-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 5.2vw, 82px) 0 clamp(58px, 6vw, 92px);
  background:
    linear-gradient(180deg, #eef4f8 0%, #dfe8ee 100%);
}

.machines-complex-strip::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(238, 244, 248, 0), rgba(12, 24, 36, .08));
  pointer-events: none;
}

.machines-complex-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(12px, 1.2vw, 18px);
}

.machines-complex-copy {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
  max-width: none;
}

.machines-complex-copy .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.machines-complex-copy h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 3.65vw, 58px);
  line-height: 1.02;
}

.machines-complex-copy p:not(.section-kicker) {
  max-width: 1120px;
  margin: 0;
  color: #4b5965;
  font-size: clamp(18px, 1.18vw, 21px);
  line-height: 1.45;
}

.machines-complex-text {
  display: grid;
  gap: 12px;
  max-width: 1180px;
}

.machines-complex-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
}

.machines-complex-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 96, 150, .18);
  border-radius: 8px;
  color: #24313d;
  background: rgba(255, 255, 255, .68);
  font-size: 14px;
  font-weight: 800;
}

.machines-complex-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, .72fr);
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  aspect-ratio: 2.7 / 1;
  min-height: 0;
}

.machines-complex-strip .machines-complex-gallery figure {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(157, 173, 186, .86);
  border-radius: 8px;
  background: #d7dde1;
  box-shadow: 0 24px 58px rgba(16, 24, 32, .13);
}

.machines-complex-strip .machines-complex-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 38%, rgba(12, 22, 32, .07));
  pointer-events: none;
}

.machines-complex-main {
  grid-row: 1 / span 2;
}

.machines-complex-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.machines-complex-main img {
  object-fit: cover;
}

.machines-complex-gallery figure:not(.machines-complex-main) img {
  object-fit: cover;
}

.machines-complex-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.machines-complex-extra figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(157, 173, 186, .86);
  border-radius: 8px;
  background: #d7dde1;
  box-shadow: 0 24px 58px rgba(16, 24, 32, .13);
}

.machines-complex-extra figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 42%, rgba(12, 22, 32, .06));
  pointer-events: none;
}

.machines-complex-extra img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.machines-hard-equipment-callout {
  padding: clamp(24px, 2.8vw, 42px) 0;
  background: #dce7ed;
}

.machines-hard-equipment-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  min-height: 0;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 62px);
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0%, rgba(59, 157, 204, .28), transparent 42%),
    linear-gradient(112deg, #101f2d 0%, #123d59 60%, #176f98 100%);
  box-shadow: 0 20px 44px rgba(13, 24, 36, .18);
  text-align: left;
}

.machines-hard-equipment-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #ff6b2c;
}

.machines-hard-equipment-copy {
  max-width: 940px;
}

.machines-hard-equipment-kicker {
  display: block;
  margin-bottom: 9px;
  color: #ff8450;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.machines-hard-equipment-panel h2 {
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: -.025em;
  text-transform: none;
}

.machines-hard-equipment-panel p {
  margin: 13px 0 0;
  max-width: 780px;
  color: #d5e5ed;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.48;
}

.machines-hard-equipment-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 224px;
  padding: 17px 20px;
  border-radius: 8px;
  color: #fff;
  background: #ff641f;
  box-shadow: 0 10px 24px rgba(8, 29, 43, .22);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.machines-hard-equipment-action:hover {
  background: #e95210;
}

.machines-hard-equipment-action-arrow {
  font-size: 21px;
  line-height: 1;
}

@media (max-width: 760px) {
  .machines-hard-equipment-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .machines-hard-equipment-action {
    width: min(100%, 280px);
  }
}

.machines-v4-automation {
  padding: clamp(62px, 7vw, 110px) 0;
  color: var(--white);
  background: #0d1824;
}

.machines-v4-automation-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(460px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.machines-v4-automation h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

.machines-v4-automation p:not(.section-kicker) {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  line-height: 1.62;
}

.machines-v4-automation p + p {
  margin-top: 16px;
}

.machines-v4-automation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.machines-v4-automation-actions .button {
  min-height: 48px;
  padding-inline: 24px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.machines-v4-automation figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #dce2e8;
  box-shadow: 0 30px 72px rgba(0, 0, 0, .34);
}

.machines-v4-automation img {
  width: 100%;
  height: clamp(340px, 34vw, 560px);
  object-fit: cover;
  object-position: center;
}

.machines-v4-gallery {
  background: #eef3f6;
}

.machine-advantages {
  background: var(--white);
}

.machine-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.machine-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #dce2e8;
  box-shadow: var(--shadow-soft);
}

.machine-gallery-grid img {
  width: 100%;
  height: clamp(240px, 22vw, 390px);
  object-fit: cover;
}

.machine-gallery-grid figure:nth-child(4) img {
  width: 132%;
  height: 132%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.machine-gallery-grid figure:nth-child(1),
.machine-gallery-grid figure:nth-child(6) {
  grid-column: span 2;
}

.piston-casting-solution {
  padding: clamp(62px, 7vw, 104px) 0;
  background:
    linear-gradient(180deg, #eef3f6 0%, #e5edf2 100%);
}

.piston-casting-hero {
  position: relative;
  min-height: clamp(360px, 38vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(176, 190, 202, .8);
  border-radius: 8px;
  background: #101b25;
  box-shadow: 0 28px 70px rgba(16, 31, 43, .18);
}

.piston-casting-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 20, 31, .88) 0%, rgba(9, 20, 31, .66) 38%, rgba(9, 20, 31, .12) 72%),
    linear-gradient(180deg, rgba(9, 20, 31, .14), rgba(9, 20, 31, .44));
}

.piston-casting-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.piston-casting-hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 4.5vw, 72px);
  top: 50%;
  width: min(620px, calc(100% - 56px));
  transform: translateY(-50%);
  color: var(--white);
}

.piston-casting-hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

.piston-casting-hero-copy p:not(.section-kicker) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.44;
}

.piston-casting-content {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 46px);
}

.piston-casting-copy h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.piston-casting-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.piston-casting-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.piston-casting-points article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(176, 190, 202, .72);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 18px 42px rgba(16, 31, 43, .08);
}

.piston-casting-points span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 900;
  font-size: 14px;
}

.piston-casting-points p {
  margin: 0;
  color: #4f5d69;
  font-size: 17px;
  line-height: 1.42;
}

.piston-casting-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 18px);
  margin-top: clamp(24px, 3vw, 36px);
}

.piston-casting-photos figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(176, 190, 202, .8);
  border-radius: 8px;
  background: #dce4ea;
  box-shadow: 0 20px 48px rgba(16, 31, 43, .10);
}

.piston-casting-photos img {
  display: block;
  width: 100%;
  height: clamp(260px, 24vw, 390px);
  object-fit: cover;
  object-position: center;
}

.portfolio-works {
  background:
    linear-gradient(180deg, rgba(238, 243, 246, .98), rgba(231, 238, 242, .98));
}

.portfolio-works .machine-section-head {
  max-width: 1030px;
}

.portfolio-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 18px);
  align-items: stretch;
}

.portfolio-works-card {
  display: block;
  overflow: hidden !important;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(176, 190, 202, .78);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(248, 251, 253, .98) 0%, rgba(221, 230, 237, .98) 58%, rgba(199, 212, 222, .98) 100%);
  box-shadow: 0 20px 48px rgba(16, 31, 43, .10);
}

.portfolio-works-media {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 34%, rgba(250, 252, 253, .96) 0%, rgba(226, 234, 240, .98) 54%, rgba(202, 214, 224, .98) 100%),
    linear-gradient(180deg, #eef3f6, #cfdbe3);
}

.portfolio-works-card-studio .portfolio-works-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(248, 251, 253, .98) 0%, rgba(223, 232, 238, .98) 58%, rgba(200, 214, 224, .98) 100%),
    linear-gradient(180deg, #eef3f6, #cfdbe3);
}

.portfolio-works-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center !important;
}

.portfolio-works-card img[data-photo-scale],
.portfolio-works-card img[data-photo-x],
.portfolio-works-card img[data-photo-y] {
  object-fit: cover !important;
}

.portfolio-works-card:nth-child(1) {
  grid-column: span 2;
}

.portfolio-works-card:nth-child(1) .portfolio-works-media {
  aspect-ratio: 16 / 9;
}

.portfolio-works-card:nth-child(2) {
  grid-column: span 1;
}

.portfolio-works-card:nth-child(5),
.portfolio-works-card:nth-child(6),
.portfolio-works-card:nth-child(11),
.portfolio-works-card:nth-child(12),
.portfolio-works-card:nth-child(13),
.portfolio-works-card:nth-child(14) {
  grid-column: span 1;
}

.portfolio-works-card:nth-child(9),
.portfolio-works-card:nth-child(15) {
  grid-column: span 1;
}

.portfolio-works-card:nth-child(10) {
  grid-column: span 2;
}

.portfolio-works-card:nth-child(10) .portfolio-works-media {
  aspect-ratio: 16 / 9;
}

@media (min-width: 981px) {
  .portfolio-works-grid--six-tail {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .portfolio-works-grid--six-tail > .portfolio-works-card {
    grid-column: span 4;
  }

  .portfolio-works-grid--six-tail > .portfolio-works-card:nth-child(1),
  .portfolio-works-grid--six-tail > .portfolio-works-card:nth-child(10) {
    grid-column: span 8;
  }

  .portfolio-works-grid--six-tail > .portfolio-works-card:nth-last-child(-n + 6) {
    grid-column: span 4;
  }

  .portfolio-works-grid--six-tail > .portfolio-works-card:nth-last-child(-n + 6) .portfolio-works-media {
    aspect-ratio: 4 / 3;
    background: #d9e3ea;
  }

  .portfolio-works-grid--six-tail > .portfolio-works-card:nth-last-child(-n + 6) .portfolio-works-media img {
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
}

.portfolio-works-card:nth-child(9) img,
.portfolio-works-card:nth-child(15) img {
  object-position: center 58%;
}

.machine-order {
  background: var(--white);
}

.machine-order-box {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 96, 150, .96), rgba(11, 75, 120, .90)),
    url("assets/hero-background-machine.webp") center / cover;
  box-shadow: var(--shadow);
}

.machine-order-box h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
}

.machine-order-box .button-primary {
  color: var(--white);
  background: linear-gradient(180deg, #f18a2a, #d87322);
  box-shadow: 0 14px 30px rgba(216, 115, 34, .32);
}

.machine-order-box .button-primary:hover {
  background: linear-gradient(180deg, #ff9a3b, #d87322);
}

@media (max-width: 1080px) {
  .side-jump-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 136px minmax(0, 1fr);
    row-gap: 4px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-contacts {
    gap: 4px;
    font-size: 16px;
  }

  .contact-link {
    min-height: 30px;
    padding: 0 8px;
  }

  .contact-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .hero-grid,
  .intro-grid,
  .kokil-original-triptych-grid,
  .kokil-modern-copy,
  .kokil-modern-tech,
  .engineering-grid,
  .docs-news-grid,
  .order-grid,
  .tech-content,
  .service-chapter {
    grid-template-columns: 1fr;
  }

  .custom-block-grid,
  .custom-block-two .custom-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .machines-hero-grid,
  .machines-v2-automation-grid,
  .machines-v4-automation-grid,
  .machine-split,
  .machine-order-box {
    grid-template-columns: 1fr;
  }

  .machines-photo-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .machines-complex-grid {
    grid-template-columns: 1fr;
  }

  .machines-complex-copy {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 820px;
  }

  .machines-complex-copy .section-kicker {
    margin-bottom: 0;
  }

  .machines-complex-points {
    justify-content: flex-start;
    margin-top: 2px;
  }

  .machines-complex-gallery {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .75fr);
    aspect-ratio: 2.7 / 1;
    min-height: 0;
  }

  .machine-type-grid,
  .machine-advantage-grid,
  .machine-advantage-photo-grid,
  .machine-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .piston-casting-content {
    grid-template-columns: 1fr;
  }

  .piston-casting-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-works-card:nth-child(1) {
    grid-column: span 2;
  }

  .wide-photo-strip-grid {
    grid-template-columns: minmax(210px, .9fr) minmax(210px, .9fr) minmax(370px, 1.85fr);
    overflow-x: auto;
    width: calc(100% - 36px);
    padding: 0 0 8px;
  }

  .process-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-cycle-line {
    grid-template-columns: repeat(5, minmax(132px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .process-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kokil-modern-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-icon-frame {
    width: clamp(132px, 18vw, 224px);
  }

  .service-feature {
    grid-template-columns: 1fr;
  }

  #service-core {
    grid-template-columns: 1fr;
    background: var(--white);
  }

  #service-machines {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 28px;
  }

  #service-machines .machines-story-copy {
    max-width: 700px;
  }

  #service-machines .machines-photo-story {
    width: min(100%, 760px);
    grid-template-rows: clamp(300px, 42vw, 390px) clamp(170px, 24vw, 230px);
  }

  #service-lnd {
    grid-template-columns: 1fr;
  }

  #service-lnd .service-photos {
    grid-template-rows: 660px;
  }

  .service-separator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  #service-kokili {
    width: 100%;
  }

  .services .section-heading h2 {
    white-space: normal;
  }

  .header-cta {
    display: none;
  }

  .machines-photo-strip-grid {
    grid-template-columns: 1fr;
  }

  .piston-casting-hero {
    min-height: 420px;
  }

  .piston-casting-hero::after {
    background:
      linear-gradient(90deg, rgba(9, 20, 31, .88) 0%, rgba(9, 20, 31, .70) 55%, rgba(9, 20, 31, .28) 100%),
      linear-gradient(180deg, rgba(9, 20, 31, .12), rgba(9, 20, 31, .46));
  }

  .piston-casting-points,
  .piston-casting-photos {
    grid-template-columns: 1fr;
  }

  .piston-casting-photos img {
    height: auto;
  }

  .portfolio-works-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .portfolio-works-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-works-media {
    aspect-ratio: 4 / 3;
  }

  .portfolio-works-card:nth-child(7) .portfolio-works-media,
  .portfolio-works-card:nth-child(9) .portfolio-works-media,
  .portfolio-works-card:nth-child(10) .portfolio-works-media,
  .portfolio-works-card:nth-child(15) .portfolio-works-media {
    aspect-ratio: 3 / 4;
  }

  .machines-complex-strip {
    padding: 42px 0;
  }

  .machines-complex-copy h2 {
    font-size: 40px;
    line-height: 1;
  }

  .machines-complex-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 290px 200px 200px;
    min-height: 0;
  }

  .machines-complex-main {
    grid-row: auto;
  }

  .machines-photo-strip figure {
    grid-template-rows: auto 1fr;
  }

  .machines-photo-strip-media,
  .machines-photo-strip figure::after,
  .machines-photo-strip img {
    height: auto;
  }

  .machines-photo-strip img {
    height: 100%;
  }

  .machines-photo-strip figcaption {
    min-height: 194px;
  }

  .machines-complex-gallery img {
    height: 100%;
  }

  .machines-complex-extra {
    grid-template-columns: 1fr;
  }

  .kokil-full-hero,
  .kokil-full-hero > img {
    min-height: 520px;
    height: 520px;
  }

  .kokil-full-hero-text {
    left: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
  }

  .kokil-full-hero-text h1 {
    font-size: clamp(36px, 11vw, 58px);
    line-height: .96;
  }

  .kokil-full-hero-text p:not(.section-kicker) {
    font-size: 16px;
    line-height: 1.55;
  }

  .header-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 8px 0;
  }

  .logo img {
    width: 128px;
  }

  .header-contacts {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    font-size: 14px;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 0 6px;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .nav-dropdown {
    flex: 0 0 auto;
  }

  .nav-submenu {
    left: 0;
    min-width: min(270px, calc(100vw - 24px));
    border-radius: 12px;
    transform: translate(0, -4px) scale(.98);
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    transform: translate(0, 0) scale(1);
  }

  .contacts-page-grid {
    grid-template-columns: 1fr;
  }

  .contacts-card {
    padding: 22px;
  }

  .contacts-card h1 {
    font-size: 38px;
  }

  .contacts-list b {
    font-size: 18px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 380px;
  }

  .contacts-video-section .wrap {
    padding: 20px;
  }

  .hero-gallery,
  .tech-visuals,
  .tech-points,
  .process-row,
  .process-steps-grid,
  .kokil-original-triptych-grid,
  .kokil-modern-gallery,
  .portfolio-grid,
  .portfolio-grid-four,
  .portfolio-grid-three,
  .portfolio-grid-many,
  .service-banner-collage,
  .service-photo-strip,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .custom-block-grid,
  .custom-block-two .custom-block-grid {
    grid-template-columns: 1fr;
  }

  .kokil-modern {
    padding: 48px 0 60px;
  }

  .kokil-title-hero-card img {
    height: 440px;
  }

  .kokil-title-hero-card h1 {
    font-size: 40px;
    line-height: .98;
  }

  .kokil-title-hero-card p {
    font-size: 16px;
  }

  .kokil-modern-head h2 {
    font-size: 34px;
  }

  .kokil-search-hero img {
    height: 420px;
  }

  .kokil-search-hero h3 {
    font-size: 34px;
    line-height: 1.02;
  }

  .kokil-search-hero p {
    font-size: 16px;
  }

  .kokil-detail-hero {
    padding: 20px;
  }

  .kokil-detail-hero h3 {
    font-size: 34px;
    line-height: 1.02;
  }

  .kokil-detail-hero .hero-lead {
    font-size: 16px;
  }

  .kokil-detail-hero .hero-gallery {
    margin-top: 22px;
  }

  .kokil-detail-portfolio {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .kokil-detail-portfolio img {
    height: 220px;
  }

  .big-cast-kokili-copy {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .big-cast-kokili-copy h3 {
    font-size: 30px;
  }

  .big-cast-kokili-copy p:not(.section-kicker) {
    font-size: 16px;
    line-height: 1.58;
  }

  .kokil-video-section {
    padding: 20px;
  }

  .kokil-video-grid {
    grid-template-columns: 1fr;
  }

  .kokil-video-card,
  .kokil-video-card img {
    min-height: 260px;
  }

  .kokil-video-title {
    font-size: 19px;
  }

  .kokil-video-points p {
    font-size: 16px;
    line-height: 1.58;
  }

  .kokil-portfolio-showcase {
    padding: 20px;
  }

  .kokil-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .kokil-portfolio-grid img {
    height: 240px;
  }

  .kokil-modern-copy,
  .kokil-modern-tech {
    padding: 20px;
  }

  .kokil-modern-copy h3,
  .kokil-modern-tech h3 {
    font-size: 25px;
  }

  .kokil-modern-gallery img {
    height: 220px;
  }

  .kokil-modern-accent b {
    font-size: 24px;
  }

  .machine-type-grid,
  .machine-advantage-grid,
  .machine-advantage-photo-grid,
  .machine-gallery-grid {
    grid-template-columns: 1fr;
  }

  .machine-gallery-grid figure:nth-child(1),
  .machine-gallery-grid figure:nth-child(6) {
    grid-column: auto;
  }

  .machines-hero-photo img,
  .machines-v2-automation img,
  .machines-v4-automation img,
  .machine-split img,
  .machine-gallery-grid img {
    min-height: 0;
    height: 260px;
  }

  .machines-v2-hero {
    min-height: 620px;
  }

  .machines-v4-hero {
    min-height: 620px;
  }

  .machines-v2-hero-text {
    width: calc(100% - 28px);
    padding: 46px 0;
  }

  .machines-v4-hero-text {
    width: calc(100% - 28px);
    padding: 46px 0;
  }

  .wide-photo-strip {
    padding: 22px 0;
  }

  .wide-photo-strip-grid {
    grid-template-columns: 1fr;
    overflow: visible;
    width: calc(100% - 24px);
    padding: 0;
  }

  .wide-photo-strip img {
    height: 250px;
  }

  .kokil-original-triptych img {
    height: 260px;
  }

  .process-icons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10mm;
  }

  .process-icon-frame {
    width: clamp(104px, 36vw, 152px);
  }

  .process-cycle-line {
    grid-template-columns: repeat(5, minmax(158px, 1fr));
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .request-modal {
    padding: 12px;
  }

  .request-modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    padding: 48px 16px 18px;
  }

  .service-banner-collage {
    grid-template-rows: repeat(4, 220px);
  }

  .service-banner-large,
  .service-banner-collage figure:nth-child(2) {
    grid-row: auto;
  }

  .service-photos {
    grid-template-columns: 1fr;
  }

  #service-core .service-photos {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  #service-core .core-photo-frame {
    height: 220px;
  }

  #service-machines {
    width: 100%;
    padding: 18px 12px 20px;
    gap: 20px;
    background: #fff;
  }

  #service-machines::before {
    top: 18px;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    height: 3px;
  }

  #service-machines .machines-story-copy {
    padding: 16px 4px 0;
  }

  #service-machines .machines-story-copy h3 {
    font-size: 25px;
  }

  #service-machines .machines-photo-story {
    grid-template-columns: 1fr;
    width: 100%;
    grid-template-rows: 260px repeat(3, 190px);
    gap: 10px;
  }

  #service-machines .machines-photo-story figure:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  #service-machines .machines-photo-story figure:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin-top: 0;
  }

  #service-machines .machines-photo-story figure:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  #service-machines .machines-photo-story figure:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    margin-top: 0;
  }

  #service-machines .machines-photo-story figure:nth-child(5) {
    display: none;
  }

  #service-machines .machines-photo-story figure[data-added-photo] {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 196px;
  }

  #service-lnd {
    padding: 10px;
  }

  #service-lnd .service-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  #service-lnd .service-photos > img:first-child {
    height: 520px;
  }

  #service-lnd .lnd-photo-stack {
    height: auto;
    grid-template-rows: repeat(3, 220px);
  }

  .hero-gallery {
    grid-auto-rows: 230px;
  }

  .hero-photo-large,
  .portfolio-large {
    grid-row: auto;
    grid-column: auto;
  }

  .button,
  .lead-form button {
    width: 100%;
  }

  .floating-request {
    right: 82px;
    left: 16px;
    padding: 0 16px;
  }

  .floating-layout-edit {
    right: 16px;
    bottom: 74px;
    left: 16px;
    padding: 0 16px;
  }

  .engineering-items div {
    grid-template-columns: 1fr;
  }

.site-footer .wrap {
    display: grid;
  }
}

/* Core boxes page */
.core-boxes-page {
  background: #eef4f7;
  color: var(--ink);
}

.core-boxes-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    linear-gradient(105deg, rgba(9, 20, 31, .98) 0%, rgba(13, 31, 45, .95) 48%, rgba(33, 57, 70, .9) 100%),
    #111e28;
  color: #fff;
}

.core-boxes-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.core-boxes-hero-copy {
  max-width: 760px;
}

.core-boxes-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.core-boxes-hero-copy p:not(.section-kicker) {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.45;
}

.core-boxes-hero .hero-actions {
  margin-top: 30px;
}

.core-boxes-hero-media {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  grid-auto-rows: minmax(210px, 15vw);
  gap: 14px;
}

.core-boxes-hero-media figure,
.core-boxes-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 145, 160, .42);
  border-radius: 8px;
  background: linear-gradient(145deg, #dce6ec, #c8d6df);
  box-shadow: 0 20px 46px rgba(7, 18, 28, .18);
}

.core-boxes-hero-main {
  grid-row: span 2;
}

.core-boxes-hero-media img,
.core-boxes-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-boxes-hero-media figure:nth-child(2) img {
  object-position: center 42%;
}

.core-boxes-intro,
.core-boxes-capabilities,
.core-boxes-gallery,
.core-boxes-cta {
  padding: clamp(58px, 7vw, 96px) 0;
}

.core-boxes-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.core-boxes-intro h2,
.core-boxes-section-head h2,
.core-boxes-cta h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.core-boxes-copy {
  display: grid;
  gap: 18px;
  color: #536271;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.55;
}

.core-boxes-copy p {
  margin: 0;
}

.core-boxes-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.core-boxes-card-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid #c8d6df;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 44px rgba(17, 33, 47, .08);
}

.core-boxes-card-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.core-boxes-card-grid h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
}

.core-boxes-card-grid p {
  margin: 0;
  color: #647482;
  font-size: 18px;
  line-height: 1.45;
}

.core-boxes-section-head {
  margin-bottom: 28px;
}

.core-boxes-gallery {
  background: #e3ecf1;
}

.core-boxes-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.core-boxes-gallery figure {
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.core-boxes-gallery figure:not(.core-boxes-wide):not(.core-boxes-tall) {
  grid-column: span 2;
}

.core-boxes-gallery .core-boxes-wide {
  grid-column: span 3;
  aspect-ratio: 16 / 9;
}

.core-boxes-gallery .core-boxes-tall {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.core-boxes-gallery .core-boxes-tall img {
  object-position: center 38%;
}

.core-boxes-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 4vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(16, 31, 44, .96), rgba(29, 71, 96, .9)),
    #132536;
  color: #fff;
  box-shadow: 0 22px 52px rgba(11, 25, 38, .18);
}

.core-boxes-cta-panel p:not(.section-kicker) {
  margin: 16px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  font-size: 20px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .core-boxes-hero-grid,
  .core-boxes-intro-grid {
    grid-template-columns: 1fr;
  }

  .core-boxes-hero-media {
    grid-auto-rows: 240px;
  }

  .core-boxes-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .core-boxes-hero {
    padding: 42px 0 54px;
  }

  .core-boxes-hero-copy h1 {
    font-size: 42px;
  }

  .core-boxes-hero-media,
  .core-boxes-gallery-grid {
    grid-template-columns: 1fr;
  }

  .core-boxes-hero-media figure,
  .core-boxes-hero-main,
  .core-boxes-gallery figure,
  .core-boxes-gallery .core-boxes-wide,
  .core-boxes-gallery .core-boxes-tall,
  .core-boxes-gallery figure:not(.core-boxes-wide):not(.core-boxes-tall) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    min-height: 230px;
  }

  .core-boxes-card-grid,
  .core-boxes-cta-panel {
    grid-template-columns: 1fr;
  }

  .core-boxes-card-grid article {
    min-height: auto;
  }
}

/* Low pressure die casting page */
.lnd-page {
  background: #eef4f7;
  color: var(--ink);
}

.lnd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 115, 34, .28), transparent 34%),
    linear-gradient(105deg, rgba(9, 20, 31, .98) 0%, rgba(13, 31, 45, .95) 52%, rgba(34, 58, 70, .92) 100%),
    #111e28;
  color: #fff;
}

.lnd-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.lnd-hero-copy {
  max-width: 780px;
}

.lnd-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(46px, 5.5vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.lnd-hero-copy p:not(.section-kicker) {
  margin: 0;
  max-width: 690px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.45;
}

.lnd-hero .hero-actions {
  margin-top: 30px;
}

.lnd-hero-media {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  grid-auto-rows: minmax(205px, 15vw);
  gap: 14px;
}

.lnd-hero-media figure,
.lnd-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 145, 160, .42);
  border-radius: 8px;
  background: linear-gradient(145deg, #dce6ec, #c8d6df);
  box-shadow: 0 20px 46px rgba(7, 18, 28, .18);
}

.lnd-hero-main {
  grid-row: span 2;
}

.lnd-hero-media img,
.lnd-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lnd-hero-media figure:not(.lnd-hero-main) img,
.lnd-gallery figure:not(.lnd-wide) img {
  object-fit: contain;
  background: #dce4ea;
}

.lnd-hero-main img {
  object-position: center;
}

.lnd-solution,
.lnd-benefits,
.lnd-process,
.lnd-gallery,
.lnd-cta {
  padding: clamp(58px, 7vw, 96px) 0;
}

.lnd-solution-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.lnd-solution h2,
.lnd-section-head h2,
.lnd-process h2,
.lnd-cta h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lnd-copy {
  display: grid;
  gap: 18px;
  color: #536271;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.55;
}

.lnd-copy p {
  margin: 0;
}

.lnd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lnd-benefits-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid #c8d6df;
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 44px rgba(17, 33, 47, .08);
}

.lnd-benefits-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.lnd-benefits-grid h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
}

.lnd-benefits-grid p {
  margin: 0;
  color: #647482;
  font-size: 18px;
  line-height: 1.45;
}

.lnd-process {
  background: #e3ecf1;
}

.lnd-process-panel {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(480px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid #c8d6df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 33, 47, .08);
}

.lnd-process-intro {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #0a2c3f;
}

.lnd-process-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 35, .05) 30%, rgba(4, 23, 35, .92) 100%);
  pointer-events: none;
}

.lnd-process-intro img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: center;
}

.lnd-process-intro-copy {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 3vw, 38px);
  bottom: clamp(22px, 3vw, 38px);
  left: clamp(22px, 3vw, 38px);
}

.lnd-process-intro .section-kicker {
  color: #ff6a24;
}

.lnd-process-intro h2 {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

.lnd-process-list {
  display: grid;
  gap: 12px;
}

.lnd-process-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  background: #eef4f7;
  color: #283543;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.lnd-section-head {
  margin-bottom: 28px;
}

.lnd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.lnd-gallery figure {
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.lnd-gallery figure:not(.lnd-wide) {
  grid-column: span 2;
}

.lnd-gallery .lnd-wide {
  grid-column: span 3;
  aspect-ratio: 16 / 9;
}

.lnd-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 4vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(16, 31, 44, .96), rgba(29, 71, 96, .9)),
    #132536;
  color: #fff;
  box-shadow: 0 22px 52px rgba(11, 25, 38, .18);
}

.lnd-cta-panel p:not(.section-kicker) {
  margin: 16px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  font-size: 20px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .lnd-hero-grid,
  .lnd-solution-grid,
  .lnd-process-panel {
    grid-template-columns: 1fr;
  }

  .lnd-hero-media {
    grid-auto-rows: 240px;
  }

  .lnd-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lnd-hero {
    padding: 42px 0 54px;
  }

  .lnd-hero-copy h1 {
    font-size: 42px;
  }

  .lnd-hero-media,
  .lnd-gallery-grid {
    grid-template-columns: 1fr;
  }

  .lnd-hero-media figure,
  .lnd-hero-main,
  .lnd-gallery figure,
  .lnd-gallery .lnd-wide,
  .lnd-gallery figure:not(.lnd-wide) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    min-height: 230px;
  }

  .lnd-benefits-grid,
  .lnd-cta-panel {
    grid-template-columns: 1fr;
  }

  .lnd-benefits-grid article {
    min-height: auto;
  }
}

/* Test homepage concept */
.test-home-page {
  background: #eef3f6;
  color: var(--ink);
}

.test-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 88px) 0 clamp(38px, 5vw, 72px);
  background:
    linear-gradient(105deg, rgba(8, 18, 29, .98) 0%, rgba(11, 28, 42, .96) 52%, rgba(35, 60, 73, .9) 100%),
    #0d1a26;
  color: #fff;
}

.test-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.test-hero-copy {
  max-width: 780px;
}

.test-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: .94;
  letter-spacing: 0;
}

.test-hero-copy p:not(.section-kicker) {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.45;
}

.test-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.test-hero-board {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-auto-rows: minmax(230px, 16vw);
  gap: 14px;
}

.test-hero-board figure,
.test-service-card,
.test-supply-list article,
.test-proof-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(136, 155, 168, .42);
  border-radius: 8px;
  background: #dce6ec;
  box-shadow: 0 22px 52px rgba(9, 22, 35, .16);
}

.test-hero-large {
  grid-row: span 2;
}

.test-hero-board img,
.test-service-card img,
.test-supply-list img,
.test-proof-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-hero-board figure:nth-child(2) img {
  object-position: center 48%;
}

.test-focus-strip {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.test-focus-strip-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(150px, .7fr));
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(169, 189, 199, .7);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 42px rgba(15, 31, 43, .12);
}

.test-focus-strip strong,
.test-focus-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 900;
}

.test-focus-strip strong {
  color: #fff;
  background: #172636;
}

.test-focus-strip span {
  color: #172636;
  background: #edf3f6;
}

.test-manufacture,
.test-supply,
.test-solution,
.test-proof,
.test-order {
  padding: clamp(62px, 7vw, 104px) 0;
}

.test-section-head {
  max-width: 980px;
  margin-bottom: 32px;
}

.test-section-head h2,
.test-supply-copy h2,
.test-solution-copy h2,
.test-order-panel h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.test-manufacture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.test-service-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  background: #f7fafb;
}

.test-service-card-wide {
  grid-column: span 2;
}

.test-service-card div {
  padding: 24px;
}

.test-service-card span,
.test-solution-steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.test-service-card h3,
.test-supply-list h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
}

.test-service-card p,
.test-supply-copy p,
.test-supply-list p,
.test-solution-copy p,
.test-solution-steps p,
.test-order-panel p {
  margin: 0;
  color: #5f6f7d;
  font-size: 18px;
  line-height: 1.48;
}

.test-supply {
  background: #fff;
}

.test-supply-grid {
  display: grid;
  grid-template-columns: minmax(360px, .74fr) minmax(0, 1.26fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.test-supply-copy {
  position: sticky;
  top: 110px;
}

.test-supply-copy p:not(.section-kicker) {
  margin-top: 22px;
  font-size: 21px;
}

.equipment-request-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 30px;
  padding: 0 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #d56f22, #f08a2f);
  box-shadow: 0 18px 36px rgba(213, 111, 34, .24);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.equipment-request-plate:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #c9621c, #ee7c23);
  box-shadow: 0 22px 42px rgba(213, 111, 34, .32);
}

.test-supply-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.test-supply-list article {
  display: grid;
  grid-template-rows: 220px auto auto;
  padding-bottom: 22px;
  background: #eef4f7;
}

.test-supply-list h3,
.test-supply-list p {
  padding-inline: 22px;
}

.test-supply-list h3 {
  padding-top: 20px;
}

.home-equipment-supply .test-supply-list article {
  grid-template-rows: clamp(220px, 18vw, 270px) auto 1fr;
  min-height: 0;
}

.home-equipment-supply .test-supply-list img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: linear-gradient(180deg, #f7f9fa 0%, #e3ebef 100%);
}

.test-solution {
  background: #132232;
  color: #fff;
}

.test-solution-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.test-solution-copy p:not(.section-kicker) {
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 21px;
}

.test-solution-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.test-solution-steps article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(174, 195, 208, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.test-solution-steps b {
  display: block;
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.08;
}

.test-solution-steps p {
  color: rgba(255, 255, 255, .76);
}

.test-proof-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
}

.test-proof-gallery figure:nth-child(1),
.test-proof-gallery figure:nth-child(2) {
  grid-column: span 3;
  grid-row: span 2;
}

.test-proof-gallery figure:nth-child(n+3) {
  grid-column: span 2;
}

.test-order {
  padding-top: 0;
}

.test-order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(18, 42, 60, .96), rgba(20, 103, 151, .84)),
    url("assets/portfolio-kokil-open-grey-bg.webp") center / cover;
  box-shadow: 0 22px 52px rgba(18, 43, 60, .18);
}

.test-order-panel p:not(.section-kicker) {
  margin-top: 16px;
  max-width: 760px;
  color: rgba(255, 255, 255, .8);
  font-size: 21px;
}

.test-order-panel .button-primary {
  background: #d8732d;
  border-color: #d8732d;
  color: #fff;
}

@media (max-width: 1180px) {
  .test-hero-grid,
  .test-supply-grid,
  .test-solution-panel {
    grid-template-columns: 1fr;
  }

  .test-hero-board {
    grid-auto-rows: 240px;
  }

  .test-focus-strip-grid,
  .test-manufacture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test-supply-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .test-hero-copy h1 {
    font-size: 43px;
  }

  .test-hero-board,
  .test-focus-strip-grid,
  .test-manufacture-grid,
  .test-supply-list,
  .test-solution-steps,
  .test-order-panel {
    grid-template-columns: 1fr;
  }

  .test-hero-board figure,
  .test-hero-large,
  .test-service-card-wide,
  .test-proof-gallery figure:nth-child(1),
  .test-proof-gallery figure:nth-child(2),
  .test-proof-gallery figure:nth-child(n+3) {
    grid-column: auto;
    grid-row: auto;
  }

  .test-service-card {
    min-height: auto;
  }

  .test-proof-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
}


/* LND title-only benefit cards v1 */
.lnd-benefits--titles {
  padding: clamp(42px, 5vw, 68px) 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(41, 157, 184, .10), transparent 28%),
    linear-gradient(180deg, #edf4f7 0%, #e6eff3 100%);
}

.lnd-benefits--titles .lnd-benefits-grid {
  gap: 16px;
}

.lnd-benefits--titles .lnd-benefits-grid article {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px 26px 26px;
  border: 1px solid rgba(128, 195, 212, .26);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 184, 207, .20), transparent 42%),
    linear-gradient(145deg, #061d2a 0%, #0a3042 100%);
  box-shadow: 0 18px 38px rgba(12, 42, 56, .15);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.lnd-benefits--titles .lnd-benefits-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ff5b21, #ff934b);
}

.lnd-benefits--titles .lnd-benefits-grid article::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -58px;
  bottom: -72px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(116, 211, 229, .14);
  border-radius: 50%;
}

.lnd-benefits--titles .lnd-benefits-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 91, 33, .52);
  box-shadow: 0 24px 46px rgba(8, 40, 55, .23);
}

.lnd-benefits--titles .lnd-benefits-grid span {
  display: inline-grid;
  width: 44px;
  height: 32px;
  margin: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(255, 91, 33, .46);
  border-radius: 999px;
  color: #ff713d;
  background: rgba(255, 91, 33, .08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.lnd-benefits--titles .lnd-benefits-grid h3 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 1.75vw, 30px);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.lnd-benefits--titles .lnd-benefits-grid p {
  display: none;
}

@media (max-width: 760px) {
  .lnd-benefits--titles .lnd-benefits-grid article {
    min-height: 140px;
  }
}


/* LND engineering-team CTA v2 */
.lnd-cta--team {
  padding-top: clamp(28px, 3.5vw, 50px) !important;
  background: linear-gradient(180deg, #e7eff3 0%, #edf3f6 100%);
}

.lnd-cta--team .lnd-cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(34px, 5vw, 80px);
  min-height: 390px;
  padding: clamp(42px, 5vw, 72px);
  border: 1px solid rgba(113, 196, 214, .2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 24%, rgba(41, 173, 201, .22), transparent 30%),
    linear-gradient(115deg, #061d2b 0%, #0a3043 58%, #124b63 100%);
  box-shadow: 0 28px 62px rgba(9, 34, 48, .2);
}

.lnd-cta--team .lnd-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #ff5b21, #ff9147);
}

.lnd-cta--team .lnd-cta-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -280px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(101, 207, 226, .07);
  border-radius: 50%;
}

.lnd-cta--team .lnd-cta-panel__copy {
  max-width: 1100px;
}

.lnd-cta--team .section-kicker {
  margin-bottom: 20px;
  color: #ff6a32;
}

.lnd-cta--team .lnd-cta-panel h2 {
  max-width: 1080px;
  color: #fff;
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.lnd-cta--team .lnd-cta-panel h2 strong {
  color: #7bd5e4;
  font-weight: inherit;
}

.lnd-cta--team .lnd-cta-panel h2 em {
  display: block;
  max-width: 920px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .75);
  font-size: clamp(22px, 2vw, 32px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.lnd-cta--team .lnd-cta-panel p:not(.section-kicker) {
  max-width: 820px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid #ff5b21;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 1.35vw, 22px);
}

.lnd-cta--team .button-primary {
  min-width: 210px;
  min-height: 58px;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #ed571e, #ff7436);
  box-shadow: 0 16px 34px rgba(239, 91, 36, .26);
}

.lnd-cta--team .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(239, 91, 36, .34);
}

@media (max-width: 900px) {
  .lnd-cta--team .lnd-cta-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lnd-cta--team .button-primary {
    width: min(100%, 320px);
  }
}
