:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5f6b78;
  --brand-red: #d82128;
  --brand-red-dark: #af171d;
  --brand-blue: #0f3558;
  --brand-navy: #091a30;
  --line: #d9e0e7;
  --radius: 16px;
  --shadow: 0 16px 38px rgba(7, 25, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin: 0;
}

main section h2,
main section h3,
.site-footer h2 {
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 224, 231, 0.8);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  width: 186px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3f4c5a;
}

.main-nav a {
  position: relative;
  padding: 0.24rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #243647;
  transition: 180ms ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.74rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 180ms ease;
}

.btn-solid {
  background: linear-gradient(145deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
}

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

.btn-outline {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: #fff;
}

.btn-outline:hover {
  background: #fff1f2;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 8rem 0 7rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 28, 0.1) 0%, rgba(5, 15, 28, 0.1) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(14dvh);
  padding: 1.5rem 1.6rem;
  border-radius: 20px;
  background: rgba(9, 20, 35, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  color: #ffffff;
  text-wrap: balance;
}

.hero-content h2,
.hero-content h3 {
  margin-bottom: 0;
}

.hero-content p {
  max-width: 58ch;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-content .btn {
  margin-top: 1.7rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  z-index: 2;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  position: relative;
}

.wheel {
  position: absolute;
  width: 4px;
  height: 8px;
  border-radius: 8px;
  background: #ffffff;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel-move 1.5s infinite;
}

@keyframes wheel-move {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

.section {
  padding: 5rem 0;
}

.section h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.15;
}

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

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.about-split {
  gap: 2.2rem;
  align-items: center;
}

.about-copy {
  padding-block: 1.6rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-image-wrap {
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.commitment-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commitment-wrap {
  max-width: 900px;
  text-align: center;
  padding-block: 1.2rem;
}

.commitment-wrap h2 {
  margin-top: 0.6rem;
}

.commitment-wrap p {
  margin: 1rem auto 0;
  max-width: 62ch;
}

.split p + p {
  margin-top: 0.75rem;
}

.feature-box {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.feature-box img {
  width: 64px;
  margin-bottom: 0.8rem;
}

.feature-box h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.section-ink {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background:
    radial-gradient(circle at 14% -6%, rgba(216, 33, 40, 0.32) 0%, transparent 40%),
    linear-gradient(145deg, #0b2240 0%, #0d3053 70%, #112840 100%);
}

.section-ink::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -110px;
  top: -140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.heading-light,
.eyebrow-light,
.section-ink h3 {
  color: #fff;
}

.section-ink .eyebrow,
.section-ink .heading-light {
  text-align: center;
}

.section-ink .eyebrow {
  display: block;
  margin-bottom: 0.3rem;
  color: #d7e8ff;
}

.section-ink .heading-light {
  color: #f4f8ff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.section-ink .cards {
  margin-top: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.15rem 1.3rem;
  backdrop-filter: blur(2px);
  min-height: 188px;
}

.card-icon {
  display: inline-block;
  margin-bottom: 0.95rem;
  font-size: 2.65rem;
  line-height: 1;
  color: #f1f7ff;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p {
  color: #cfe1f4;
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-soft {
  background: linear-gradient(180deg, #fff 0%, #f2f6fb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6.5rem 0 6.8rem;
}

.section-soft .eyebrow,
.section-soft h2,
.section-soft > .container > p {
  text-align: center;
}

.services {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 3.8rem;
  row-gap: 2.2rem;
  text-align: center;
}

.services article {
  background: transparent;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.service-icon {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 2.65rem;
  line-height: 1;
  color: var(--brand-blue);
}

.services h3 {
  margin-bottom: 0.2rem;
}

.services p {
  line-height: 1.6;
}

.sustainability-main {
  padding: 6.4rem 0;
}

.sustainability-split {
  gap: 2.3rem;
  align-items: center;
}

.sustainability-image-wrap {
  height: 500px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sustainability-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sustainability-copy p + p {
  margin-top: 1rem;
}

.quality-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quality-wrap {
  max-width: 860px;
  text-align: center;
  padding-block: 1.5rem;
}

.quality-icon {
  width: 74px;
  margin: 0 auto 0.9rem;
}

.quality-wrap p {
  margin: 0.8rem auto 0;
  max-width: 62ch;
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(160deg, #08182e 0%, #0d2947 60%, #9f161c 100%);
  color: #d6e6f4;
  padding-top: 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.1rem;
}

.footer-logo {
  width: 188px;
  margin-bottom: 0.9rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.site-footer p {
  color: #d6e6f4;
}

.site-footer a:not(.btn-footer) {
  color: #d6e6f4;
}

.btn-footer {
  margin-top: 0.65rem;
  background: #fff;
  color: var(--brand-blue);
  opacity: 1;
}

.btn-footer:hover {
  background: #eef4fb;
  color: var(--brand-blue);
  opacity: 1;
}

.footer-bottom {
  margin-top: 1.7rem;
  border-top: 1px solid rgba(214, 230, 244, 0.2);
  padding: 0.95rem 0 1.3rem;
}

.footer-bottom p {
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .split,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }

  .main-nav a {
    padding: 0.95rem 1.5rem;
    border-top: 1px solid #eef2f6;
  }

  .main-nav.is-open {
    max-height: 360px;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .cards,
  .services,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-soft {
    padding: 5.2rem 0;
  }

  .services {
    row-gap: 1.7rem;
    margin-top: 3.2rem;
  }

  .about-image-wrap {
    height: 340px;
  }

  .sustainability-image-wrap {
    height: 340px;
  }

  .hero {
    min-height: 100dvh;
    padding-top: 6rem;
  }

  .hero-content {
    transform: translateY(10dvh);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .brand-logo {
    width: 154px;
  }

  .section {
    padding: 3.9rem 0;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 7.2vw, 2.35rem);
  }

  .hero-content p {
    font-size: 1rem;
  }
}
