:root {
  --ink: #10201b;
  --ink-soft: #42534d;

  --paper: #f7f3e9;
  --white: #ffffff;

  --green: #173f34;
  --green-deep: #0d2b24;
  --green-soft: #dce7e1;

  --gold: #c79a32;
  --gold-soft: #e7cf95;

  --red-accent: #b72b2b;
  --blue-accent: #3158b7;

  --line: #ded8c9;
  --soft: #eef2ed;

  --dark: #102e27;
  --dark-2: #0a211c;

  --shadow: 0 24px 60px rgba(16, 32, 27, 0.12);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 1180px;
}


/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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


/* =========================
   Accessibility
   ========================= */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}


/* =========================
   Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 43, 36, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 207, 149, 0.18);
}

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

.brand,
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.site-header .brand-logo img {
  height: 100px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:not(.nav-cta) {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s ease;
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: 11px 18px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 999px;
  font-weight: 800;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}


/* =========================
   Typography
   ========================= */

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
}

h1 span {
  color: var(--green);
}

h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.06;
}

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

p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-soft);
}


/* =========================
   Buttons
   ========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

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

.button-primary:hover {
  background: var(--green-deep);
}

.button-secondary {
  border-color: var(--green);
  color: var(--green);
}

.button-secondary:hover {
  background: var(--green);
  color: white;
}

.button-white {
  background: var(--gold);
  color: var(--dark);
}

.button-white:hover {
  background: var(--gold-soft);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}


/* =========================
   Hero
   ========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 78px;
  background: linear-gradient(180deg, rgba(247, 243, 233, 1) 0%, rgba(250, 248, 241, 1) 100% );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.72fr);
  gap: 70px;
  align-items: start;
}

.hero-copy {
  margin-top: 0;
  padding: 0;
}

.hero-intro {
  max-width: 690px;
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 19px;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-points li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold);
  font-weight: 800;
}


/* =========================
   Hero card
   ========================= */

.hero-card {
  overflow: hidden;
  align-self: start;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-deep) 100%);
  color: white;
  border: 1px solid rgba(199, 154, 50, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-top,
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 22px;
  font-size: 12px;
}

.hero-card-top {
  justify-content: flex-start;
  border-bottom: 1px solid rgba(231, 207, 149, 0.16);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(199, 154, 50, 0.12);
}

.hero-card-body {
  padding: 38px 30px 40px;
}

