:root {
  --primary: #FFE066;
  --dark: #1E1E1E;
  --light: #F7F7F7;
  --secondary: #B99898;
  --elev-1: 0 6px 16px rgba(0,0,0,0.12);
  --elev-2: 0 12px 26px rgba(0,0,0,0.16);
  --ink: var(--dark);
  --paper: var(--light);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--light);
  scroll-behavior: smooth;
}

/* Local banner */
.local-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #ffed99 100%);
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.local-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.flag-emoji {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  flex-shrink: 0;
}

.local-text {
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.local-cta {
  background: var(--dark);
  color: var(--light);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.local-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* typography scale */
h1 { 
  line-height: 1.15; 
  font-size: clamp(2rem, 6.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

#hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(135deg, #1E1E1E 0%, #2a2a2a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(30, 30, 30, 0.2);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h2 { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  line-height: 1.2; 
  margin-bottom: 1.5rem; 
}
h3 { 
  font-size: clamp(1rem, 2.5vw, 1.125rem); 
}
p { 
  color: #333; 
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.6;
}

.sub { 
  font-size: clamp(1rem, 2.5vw, 1.05rem); 
  color: #2a2a2a; 
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 101;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}

.logo {
  font-weight: 700;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  display: inline-flex;
  align-items: center;
}

.nav a:not(.btn) {
  transition: color 0.3s ease;
}

.nav a:not(.btn):hover {
  color: var(--secondary);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 0.25rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.lang-btn img {
  width: 24px;
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
  transform: scale(1.15);
  border-color: var(--dark);
  background: rgba(30, 30, 30, 0.05);
}

.lang-btn:active {
  transform: scale(1.05);
}

.btn {
  display: inline-block;
  padding: clamp(0.625rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.btn.primary {
  background: var(--dark);
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--elev-1);
}

.btn.primary:after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: transform 0.6s, left 0.6s;
}

.btn.primary:hover:after {
  left: 150%;
}

.btn.secondary {
  background: var(--secondary);
  color: var(--light);
}

.btn.secondary:hover {
  transform: scale(1.05);
}

.btn.outline {
  border: 2px solid var(--dark);
  color: var(--dark);
}

.btn.outline:hover {
  background: var(--dark);
  color: var(--light);
}

section {
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-tight { padding-top: 3.25rem; padding-bottom: 3.25rem; }

/* section backgrounds per brand kit */
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: var(--light); }

/* subtle dotted pattern overlay */
.pattern {
  position: relative;
}
.pattern:before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.12;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 14px 14px;
}
.bg-dark.pattern:before { opacity: 0.18; }

/* headline accent */
h2 { position: relative; display: inline-block; padding: 0.25rem 0.5rem; border-radius: 0.5rem; }
h2:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,224,102,.9), rgba(185,152,152,.9));
  z-index: -1; transform: translateY(4px);
}

.highlight { background: linear-gradient(90deg, rgba(255,224,102,.8), rgba(255,224,102,.45)); padding: 0 .35rem; border-radius: 6px; }
.accent-strong { color: var(--dark); background: linear-gradient(180deg, rgba(255,224,102,.95), rgba(255,224,102,.6)); padding: 0 .25rem; border-radius: 8px; }

#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--primary);
  min-height: 100vh;
  position: relative;
}

#hero .hero-content {
  max-width: 600px;
}

#hero h1 {
  margin-bottom: 1.5rem;
}

#hero .sub {
  font-weight: 400;
  margin-bottom: 1.5rem;
}

#hero .cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

#hero .cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

#hero .badges img {
  height: clamp(40px, 8vw, 60px);
  margin: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-mockup {
  width: min(240px, 80vw);
  height: min(480px, 160vw);
  border: 4px solid var(--dark);
  border-radius: 2rem;
  overflow: hidden;
  background: var(--light);
  box-shadow: var(--elev-2);
  animation: floatY 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: var(--primary);
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 2px solid var(--dark);
}

.phone-foody-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  flex: 1;
  /* Transition will be controlled by JS for smooth looping */
}

.slider img {
  width: 33.333%;
  object-fit: cover;
}

