/* ==========================================================================
   GROCEASY — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Forest Green, Warm Ivory, High-Contrast Editorial Serif
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-base: #1E352F;        /* Deep forest green from brand reference */
  --color-bg-dark: #152722;        /* Darker shadow / footer tint */
  --color-bg-elevated: #244039;    /* Elevated surface */
  --color-surface-glass: rgba(255, 255, 255, 0.06);
  --color-surface-glass-hover: rgba(255, 255, 255, 0.1);
  --color-border-subtle: rgba(255, 255, 255, 0.14);
  --color-border-card: rgba(255, 255, 255, 0.22);
  --color-border-active: rgba(255, 255, 255, 0.4);

  /* Typography Colors */
  --color-text-main: #F7F6F0;      /* Warm white / ivory */
  --color-text-secondary: #C4D3CC; /* Soft sage */
  --color-text-muted: #8FA89D;     /* Muted eucalyptus */
  --color-text-dark: #1E352F;      /* Dark green for CTA text */

  /* Accents */
  --color-accent-gold: #D6A85D;    /* Subtle ripe gold */
  --color-accent-emerald: #4ADE80; /* Status dot live */
  --color-accent-warm: #E2725B;    /* Ripe tomato / berry accent */

  /* Buttons */
  --color-btn-primary-bg: #F7F6F0;
  --color-btn-primary-text: #1E352F;
  --color-btn-primary-hover: #FFFFFF;

  /* Typography Families */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spatial Scale (8px rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-card: 28px;
  --radius-pill: 9999px;

  /* Elevation Shadows */
  --shadow-card: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
  --shadow-card-elevated: 0 28px 60px -12px rgba(0, 0, 0, 0.6);
  --shadow-button: 0 8px 24px -4px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 320ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: 480ms cubic-bezier(0.2, 0.9, 0.2, 1);

  /* Max Widths */
  --container-max: 1240px;
  --container-wide: 1360px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 20%, #25443C 0%, #1E352F 60%, #162722 100%);
  background-attachment: fixed;
  color: var(--color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--color-text-main);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--color-text-main);
  color: var(--color-text-dark);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Utility Containers */
.content-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* --------------------------------------------------------------------------
   3. Global Site Header (Desktop & Tablet only)
   -------------------------------------------------------------------------- */
.site-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(30, 53, 47, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px var(--space-6);
  min-height: 64px;
}

/* Brand Link */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  flex-shrink: 0;
  color: var(--color-text-main);
}

.brand-text {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-item {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.938rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: 4px 0;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-text-main);
  transition: width var(--transition-fast);
}

.nav-item:hover {
  color: var(--color-text-main);
}

.nav-item:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language Switcher (RU / EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-text-main);
}

.lang-btn.active {
  background: var(--color-text-main);
  color: var(--color-text-dark);
}

.status-pill {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
  display: inline-block;
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-ring 2.4s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cart-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-border-card);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  font-size: 0.688rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* --------------------------------------------------------------------------
   4. Hero / Welcome Screen Section (Core Focus)
   -------------------------------------------------------------------------- */
.hero-welcome-section {
  position: relative;
  width: 100%;
  padding: clamp(16px, 3vh, 24px) var(--space-4) clamp(16px, 2.5vh, 24px);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.welcome-container {
  width: 100%;
  max-width: 420px; /* Mobile app container baseline */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  justify-content: space-between;
}

/* Mobile Top Brand Bar */
.mobile-brand-bar {
  display: block;
  width: 100%;
  margin-top: 0;
  margin-bottom: clamp(6px, 1.2vh, 14px);
}

.mobile-top-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mobile-top-row .brand-wrap.center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-lang {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Hero Headline */
.hero-headline-wrap {
  margin-bottom: clamp(8px, 1.5vh, 16px);
  width: 100%;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-size: clamp(2.35rem, 8.5vw, 2.9rem);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
  padding: 4px 0;
}

.hero-headline .line-1,
.hero-headline .line-2 {
  display: block;
}

.hero-subtext {
  font-size: 1.063rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: var(--space-4) 0 0;
}

/* Desktop only helper */
.desktop-only {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Hero Visual Showcase (3-Card App-Like Composition)
   -------------------------------------------------------------------------- */
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(10px, 1.8vh, 18px);
  overflow: hidden; /* Avoid page scrollbar on mobile */
  padding: 4px 0;
}

.cards-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(340px, 45vh, 395px);
  min-height: 340px;
  perspective: 1000px;
  user-select: none;
  touch-action: pan-y;
}

/* Individual Produce Card */
.produce-card {
  position: relative;
  width: clamp(224px, 62vw, 255px);
  height: clamp(340px, 45vh, 395px);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-bg-dark);
  border: 1.5px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-card), opacity var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-card);
  flex-shrink: 0;
  outline: none;
}

