:root {
  --navy: #0E2A4A;
  --navy-deep: #091322;
  --white: #FFFFFF;
  --bg-arch: #F1F5F9;
  --bg-studio: #F8FAFC;
  --border: #E2E8F0;
  --steel: #475569;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 84px;
  --container-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--steel);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}

.btn-navy:hover,
.btn-navy:focus-visible {
  background-color: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-header {
  padding: 12px 22px;
  font-size: 0.78rem;
}

.btn-primary-light {
  background-color: var(--white);
  color: var(--navy-deep);
  border: 1px solid var(--white);
}

.btn-primary-light:hover,
.btn-primary-light:focus-visible {
  background-color: var(--bg-arch);
  border-color: var(--bg-arch);
}

.btn-primary-light .btn-icon {
  transition: transform 0.2s ease;
}

.btn-primary-light:hover .btn-icon {
  transform: translateX(3px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.07);
}

.btn-outline-footer {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.28);
  padding: 12px 22px;
  font-size: 0.75rem;
}

.btn-outline-footer:hover,
.btn-outline-footer:focus-visible {
  border-color: var(--white);
  background-color: var(--navy);
}

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(9, 19, 34, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-deep);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--navy);
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-left: 22px;
  border-left: 1px solid var(--border);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-btn {
  color: var(--steel);
  padding: 4px 5px;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-btn:hover {
  color: var(--navy);
}

.lang-btn.active {
  color: var(--navy);
  background-color: var(--bg-arch);
}

.lang-sep {
  color: var(--border);
  user-select: none;
}

.mobile-controls {
  display: none;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background-color: var(--white);
}

.menu-bar {
  width: 18px;
  height: 2px;
  background-color: var(--navy-deep);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(226, 232, 240, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 19, 34, 0.92) 0%,
    rgba(9, 19, 34, 0.76) 52%,
    rgba(14, 42, 74, 0.45) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(86vh - var(--header-h));
}

.hero-content {
  max-width: 840px;
  padding-bottom: 84px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.86);
  margin-bottom: 26px;
}

.eyebrow-rule {
  width: 36px;
  height: 2px;
  background-color: var(--white);
  opacity: 0.75;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.3vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 26px;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.72;
  color: rgba(241, 245, 249, 0.88);
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-architecture-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(226, 232, 240, 0.14);
}

.arch-pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 22px 0;
  border-right: 1px solid rgba(226, 232, 240, 0.14);
}

.arch-pillar:nth-child(2),
.arch-pillar:nth-child(3) {
  padding-left: 24px;
}

.arch-pillar:last-child {
  border-right: none;
}

.arch-code {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(241, 245, 249, 0.52);
}

.arch-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
   SHARED SECTION TYPOGRAPHY & HEADERS
   ========================================================================== */
.section {
  padding: 108px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.tag-line {
  width: 28px;
  height: 2px;
  background-color: var(--navy);
}

.section-tag-light {
  color: rgba(241, 245, 249, 0.82);
}

.section-tag-light .tag-line {
  background-color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}

/* ==========================================================================
   CORPORATE APPROACH (2-COLUMN WHITE ARCHITECTURAL BLOCK)
   ========================================================================== */
.section-approach {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.approach-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.approach-left .section-heading {
  max-width: 480px;
}

.approach-right {
  padding-top: 6px;
}

.approach-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--steel);
  margin-bottom: 36px;
}

.approach-disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.discipline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-deep);
}

.discipline-marker {
  width: 6px;
  height: 6px;
  margin-top: 6px;
  flex-shrink: 0;
  background-color: var(--navy);
}

/* ==========================================================================
   CAPABILITIES (3-COLUMN NUMBERED ARCHITECTURAL CARDS: 01, 02, 03)
   ========================================================================== */
.section-capabilities {
  background-color: var(--bg-arch);
  border-bottom: 1px solid var(--border);
}

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

.capability-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 44px 36px 42px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, box-shadow 0.25s ease, transform 0.22s ease;
}

.capability-card:hover {
  box-shadow: 0 14px 34px rgba(9, 19, 34, 0.06);
  transform: translateY(-2px);
}

.capability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.capability-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.capability-line {
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.capability-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.capability-desc {
  font-size: 0.96875rem;
  line-height: 1.72;
  color: var(--steel);
}

/* ==========================================================================
   MACHINE FLEET (2x2 GRID, FIXED 16:10 SLIDER CARDS)
   ========================================================================== */
.section-fleet {
  background-color: var(--white);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.machine-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, box-shadow 0.25s ease;
}

.machine-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 14px 36px rgba(9, 19, 34, 0.06);
}

.machine-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-studio);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  outline: none;
}

.machine-media:focus-visible {
  box-shadow: inset 0 0 0 2px var(--navy);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(9, 19, 34, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: rgba(9, 19, 34, 0.64);
  backdrop-filter: blur(4px);
  border-radius: 2px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background-color: rgba(255, 255, 255, 0.42);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  width: 20px;
  background-color: var(--white);
}

.machine-body {
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.machine-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.machine-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.machine-desc {
  font-size: 0.96875rem;
  line-height: 1.68;
  color: var(--steel);
}

/* ==========================================================================
   QUALITY & PROCESS DISCIPLINE BAND (#0E2A4A)
   ========================================================================== */
.quality-band {
  background-color: var(--navy);
  color: var(--white);
  padding: 88px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.12);
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.quality-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
}

.quality-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 18px;
}

.quality-text {
  font-size: 1.05rem;
  line-height: 1.76;
  color: rgba(241, 245, 249, 0.88);
  max-width: 660px;
}

.quality-steps {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(226, 232, 240, 0.22);
  padding-left: 32px;
  gap: 20px;
}

.q-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.q-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.q-step-index {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(241, 245, 249, 0.56);
  flex-shrink: 0;
}

.q-step-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

/* ==========================================================================
   FOOTER (#091322)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-deep);
  color: var(--white);
  padding: 76px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-entity {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.85);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.58);
  margin-bottom: 16px;
}

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(241, 245, 249, 0.88);
  max-width: 340px;
}

.footer-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  border-color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.84rem;
  color: rgba(241, 245, 249, 0.6);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.66);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .approach-left .section-heading {
    max-width: 100%;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .quality-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quality-steps {
    border-left: none;
    border-top: 1px solid rgba(226, 232, 240, 0.22);
    padding-left: 0;
    padding-top: 28px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .container {
    padding: 0 20px;
  }

  .brand-logo {
    height: 36px;
  }

  .mobile-controls {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 36px rgba(9, 19, 34, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.26s ease, opacity 0.22s ease, visibility 0.26s ease;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .header-actions {
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    justify-content: space-between;
  }

  .header-actions .lang-switch {
    display: none;
  }

  .btn-header {
    width: 100%;
  }

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

  .hero-content {
    padding-bottom: 56px;
  }

  .hero-architecture-bar {
    grid-template-columns: 1fr;
  }

  .arch-pillar,
  .arch-pillar:nth-child(2),
  .arch-pillar:nth-child(3) {
    padding: 14px 0;
    border-right: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  }

  .arch-pillar:last-child {
    border-bottom: none;
  }

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

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

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .approach-disciplines {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .capability-card {
    padding: 32px 24px;
  }

  .machine-body {
    padding: 24px 22px 28px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
