:root {
  --green: #0a7a4b;
  --green-dark: #065b3b;
  --blue: #0d4f8b;
  --blue-dark: #082f54;
  --ink: #102033;
  --muted: #5f6f80;
  --line: #dbe5ee;
  --soft: #f3f8fb;
  --white: #ffffff;
  --shadow: 0 20px 70px rgba(8, 47, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

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

.site-header.is-scrolled,
body:not(:has(.hero, .page-hero)) .site-header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(18px);
  padding-top: 12px;
  padding-bottom: 12px;
}

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

.brand-mark {
  position: relative;
  width: 42px;
  height: 34px;
  flex: 0 0 42px;
}

.brand-mark span {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  background: rgba(255, 255, 255, 0.12);
}

.brand-mark span:first-child {
  left: 0;
  top: 0;
}

.brand-mark span:last-child {
  right: 0;
  bottom: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 15px 10px auto;
  height: 3px;
  background: currentColor;
  transform: rotate(-24deg);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: currentColor;
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"] {
  background: #e8f2f8;
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: currentColor;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 140px 0 82px;
}

.hero-media,
.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 47, 84, 0.9), rgba(10, 122, 75, 0.5), rgba(8, 47, 84, 0.2)),
    linear-gradient(0deg, rgba(7, 18, 31, 0.5), rgba(7, 18, 31, 0.08));
}

.hero-content {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  transform: translateY(16px);
  animation: heroRise 720ms ease-out forwards;
}

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

.hero .eyebrow,
.page-hero .eyebrow {
  color: #9ff0c1;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.7rem);
  max-width: 920px;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

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

.btn.primary:hover {
  background: var(--green-dark);
}

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

.flight-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.flight-lines span {
  position: absolute;
  right: -240px;
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9));
  transform: rotate(-13deg);
  animation: flyAcross 5.6s linear infinite;
}

.flight-lines span:nth-child(1) {
  top: 28%;
}

.flight-lines span:nth-child(2) {
  top: 45%;
  animation-delay: 1.7s;
  animation-duration: 6.8s;
}

.flight-lines span:nth-child(3) {
  top: 62%;
  animation-delay: 3.2s;
  animation-duration: 7.6s;
}

.section {
  padding: 88px 0;
}

.intro-band,
.values-section,
.partners-list-section {
  background: var(--soft);
}

.split,
.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.split h2,
.prose-grid h2,
.section-heading h2,
.image-feature h2,
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.split p,
.prose-grid p,
.image-feature p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid,
.value-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.value-grid article,
.partner-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(16, 32, 51, 0.05);
}

.service-icon,
.detail-item > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e4f5eb;
  color: var(--green);
  font-weight: 900;
}

.service-card h3,
.value-grid h3 {
  margin-top: 22px;
  font-size: 1.18rem;
}

.service-card p,
.value-grid p,
.partner-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.image-feature {
  background: linear-gradient(90deg, #ffffff 0 50%, #ecf7f3 50% 100%);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 46px;
  align-items: center;
}

.feature-layout.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.feature-layout.reverse img {
  order: 2;
}

.feature-layout img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.partner-strip {
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}

.partner-marquee {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.partner-marquee span {
  display: inline-flex;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.cta-section {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
}

.cta-section .eyebrow {
  color: #c9f7dc;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.phone-link {
  font-weight: 900;
  color: var(--white);
}

.page-hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 140px 0 76px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  max-width: 980px;
}

.prose p:first-child {
  margin-top: 0;
}

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

.detail-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(16, 32, 51, 0.05);
}

.detail-item h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.detail-item p,
.detail-item li {
  color: var(--muted);
}

.detail-item ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.detail-item li {
  padding: 14px;
  border-left: 3px solid var(--green);
  background: var(--soft);
}

.partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-grid article span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-grid h2 {
  margin-top: 12px;
  font-size: 1.4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 110px;
}

.info-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.info-block h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-block a,
.info-block p {
  display: block;
  margin: 4px 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

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

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.form-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 6px;
  background: #dff6e9;
  color: var(--green-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd9e5;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.site-footer {
  padding: 64px 0 24px;
  background: #07182a;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer h2 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flyAcross {
  from {
    transform: translate3d(0, 0, 0) rotate(-13deg);
  }
  to {
    transform: translate3d(-130vw, 280px, 0) rotate(-13deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: #e8f2f8;
    color: var(--blue);
  }

  .hero {
    min-height: 88vh;
  }

  .split,
  .prose-grid,
  .feature-layout,
  .feature-layout.reverse,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-layout.reverse img {
    order: 0;
  }

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

  .detail-item ul {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

  .brand-text small {
    font-size: 0.72rem;
  }

  .hero,
  .page-hero {
    padding-top: 122px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .section {
    padding: 62px 0;
  }

  .service-grid,
  .value-grid,
  .partner-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .detail-item {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
