/* Being Healthy Kitchen — new marketing site (local XAMPP) */

:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #fffefb;
  --color-forest: #1e3d2f;
  --color-forest-soft: #2d5a45;
  --color-sage: #7d9b83;
  --color-clay: #c45c3e;
  --color-clay-dark: #a34a30;
  --color-sand: #e8dfd2;
  --color-text: #1a1816;
  --color-muted: #5c5650;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(30, 61, 47, 0.12);
  --shadow-sm: 0 4px 20px rgba(30, 61, 47, 0.08);
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-forest-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-clay);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--color-forest);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.top-bar {
  background: var(--color-forest);
  color: #e8f0e9;
  font-size: 0.88rem;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  padding: 0.45rem 0;
}

@media (min-width: 768px) {
  .top-bar__inner {
    justify-content: space-between;
  }
}

.top-bar__link {
  color: inherit;
  text-decoration: none;
}

.top-bar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-sand);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
  min-height: var(--header-h);
}

.brand img {
  max-height: 52px;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-forest);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 6px;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: fixed;
  inset: 0 0 0 auto;
  top: calc(var(--header-h) + 36px);
  width: min(320px, 100vw);
  background: var(--color-bg-alt);
  padding: 1.25rem;
  border-left: 1px solid var(--color-sand);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow);
}

@media (min-width: 960px) {
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    transform: none;
    background: transparent;
  }
}

body.nav-open .site-nav {
  transform: translateX(0);
}

body.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 960px) {
  .site-nav__list {
    flex-direction: row;
    gap: 0.5rem;
  }
}

.site-nav__list a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
  background: var(--color-sand);
  color: var(--color-forest);
}

.site-nav__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

@media (min-width: 960px) {
  .site-nav__cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--color-clay);
  color: #fff;
  border-color: var(--color-clay);
}

.btn--primary:hover {
  background: var(--color-clay-dark);
  border-color: var(--color-clay-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-forest);
  border-color: var(--color-sage);
}

.btn--ghost:hover {
  background: var(--color-forest);
  color: #fff;
  border-color: var(--color-forest);
}

.btn--large {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(125, 155, 131, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-forest);
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__fine {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

.hero__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-sand);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Stats */
.stats {
  background: var(--color-forest);
  color: #e8f0e9;
  padding: 2rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 700px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.stat__label {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  color: var(--color-forest);
  margin: 0 0 0.75rem;
}

.section__head p {
  margin: 0;
  color: var(--color-muted);
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-sand);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card__img {
  aspect-ratio: 16/11;
  object-fit: cover;
  width: 100%;
}

.plan-card__body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.plan-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--color-forest);
}

.plan-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  flex: 1;
}

.plan-card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Process */
.process-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: #fff;
  border: 1px solid var(--color-sand);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
}

.process-step__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-clay);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--color-forest);
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Testimonials */
.quote-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--color-sand);
  box-shadow: var(--shadow-sm);
}

.quote p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.quote footer {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.quote strong {
  color: var(--color-forest);
  display: block;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-forest-soft), var(--color-forest));
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--color-forest);
  border-color: #fff;
}

.cta-band .btn--primary:hover {
  background: var(--color-sand);
  border-color: var(--color-sand);
  color: var(--color-forest);
}

/* Page hero small */
.page-hero {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-bg) 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  color: var(--color-forest);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 40rem;
}

/* Forms */
.form-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-sand);
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-forest);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-sand);
  border-radius: 8px;
  background: var(--color-bg);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.75rem 0 0;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #e8f5e9;
  color: var(--color-forest);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Content article (nutrition) */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--color-forest);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--color-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

/* Contact layout */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-sand);
  min-height: 280px;
  background: var(--color-sand);
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--color-forest);
  color: #c8d4c9;
  padding: 2.5rem 0 0;
  margin-top: 2rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer__brand p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #e0ebe0;
}

.site-footer__fine {
  font-size: 0.88rem !important;
  opacity: 0.9;
}

.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  color: #fff;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-list--contact li {
  line-height: 1.5;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}