/* Phone screen slides */
.phone-screen {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.phone-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

/* Coupon Card */
.coupon-card {
  background: linear-gradient(135deg, #FFE066 0%, #ffed99 100%);
  border: 3px dashed var(--dark);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 200px;
  animation: slideIn 0.8s ease-out;
}

.coupon-header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.coupon-icon {
  font-size: 2rem;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.coupon-header h4 {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 700;
}

.coupon-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.coupon-stamp {
  background: var(--dark);
  color: var(--primary);
  padding: 0.5rem;
  text-align: center;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  animation: pulse 2s ease-in-out infinite;
}

.swipe-indicator {
  text-align: center;
  font-size: 0.75rem;
  color: var(--dark);
  opacity: 0.7;
  animation: slideLeft 1.5s ease-in-out infinite;
}

/* Punch Card */
.punch-card-container {
  width: 100%;
  max-width: 200px;
}

.punch-title {
  text-align: center;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.punch-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--dark);
}

.punch-hole {
  aspect-ratio: 1;
  border: 2px solid var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.punch-hole.punched {
  background: var(--primary);
  border-color: var(--dark);
}

.punch-hole.punching {
  background: var(--primary);
  animation: stampAnimation 1.5s ease-in-out infinite;
}

.punch-hole:not(.punched):not(.punching) {
  background: white;
  color: #ccc;
}

.punch-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--dark);
  margin-top: 0.75rem;
  font-weight: 600;
}

/* Receipt Screen */
.receipt-screen {
  background: white;
  border: 2px solid var(--dark);
  border-radius: 0.5rem;
  padding: 1rem;
  width: 100%;
  max-width: 200px;
}

.receipt-header {
  border-bottom: 2px solid var(--dark);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.receipt-header h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--dark);
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #666;
}

.receipt-divider {
  border-top: 1px dashed #ccc;
  margin: 0.5rem 0;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.receipt-total.final {
  border-top: 2px solid var(--dark);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  font-size: 1rem;
  color: var(--dark);
}

.receipt-savings {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.save-amount {
  color: #22c55e;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-5px);
  }
}

@keyframes stampAnimation {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.social-proof img {
  width: clamp(32px, 6vw, 40px);
}

/* Stars animation */
.stars-container {
  overflow: hidden;
  width: 180px;
  height: 1.5rem;
  position: relative;
  margin: 0 auto;
}

.stars-slider {
  display: flex;
  flex-direction: column;
  animation: slideStars 4s ease-in-out infinite;
}

@keyframes slideStars {
  0%, 8% { transform: translateY(0); }
  20%, 28% { transform: translateY(-1.5rem); }
  40%, 48% { transform: translateY(-3rem); }
  60%, 68% { transform: translateY(-4.5rem); }
  80%, 100% { transform: translateY(-6rem); }
}

.stars-slider .star {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stars-slider .star:nth-child(5) {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-size: clamp(1.5rem, 3.5vw, 1.75rem);
}

.cards,
.tiles,
.stats,
.pricing-content,
.counters,
.charity-logos,
.carousel,
.faq-columns,
.badges {
  display: flex;
}

.cards,
.tiles {
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card,
.tile {
  background: var(--light);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 1rem;
  box-shadow: var(--elev-1);
  width: 100%;
  max-width: 300px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--elev-2);
}

/* animated icon helpers */
.icon { width: 64px; height: 64px; margin-bottom: 0.5rem; }
.icon-ring {
  display: inline-block; position: absolute; width: 88px; height: 88px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,224,102,0.35), rgba(255,224,102,0) 60%);
  filter: blur(1px);
}
.card, .tile { position: relative; }
.bob { animation: bob 3s ease-in-out infinite; }
.pulse { animation: pulse 2.2s ease-in-out infinite; }
.float { animation: floatY 6s ease-in-out infinite; }
.wobble { animation: wobble 2.5s ease-in-out infinite; }

@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
@keyframes pulse { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.06);} }
@keyframes wobble { 0%,100%{ transform: rotate(0);} 25%{ transform: rotate(-4deg);} 75%{ transform: rotate(4deg);} }

.tile h3 {
  margin-top: 0;
}

.tile h3 .highlight, .card h3 .highlight { color: var(--ink); }

.bullets {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  line-height: 1.8;
}