.small-label {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-number {
  margin: 18px 0 32px;
  color: rgba(255, 255, 255, 0.14);
  font: 800 82px / 1 "Manrope", sans-serif;
}

.hero-card h2 {
  max-width: 420px;
  font-size: 31px;
}

.hero-card-body > p:last-child {
  margin-top: 18px;
  color: #d9e3df;
  font-size: 15px;
}

.hero-card-footer {
  text-align: center;
  border-top: 1px solid rgba(231, 207, 149, 0.16);
  color: #cbd8d2;
}


/* =========================
   Trust strip
   ========================= */

.trust-strip {
  background: #fbf8f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}


/* =========================
   Sections
   ========================= */

.section {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading > p {
  color: var(--ink-soft);
  font-size: 17px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}


/* =========================
   Services
   ========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 400px;
  padding: 38px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card.featured,
.service-card:nth-child(4) {
  background: var(--green-soft);
}

.service-number {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--gold);
  font: 800 13px / 1  "Manrope", sans-serif;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--green-deep);
  font-size: 31px;
}

.service-card > p {
  max-width: 500px;
  color: var(--ink-soft);
}

.service-card ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(16, 32, 27, 0.08);
  font-size: 14px;
}


/* =========================
   Why HMN
   ========================= */

.section-dark {
  background: var(--green-deep);
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.why-intro {
  max-width: 520px;
  margin-top: 26px;
  color: #c9d6d2;
  font-size: 18px;
}

.benefit {
  padding: 28px 0;
  border-top: 1px solid rgba(231, 207, 149, 0.16);
}

.benefit:last-child {
  border-bottom: 1px solid rgba(231, 207, 149, 0.16);
}

.benefit h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.benefit p {
  max-width: 620px;
  color: #c9d6d2;
}


/* =========================
   About
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-panel {
  min-height: 520px;
  overflow: hidden;
  background: var(--green-soft);
  border: 1px solid rgba(199, 154, 50, 0.16);
  border-radius: var(--radius-lg);
}

.about-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mini-stats > div {
  padding: 20px;
  background: var(--paper);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--green-deep);
  font: 800 15px / 1.2  "Manrope", sans-serif;
}

.mini-stats span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}


/* =========================
   Process
   ========================= */

.section-soft {
  background: var(--soft);
}

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

.process-grid li {
  min-height: 280px;
  padding: 30px;
  background: #fffdf8;
  border: 1px solid rgba(199, 154, 50, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(16, 32, 27, 0.04);
}

.process-grid h3 > span {
  display: inline-block;
  color: var(--gold);
}

.process-grid h3 {
  margin-bottom: 12px;
  color: var(--green-deep);
}

.process-grid p {
  color: var(--ink-soft);
  font-size: 18px;
}


/* =========================
   CTA
   ========================= */

.cta-section {
  padding: 32px 0 110px;
  background: var(--soft);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  padding: 54px;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-deep) 100%);
  color: white;
  border: 1px solid rgba(199, 154, 50, 0.2);
  border-radius: var(--radius-lg);
}

.cta-box h2 {
  max-width: 720px;
}

.cta-box p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 18px;
  color: #cad8d4;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}


/* =========================
   Footer
   ========================= */

.site-footer {
  padding: 70px 0 30px;
  background: #081b17;
  color: white;
  border-top: 1px solid rgba(199, 154, 50, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 54px;
}

.brand-logo-footer img {
  height: 200px;
}

.footer-grid > div:first-child > p {
  max-width: 360px;
  margin-top: 22px;
  color: #9fb1ab;
  font-size: 14px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  color: #b7c6c1;
  font-size: 14px;
}

.footer-links strong {
  margin-bottom: 7px;
  color: var(--gold-soft);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(231, 207, 149, 0.12);
  color: #96a79f;
  font-size: 12px;
}


/* =========================
   Tablet
   ========================= */

@media (max-width: 980px) {

  .hero-grid,
  .why-grid,
  .about-grid,
  .section-heading,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-grid {
    gap: 45px;
  }

 .trust-grid span {
    display: block;
    text-align: center;
  }
  
  .why-grid {
    gap: 55px;
  }

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

  .service-card:nth-child(1), .service-card:nth-child(4) {
    background: var(--green-soft);
  }

  .service-card:nth-child(2), .service-card:nth-child(3) {
    background: rgba(255, 255, 255, 0.72);
  }
  
  .about-panel {
    min-height: 0;
    height: auto;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--green-soft);
    border-radius: var(--radius-lg);
  }

  .about-panel img {
    display: block;
    width: 300px !important;
    max-width: 70% !important;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
  }

  .process-grid li {
    min-height: 200px;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 720px) {

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 78px;
  }

  .site-header .brand-logo img {
    height: 50px;
    max-width: 190px;
  }

  .brand-logo-footer img {
    height: 68px;
    max-width: 220px;
  }

  .hero {
    padding: 40px 0 54px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 68p);
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 26px;
    padding: 22px 0;
    text-align: center;
  }

  .section {
    padding: 78px 0;
  }

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

  .service-card {
    min-height: 0;
    padding: 30px;
    text-align: center;
  }

  .service-card > p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-card ul,
  .service-card li {
    text-align: center;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 36px 28px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
  
}


/* =========================
   Small mobile
   ========================= */

@media (max-width: 460px) {

  .site-header .brand-logo img {
    height: 44px;
    max-width: 165px;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card-body {
    padding: 30px 24px 34px;
  }

  .hero-card-number {
    font-size: 64px;
  }

  .trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 26px;
    padding: 22px 0;
    text-align: center;
  }

  .trust-grid span {
    display: block;
    text-align: center;
  }

  .service-card h3 {
    font-size: 27px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}
