:root {
  --navy: #10242e;
  --gray: #52646b;
  --orange: #f05a28;
  --light-bg: #f3f6f7;
  --header-bg: #BDCED3;
  --about-bg: #d9f0f6;
  --nav-bg: #d9f0f6;
  --industries-bg: #b9e2f0;
  --hero-bg: #17394a;
  --contact-bg: #143f59;
  --hairline: #e8ecec24;

  --font-heading: "Oswald", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: var(--font-body);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 48px;
  background: color-mix(in srgb, var(--nav-bg) 80%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav[data-border]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-bottom: 1px solid var(--hairline);
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--navy);
  text-decoration: none;
}

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

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

.nav__links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-switch button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--gray);
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.lang-switch button.is-active { color: var(--orange); }

/* Mobile nav burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.nav__burger::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared content wrapper */
.content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin: 0;
}

.eyebrow--hero {
  letter-spacing: 1.6px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.5px;
  line-height: 1em;
  color: var(--navy);
  max-width: 780px;
  margin: 0;
}

.section-title--light { color: #ffffff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  min-height: 680px;
  width: 100%;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 28px;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #051928bd 0%, #0519286b 48%, #05192814 100%);
}

.hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 72px;
  letter-spacing: -1px;
  line-height: 0.95em;
  color: #ffffff;
  max-width: 760px;
  margin: 0;
}

.hero__desc {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45em;
  color: #e6f4f8;
  max-width: 550px;
  margin: 0;
}

/* About */
.about {
  background: var(--about-bg);
  width: 100%;
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.pillars {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1px;
  background: var(--hairline);
}

.pillar {
  background: var(--light-bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar__num {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  color: var(--orange);
  margin: 0;
}

.pillar__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}

.pillar__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5em;
  color: var(--gray);
  margin: 0;
}

/* Industries */
.industries {
  background: var(--industries-bg);
  width: 100%;
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.industry-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(49px, 1fr));
  gap: 1px;
  background: #e8ecec29;
}

.industry {
  background: #ffffffc7;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry__num {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  color: var(--orange);
  margin: 0;
}

.industry__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15em;
  color: var(--navy);
  margin: 0;
}

.industry__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4em;
  color: var(--gray);
  margin: 0;
}

/* Products */
.products {
  background: var(--light-bg);
  width: 100%;
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.products__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5em;
  color: var(--gray);
  max-width: 620px;
  margin: 0;
}

.product-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1px;
  background: var(--hairline);
}

.product-card {
  background: #ffffff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #F1F2F4;
  margin-bottom: 6px;
  overflow: hidden;
}

.product-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}

.product-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}

.product-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4em;
  color: var(--gray);
  margin: 0;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--contact-bg);
  width: 100%;
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.contact__bg {
  position: absolute;
  inset: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #082639eb 0%, #082639bd 58%, #0826394d 100%);
}

.contact .eyebrow,
.contact .section-title,
.contact__desc {
  position: relative;
  z-index: 1;
}

.contact__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45em;
  color: #d9f0f6;
  max-width: 600px;
  margin: 0;
}

/* Footer */
.footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 40px 48px;
  background: #ffffff;
}

.footer[data-border]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  border-top: 1px solid var(--hairline);
}

.footer__brand {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4em;
  color: var(--gray);
  margin: 0;
  flex: 1 0 0;
}

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__contact {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer__contact:hover { color: var(--orange); }

.footer__copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin: 0;
  white-space: nowrap;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 1199.98px) {
  .nav { padding: 18px 24px; }
  .nav__burger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 24px;
    background: color-mix(in srgb, var(--nav-bg) 96%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
  }

  .nav__links.is-open { display: flex; }

  .nav__links a {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
  }

  .hero {
    min-height: 560px;
    padding: 48px 24px;
    gap: 20px;
  }
  .hero__title { font-size: 42px; letter-spacing: -0.6px; line-height: 0.98em; max-width: 100%; }
  .hero__desc { max-width: 100%; }

  .about, .industries, .products {
    padding: 56px 24px;
    gap: 24px;
  }

  .contact {
    padding: 56px 24px;
    gap: 20px;
  }

  .section-title { font-size: 36px; max-width: 100%; }

  .pillars, .industry-grid, .product-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 12px;
  }

  .footer__brand { width: 100%; }
  .footer__contacts { flex-wrap: wrap; gap: 12px 20px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .section-title { font-size: 28px; }
}
