@import url("https://fonts.googleapis.com/css2?family=Carlito:wght@700&display=swap");

:root {
  --green: #41a940;
  --green-dark: #1a3e1e;
  --green-soft: #e8f6eb;
  --ink: #2a2a2a;
  --ink-muted: #5c5c5c;
  --ink-faint: #8a8a8a;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --max: 1120px;
  --header-h: 88px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Sora", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo img.logo-full {
  height: 56px;
  width: auto;
}

.logo-word {
  font-family: Corbel, Carlito, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #9a9a9a;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--green);
}

.nav a.nav-contact {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 600;
}

.nav-item {
  position: relative;
}

.nav-item .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item .nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding-top: 0.75rem; /* bridge so cursor can move without closing */
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  /* short grace period before hide */
  transition: opacity 0.12s ease 0.2s, visibility 0s linear 0.2s;
}

.nav-submenu__panel {
  padding: 0.55rem 0;
  background: #fff;
  border: 1px solid var(--line);
}

.nav-submenu a {
  display: block;
  padding: 0.65rem 1rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.nav-submenu a:hover,
.nav-submenu a.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 460px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.page-hero--tall {
  min-height: clamp(420px, 62vw, 640px);
  align-items: center;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.15) 55%, rgba(20, 20, 20, 0.05));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.page-hero__label::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  max-width: 14ch;
}

.hero-home h1 {
  color: #d7d7d7;
  max-width: 12ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-home p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.92);
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn-solid:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.btn-text {
  border: 0;
  padding: 0;
  min-height: auto;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.btn-text:hover {
  background: transparent;
  color: var(--green-dark);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.85rem;
}

.section-kicker::before {
  content: "▸";
  color: var(--ink);
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 62ch;
}

.accent {
  color: var(--green);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.split-intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.quote-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.quote-box a {
  color: var(--green);
  font-weight: 600;
}

.quote-box .phone {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card {
  display: block;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.feature-card span {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--green);
  font-weight: 700;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

.service-tile {
  display: block;
}

.service-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-tile h3 {
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.service-tile:hover h3 {
  color: var(--green);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem;
}

.trust-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--green);
}

.trust-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.process-diagram {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
  overflow-x: auto;
}

.process-diagram img {
  width: 100%;
  min-width: 720px;
  height: auto;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 0;
}

.process-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step__num--meet {
  background: #eee;
  color: var(--ink-muted);
}

.process-step__body h3 {
  margin: 0.15rem 0 0.5rem;
}

.process-step__body p {
  margin: 0;
  color: var(--ink-muted);
}

.process-step__body--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.process-step__body--split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about-preview {
  max-width: 54ch;
}

.about-preview .eyebrow {
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.partners img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15);
}

.cta-band {
  text-align: center;
  padding: 4rem 0 5rem;
}

.cta-band h2 {
  color: #b7b7b7;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Content pages */
.prose {
  max-width: 72ch;
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

.prose p + p {
  margin-top: 1rem;
}

.prose strong.accent,
.prose .accent {
  color: var(--green);
  font-weight: 700;
}

.checklist {
  margin-top: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0.45rem 0;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--ink);
}

.ss-code {
  font-weight: 700;
  color: var(--ink);
}

.two-col-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.panel {
  background: var(--bg-soft);
  padding: 1.5rem;
}

.panel h3 {
  margin: 0 0 0.75rem;
  color: var(--green);
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.glossary dt {
  font-weight: 700;
  margin-top: 1.25rem;
  color: var(--ink);
}

.glossary dd {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.35rem 0;
  color: var(--ink-muted);
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-form-wrap img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font: inherit;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-bottom-color: var(--green);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin: 0;
}

.form-success {
  display: none;
  padding: 0.85rem 1rem;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: var(--ink-muted);
  margin: 0.25rem 0;
  display: block;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.footer-bottom a {
  display: inline;
  margin: 0 0.4rem;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

@media (max-width: 900px) {
  .logo img.logo-full {
    height: 44px;
  }

  .logo-word {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

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

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0.35rem 0 0.35rem 0.85rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: none;
  }

  .nav-submenu__panel {
    border: 0;
    padding: 0;
    background: transparent;
  }

  .nav-item.is-open .nav-submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-submenu a {
    white-space: normal;
    padding: 0.5rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .split-intro,
  .two-col-lists,
  .contact-layout,
  .contact-form-wrap,
  .footer-grid,
  .trust-grid,
  .process-step__body--split {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap img {
    min-height: 240px;
  }

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