.stats {
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.stat {
  background: var(--secondary);
  color: var(--light);
  padding: 1rem 2rem;
  border-radius: 1rem;
}

.stat.glow {
  box-shadow: 0 0 0 rgba(255,224,102,0.0);
  animation: statGlow 2.8s ease-in-out infinite;
}

@keyframes statGlow {
  0%,100% { box-shadow: 0 0 0 rgba(255,224,102,0.0); }
  50% { box-shadow: 0 0 24px rgba(255,224,102,0.55); }
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.pricing-tabs .tab {
  border: 2px solid var(--primary);
  background: var(--light);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  transition: all 0.3s ease;
  color: var(--dark);
  min-width: 120px;
}

.pricing-tabs .tab:hover {
  background: rgba(255, 224, 102, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-tabs .tab.active {
  background: var(--dark);
  color: var(--light);
  border-color: var(--dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider-round {
  background: var(--dark);
}

.switch input:checked + .slider-round:before {
  transform: translateX(20px);
}

.pricing-content {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.pricing-panel {
  display: none;
  width: 100%;
}

.pricing-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: 100%;
  justify-items: center;
  gap: 1.5rem;
}

/* Single card centering for diners tab */
.pricing-panel.active:has(.diner-card) {
  justify-content: center;
}

.price-card {
  background: var(--light);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--elev-1);
  min-width: 240px;
  max-width: 320px;
  flex: 0 1 280px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.diner-card {
  flex: 0 0 auto;
  max-width: 400px;
  min-width: 300px;
}

.price-card:before {
  content: ""; 
  position: absolute; 
  left: 0; 
  right: 0; 
  top: 0; 
  height: 6px;
  background: linear-gradient(90deg, #FFE066, #B99898);
}

.price-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--elev-2);
  border-color: rgba(255, 224, 102, 0.3);
}

.price-card h3 {
  margin-top: 0;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: 1rem;
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--primary);
  color: var(--dark);
  padding: 0.4rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.price-amount {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--dark);
  margin: 1rem 0 0.5rem;
  line-height: 1;
}

.diner-card .price-amount {
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-amount .currency {
  font-size: 0.6em;
  vertical-align: super;
  margin-right: 0.1em;
}

.price-period {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #666;
  margin: 0.5rem 0;
}

.price-savings {
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  color: #22c55e;
  font-weight: 600;
  margin: 0.5rem 0 0;
}

.price-card.popular {
  border: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(255, 224, 102, 0.3);
}

.price-card.popular:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(255, 224, 102, 0.4);
}

.price-card.featured {
  background: linear-gradient(135deg, #FFE066 0%, #ffed99 100%);
  border: 2px solid var(--primary);
}

.price-card.featured-year {
  border: 3px solid var(--primary);
  background: linear-gradient(135deg, var(--light) 0%, #fff7d9 100%);
}

.counters {
  justify-content: center;
  gap: 2rem;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.charity-logos {
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.receipt-mock img {
  width: 150px;
}

/* quote card for testimonials */
.carousel .slide { 
  background: var(--paper); 
  padding: 2rem 2.5rem; 
  border-radius: 1.5rem; 
  box-shadow: var(--elev-1); 
  color: var(--ink); 
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.bg-dark .carousel .slide { 
  background: linear-gradient(135deg, #2a2a2a 0%, #222 100%); 
  color: var(--light);
  border: 1px solid rgba(255, 224, 102, 0.2);
}

.carousel .slide span {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.8;
  font-style: italic;
  display: block;
  margin-bottom: 1.5rem;
}

.bg-dark .carousel .slide span {
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 224, 102, 0.2);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ffed99);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  flex-shrink: 0;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--light);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: clamp(0.875rem, 1.8vw, 0.95rem);
  color: rgba(255, 255, 255, 0.7);
}

.stars-rating {
  font-size: 1.25rem;
  letter-spacing: 0.1rem;
  text-align: center;
}

.carousel {
  position: relative;
  overflow: hidden;
  justify-content: center;
  min-height: 250px;
  padding: 2rem 1rem;
}

.carousel .slide {
  min-width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.carousel .slide.active {
  opacity: 1;
  transform: translateY(0);
}

.carousel-dots { 
  display: flex; 
  justify-content: center; 
  gap: 10px; 
  margin-top: 1.5rem; 
}
.carousel-dots .dot { 
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: rgba(255, 224, 102, 0.3); 
  transition: transform .3s, background .3s, width .3s;
  cursor: pointer;
} 
.carousel-dots .dot.active { 
  background: var(--primary); 
  transform: scale(1.3);
  width: 32px;
  border-radius: 6px;
}

.faq-intro {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: #666;
  margin-bottom: 3rem;
}

.faq-columns {
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.faq-group {
  flex: 1 1 350px;
  max-width: 450px;
}

.faq-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.faq-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.faq-group h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0;
  color: var(--dark);
  font-weight: 700;
}

.faq-group details {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 224, 102, 0.2);
}

.faq-group details:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.faq-group details[open] {
  box-shadow: 0 4px 20px rgba(255, 224, 102, 0.3);
  border-color: var(--primary);
}

.faq-group summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.0625rem);
  cursor: pointer;
  list-style: none;
  color: var(--dark);
  position: relative;
  user-select: none;
  transition: color 0.3s ease;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-group details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-group summary:hover {
  color: var(--secondary);
}

.faq-group details[open] summary {
  color: var(--dark);
  background: linear-gradient(to right, rgba(255, 224, 102, 0.1), transparent);
}

.faq-group details p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
  color: #555;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.7;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

#contact form input,
#contact form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

#contact form textarea {
  min-height: 100px;
}

#contact .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

#contact .badges img {
  height: clamp(35px, 6vw, 50px);
  margin: 0;
}

footer {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2rem) 1rem;
  background: var(--dark);
  color: var(--light);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Activate when in view */
.fade-in.in-view { animation: fadeInUp 0.8s ease-out forwards; }

/* floating mockup */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .btn.primary:after,
  .phone-mockup,
  .fade-in,
  .slider,
  .card,
  .tile { animation: none !important; transition: none !important; }
}

@media (min-width: 768px) {
  #hero {
    flex-direction: row;
    text-align: left;
    padding: clamp(4rem, 10vw, 6rem) clamp(2rem, 5vw, 4rem);
  }

  #hero .hero-content {
    flex: 1;
  }

  #hero .hero-visual {
    flex: 1;
  }

  .phone-header {
    padding: 0.875rem 1.25rem;
  }

  .phone-foody-logo {
    font-size: 1.5rem;
  }

  /* Stars container for desktop */
  .stars-container {
    width: 200px;
  }
}

