:root {
  --ink: #15201d;
  --muted: #5d6965;
  --line: #dce4df;
  --paper: #f7faf8;
  --white: #ffffff;
  --deep: #09110f;
  --teal: #13877f;
  --teal-dark: #0c5f59;
  --copper: #c1763a;
  --sage: #dfe9e2;
  --shadow: 0 18px 40px rgba(21, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  background: rgba(9, 17, 15, 0.94);
  box-shadow: 0 1px 18px rgba(9, 17, 15, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(132px, 12vw, 158px);
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.site-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(20px, 4vw, 56px);
  display: none;
  width: min(260px, calc(100vw - 32px));
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 1.08rem;
  font-weight: 600;
}

.site-nav a {
  min-height: 48px;
  padding: 13px 12px;
  border-radius: 6px;
  opacity: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.menu-close:hover,
.menu-close:focus-visible {
  background: var(--sage);
}

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

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.menu-home {
  flex: 1;
  font-weight: 800;
}

.menu-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .language-switch,
.site-header.is-open .language-switch {
  border-color: var(--line);
  background: var(--white);
}

.language-button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--white);
  background: var(--teal);
}

.nav-toggle {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 10, 9, 0.88) 0%, rgba(4, 10, 9, 0.68) 38%, rgba(4, 10, 9, 0.14) 72%),
    linear-gradient(180deg, rgba(4, 10, 9, 0.45) 0%, rgba(4, 10, 9, 0.08) 45%, rgba(4, 10, 9, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 86px);
  padding-top: 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee2d7;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.accent-text {
  color: #7ee2d7;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.6fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 44px;
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(21, 32, 29, 0.05);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--sage);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card p,
.product-intro p,
.product-points p,
.approach-content p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.approach-band {
  background: var(--deep);
  color: var(--white);
}

.approach-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(38px, 7vw, 86px);
  max-width: 1180px;
  margin: 0 auto;
}

.approach-content > div > p:last-child {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline span {
  color: #7ee2d7;
  font-weight: 800;
}

.timeline p {
  color: rgba(255, 255, 255, 0.68);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.3fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-intro {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(21, 32, 29, 0.05);
}

.product-intro h3 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.product-intro p + p {
  margin-top: 16px;
}

.product-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.product-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.product-points article {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(36px, 8vw, 98px);
  padding: clamp(72px, 10vw, 128px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--sage);
}

.contact-copy {
  max-width: 560px;
  justify-self: start;
}

.contact-copy p:last-child {
  margin-top: 20px;
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid rgba(21, 32, 29, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfc;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(19, 135, 127, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #7ee2d7;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-nav {
    top: 100%;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100svh - 86px);
    overflow-y: auto;
  }

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

  .hero {
    min-height: 820px;
    align-items: end;
    padding-bottom: 70px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 10, 9, 0.12) 0%, rgba(4, 10, 9, 0.46) 34%, rgba(4, 10, 9, 0.88) 100%),
      linear-gradient(90deg, rgba(4, 10, 9, 0.72) 0%, rgba(4, 10, 9, 0.24) 100%);
  }

  .hero-content {
    width: min(100% - 40px, 680px);
    margin: 0 auto;
    padding-top: 96px;
  }

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

  .section-heading,
  .approach-content,
  .product-showcase,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo {
    width: 132px;
    max-height: 34px;
  }

  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .language-button {
    min-width: 34px;
    height: 30px;
    font-size: 0.74rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .site-nav {
    left: 12px;
    right: 12px;
    width: auto;
    padding: 12px;
    font-size: 1rem;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 0 44px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 0;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.09em;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
    line-height: 1.06;
  }

  h3 {
    font-size: 1.02rem;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 1rem;
  }

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

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

  .button {
    min-height: 50px;
    padding: 0 16px;
  }

  .section {
    padding: 58px 16px;
  }

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

  .service-grid,
  .product-points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card,
  .product-points article {
    min-height: auto;
  }

  .service-card,
  .product-intro,
  .product-points article {
    padding: 22px;
  }

  .icon-box {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
  }

  .approach-content {
    gap: 28px;
  }

  .approach-content > div > p:last-child {
    font-size: 1rem;
  }

  .timeline li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .product-showcase {
    gap: 14px;
  }

  .product-intro h3 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .contact-section {
    gap: 28px;
    padding: 58px 16px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px 12px;
    font-size: 1rem;
  }

  .site-footer {
    padding: 24px 16px;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 8px;
  }

  .brand-logo {
    width: 118px;
  }

  .language-button {
    min-width: 32px;
  }

  h1 {
    font-size: clamp(2.45rem, 12.4vw, 3.4rem);
  }
}
