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

:root {
  --green: #1B8C3A;
  --green-dark: #14692C;
  --green-light: #E8F5E9;
  --orange: #F7931E;
  --orange-light: #FFF3E0;
  --dark: #2D2D2D;
  --dark-soft: #4A4A4A;
  --light: #FAFAF5;
  --white: #FFFFFF;
  --border: #E0E0D8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-inner { height: 80px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 600; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ─── PAGE HEADER (non-home pages) ─── */
.page-header {
  margin-top: 80px;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── SECTIONS ─── */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-alt { background: var(--light); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--dark-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-header .accent-line {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ─── HERO CAROUSEL ─── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  margin-top: 80px;
}
.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,140,58,0.75) 0%, rgba(45,45,45,0.65) 100%);
}
.hero-slide:nth-child(2)::after {
  background: linear-gradient(135deg, rgba(247,147,30,0.7) 0%, rgba(45,45,45,0.6) 100%);
}
.hero-slide:nth-child(3)::after {
  background: linear-gradient(135deg, rgba(45,45,45,0.7) 0%, rgba(27,140,58,0.65) 100%);
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-1 .slide-bg {
  background: linear-gradient(135deg, #1B8C3A 0%, #0D5C24 50%, #2D2D2D 100%);
}
.slide-2 .slide-bg {
  background: linear-gradient(135deg, #F7931E 0%, #E67E00 50%, #2D2D2D 100%);
}
.slide-3 .slide-bg {
  background: linear-gradient(135deg, #2D2D2D 0%, #1B8C3A 50%, #14692C 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 700px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(247,147,30,0.35);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(247,147,30,0.45);
}
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--white);
  transform: scale(1.2);
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ─── STORE CARDS ─── */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.store-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.store-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.store-card .store-city {
  font-size: 0.9rem;
  color: var(--dark-soft);
  margin-bottom: 16px;
}
.store-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--dark);
}
.store-detail .icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: var(--green);
  font-weight: 600;
}
.store-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.store-btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.store-btn-primary {
  background: var(--green);
  color: var(--white);
}
.store-btn-primary:hover { background: var(--green-dark); }
.store-btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.store-btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* ─── WEEKLY AD ─── */
.weekly-ad-container {
  text-align: center;
}
.ad-frame-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.ad-frame-header {
  background: var(--green);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ad-frame-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.ad-frame-header .ad-date {
  font-size: 0.9rem;
  opacity: 0.85;
}
.ad-frame-actions {
  display: flex;
  gap: 8px;
}
.ad-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.ad-action-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
}
.ad-embed {
  width: 100%;
  height: 85vh;
  min-height: 600px;
  border: none;
  display: block;
}
.ad-placeholder {
  padding: 80px 24px;
  color: var(--dark-soft);
  font-size: 1.1rem;
}
.ad-placeholder .icon-lg {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo img {
  height: 32px;
  opacity: 0.9;
  background: none;
  border: none;
  display: block;
}
.footer-text {
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .mobile-toggle { display: block; }
  .hero { height: 70vh; min-height: 400px; }
  .hero-arrow { display: none; }
  .section { padding: 56px 20px; }
  .page-header { padding: 48px 20px; }
  .stores-grid { grid-template-columns: 1fr; }
  .store-actions { flex-direction: column; }
  .ad-frame-header { flex-direction: column; align-items: flex-start; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
