:root {
  --navy: #0b1f3a;
  --navy-2: #102b4f;
  --green: #32a852;
  --green-dark: #23853d;
  --green-soft: #eaf7ee;
  --cream: #f7f6f1;
  --white: #ffffff;
  --ink: #152234;
  --muted: #657184;
  --line: #dce2e8;
  --shadow: 0 24px 60px rgba(11, 31, 58, 0.14);
  --radius: 20px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  border-radius: 12px 12px 12px 3px;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(50, 168, 82, 0.22);
}

.brand-name {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--green);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--green-dark);
}

.primary-nav .nav-cta {
  padding: 11px 19px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    linear-gradient(110deg, rgba(247, 246, 241, 0.96), rgba(255,255,255,0.98)),
    radial-gradient(circle at 90% 10%, rgba(50,168,82,0.12), transparent 36%);
}

.hero::before {
  position: absolute;
  inset: auto -10% -1px 45%;
  height: 130px;
  content: "";
  background: var(--navy);
  clip-path: polygon(18% 100%, 100% 0, 100% 100%);
  opacity: 0.04;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: 80px;
  right: -160px;
  width: 420px;
  height: 420px;
  background: rgba(50, 168, 82, 0.08);
}

.hero-orb-two {
  bottom: -110px;
  left: -110px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(11, 31, 58, 0.04);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 82px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-band h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.hero h1 em {
  color: var(--green-dark);
  font-weight: 700;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #4e5d70;
  font-size: 1.17rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 12px 24px rgba(35, 133, 61, 0.2);
}

.button-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: rgba(11, 31, 58, 0.22);
}

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

.hero-tagline {
  margin: 22px 0 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.hero-card {
  position: relative;
  padding: 42px 38px 34px;
  color: var(--white);
  background: var(--navy);
  border-radius: 28px 28px 28px 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::after {
  position: absolute;
  right: -50px;
  bottom: -65px;
  width: 180px;
  height: 180px;
  content: "";
  border: 28px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-card-accent {
  width: 74px;
  height: 6px;
  margin-bottom: 26px;
  background: var(--green);
  border-radius: 999px;
}

.card-kicker {
  margin: 0 0 10px;
  color: #a8dcb6;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 27px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: #d8e0ea;
}

.check-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  color: var(--navy);
  content: "✓";
  background: var(--green);
  border-radius: 50%;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-stats div {
  display: flex;
  flex-direction: column;
}

.mini-stats strong {
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.mini-stats span {
  margin-top: 7px;
  color: #cad3df;
  font-size: 0.75rem;
}

/* Trust strip */
.trust-strip {
  padding: 23px 0;
  color: #d7dfeb;
  background: var(--navy);
}

.trust-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 34px;
}

.trust-content p {
  margin: 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-content span {
  position: relative;
  font-size: 0.84rem;
  font-weight: 600;
}

.trust-content span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -19px;
  width: 4px;
  height: 4px;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* Global sections */
.section {
  padding: 108px 0;
}

.section-heading h2,
.cta-band h2,
.contact h2 {
  font-size: clamp(2.35rem, 4vw, 3.8rem);
}

.section-heading > p:last-child {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.centered {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 92px;
  align-items: start;
}

.about .section-heading {
  position: sticky;
  top: 122px;
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.01rem;
}

.about-copy .lead {
  margin-top: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.values-grid article {
  padding: 24px 22px;
  background: var(--cream);
  border: 1px solid #ebe9e1;
  border-radius: 16px;
}

.values-grid span {
  color: var(--green-dark);
  font-size: 0.73rem;
  font-weight: 800;
}

.values-grid h3 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Services */
.services {
  background: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 32px 30px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(11, 31, 58, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  content: "";
  background: var(--green-soft);
  border-radius: 50%;
  opacity: 0.65;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(11, 31, 58, 0.1);
}

.service-number {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  position: relative;
  z-index: 2;
  margin: 24px 0 13px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.48rem;
  line-height: 1.2;
}

.service-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* CTA */
.cta-band {
  padding: 70px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11,31,58,0.98), rgba(16,43,79,0.96)),
    var(--navy);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta-band .eyebrow {
  color: #8ed6a2;
}

.cta-band h2 {
  max-width: 850px;
  color: var(--white);
}

.button-light {
  min-width: 200px;
  color: var(--navy);
  background: var(--white);
}

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

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 82px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-details {
  display: grid;
  gap: 15px;
  margin-top: 34px;
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  text-decoration: none;
}

.contact-details a > span {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
  place-items: center;
}

.contact-details div {
  display: flex;
  flex-direction: column;
}

.contact-details small {
  color: var(--muted);
}

.contact-details strong {
  color: var(--navy);
}

.contact-form {
  padding: 38px;
  background: var(--cream);
  border: 1px solid #ebe9e1;
  border-radius: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.field label span {
  color: var(--green-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 10px 13px;
}

.field textarea {
  padding: 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(50, 168, 82, 0.12);
}

.field .invalid {
  border-color: #b42318;
}

.error {
  min-height: 18px;
  margin: 4px 0 0;
  color: #b42318;
  font-size: 0.75rem;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.form-status {
  min-height: 24px;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 45px 0;
  color: #cdd6e1;
  background: #071629;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
}

.footer-brand .brand-name {
  color: var(--white);
}

.site-footer p {
  margin: 11px 0 0;
  font-size: 0.83rem;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

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

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-card {
    max-width: 680px;
  }

  .about .section-heading {
    position: static;
  }

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

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

  .button-light {
    width: fit-content;
  }
}

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

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

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11, 31, 58, 0.1);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 8px;
  }

  .primary-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .menu-toggle.active span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 64px 0 76px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card {
    padding: 33px 26px 28px;
  }

  .trust-content {
    gap: 10px 20px;
  }

  .trust-content span:not(:last-child)::after {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .values-grid,
  .service-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-form {
    padding: 26px 20px;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* Official MannaH logo */
.brand-logo {
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 255px;
  height: auto;
}

.footer-brand {
  width: fit-content;
  padding: 10px 12px;
  background: var(--white);
  border-radius: 12px;
}

.footer-brand img {
  width: 270px;
}

@media (max-width: 720px) {
  .brand-logo img {
    width: 188px;
  }

  .footer-brand img {
    width: 230px;
  }
}


/* Hero eyebrow single-line adjustment */
.hero-copy .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero-copy .eyebrow {
    white-space: normal;
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }
}
