:root {
  --bg: #f7f5ef;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #fffdf9;
  --surface-soft: #f1ede2;
  --ink: #17212b;
  --muted: #5b6675;
  --line: rgba(23, 33, 43, 0.12);
  --accent: #11786d;
  --accent-strong: #0d6158;
  --accent-soft: #dff2ee;
  --warm: #f2dfbf;
  --success: #0b6a4a;
  --danger: #b7443f;
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --font-body: "Segoe UI Variable", Aptos, "Trebuchet MS", sans-serif;
  --font-heading: Bahnschrift, "Segoe UI Variable", "Trebuchet MS", sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(242, 223, 191, 0.95), transparent 28%),
    radial-gradient(circle at 92% 15%, rgba(223, 242, 238, 0.95), transparent 24%),
    linear-gradient(180deg, #f7f5ef 0%, #fbfaf5 52%, #f3efe4 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

main[id],
section[id] {
  scroll-margin-top: 6.75rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.28));
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(23, 33, 43, 0.05);
}

.section-compact {
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(247, 245, 239, 0.96);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(170px, 18vw, 230px);
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.header-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--accent);
}

.header-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero-section {
  padding-top: 4.8rem;
}

.page-hero {
  padding-top: 4.2rem;
  padding-bottom: 2.4rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.page-hero-copy p {
  color: var(--muted);
}

.page-hero-copy h1 {
  max-width: 11ch;
}

.page-hero-aside {
  padding: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

h3 {
  font-size: 1.28rem;
}

.lead,
.section-heading p,
.contact-copy > p,
.service-item p,
.feature-card p,
.why-card p,
.process-step p,
.panel-card p,
.site-footer p {
  color: var(--muted);
}

.lead {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #f7faf9;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(17, 120, 109, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(23, 33, 43, 0.12);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero-points li,
.trust-band span,
.mini-label {
  border: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.hero-points li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.feature-card,
.service-item,
.why-card,
.process-step,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(223, 242, 238, 0.9), rgba(255, 255, 255, 0.95) 44%, rgba(242, 223, 191, 0.62));
}

.mini-label {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-card h2 {
  max-width: 14ch;
  margin-top: 1rem;
}

.panel-card p {
  margin: 1rem 0 0;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.panel-stats div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.panel-stats strong,
.contact-details strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.panel-stats span,
.contact-details span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-band span {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0.9rem;
}

.section-heading.narrow {
  max-width: 620px;
}

.card-grid,
.why-grid,
.process-grid,
.service-strip,
.contact-grid,
.split-grid,
.cta-links {
  display: grid;
  gap: 1.25rem;
}

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

.feature-card,
.service-item,
.why-card,
.process-step {
  padding: 1.5rem;
}

.feature-card {
  min-height: 100%;
}

.accent-card {
  background: linear-gradient(180deg, rgba(223, 242, 238, 0.95), rgba(255, 255, 255, 0.95));
}

.muted-card {
  background: linear-gradient(180deg, rgba(242, 223, 191, 0.36), rgba(255, 255, 255, 0.95));
}

.card-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.card-list li + li {
  margin-top: 0.45rem;
}

.service-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(241, 237, 226, 0.94));
}

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

.process-shell {
  gap: 1.5rem;
}

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

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

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.cta-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: min(100%, 420px);
}

.content-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card ul {
  padding-left: 1.15rem;
  margin: 0.9rem 0 0;
}

.content-card ul li + li {
  margin-top: 0.45rem;
}

.process-step span {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent-strong);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

.contact-form {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: block;
}

.contact-form span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(17, 120, 109, 0.18);
  border-color: rgba(17, 120, 109, 0.4);
}

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

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

.form-button {
  margin-top: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.site-footer {
  padding: 2.5rem 0 1.2rem;
}

.footer-shell,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-shell {
  padding-top: 1rem;
}

.footer-logo {
  width: clamp(160px, 18vw, 220px);
  height: auto;
  margin-bottom: 0.85rem;
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
  text-align: right;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 33, 43, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .solutions-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .service-strip,
  .process-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  h1 {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    position: relative;
    flex: 0 0 auto;
  }

  .header-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid rgba(23, 33, 43, 0.1);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.1);
    gap: 0.3rem;
  }

  .site-header.nav-open .header-nav {
    display: flex;
  }

  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .header-nav a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-size: 1rem;
  }

  .header-nav a[aria-current="page"] {
    background: var(--accent-soft);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero-section,
  .page-hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.03;
  }

  .page-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(1.8rem, 9.2vw, 2.5rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 10vw, 2.9rem);
  }

  h2 {
    font-size: clamp(1.6rem, 8vw, 2.35rem);
  }

  .lead {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .brand img {
    width: clamp(150px, 42vw, 210px);
  }

  .page-hero-aside,
  .panel-card,
  .feature-card,
  .service-item,
  .why-card,
  .process-step,
  .contact-form,
  .content-card,
  .cta-strip {
    padding: 1.2rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.4rem 0;
  }

  .header-shell,
  .footer-shell,
  .footer-bottom {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .header-nav,
  .footer-contact {
    text-align: left;
  }

  .hero-points,
  .solutions-grid,
  .why-grid,
  .form-grid,
  .cta-links {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

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

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