:root {
  --ink: #16211f;
  --muted: #64726d;
  --paper: #fffdf8;
  --soft: #f3efe6;
  --line: #ded8ca;
  --green: #2f6b4f;
  --green-dark: #214b39;
  --tomato: #cf553f;
  --mustard: #d9a441;
  --blue: #315d7b;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(22, 33, 31, .12);
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .74;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 22, 19, .82), rgba(13, 22, 19, .28) 52%, rgba(13, 22, 19, .10));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 0 clamp(22px, 6vw, 76px) clamp(44px, 10vh, 96px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .12em;
}

.hero .eyebrow {
  color: #ffd28b;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 660px;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.button.small {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
}

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

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-size: 2.4rem;
  color: var(--green);
}

.stats span {
  color: var(--muted);
}

.section {
  padding: clamp(58px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.prose {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid,
.cards,
.diet-grid,
.pricing,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.card,
.diet-card,
.pricing article,
.timeline article,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-grid article,
.card,
.diet-card,
.pricing article,
.timeline article {
  padding: 24px;
}

.icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--tomato);
  font-weight: 900;
}

.muted {
  background: var(--soft);
}

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

.card a {
  color: var(--green-dark);
  font-weight: 800;
}

.page-hero {
  padding: clamp(76px, 13vw, 140px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, #f8f3e9, #ffffff 48%, #e6efe8);
  border-bottom: 1px solid var(--line);
}

.about-hero {
  background: linear-gradient(135deg, #f8f3e9, #e9f0f4 48%, #ffffff);
}

.offer-hero {
  background: linear-gradient(135deg, #fff7e6, #ffffff 46%, #e8f0ec);
}

.contact-hero {
  background: linear-gradient(135deg, #f7eee6, #ffffff 50%, #e7eef2);
}

.timeline-section {
  background: var(--ink);
  color: var(--white);
}

.timeline article {
  color: var(--ink);
}

.timeline strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

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

.diet-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.pricing article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pricing .highlight {
  border-color: rgba(207, 85, 63, .45);
  background: #fff8f3;
}

.price {
  margin: 12px 0;
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
}

.button.small {
  margin-top: auto;
}

.calculator {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.calc-form,
.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.calc-result {
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 900;
  font-size: 1.2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 24px;
}

.notice,
.form-status {
  color: var(--tomato);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffd28b;
  font-weight: 800;
}

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

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .strip,
  .two-column,
  .calculator,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cards,
  .pricing,
  .timeline,
  .diet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(13, 22, 19, .20), rgba(13, 22, 19, .86));
  }

  .feature-grid,
  .cards,
  .pricing,
  .timeline,
  .diet-grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }
}
