:root {
  --green-950: #06271d;
  --green-900: #0a3527;
  --green-800: #104b38;
  --green-700: #1e6b4f;
  --green-100: #e9f3ee;
  --gold: #c8a557;
  --gold-soft: #f3e8c9;
  --white: #ffffff;
  --gray-950: #141817;
  --gray-700: #3d4642;
  --gray-500: #68716d;
  --gray-100: #f4f6f5;
  --line: rgba(10, 53, 39, 0.12);
  --shadow: 0 24px 70px rgba(6, 39, 29, 0.14);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-950);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  gap: 28px;
  align-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 165, 87, 0.18), transparent 32%),
    linear-gradient(135deg, var(--white), var(--gray-100));
  transition: opacity 450ms ease, visibility 450ms ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader__mark {
  width: min(300px, 72vw);
  animation: loaderPulse 1100ms ease-in-out infinite;
}

.loader__bar {
  width: min(260px, 66vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(10, 53, 39, 0.14);
}

.loader__bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-900), var(--gold));
  animation: loaderBar 950ms ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(6, 39, 29, 0.08);
}

.brand img {
  width: 178px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  content: "";
}

.nav a:hover,
.nav a.active {
  color: var(--green-900);
}

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

.nav .nav-cta {
  padding: 12px 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-900);
  box-shadow: 0 12px 26px rgba(10, 53, 39, 0.18);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
}

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 58px) 0 70px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #f5f7f6 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.28) 66%, rgba(6, 39, 29, 0.22) 100%),
    url("assets/hero-bg.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
}

.hero__copy {
  max-width: 750px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green-950);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 6vw, 82px);
}

h2 {
  font-size: clamp(34px, 4.4vw, 60px);
}

h3 {
  font-size: 22px;
  line-height: 1.18;
}

p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.7;
}

.hero__copy p {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
}

.hero__actions,
.section-head {
  display: flex;
  align-items: center;
}

.hero__actions {
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn::after {
  width: 16px;
  height: 16px;
  margin-left: 10px;
  background: currentColor;
  clip-path: polygon(35% 10%, 100% 50%, 35% 90%, 35% 62%, 0 62%, 0 38%, 35% 38%);
  content: "";
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--primary {
  color: var(--white);
  background: var(--green-900);
}

.btn--secondary {
  color: var(--green-900);
  border-color: rgba(10, 53, 39, 0.2);
  background: rgba(255, 255, 255, 0.78);
}

.btn--light {
  color: var(--green-950);
  background: var(--white);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(10, 53, 39, 0.12);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.hero__panel {
  display: grid;
  gap: 16px;
}

.control-card,
.metric-stack,
.benefit-card,
.service-card,
.process-step,
.case-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.control-card {
  min-height: 260px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(6, 39, 29, 0.94), rgba(16, 75, 56, 0.84)),
    url("assets/capabilities-bg.png") center / cover;
}

.control-card__label {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.control-card strong {
  display: block;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.control-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.metric-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px;
  gap: 12px;
}

.metric-stack article {
  min-height: 120px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--gray-100);
}

.metric-stack strong {
  display: block;
  color: var(--green-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
}

.metric-stack strong::after {
  content: "+";
}

.metric-stack article:nth-child(2) strong::after {
  content: "/7";
}

.metric-stack article:nth-child(3) strong::after {
  content: "%";
}

.metric-stack span {
  display: block;
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.value {
  background: var(--white);
}

.split,
.difference__grid,
.cases__grid,
.cta__grid,
.footer__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.text-block {
  display: grid;
  gap: 18px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}

.benefit-card,
.service-card,
.process-step,
.case-card {
  padding: 28px;
}

.benefit-card {
  min-height: 250px;
}

.benefit-card span,
.process-step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 44px;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--gold-soft);
  font-weight: 900;
}

.benefit-card h3,
.service-card h3,
.process-step h3 {
  margin-bottom: 12px;
}

.services,
.process {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 39, 29, 0.95), rgba(10, 53, 39, 0.9)),
    url("assets/value-bg.png") center / cover fixed;
}

.services h2,
.process h2,
.services .eyebrow,
.process .eyebrow {
  color: var(--white);
}

.section-head {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.section-head h2 {
  max-width: 760px;
}

.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 300px;
  background: rgba(255, 255, 255, 0.94);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 54px;
  border-radius: 50%;
  color: var(--gold-soft);
  background: var(--green-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.difference {
  background: linear-gradient(180deg, var(--white), var(--gray-100));
}

.visual-band {
  min-height: 560px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(6, 39, 29, 0.02), rgba(6, 39, 29, 0.18)),
    url("assets/about-bg.png") center right / cover no-repeat;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.check-list p {
  position: relative;
  padding: 18px 18px 18px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.check-list p::before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: inset 0 0 0 5px var(--gold-soft);
  content: "";
}

.process-step {
  min-height: 250px;
  background: rgba(255, 255, 255, 0.94);
}

.cases {
  background: var(--gray-100);
}

.cases__grid {
  align-items: center;
}

.section-copy > p {
  margin-top: 22px;
  font-size: 18px;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-card p {
  color: var(--green-950);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.case-card strong,
.case-card span {
  display: block;
}

.case-card strong {
  margin-top: 24px;
  color: var(--green-900);
}

.case-card span {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 39, 29, 0.96), rgba(6, 39, 29, 0.82)),
    url("assets/contact-bg.png") center / cover no-repeat;
}

.cta h2,
.cta .eyebrow {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-lines a {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(10, 53, 39, 0.16);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--gray-950);
  background: var(--gray-100);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(30, 107, 79, 0.12);
}

.contact-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  color: var(--gray-500);
  font-size: 13px;
  text-align: center;
}

.footer {
  padding: 46px 0;
  background: var(--white);
}

.footer__grid {
  grid-template-columns: 1fr 1fr 0.6fr;
  align-items: center;
  gap: 32px;
}

.footer__logo {
  width: 180px;
  margin-bottom: 12px;
}

.footer p,
.footer address,
.footer nav {
  color: var(--gray-500);
  font-style: normal;
  line-height: 1.7;
}

.footer nav {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.footer a:hover {
  color: var(--green-900);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.reveal--delay {
  transition-delay: 140ms;
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes loaderBar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .split,
  .difference__grid,
  .cases__grid,
  .cta__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__panel {
    max-width: 620px;
  }

  .benefit-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-band {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .brand img {
    width: 150px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
    gap: 10px;
  }

  .nav a,
  .nav .nav-cta {
    padding: 12px 14px;
  }

  .nav a::after {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero__bg {
    opacity: 0.36;
    background-position: 64% center;
  }

  .section-head {
    display: grid;
    justify-content: start;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero__actions,
  .contact-lines {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .benefit-grid,
  .services-grid,
  .process-grid,
  .metric-stack {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .service-card,
  .process-step,
  .case-card,
  .contact-form {
    padding: 22px;
  }

  .service-card,
  .benefit-card,
  .process-step {
    min-height: auto;
  }

  .service-card__icon,
  .benefit-card span,
  .process-step span {
    margin-bottom: 28px;
  }

  .visual-band {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