/* Responsive grids */
@media (min-width: 640px) {
  .cards, .tiles { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .cards, .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* poster section */
.poster { 
  display: grid; 
  align-items: center; 
  gap: 2rem; 
  grid-template-columns: 1fr; 
  max-width: 1100px; 
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.poster-copy { text-align: left; }
.poster-kicker { 
  color: #a67800; 
  font-weight: 700; 
  margin: 0 0 .25rem; 
  font-size: clamp(0.875rem, 2vw, 1rem);
}
.poster-headline { 
  font-size: clamp(1.75rem, 5vw, 3rem); 
  line-height: 1.15; 
  margin: 0 0 1rem; 
}
.poster-sub { 
  margin: 0 0 .5rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}
.poster-points { 
  margin: 0 0 1.25rem; 
  padding-left: 1.1rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
}
.poster-points li { margin-bottom: .4rem; line-height: 1.6; }
.poster-visual { display: flex; justify-content: center; }
.poster-phone { 
  width: min(320px, 80vw); 
  height: min(640px, 160vw); 
  border: 10px solid var(--dark); 
  border-radius: 36px; 
  overflow: hidden; 
  box-shadow: var(--elev-2); 
  background: var(--light);
}
.poster-phone img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .poster { 
    grid-template-columns: 1.1fr .9fr; 
  }
}

/* sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  background: rgba(255,224,102,0.98); border-top: 1px solid rgba(0,0,0,0.08);
  display: none; gap: .5rem; padding: .75rem 1rem; justify-content: center; align-items: center;
}
.mobile-cta .btn { padding: .6rem 1rem; }
@media (max-width: 640px) { 
  .mobile-cta { display: flex; } 
  footer { padding-bottom: 4.5rem; }
  
  /* Stack hero CTAs on mobile */
  #hero .cta {
    flex-direction: column;
    width: 100%;
  }
  
  #hero .cta .btn {
    width: 100%;
  }
  
  /* Make nav more mobile-friendly */
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav > div {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav a:not(.btn) {
    font-size: 0.875rem;
  }
  
  .nav .btn.secondary {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  /* Hide privacy and terms links from navigation on mobile */
  .nav a[data-i18n="navPrivacy"],
  .nav a[data-i18n="navTerms"] {
    display: none;
  }
  
  /* Pricing cards on mobile */
  .price-card {
    max-width: 100%;
    min-width: 280px;
  }
  
  .diner-card {
    min-width: 280px;
    max-width: 90%;
  }
  
  .pricing-panel.active {
    padding: 0 1rem;
  }
  
  /* Testimonials mobile */
  .carousel .slide {
    padding: 1.5rem 1.5rem;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
     .author-info {
     text-align: center;
   }
   
   /* FAQ mobile */
   .faq-group {
     max-width: 100%;
   }
   
   .faq-group details {
     margin-bottom: 0.75rem;
   }
   
   .faq-group summary {
     padding: 1rem 1.25rem;
     font-size: 0.9375rem;
   }
   
   .faq-group details p {
     padding: 0 1.25rem 1.25rem 1.25rem;
     font-size: 0.875rem;
   }
 }

/* Testimonials section enhancement */
#testimonials h2 {
  position: relative;
  padding-bottom: 1rem;
}

#testimonials h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 224, 102, 0.5));
  border-radius: 2px;
}

/* Smooth entrance for testimonials */
.testimonial-content {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* repeated CTA block */
.cta-block { 
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-block .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* stagger utility */
.stagger-1 { animation-delay: .06s; }
.stagger-2 { animation-delay: .12s; }
.stagger-3 { animation-delay: .18s; }
.stagger-4 { animation-delay: .24s; }
.stagger-5 { animation-delay: .3s; }

