/* ============================================
   Essential Foods Group - Production Stylesheet
   "Your Connection To Retail & Big Box Chains"
   ============================================ */

/* CSS Variables - Premium Brand Colors */
:root {
  --color-primary: #1a4d2e;
  --color-primary-dark: #0f2e1c;
  --color-primary-light: #2d6b47;
  --color-secondary: #c17a37;
  --color-accent: #e69138;
  --color-text: #1f1f1f;
  --color-text-light: #4a4a4a;
  --color-text-muted: #7a7a7a;
  --color-bg: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-bg-dark: #0f2e1c;
  --color-border: #e5e5e5;
  --color-success: #2d6b47;
  --color-error: #c53030;
  
  --font-display: 'Crimson Pro', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
}

.container-narrow {
  max-width: 900px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--color-primary-light);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-base);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 4px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: #2d6b47;
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #1a4d2e;
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.05rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #f8faf9 0%, #e8f4f0 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(26, 77, 46, 0.05), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

/* About Section */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Retailer Grid */
.retailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin-top: 3rem;
}

.retailer-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-light);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
  opacity: 0.8;
}

.retailer-item:hover {
  opacity: 1;
  color: var(--color-primary);
  transform: scale(1.05);
}

/* Analytical Standards Box */
.standards-box {
  background: linear-gradient(135deg, #f8faf9, #ffffff);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 3rem;
  max-width: 900px;
  margin: 3rem auto;
}

.standards-box h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.standard-item h4 {
  font-size: 1.125rem;
  color: var(--color-success);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.standard-item h4::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--color-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.standard-item.exclude h4 {
  color: var(--color-error);
}

.standard-item.exclude h4::before {
  content: '✗';
  background: var(--color-error);
}

.standard-item ul {
  list-style: none;
  padding-left: 2.25rem;
}

.standard-item li {
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  animation: fadeInUp 0.6s ease-out backwards;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }
.timeline-step:nth-child(4) { animation-delay: 0.4s; }
.timeline-step:nth-child(5) { animation-delay: 0.5s; }

.timeline-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  width: 2px;
  height: calc(100% + 3rem);
  background: linear-gradient(180deg, var(--color-primary), transparent);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.timeline-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-content {
  position: relative;
  z-index: 1;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

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

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 3rem 1.5rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-base);
  background: white;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Checklist */
.checklist {
  list-style: none;
  max-width: 700px;
  margin: 2rem 0;
}

.checklist li {
  padding-left: 2.5rem;
  position: relative;
  margin-bottom: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all var(--transition-base);
  background-color: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

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

.form-submit {
  width: 100%;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background-color: #2d6b47;
  background-color: var(--color-secondary);
}

.cta-band .btn-primary:hover {
  background-color: #1a4d2e;
  background-color: var(--color-accent);
}

.cta-band .btn-secondary {
  border-color: white;
  color: white;
}

.cta-band .btn-secondary:hover {
  background-color: white;
  color: var(--color-primary);
}

/* Footer */
.site-footer {
  background-color: var(--color-bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-service-areas {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-smooth);
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  
  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
  }
  
  .main-nav .btn {
    margin-top: 1rem;
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .standards-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-step {
    gap: 1.5rem;
  }
  
  .retailer-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
  }
  
  .retailer-item {
    font-size: 1.25rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Mobile Fix for Services Page */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  #retail-placements > div > div,
  #sales-marketing > div > div,
  #consulting > div > div,
  #sampling > div > div,
  #merchandising > div > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-number {
    margin-bottom: 1rem;
  }
  
  .timeline-step::before {
    left: 29px;
  }
}

/* Enhanced Mobile Form Responsiveness */
@media (max-width: 768px) {
  .contact-form {
    max-width: 100% !important;
    padding: 0 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .form-group-full {
    grid-column: 1 / -1 !important;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    width: 100% !important;
    padding: 0.75rem 0.875rem !important;
    font-size: 16px !important;
  }
  
  .form-submit {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
  }
  
  /* Prevent zoom on input focus on mobile */
  input:focus,
  select:focus,
  textarea:focus {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px !important;
  }
  
  label {
    font-size: 0.95rem !important;
  }
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  
  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
  }
  
  .main-nav .btn {
    margin-top: 1rem;
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* Small screens (phones) */
@media (max-width: 480px) {
  .main-nav {
    width: 100%;
    max-width: 100%;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
  }
}

/* MOBILE FORM IMPROVEMENTS - Collapsible & No Sideways */
@media (max-width: 768px) {
  /* Hide right sidebar on mobile - move it below */
  .section > .container > div {
    grid-template-columns: 1fr !important;
  }
  
  .contact-form {
    max-width: 100% !important;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  .form-group {
    margin-bottom: 0.75rem !important;
  }
  
  .form-group-full {
    grid-column: 1 / -1 !important;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    width: 100% !important;
    padding: 0.75rem !important;
    font-size: 16px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .form-label {
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .form-submit {
    width: 100% !important;
    margin-top: 1rem !important;
    font-size: 1rem !important;
  }
  
  /* Prevent zoom on input */
  input:focus,
  select:focus,
  textarea:focus {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.5rem 1rem;
  }
  
  .header-content {
    padding: 0.75rem 0;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .container {
    padding: 0 1rem !important;
  }
  
  .form-grid {
    gap: 0.5rem !important;
  }
  
  .form-group {
    margin-bottom: 0.5rem !important;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    padding: 0.65rem 0.75rem !important;
    font-size: 16px !important;
  }
  
  h1 {
    font-size: clamp(1.5rem, 5vw, 2.25rem) !important;
  }
  
  h2 {
    font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
  }
}
/* MOBILE MENU - COMPLETE FIX FOR ALL PAGES */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  margin-left: auto;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Show toggle on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Main Nav - Side Drawer */
  .main-nav {
    position: fixed !important;
    top: 60px;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease !important;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 999;
  }
  
  .main-nav.active {
    right: 0 !important;
  }
  
  .main-nav ul {
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
  }
  
  .main-nav li {
    width: 100% !important;
    border-bottom: 1px solid #eee;
  }
  
  .main-nav a {
    display: block !important;
    padding: 1rem 0 !important;
    font-size: 1.125rem !important;
    text-align: left;
  }
  
  .main-nav .btn {
    margin-top: 1rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .main-nav {
    top: 50px;
    height: calc(100vh - 50px);
    padding: 1.5rem 1rem;
  }
  
  .main-nav a {
    font-size: 1rem !important;
    padding: 0.75rem 0 !important;
  }
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* AGGRESSIVE MOBILE FORM - NO SIDEWAYS REQUIRED */
@media (max-width: 768px) {
  /* Stack form and sidebar vertically */
  .section > .container > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .form-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .form-group {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }
  
  .form-group-full {
    grid-column: 1 / -1 !important;
  }
  
  .form-label {
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem !important;
    font-size: 16px !important;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
  }
  
  .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4d2e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 1.25rem !important;
    padding-right: 2.5rem !important;
  }
  
  .form-textarea {
    resize: vertical !important;
    min-height: 120px !important;
  }
  
  input:focus,
  select:focus,
  textarea:focus {
    font-size: 16px !important;
    outline: 2px solid var(--color-primary);
  }
  
  .form-submit {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    margin-top: 1rem !important;
  }
}

@media (max-width: 480px) {
  .form-grid {
    gap: 0.75rem !important;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    padding: 0.65rem !important;
    font-size: 16px !important;
  }
  
  .form-label {
    font-size: 0.9rem !important;
  }
  
  .container {
    padding: 1rem !important;
  }
}

/* Retailer Grid Links - Styling */
.retailer-item {
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.retailer-item:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.retailer-item:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
