:root {
  color-scheme: light;
  --red: #d7192a;
  --red-dark: #ae1021;
  --navy: #0b1730;
  --ink: #151b29;
  --muted: #5c6473;
  --soft: #f7f3ee;
  --line: #e7e0d8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 23, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 7.4rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.2rem);
  padding: 1.35rem clamp(1.2rem, 4.4vw, 3.75rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 224, 216, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 2.6rem;
  height: 2.8rem;
  flex: 0 0 auto;
}

.brand-pole {
  position: absolute;
  left: 0.18rem;
  top: 0;
  width: 0.16rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--navy);
}

.brand-flag {
  position: absolute;
  left: 0.44rem;
  top: 0.28rem;
  width: 2rem;
  height: 1rem;
  background:
    radial-gradient(circle at 0.55rem 0.5rem, var(--white) 0 0.13rem, transparent 0.14rem),
    linear-gradient(90deg, var(--red) 0 45%, var(--white) 45% 55%, var(--red) 55%);
  clip-path: polygon(0 0, 100% 12%, 88% 50%, 100% 88%, 0 100%);
}

.brand-text {
  color: var(--navy);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--red);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 6px;
  padding: 0.88rem 1.35rem;
  color: var(--white);
  background: linear-gradient(180deg, #df2030, var(--red-dark));
  box-shadow: 0 12px 26px rgba(215, 25, 42, 0.24);
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(215, 25, 42, 0.3);
}

.hero {
  min-height: calc(100vh - 7.4rem);
  display: grid;
  grid-template-columns: minmax(22rem, 0.86fr) minmax(24rem, 1.14fr);
  align-items: stretch;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 42rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 4.4vw, 3.75rem);
}

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

h1 {
  margin: 0;
  max-width: 10ch;
  color: var(--navy);
  font-size: clamp(3.8rem, 7.2vw, 6.25rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro {
  max-width: 35rem;
  margin: clamp(1.8rem, 3vw, 3rem) 0 0;
  color: #2e3544;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.intro strong {
  color: var(--red);
}

.feature-list {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 3.6vw, 3.6rem);
}

.feature {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 4.35rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(11, 23, 48, 0.06);
}

.feature-icon::before {
  content: "";
  display: block;
  background: var(--red);
}

.flag-icon::before {
  width: 1.85rem;
  height: 1.45rem;
  clip-path: polygon(0 0, 100% 14%, 88% 50%, 100% 86%, 0 100%);
  box-shadow: -0.55rem 0 0 -0.45rem var(--navy);
}

.leaf-icon::before {
  width: 1.85rem;
  height: 2rem;
  clip-path: polygon(
    50% 0,
    59% 24%,
    84% 13%,
    71% 38%,
    100% 42%,
    73% 55%,
    83% 79%,
    58% 68%,
    50% 100%,
    42% 68%,
    17% 79%,
    27% 55%,
    0 42%,
    29% 38%,
    16% 13%,
    41% 24%
  );
}

.feature h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.2;
}

.feature p {
  max-width: 28rem;
  margin: 0.55rem 0 0;
  color: #404756;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.8rem);
  margin-top: clamp(2rem, 4vw, 4rem);
}

.button.primary {
  min-width: 12rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.learn-more span {
  width: 2.25rem;
  height: 0.13rem;
  position: relative;
  background: currentColor;
}

.learn-more span::after {
  content: "";
  position: absolute;
  right: -0.03rem;
  top: 50%;
  width: 0.72rem;
  aspect-ratio: 1;
  border-top: 0.13rem solid currentColor;
  border-right: 0.13rem solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.hero-media {
  position: relative;
  min-height: 42rem;
  background:
    linear-gradient(90deg, var(--white) 0, rgba(255, 255, 255, 0.5) 13%, rgba(255, 255, 255, 0) 28%),
    #eaf0f4;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(11, 23, 48, 0.08));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.service-band,
.about-band,
.contact-band {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4.4vw, 3.75rem);
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-band {
  background: var(--soft);
}

.service-band > h2,
.about-band h2,
.contact-band h2 {
  max-width: 48rem;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 16rem;
  padding: clamp(1.35rem, 2.7vw, 2.25rem);
  background: var(--white);
}

.service-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.service-grid p,
.about-band p,
.contact-band p {
  color: var(--muted);
  line-height: 1.58;
}

.service-grid p {
  margin: 1rem 0 0;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-band > p {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--navy);
}

.contact-band h2,
.contact-band p {
  color: var(--white);
}

.contact-band p {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

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

  .hero-media {
    min-height: 36rem;
    order: -1;
  }

  .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
    pointer-events: none;
  }

  .service-grid,
  .about-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
  }

  .hero-copy {
    padding-top: 1.5rem;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 4.4rem);
  }

  .hero-media {
    min-height: 27rem;
  }

  .feature {
    grid-template-columns: 4.1rem minmax(0, 1fr);
  }

  .feature-icon {
    width: 3.6rem;
  }

  .button.primary,
  .learn-more {
    width: 100%;
  }

  .learn-more {
    justify-content: center;
    min-height: 3rem;
  }

  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }
}
