:root {
  --bg: #f3efe8;
  --surface: #fffdf9;
  --text: #101828;
  --muted: #49566a;
  --brand: #0f8f7a;
  --brand-strong: #0a6d5d;
  --accent: #ff6f3d;
  --line: #dfd6c8;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(1100px 500px at 88% -5%, rgba(15, 143, 122, 0.18), transparent 60%),
    radial-gradient(900px 460px at 6% 12%, rgba(255, 111, 61, 0.16), transparent 58%),
    var(--bg);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.01em;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
  background-image: radial-gradient(#000 0.35px, transparent 0.35px);
  background-size: 4px 4px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 214, 200, 0.65);
  backdrop-filter: blur(12px);
  background: rgba(243, 239, 232, 0.8);
}

.nav-wrap {
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 24px rgba(10, 109, 93, 0.3);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.menu a {
  color: var(--muted);
  font-weight: 600;
  transition: color 220ms ease;
  cursor: pointer;
}

.menu a:hover {
  color: var(--text);
}

.menu-cta {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  padding: 6.5rem 0 4rem;
}

.kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--brand-strong);
  font-weight: 800;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 5.4vw, 4.45rem);
}

.hero-copy {
  margin: 1.2rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  padding: 0.82rem 1.3rem;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(150deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(10, 109, 93, 0.24);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-metrics {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.35rem;
  font-family: "Outfit", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.93rem;
}

.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 1.45rem;
}

.section h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.7rem);
  max-width: 21ch;
}

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

.service-card,
.case,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  padding: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  background: rgba(15, 143, 122, 0.12);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: var(--brand-strong);
}

.service-card p,
.case p,
.method p,
.contact p {
  color: var(--muted);
}

.method {
  padding: 1.3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.method ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.method li {
  padding: 0.8rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
}

.method span {
  display: inline-block;
  min-width: 34px;
  margin-right: 0.5rem;
  color: var(--brand-strong);
  font-family: "Outfit", sans-serif;
}

.case {
  padding: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.case-tag {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.testimonial {
  padding: 1.6rem;
  background: linear-gradient(145deg, #0e7f6d, #096355);
  color: #e7f7f2;
}

.quote {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  font-family: "Outfit", sans-serif;
}

.author {
  margin: 0.8rem 0 0;
  color: rgba(231, 247, 242, 0.88);
}

.contact {
  padding: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.lead-form {
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select {
  border: 1px solid #d7ccb9;
  border-radius: 12px;
  background: #fff;
  padding: 0.72rem 0.82rem;
  font: inherit;
}

.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.3rem;
  font-size: 0.91rem;
}

.footer {
  padding: 1rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 540ms ease, transform 540ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(10, 109, 93, 0.28);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .services-grid,
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: inline-block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 4%;
    width: min(260px, 92vw);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .hero {
    padding-top: 5.4rem;
  }

  .hero-metrics,
  .services-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .hero h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1440px) {
  .hero h1 {
    max-width: 15ch;
  }

  .section {
    padding: 5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
