/* ---------- Design tokens (matched to live lilyrennutrition.com) ---------- */
:root {
  --color-bg: #F5F7F2;
  --color-text: #18271A;
  --color-accent: #354B5F;
  --color-accent-text: #E5EEE1;
  --color-border: #18271A;
  --color-input-bg: #FEFEFB;

  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Noto Sans', sans-serif;

  --max-width: 1100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; color: var(--color-text); }
p { margin: 0 0 1em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  border-radius: 0;
  padding: 16px 29px;
  cursor: pointer;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header { padding: 24px 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}
.main-nav a {
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero { padding-top: 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.hero-content h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.hero-content .btn { margin-top: 0.5em; }

/* ---------- About ---------- */
.about-copy { max-width: 900px; }
.about-copy h3 { font-size: 1.25rem; }
.about-photo {
  float: right;
  width: 320px;
  max-width: 45%;
  margin: 0 0 20px 32px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.services-text h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.services-promo {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.services-promo img { width: calc(50% - 8px); }

/* ---------- Arch photo ---------- */
.arch-photo-wrap { padding: 0 32px; max-width: var(--max-width); margin: 0 auto; }
.arch-photo {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 9999px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ---------- How it works ---------- */
.how .container { max-width: 760px; }
.how h2 { font-size: clamp(2rem, 4vw, 2.75rem); max-width: 460px; }
.how .btn { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.contact-info a { text-decoration: underline; }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.required-tag { font-weight: 400; font-size: 0.85em; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12.8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  background: var(--color-input-bg);
  color: var(--color-text);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.form-row-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status.success { color: #2E5C3E; }
.form-status.error { color: #A8362A; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-promo img { width: calc(50% - 8px); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .about-photo { float: none; width: 100%; max-width: 320px; margin: 0 auto 20px; display: block; }
  .services-promo { justify-content: center; }
  .services-promo img { width: calc(50% - 8px); }
}
