/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg: #FAFAF7;
  --clr-surface: #FFFFFF;
  --clr-text: #2C2C2C;
  --clr-text-light: #5A5A5A;
  --clr-accent: #3A7D5C;
  --clr-accent-light: #E8F3ED;
  --clr-accent-dark: #2B5E44;
  --clr-border: #E2E0DB;
  --clr-warm: #F5F0E8;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1140px;
  --radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-accent-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--clr-text); line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: .75rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* === HEADER === */
.site-header {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: -.02em;
}
.logo span { color: var(--clr-text); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--clr-text); margin: 5px 0;
  transition: .3s;
}

.main-nav { display: flex; gap: .15rem; align-items: center; }
.main-nav a {
  color: var(--clr-text-light);
  font-size: .88rem;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-accent);
  background: var(--clr-accent-light);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 4rem 1.5rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.hero-content h1 { color: #fff; font-size: 2.6rem; margin-bottom: .75rem; }
.hero-content p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 1.5rem; }
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--clr-accent-dark); color: #fff; transform: translateY(-1px); }

/* === SECTION === */
.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--clr-warm);
}
.section-title {
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--clr-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: .95rem;
}

/* === CARDS GRID === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.card-img {
  height: 200px;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 1.25rem 1.35rem;
}
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--clr-text-light); font-size: .92rem; margin-bottom: .75rem; }
.card-link {
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.card-link::after { content: '→'; transition: transform .2s; }
.card-link:hover::after { transform: translateX(3px); }

/* === CONTENT PAGE === */
.page-hero {
  height: 260px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.5);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 { color: #fff; font-size: 2.2rem; }
.page-hero-content p { color: rgba(255,255,255,.85); margin: 0; }

.content-body {
  padding: 3rem 0;
}
.content-body h2 { margin-top: 2rem; }
.content-body h3 { margin-top: 1.5rem; }
.content-body ul, .content-body ol {
  margin: .5rem 0 1rem 1.5rem;
  color: var(--clr-text-light);
}
.content-body li { margin-bottom: .35rem; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
.content-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* 2-col layout */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.sidebar {
  background: var(--clr-warm);
  padding: 1.5rem;
  border-radius: var(--radius);
  position: sticky;
  top: 5rem;
}
.sidebar h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar ul li { margin-bottom: .5rem; }
.sidebar ul li a {
  color: var(--clr-text-light);
  font-size: .9rem;
  display: block;
  padding: .3rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.sidebar ul li a:hover { color: var(--clr-accent); }

/* === CONTACT FORM === */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--clr-surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .3rem;
  color: var(--clr-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .6rem .8rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--clr-bg);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-accent);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* === CALORIE TABLE === */
.calc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.calc-table th, .calc-table td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--clr-border);
  font-size: .92rem;
}
.calc-table th {
  background: var(--clr-accent-light);
  font-weight: 600;
  color: var(--clr-text);
}
.calc-table tr:hover td { background: var(--clr-warm); }

/* === INFO BOX === */
.info-box {
  background: var(--clr-accent-light);
  border-left: 4px solid var(--clr-accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem;
}
.info-box strong { color: var(--clr-accent-dark); }

/* === FOOTER === */
.site-footer {
  background: #2C2C2C;
  color: rgba(255,255,255,.7);
  padding: 2.5rem 0 1.5rem;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .75rem;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: .35rem; }
.footer-grid ul a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* === DISCLAIMER === */
.disclaimer {
  background: var(--clr-warm);
  padding: .75rem 1rem;
  font-size: .8rem;
  color: var(--clr-text-light);
  text-align: center;
  border-top: 1px solid var(--clr-border);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--clr-surface);
    flex-direction: column;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .hero-content h1 { font-size: 1.8rem; }
  .cards { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
