:root {
  --color-forest: #0f3552;
  --color-sage: #d8e5ec;
  --color-mint: #f4f8fa;
  --color-cream: #f6ead8;
  --color-paper: #ffffff;
  --color-ink: #10283b;
  --color-muted: #5d6971;
  --color-clay: #f28a19;
  --color-clay-dark: #c76508;
  --shadow-soft: 0 18px 45px rgba(16, 40, 59, 0.14);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--color-paper);
}

body.nav-open {
  overflow: hidden;
}

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

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

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd7d1;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--color-ink);
  background: var(--color-paper);
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 111, 69, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(49, 95, 75, 0.12);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--color-forest);
}

.brand-title,
.brand-subtitle {
  display: block;
  line-height: 1.1;
}

.brand-title {
  font-size: 1rem;
}

.brand-subtitle {
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-cream);
  box-shadow: 0 0 0 2px rgba(15, 53, 82, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--color-forest);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(49, 95, 75, 0.2);
  border-radius: var(--radius);
  background: var(--color-paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-forest);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

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

.section {
  padding: 6rem 1.25rem;
}

.section-muted {
  background: var(--color-mint);
}

.section-grid,
.section-heading,
.feature-grid,
.benefit-grid,
.steps,
.protocol-list,
.gallery,
.faq-list {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 3rem;
  text-align: center;
}

.section-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-clay-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  color: var(--color-paper);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-forest);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 7rem 1.25rem;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 31, 50, 0.78), rgba(8, 31, 50, 0.36)),
    url("https://images.unsplash.com/photo-1511044568932-338cba0ad803?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 88px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--color-paper));
  z-index: -1;
}

.hero-content {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero .eyebrow,
.hero-subtitle {
  color: #f4f0e7;
}

.hero-subtitle {
  max-width: 660px;
  margin-top: 1.25rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--color-paper);
  background: var(--color-clay);
  box-shadow: 0 12px 30px rgba(158, 80, 50, 0.25);
}

.button-primary:hover {
  background: var(--color-clay-dark);
}

.button-secondary {
  color: var(--color-forest);
  background: var(--color-paper);
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-paper);
}

.image-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  background: var(--color-paper);
}

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

.feature-card,
.benefit-card,
.step-card,
.contact-form {
  border: 1px solid rgba(49, 95, 75, 0.12);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: 0 10px 25px rgba(38, 49, 45, 0.06);
}

.feature-card,
.benefit-card,
.step-card {
  padding: 1.35rem;
}

.feature-card .icon,
.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--color-paper);
  background: var(--color-forest);
  font-size: 0.85rem;
  font-weight: 800;
}

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

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--color-clay);
}

.benefit-card {
  background: linear-gradient(180deg, var(--color-paper), #fbf8f2);
}

.help-section {
  background: var(--color-cream);
}

.help-list {
  display: grid;
  gap: 0.9rem;
}

.help-list div,
.protocol-list p {
  border-left: 4px solid var(--color-clay);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--color-paper);
  box-shadow: 0 10px 25px rgba(38, 49, 45, 0.06);
}

.help-list h3,
.help-list p,
.protocol-list p {
  margin: 0;
}

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

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.gallery img:first-child {
  grid-row: span 2;
}

.faq-list {
  max-width: 900px;
}

details {
  border: 1px solid rgba(49, 95, 75, 0.16);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--color-paper);
}

summary {
  color: var(--color-forest);
  font-weight: 800;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-forest);
  font-weight: 800;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--color-forest);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  color: var(--color-paper);
  background: var(--color-forest);
}

.footer-brand,
.site-footer p,
.site-footer a {
  color: var(--color-paper);
}

.footer-brand .brand-logo {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-paper);
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.footer-social img {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-note {
  grid-column: 1 / -1;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .feature-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .steps,
  .protocol-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--color-paper);
    border-bottom: 1px solid rgba(49, 95, 75, 0.12);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
  }

  .section {
    padding: 4.5rem 1rem;
  }

  .hero {
    min-height: 720px;
    padding: 5rem 1rem;
    background-position: 58% center;
  }

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

  .feature-grid,
  .benefit-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: 230px;
  }

  .gallery img:first-child {
    grid-row: auto;
  }

  .image-panel img {
    height: 340px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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