.produce-card .card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.produce-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 600ms ease-out;
}

.produce-card:hover img {
  transform: scale(1.05);
}

/* Card Scrim (Dark gradient overlay for text readability) */
.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 36, 32, 0.1) 0%,
    rgba(20, 36, 32, 0) 35%,
    rgba(14, 25, 22, 0.55) 65%,
    rgba(14, 25, 22, 0.92) 100%
  );
  pointer-events: none;
}

/* Card Caption */
.card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-4);
  text-align: left;
  z-index: 2;
  color: var(--color-text-main);
}

.card-tag {
  display: inline-block;
  font-size: 0.688rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-1);
}

.card-title {
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-main);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.card-title.prominent {
  font-size: 1.063rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-subcaption {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}

/* Mobile Stacking Arrangement */
/* Center Card: Active */
.produce-card.card-center {
  z-index: 10;
  transform: translateX(0) scale(1);
  opacity: 1;
  box-shadow: var(--shadow-card-elevated);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Left Card: Peeking */
.produce-card.card-left {
  position: absolute;
  left: 50%;
  transform: translateX(-155%) scale(0.92);
  opacity: 0.5;
  z-index: 5;
  pointer-events: auto;
}

/* Right Card: Peeking */
.produce-card.card-right {
  position: absolute;
  left: 50%;
  transform: translateX(55%) scale(0.92);
  opacity: 0.5;
  z-index: 5;
  pointer-events: auto;
}

/* Indicators */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(8px, 1.5vh, 14px);
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.dot-btn.active {
  width: 24px;
  background: var(--color-text-main);
}

/* Model badge on mobile */
.model-badge-mobile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: clamp(6px, 1.2vh, 10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
}

/* --------------------------------------------------------------------------
   6. Primary Call to Action & Legal Links
   -------------------------------------------------------------------------- */
.hero-cta-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 12px);
  margin-top: auto;
}

.btn-primary-pill {
  width: 100%;
  max-width: 330px;
  height: 52px;
  background-color: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.btn-primary-pill:hover {
  background-color: var(--color-btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45);
}

.btn-primary-pill:active {
  transform: scale(0.98);
}

/* Legal Notice */
.legal-notice {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 320px;
}

.legal-link {
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition-fast);
}

.legal-link:hover {
  opacity: 0.8;
}

.link-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-subtle:hover {
  color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   7. Section 2: The Groceasy Model
   -------------------------------------------------------------------------- */
.section-model {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
  background: linear-gradient(180deg, rgba(22, 39, 34, 0.4) 0%, rgba(22, 39, 34, 0.8) 100%);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.section-header.center {
  text-align: center;
}

.eyebrow-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  background: rgba(214, 168, 93, 0.12);
  border: 1px solid rgba(214, 168, 93, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.model-step-card {
  position: relative;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.model-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-card);
}

.model-step-card.highlight {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.step-num-badge {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-3);
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  margin-bottom: var(--space-4);
}

.step-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: var(--space-2);
}

.step-body {
  font-size: 0.938rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   8. Section 3: Current Weekly Harvest
   -------------------------------------------------------------------------- */
.section-harvest {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
}

.harvest-header-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.schedule-pill-desktop {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
}

.harvest-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.harvest-item-card {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.harvest-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-card);
}

.item-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out;
}

.harvest-item-card:hover .item-img-wrap img {
  transform: scale(1.06);
}

.item-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 36, 32, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-main);
  font-size: 0.688rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.item-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
  flex: 1;
}

.item-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.old-price {
  font-size: 0.813rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
}

.item-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-3);
}

.item-weight {
  font-size: 0.813rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.item-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #79D2A6;
  font-weight: 600;
}

.item-status-tag .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #79D2A6;
  display: inline-block;
}

.harvest-cta-center {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Section 4: Standards
   -------------------------------------------------------------------------- */
.section-standards {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
  background: rgba(20, 36, 32, 0.5);
}

.standards-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.standards-list {
  list-style: none;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.standards-list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.16);
  color: var(--color-accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.standards-list strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.standards-list span {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  position: relative;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--color-text-main);
  margin-bottom: var(--space-6);
}

.quote-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
}

.author-name {
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--color-text-main);
}

.author-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------


/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  background-color: var(--color-bg-dark);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand .brand-link {
  margin-bottom: var(--space-3);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 320px;
  line-height: 1.5;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.footer-col h4 {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a,
.footer-col button {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--color-text-main);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Modals & Drawers
   -------------------------------------------------------------------------- */
.modal-sheet {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end; /* Slide up on mobile */
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility var(--transition-fast), opacity var(--transition-fast);
}

.modal-sheet[open] {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 25, 22, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  background-color: #1A302A;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.modal-sheet[open] .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-subtle);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.modal-subtitle {
  display: block;
  font-size: 0.813rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-text-main);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: var(--space-6);
  overflow-y: auto;
  flex-grow: 1;
}

/* Text modal specifics */
.text-modal-body h3 {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.text-modal-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

/* Catalog Filter Chips */
.catalog-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: var(--space-4);
  scrollbar-width: none;
}

.catalog-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip.active {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border-color: var(--color-btn-primary-bg);
}

/* Modal Items List */
.modal-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.modal-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
}

