:root {
  --green-dark: #184531;
  --green: #206346;
  --green-soft: #e0f2e7;
  --orange: #f38b2b;
  --orange-soft: #ffe4c4;
  --cream: #fff9f1;
  --text-main: #20302c;
  --text-muted: #5f6f66;
  --border-soft: #dde4de;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.08);

  --max-width: 1120px;
}

/* Reset & base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fffdf8, #f7f3ea);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(to bottom, #fffaf2, #f4f6f2);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(222, 228, 220, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;  /* was 10px 0 */
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 56px;   /* was 42px */
  height: 56px;  /* was 42px */
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1rem;        /* was 0.9rem */
  color: var(--green-dark);
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.nav a:hover {
  background: var(--orange-soft);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, var(--orange), #f4a93a);  /* was var(--green) */
  color: #312315;                                               /* was #fff */
  font-weight: 600;
  padding-inline: 14px;
  box-shadow: 0 8px 16px rgba(243, 139, 43, 0.3);
}


/* Hero */

.hero {
  padding: 72px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  margin: 10px 0 14px;
  line-height: 1.12;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.98rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-footnote {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* New hero image stack */

.hero-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  background: #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-image-main {
  transform: rotate(-1.5deg);
}

.hero-image-secondary {
  position: absolute;
  width: 60%;
}

.hero-image-secondary-top {
  right: -8%;
  top: -10%;
  transform: rotate(4deg);
}

.hero-image-secondary-bottom {
  right: -12%;
  bottom: -15%;
  transform: rotate(-4deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease,
    box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #f4a93a);
  color: #312315;
  box-shadow: 0 12px 24px rgba(243, 139, 43, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(243, 139, 43, 0.42);
}

.btn-outline {
  background: #fff8ef;
  border-color: #f0d3aa;
  color: var(--green-dark);
}

.btn-outline:hover {
  background: #ffe8c9;
}

/* Sections */

.section-title {
  font-size: 1.7rem;
  margin: 0 0 10px;
}

.section-intro {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.section-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 16px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.split-copy {
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}

.feature-list li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.feature-list strong {
  color: var(--text-main);
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.two-cols ul {
  padding-left: 18px;
  margin: 6px 0 0;
  color: var(--text-muted);
}

.mini-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin: 0;
}

.split-media {
  display: flex;
  justify-content: center;
}

.photo-stack {
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

/* Why Mealhub */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.why-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.why-card h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Contact form */

.contact-section {
  background: #fffdf8;
}

.contact-form {
  margin-top: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 18px 22px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.85rem;
  color: var(--green-dark);
}

input,
select,
textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #a1ada4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(243, 139, 43, 0.18);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #f6f8f5;
  padding: 18px 0 22px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-text {
  max-width: 320px;
}

/* Responsive */

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-images {
    order: 1;              /* was -1; now images appear after text */
    margin-top: 18px;      /* optional: replace margin-bottom with margin-top */
    margin-bottom: 0;
  }

  /* Make hero image stack more compact on mobile */
  .hero-image-card img {
    height: 200px;
  }

  .hero-image-secondary {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin-top: 10px;
  }

  /* Make hero image stack more compact on mobile */
  .hero-image-card img {
    height: 200px;
  }

  .hero-image-secondary {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin-top: 10px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-media {
    order: -1;
    margin-bottom: 18px;
  }

  .steps-grid,
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-form {
    padding-inline: 14px;
  }
}
