:root {
  --bg: #f3efe4;
  --bg-soft: #fbf8f1;
  --surface: rgba(255, 252, 245, 0.88);
  --surface-strong: #fffdf7;
  --text: #1b241d;
  --muted: #5d665f;
  --line: rgba(34, 52, 37, 0.12);
  --primary: #244b33;
  --primary-strong: #173322;
  --accent: #c89b52;
  --accent-soft: rgba(200, 155, 82, 0.18);
  --shadow: 0 24px 70px rgba(29, 45, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 155, 82, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(36, 75, 51, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f4ea 0%, #efe8d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding-bottom: 40px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(255, 251, 244, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #2f6542);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong,
.section-heading h2,
.hero h1,
.site-footer h2 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-text small,
.hero p,
.about-text p,
.service-card p,
.trust-grid p,
.showcase-copy p,
.careers-copy p,
.news-card h3,
.faq-list p,
.footer-card p,
.footer-card a {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(36, 75, 51, 0.08);
}

.nav-cta {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: 0.3s ease;
}

.section {
  margin-top: 28px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding-top: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero p {
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(36, 75, 51, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li,
.trust-grid article,
.service-card,
.insight-card,
.partner-card,
.news-card,
.faq-list details,
.footer-card,
.career-form,
.image-card,
.floating-card {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-stats li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  color: var(--primary);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.image-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(36, 75, 51, 0.12)),
    linear-gradient(135deg, #d8ccb3, #f5eee0);
  overflow: hidden;
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(36, 75, 51, 0.18), transparent 45%),
    radial-gradient(circle at top right, rgba(200, 155, 82, 0.35), transparent 22%);
  pointer-events: none;
}

.image-main {
  position: absolute;
  inset: 0 52px 88px 0;
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: min(300px, 85%);
  padding: 22px;
  border-radius: 24px;
}

.image-label,
.news-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 36, 29, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-heading h2,
.trust-copy h2,
.showcase-copy h2,
.careers-copy h2,
.site-footer h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.06;
}

.trust-strip {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid article,
.service-card,
.insight-card,
.partner-card,
.news-card,
.footer-card {
  padding: 22px;
  border-radius: 24px;
}

.about-layout,
.showcase,
.careers,
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-text,
.about-stack,
.showcase-gallery {
  display: grid;
  gap: 18px;
}

.services-grid,
.partner-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card h3,
.news-card h3 {
  margin-top: 0;
}

.service-card.accent {
  background: linear-gradient(180deg, rgba(36, 75, 51, 0.96), rgba(23, 51, 34, 0.96));
  color: #fff;
}

.service-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

.showcase {
  align-items: start;
}

.showcase-gallery {
  grid-template-columns: 1fr 1fr;
}

.tall {
  min-height: 360px;
  position: relative;
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  text-align: center;
  font-weight: 700;
}

.careers {
  align-items: start;
}

.career-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
}

.career-form label {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

.career-form input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.file-drop {
  padding: 16px;
  border: 1px dashed rgba(36, 75, 51, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
}

.file-drop span {
  color: var(--muted);
  font-weight: 500;
}

.news-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.site-footer {
  margin-top: 28px;
  padding: 0 0 24px;
}

.footer-card {
  display: grid;
  gap: 10px;
}

.footer-contact a {
  font-weight: 800;
}

.footer-links {
  align-content: start;
}

.footer-links a {
  width: fit-content;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1024px) {
  .hero,
  .trust-strip,
  .about-layout,
  .showcase,
  .careers,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .partner-grid,
  .news-grid,
  .trust-grid,
  .showcase-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .image-main {
    inset: 0 120px 70px 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    top: 10px;
    padding: 14px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(255, 251, 244, 0.96);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
  }

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

  .section {
    padding: 24px;
    border-radius: 26px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }

  .hero-stats,
  .services-grid,
  .partner-grid,
  .news-grid,
  .trust-grid,
  .showcase-gallery {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .image-main {
    inset: 0 40px 82px 0;
  }

  .floating-card {
    width: calc(100% - 28px);
  }
}