.modal-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.modal-item-info {
  flex-grow: 1;
}

.modal-item-title {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.modal-item-cost {
  font-size: 0.875rem;
  color: var(--color-accent-gold);
  font-weight: 600;
}

.modal-item-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.stepper-btn {
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-val {
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

/* Catalog drawer footer */
.catalog-order-panel {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.btn-checkout-pill {
  width: 100%;
  height: 50px;
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-checkout-pill:hover {
  background: #FFFFFF;
  color: var(--color-btn-primary-text);
  transform: translateY(-1px);
}

.checkout-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(26, 48, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--color-text-main);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--color-accent-emerald);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   13. DESKTOP MEDIA QUERIES (>= 992px)
   Adapts to a sophisticated, spacious editorial landing page
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  
  /* Show Desktop Site Header, Nav & Status Pill */
  .site-header {
    display: block;
  }

  .desktop-nav {
    display: block;
  }

  .status-pill {
    display: inline-flex;
  }

  .mobile-brand-bar {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  /* Spacious Hero Layout (2-Column Grid) */
  .hero-welcome-section {
    padding: var(--space-12) var(--space-6) var(--space-20);
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
  }

  .welcome-container {
    max-width: var(--container-wide);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-12);
    align-items: center;
    text-align: left;
  }

  .hero-headline-wrap {
    text-align: left;
    margin-bottom: var(--space-6);
  }

  .hero-headline {
    text-align: left;
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    line-height: 1.12;
    padding: 8px 0;
  }

  .hero-subtext {
    margin-top: var(--space-6);
    font-size: 1.125rem;
    max-width: 520px;
  }

  /* Desktop Visual Stage: Sophisticated Layered Editorial Trio */
  .hero-visual-stage {
    margin-bottom: 0;
    overflow: visible;
    padding: var(--space-6) 0;
  }

  .cards-track {
    width: 100%;
    height: 520px;
    position: relative;
    display: block;
  }

  /* Center Produce Card: Dominant & Grounded */
  .produce-card.card-center {
    position: absolute;
    width: 320px;
    height: 480px;
    left: 20%;
    top: 20px;
    z-index: 10;
    transform: rotate(0deg);
    border-radius: 36px;
  }

  /* Left Produce Card: Floating Left Offset */
  .produce-card.card-left {
    position: absolute;
    width: 220px;
    height: 340px;
    left: -5%;
    top: 90px;
    transform: rotate(-4deg);
    opacity: 0.85;
    z-index: 5;
    border-radius: 28px;
  }

  .produce-card.card-left:hover {
    transform: rotate(-2deg) scale(1.03);
    opacity: 1;
    z-index: 12;
  }

  /* Right Produce Card: Floating Right Offset */
  .produce-card.card-right {
    position: absolute;
    width: 240px;
    height: 360px;
    left: 65%;
    top: 50px;
    transform: rotate(4deg);
    opacity: 0.85;
    z-index: 6;
    border-radius: 28px;
  }

  .produce-card.card-right:hover {
    transform: rotate(2deg) scale(1.03);
    opacity: 1;
    z-index: 12;
  }

  /* Carousel Dots not needed on wide screen layered composition */
  .carousel-dots {
    display: none;
  }

  .model-badge-mobile {
    display: none;
  }

  /* CTA on Desktop */
  .hero-cta-wrap {
    align-items: flex-start;
    gap: var(--space-4);
  }

  .btn-primary-pill {
    width: auto;
    min-width: 200px;
    padding: 0 42px;
    height: 56px;
    font-size: 1.125rem;
  }

  .legal-notice {
    text-align: left;
    max-width: 440px;
  }

  /* Multi-column Grids for Supporting Sections */
  .model-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .harvest-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .schedule-pill-desktop {
    align-self: auto;
  }

  .harvest-catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .standards-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-nav-groups {
    grid-template-columns: repeat(2, auto);
    gap: var(--space-16);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Modals on Desktop: Center Dialog */
  .modal-sheet {
    align-items: center;
  }

  .modal-card {
    border-radius: var(--radius-card);
    transform: scale(0.95);
    opacity: 0;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .modal-sheet[open] .modal-card {
    transform: scale(1);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   14. Reduced Motion (WCAG AA Compliance)
   -------------------------------------------------------------------------- */
@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;
  }
}
