/* =================================================================
   FRESH SQUEEZE — Starter Tier Stylesheet
   Pressed fresh. Served cold.
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --bg-soft-white: #FAFFF5;
  --bg-soft-green: #F0FDF4;
  --forest: #14532D;
  --forest-700: #166534;
  --forest-900: #0b3a1c;
  --orange: #F97316;
  --orange-600: #EA580C;
  --berry: #DC2626;
  --leaf: #16A34A;
  --gray: #78716C;
  --gray-light: #E7E5E4;
  --white: #FFFFFF;

  /* Typography */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Effects */
  --shadow-soft: 0 4px 20px rgba(20, 83, 45, 0.08);
  --shadow-hover: 0 12px 32px rgba(20, 83, 45, 0.16);
  --shadow-card: 0 2px 12px rgba(20, 83, 45, 0.06);
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.4s var(--ease);

  /* Layout */
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--forest);
  background: var(--bg-soft-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 100px 0;
}

.section--light {
  background: var(--bg-soft-white);
}

.section--soft-green {
  background: var(--bg-soft-green);
}

.section--dark {
  background: var(--forest);
  color: var(--white);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--orange);
}

.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 16px;
}

.section--dark .section__title {
  color: var(--white);
}

.section__lead {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.65;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.32);
}

.btn--primary:hover {
  background: var(--orange-600);
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.42);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--forest);
  transform: scale(1.03);
}

.btn--outline-primary {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn--outline-primary:hover {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.03);
}

.btn--white {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn--white:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--xs {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(20, 83, 45, 0.08);
  border-bottom-color: var(--gray-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--forest);
  transition: color var(--transition);
}

.logo__emoji {
  font-size: 22px;
}

.header:not(.scrolled) .logo {
  color: var(--white);
}

.header.scrolled .logo {
  color: var(--forest);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.header.scrolled .nav__link {
  color: var(--forest);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--orange);
}

.nav__link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
}

.hamburger__bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition),
    background var(--transition);
}

.header.scrolled .hamburger__bar {
  background: var(--forest);
}

.hamburger.active .hamburger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  background-image: url("https://images.unsplash.com/photo-1622597467836-f3285f2131b8?w=1920&q=80");
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(20, 83, 45, 0.78) 0%,
    rgba(20, 83, 45, 0.45) 50%,
    rgba(249, 115, 22, 0.32) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: #DCFCE7;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.trust-pill__stars {
  color: #FCD34D;
  letter-spacing: 1px;
}

.leaf {
  font-size: 15px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: bounce 2s infinite;
}

.hero__scroll-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translate(-2px, -2px);
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Menu Grid ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--leaf);
}

.card__media {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.08);
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card__badge--green {
  background: var(--leaf);
}

.card__badge--red {
  background: var(--berry);
}

.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card__emoji {
  font-size: 18px;
}

.card__desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 18px;
  flex: 1;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--orange);
}

/* ---------- Why Cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--leaf);
}

.why-card__icon {
  font-size: 44px;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft-green);
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 1px solid var(--gray-light);
}

.why-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 12px;
}

.why-card__text {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Stats Bar ---------- */
.stats {
  background: var(--forest);
  color: var(--white);
  padding: 60px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.42);
}

.story__content {
  padding-left: 8px;
}

.story__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.25;
  color: var(--forest);
  margin-bottom: 20px;
}

.story__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--forest-700);
  margin-bottom: 18px;
}

.story__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--orange);
  margin-top: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.story__link:hover {
  color: var(--orange-600);
  border-bottom-color: var(--orange);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 14px;
}

.contact__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  margin-bottom: 28px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.18);
  border-radius: 12px;
}

.contact__key {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.contact__val {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

.contact__val--link:hover {
  color: var(--orange);
}

.contact__socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact__socials a {
  color: var(--white);
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.contact__socials a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

.contact__map {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  min-height: 360px;
  background: var(--forest-700);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-600) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.final-cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.final-cta__sub {
  font-size: 18px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.logo--footer {
  color: var(--white);
  margin-bottom: 12px;
}

.footer__tagline {
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  color: var(--orange);
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__col p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer__col a:hover {
  color: var(--orange);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid .why-card:last-child {
    grid-column: span 2;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 28px 28px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 105;
  }

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

  .nav__link {
    color: var(--forest);
    font-size: 18px;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: 16px;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  /* Force header to solid on mobile so links stay readable */
  .header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(20, 83, 45, 0.08);
    border-bottom-color: var(--gray-light);
  }

  .header .logo,
  .header.scrolled .logo {
    color: var(--forest);
  }

  .hamburger__bar {
    background: var(--forest);
  }

  .hero__title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 8px;
  }

  .trust-pill {
    font-size: 13px;
    padding: 6px 12px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story__content {
    padding-left: 0;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact__map {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .menu-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid .why-card:last-child {
    grid-column: span 1;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 24px;
  }

  .stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .container {
    padding-inline: 18px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__bg {
    transform: none !important;
  }
}
