/* ============================================================
   MERRYMUNCHIEZ — MASTER STYLESHEET
   Brand: Navy #1B1F5E | Crimson #C8102E | Purple #5B2D8E
   Font: Inter (system fallback stack)
   Mobile-first approach
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1A1A1A;
  background: #FFFFFF;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy:        #1B1F5E;
  --navy-dark:   #13164A;
  --navy-light:  #ECEEF8;
  --crimson:     #C8102E;
  --crimson-dark:#A50D26;
  --crimson-light:#FDECEA;
  --purple:      #5B2D8E;
  --purple-light:#F0EAF8;
  --gold:        #F7C948;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --grey-50:     #F5F5F5;
  --grey-100:    #E8E8E8;
  --grey-200:    #D1D1D1;
  --grey-400:    #9A9A9A;
  --grey-600:    #6B6B6B;
  --grey-800:    #3A3A3A;
  --dark:        #1A1A1A;

  /* Semantic */
  --success:     #1B7A3E;
  --success-bg:  #E8F5EE;
  --warning:     #B45309;
  --warning-bg:  #FEF3C7;

  /* WhatsApp */
  --whatsapp:    #25D366;
  --whatsapp-dark:#1DA851;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-slow: all 0.35s ease;

  /* Container */
  --container: 1200px;
  --container-narrow: 800px;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p { margin-bottom: var(--sp-4); color: var(--grey-800); }
p:last-child { margin-bottom: 0; }

/* Utility / data label — the monospace eyebrow used across the site */
.eyebrow, .mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--crimson);
  display: inline-block;
}

.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }

.text-navy    { color: var(--navy); }
.text-crimson { color: var(--crimson); }
.text-purple  { color: var(--purple); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--grey-600); }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }
.font-medium  { font-weight: 500; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section {
  padding: var(--sp-16) 0;
}

.section-sm {
  padding: var(--sp-10) 0;
}

.section-lg {
  padding: var(--sp-24) 0;
}

/* Grid */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  min-height: 48px;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  min-height: 56px;
}

.btn-full { width: 100%; }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-bestseller { background: #FEF9C3; color: #854D0E; }
.badge-unique     { background: var(--purple-light); color: var(--purple); }
.badge-chefspick  { background: #FFF7ED; color: #C2410C; }
.badge-jain       { background: var(--success-bg); color: var(--success); }
.badge-new        { background: var(--navy-light); color: var(--navy); }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  padding: var(--sp-6);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--grey-200);
}

.card-product {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  overflow: hidden;
  transition: var(--transition);
}

.card-product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--navy-light);
}

.card-product .product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--grey-50);
}

.card-product .product-body {
  padding: var(--sp-4);
}

.card-product .product-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.card-product .product-detail {
  font-size: 0.8125rem;
  color: var(--grey-600);
  margin-bottom: var(--sp-3);
}

.card-product .product-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--crimson);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: var(--transition);
}

.card-product .product-cta:hover { color: var(--crimson-dark); gap: var(--sp-2); }

/* ── SECTION HEADERS ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--crimson);
  margin-bottom: var(--sp-3);
}

.section-title {
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--grey-600);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--crimson);
  border-radius: var(--radius-full);
  margin: var(--sp-4) auto 0;
}

/* ── FORMS ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--sp-4);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.form-label .required { color: var(--crimson); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-height: 48px;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,31,94,0.1);
}

.form-control::placeholder { color: var(--grey-400); }

.form-control.error {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}

select.form-control { cursor: pointer; }

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

.form-error {
  font-size: 0.8125rem;
  color: var(--crimson);
  margin-top: var(--sp-1);
  display: none;
}

.form-error.show { display: block; }

.form-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-success.show { display: block; }

/* Honeypot — hidden from humans */
.hp-field { display: none !important; visibility: hidden !important; }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--navy);
  padding: var(--sp-2) 0;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.header-credential {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.header-credential span {
  color: #FFD700;
  font-weight: 700;
}

.header-top-cta {
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.header-main {
  padding: var(--sp-3) 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-800);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: var(--navy-light);
}

/* Dropdown */
.nav-item-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--sp-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.875rem;
  border-radius: 0;
  color: var(--grey-800);
}

.nav-dropdown a:hover {
  background: var(--navy-light);
  color: var(--navy);
}

.nav-cta {
  display: none;
}

/* Mobile hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.mobile-nav.open { display: block; }

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: var(--sp-6);
}

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

.mobile-nav-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--grey-50);
  font-size: 1.25rem;
  color: var(--grey-800);
  cursor: pointer;
  border: none;
}

.mobile-nav-links {
  margin-top: var(--sp-12);
}

.mobile-nav-links a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--grey-100);
  transition: var(--transition);
}

.mobile-nav-links a:hover { color: var(--crimson); padding-left: var(--sp-2); }

.mobile-nav-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  margin: var(--sp-4) 0 var(--sp-2);
}

.mobile-nav-ctas {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: var(--sp-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer-brand .footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-4);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer-links a:hover { color: var(--white); gap: var(--sp-3); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

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

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

.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-5) 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ── FLOATING WHATSAPP ────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  border: 3px solid var(--white);
  text-decoration: none;
  font-size: 1.5rem;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.55);
}

.whatsapp-pulse {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  opacity: 0.4;
  animation: pulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.4; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── POPUPS ───────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-slow);
  box-shadow: var(--shadow-xl);
}

.popup-overlay.active .popup {
  transform: scale(1) translateY(0);
}

.popup-header {
  background: var(--navy);
  padding: var(--sp-6) var(--sp-8);
  color: var(--white);
  text-align: center;
}

.popup-header h3 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.popup-header p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  margin: 0;
}

.popup-body {
  padding: var(--sp-6) var(--sp-8);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #1B1F5E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid rgba(255,255,255,0.8);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 1;
}
.popup-close:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.popup-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  font-size: 0.75rem;
  color: var(--grey-600);
}

.popup-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-weight: 500;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #252B7A 60%, #1B1F5E 100%);
  color: var(--white);
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container { position: relative; z-index: 1; }

.hero-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}

.hero h1 { color: var(--white); margin-bottom: var(--sp-5); }

.hero h1 .accent { color: var(--gold); font-style: italic; }

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-8);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.hero-trust-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-trust-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  background: var(--crimson);
  padding: var(--sp-5) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  text-align: center;
}

.stat-item .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-top: var(--sp-1);
}

/* ── CREDENTIAL STRIP ─────────────────────────────────────── */
.credential-strip {
  background: var(--off-white);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  padding: var(--sp-4) 0;
  overflow: hidden;
}

.credential-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  animation: scroll-left 25s linear infinite;
  white-space: nowrap;
}

.credential-strip-inner:hover { animation-play-state: paused; }

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--grey-600);
  flex-shrink: 0;
}

.credential-item .dot {
  width: 4px;
  height: 4px;
  background: var(--crimson);
  border-radius: var(--radius-full);
}

/* ── USP SECTION ──────────────────────────────────────────── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}

.usp-item:hover {
  border-color: var(--navy-light);
  background: var(--navy-light);
}

.usp-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--navy);
}

.usp-text .usp-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.usp-text .usp-desc {
  font-size: 0.8125rem;
  color: var(--grey-600);
  margin: 0;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-100);
  padding: var(--sp-6);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-6);
  font-size: 4rem;
  color: var(--navy-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--grey-800);
  font-style: italic;
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--grey-600);
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: var(--sp-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 { color: var(--white); margin-bottom: var(--sp-4); }

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  margin-bottom: var(--sp-8);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* ── FREE SAMPLE BANNER ───────────────────────────────────── */
.sample-banner {
  background: linear-gradient(135deg, var(--crimson) 0%, #E8142F 100%);
  padding: var(--sp-10) 0;
}

.sample-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
}

.sample-banner h3 { color: var(--white); }

.sample-banner p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 480px;
}

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #252B7A 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  text-align: center;
  color: var(--white);
}

.page-hero h1 { color: var(--white); margin-bottom: var(--sp-4); }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.0625rem; max-width: 580px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ── ALERTS & NOTIFICATIONS ───────────────────────────────── */
.alert {
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #A7F3D0;
}

.alert-error {
  background: var(--crimson-light);
  color: var(--crimson-dark);
  border: 1px solid #FECDD3;
}

/* ── LOADING SPINNER ──────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
  display: none;
}

.spinner.show { display: inline-block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── UTILITIES ────────────────────────────────────────────── */
.hidden    { display: none !important; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.py-4  { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.bg-navy    { background: var(--navy); }
.bg-crimson { background: var(--crimson); }
.bg-off-white { background: var(--off-white); }
.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.w-full     { width: 100%; }

/* ══════════════════════════════════════════════════════════════
   SIGNATURE COMPONENTS — spec bar, product photo slots, captions
   The spec bar is the page's memorable element: real, honest specs
   set in monospace across a dashed rule. Not decoration — data.
════════════════════════════════════════════════════════════════ */

/* ── Spec bar ─────────────────────────────────────────────── */
.spec-bar {
  background: var(--white);
  border-top: 1px dashed var(--grey-200);
  border-bottom: 1px dashed var(--grey-200);
}
.spec-bar__wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  text-align: center;
}
.spec-bar__item {
  padding: var(--sp-6) var(--sp-3);
  border-right: 1px dashed var(--grey-200);
}
.spec-bar__item:last-child { border-right: none; }
.spec-bar__num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--crimson);
  display: block;
  line-height: 1.1;
}
.spec-bar__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-top: var(--sp-2);
  display: block;
}

/* ── Product card photo slot ──────────────────────────────────
   Replaces emoji-in-a-box. A real image drops straight in via
   .product-photo__img; until then the slot looks intentional,
   not like a missing asset. ───────────────────────────────── */
.product-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--navy-light) 0%, #E4E7F4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-photo__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  opacity: 0.55;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0 var(--sp-4);
}
.product-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 2;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-full);
}
.product-badge--jain   { background: var(--purple); }
.product-badge--unique { background: var(--navy); }
.product-badge--nonveg { background: var(--crimson-dark); }

/* Monospace meta line under a product name */
.product-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey-600);
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .spec-bar__wrap { grid-template-columns: repeat(3, 1fr); }
  .spec-bar__item:nth-child(3) { border-right: none; }
}
@media (max-width: 560px) {
  .spec-bar__wrap { grid-template-columns: repeat(2, 1fr); }
  .spec-bar__item:nth-child(2n) { border-right: none; }
}

/* ── RESPONSIVE BREAKPOINTS ───────────────────────────────── */

/* 480px — large mobile */
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .usp-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — tablet */
@media (min-width: 768px) {
  .site-nav  { display: flex; align-items: center; gap: var(--sp-4); }
  .nav-cta   { display: inline-flex; }
  .hamburger { display: none; }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-grid { grid-template-columns: repeat(3, 1fr); }

  .sample-banner-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .sample-banner p { max-width: 400px; }

  .header-credential { display: block; }
}

/* 1024px — desktop */
@media (min-width: 1024px) {
  .hero {
    padding: var(--sp-24) 0;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-12);
  }

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

  .whatsapp-float {
    bottom: 32px;
    right: 32px;
  }
}

/* 1280px — large desktop */
@media (min-width: 1280px) {
  .container { padding: 0 var(--sp-8); }
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .popup-overlay { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   V3 ADDITIONS — segment pages, hub pages & AI tools
   Classes referenced by pages built in the v2/v3 expansion.
════════════════════════════════════════════════════════════════ */

/* ── Section head + eyebrow (new naming used by v3 pages) ────── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-10);
}
.section-head h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
}
.section-head p {
  color: var(--grey-600);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: var(--sp-3);
}

/* ── Feature grid + cards ────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card h3 {
  color: var(--navy);
  font-size: 1.125rem;
  margin: 0 0 var(--sp-2);
}
.feature-card p {
  color: var(--grey-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
}

/* ── CTA band (dark full-width call-to-action) ───────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: var(--sp-16) 0;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  line-height: 1.2;
  margin: 0;
}
.credential-band {
  background: var(--off-white);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
}

/* ── Button variants used on dark bands ──────────────────────── */
.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--navy);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

/* ── Tool / card hover helpers ───────────────────────────────── */
.tool-card:hover,
.segment-card:hover,
.city-card:hover,
.link-card:hover,
.contact-card:hover,
.tool-teaser:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ── mm-form (tool follow-up sample form) states ─────────────── */
.mm-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mm-form .form-success {
  display: none;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-2);
}
.mm-form .form-success.show {
  display: block;
}
.mm-form input:disabled,
.mm-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Scroll-in animation ──────────────────────────────────────
   Content is ALWAYS visible by default. main.js adds .will-animate
   to elements it will observe (hiding them), then .animate-in to
   reveal. If JS never runs, nothing is hidden — no blank sections. */
[data-animate].will-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-animate].will-animate.animate-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-animate].will-animate { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive: stack two-column tool + contact layouts ─────── */
@media (max-width: 768px) {
  .tool-grid,
  .contact-layout {
    grid-template-columns: 1fr !important;
  }
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
[data-animate]{opacity:1;transform:translateY(0);transition:opacity .5s ease,transform .5s ease}
[data-animate].visible{opacity:1;transform:translateY(0)}

/* ── HOVER EFFECTS ────────────────────────────────────────── */
.card-product{transition:transform .22s ease,box-shadow .22s ease}
.card-product:hover{transform:translateY(-5px);box-shadow:0 14px 36px rgba(0,0,0,.11)}
.card-product div[style*="overflow:hidden"] img{transition:transform .4s ease}
.card-product:hover div[style*="overflow:hidden"] img{transform:scale(1.06)}
.card{transition:transform .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(0,0,0,.09)}
.btn-primary{transition:transform .18s ease,box-shadow .18s ease}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(200,16,46,.32)}
.btn-whatsapp:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(37,211,102,.32)}
img{transition:opacity .3s ease}
img.loaded{opacity:1}

/* ── MOBILE ───────────────────────────────────────────────── */
@media(max-width:768px){
  .page-hero h1{font-size:1.75rem!important}
  .grid-3{grid-template-columns:repeat(2,1fr)!important}
  .grid-2{grid-template-columns:1fr!important}
  .footer-grid{grid-template-columns:1fr!important;gap:2rem!important}
  .popup-inner{width:95vw!important;max-width:95vw!important}
  .btn-lg{width:100%;text-align:center}
  .mm-form [style*="grid-template-columns"]{grid-template-columns:1fr!important}
  iframe{height:220px!important}
  [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
  table{min-width:540px}
}
@media(max-width:480px){
  .grid-3{grid-template-columns:1fr!important}
  .section-title{font-size:1.5rem!important}
  .cta-buttons{flex-direction:column!important}
  .cta-buttons .btn{width:100%!important}
}

/* ── WHATSAPP FLOAT BUTTON ─────────────────────────────────── */
.wa-float-btn {
  position:fixed;bottom:24px;right:24px;z-index:9999;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.45);
  transition:all .2s ease;text-decoration:none;
}
.wa-float-btn:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(37,211,102,.6);}
@media(max-width:768px){.wa-float-btn{bottom:16px;right:16px;width:52px;height:52px;}}

/* ── Contact page form: the .form-field markup had no styles, so it showed as raw browser fields ── */
.lead-form .form-field { margin-bottom: var(--sp-4); }
.lead-form .form-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: var(--sp-2); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form select, .lead-form textarea {
  width: 100%; padding: 0.75rem 1rem; font: inherit; font-size: 0.9375rem; color: var(--dark); background: var(--white);
  border: 1.5px solid var(--grey-200); border-radius: var(--radius-md); min-height: 48px; box-sizing: border-box;
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,31,94,0.1); }
.lead-form .error { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(200,16,46,0.1); }
.lead-form .hp-field { position: absolute; left: -9999px; }
@media (max-width: 640px) { .lead-form .form-row { grid-template-columns: 1fr !important; } }

/* ═══════════════════════════════════════════════════════════════
   v6 FIXES — icons, Explore button, menu photos, contact form,
   free-sample thumbnails, tools page cards
   (additive only: nothing above is changed)
   ═══════════════════════════════════════════════════════════════ */

/* ── Inline SVG icons (replace the emoji that had been stripped) ── */
.mm-ico { flex: none; vertical-align: middle; }
.feature-icon { color: var(--navy); }
.feature-icon svg { width: 26px; height: 26px; }
.btn .mm-ico, .btn .btn-arrow { margin-left: .4rem; vertical-align: -3px; transition: transform .18s ease; }
.btn:hover .mm-ico { transform: translateX(3px); }

.segment-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.festival-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #FEF3C7; color: #B7791F; border: 1px solid #FDE68A;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.teaser-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: .75rem;
}
.hero-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ── Who We Serve: highlighted Explore button ── */
.segment-card { position: relative; }
.segment-card .explore-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--crimson); color: #fff; font-weight: 700; font-size: .92rem; line-height: 1;
  padding: .7rem 1.15rem; border-radius: 10px; box-shadow: 0 4px 12px rgba(200,16,46,.28);
  transition: background .18s ease, box-shadow .18s ease, gap .18s ease;
}
.segment-card:hover { border-color: var(--crimson) !important; }
.segment-card:hover .explore-btn { background: var(--crimson-dark); box-shadow: 0 8px 20px rgba(200,16,46,.38); gap: .8rem; }
.segment-card:focus-visible { outline: 3px solid rgba(200,16,46,.45); outline-offset: 3px; }

/* ── Menu favourites: photo cards (cafes / restaurants / hotels / cloud kitchens / caterers) ── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.menu-card {
  background: #fff; border: 1px solid #EEE; border-radius: 12px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(27,31,94,.12); border-color: #D8DBF0; }
.menu-card-img { height: 104px; overflow: hidden; background: var(--navy-light); }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-img--empty { display: flex; align-items: center; justify-content: center; color: var(--navy); opacity: .55; }
.menu-card-name { padding: .7rem .85rem; font-weight: 600; font-size: .9rem; color: var(--navy); line-height: 1.3; }

/* ── Free sample: "what's in the box" thumbnails + mini trust row ── */
.box-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; background: var(--navy-light); border: 1px solid #E3E5F2; }
.box-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.trust-mini { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .75rem; color: #6B6B6B; }
.trust-mini svg { color: var(--navy); }

/* ── Contact form: bordered card + cleaner fields ── */
.lead-form--card {
  background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 2rem;
  box-shadow: 0 12px 32px rgba(27,31,94,.10); position: relative;
}
.lead-form--card::before {            /* brand accent bar on the top edge */
  content: ""; position: absolute; left: 24px; right: 24px; top: -2px; height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--navy)); border-radius: 0 0 6px 6px;
}
.lead-form--card .form-field { margin-bottom: 1.15rem; }
.lead-form--card .form-field label { font-size: .84rem; letter-spacing: .01em; margin-bottom: .4rem; }
.lead-form--card input[type="text"], .lead-form--card input[type="tel"], .lead-form--card input[type="email"],
.lead-form--card select, .lead-form--card textarea {
  background: #FAFAFD; border: 1.5px solid #D5D8EA; border-radius: 10px; min-height: 50px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.lead-form--card input:hover, .lead-form--card select:hover, .lead-form--card textarea:hover { border-color: #B4B9DB; }
.lead-form--card input:focus, .lead-form--card select:focus, .lead-form--card textarea:focus { background: #fff; }
.lead-form--card select {
  -webkit-appearance: none; appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B1F5E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.lead-form--card textarea { min-height: 120px; }
.lead-form--card input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); }
.lead-form--card .btn-full { margin-top: .5rem; }
@media (max-width: 640px) { .lead-form--card { padding: 1.25rem; border-radius: 14px; } }

/* ── Tools page: image cards ── */
.tool-card--img {
  display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid #E8EAF3;
  border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tool-card--img:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(27,31,94,.14); border-color: #CDD1EC; }
.tool-card-media { position: relative; height: 170px; overflow: hidden; background: var(--navy-light); }
.tool-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.tool-card--img:hover .tool-card-media img { transform: scale(1.06); }
.tool-card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(15,18,64,.45), transparent); pointer-events: none; }
.tool-card-badge {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.tool-card-badge--wa { background: #25D366; color: #fff; }
.tool-card-status {
  position: absolute; right: 12px; top: 12px; z-index: 2; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .65rem; border-radius: 999px; background: #F1F1F4; color: #6B6B6B;
}
.tool-card-status.is-live { background: #DCFCE7; color: #166534; }
.tool-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.tool-card-body strong { color: var(--navy); font-size: 1.1rem; margin-bottom: .4rem; }
.tool-card-body p { color: #6B6B6B; font-size: .88rem; line-height: 1.55; margin: 0 0 1rem; flex: 1; }
.tool-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #F1F1F4; padding-top: .85rem; gap: .75rem; }
.tool-card-aud { font-size: .78rem; color: #9A9AA5; font-weight: 600; }
.tool-card-cta { display: inline-flex; align-items: center; gap: .35rem; color: var(--crimson); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.tool-card-cta--wa { color: #128C4A; }
.tool-card--img:hover .tool-card-cta svg { transform: translateX(3px); }
.tool-card-cta svg { transition: transform .18s ease; }
.tool-card--wide { margin-top: 1.5rem; border: 2px solid #25D366; }
@media (min-width: 769px) {
  .tool-card--wide { flex-direction: row; }
  .tool-card--wide .tool-card-media { height: auto; min-height: 190px; flex: 0 0 300px; }
  .tool-card--wide .tool-card-body { justify-content: center; }
}

/* v6 tweaks: images fill their frame without stretching it; zoom past the label strip on small thumbs */
.tool-card-media img, .menu-card-img img { position: absolute; inset: 0; }
.menu-card-img { position: relative; }
.tool-card--wide .tool-card-media { min-height: 200px; }
.box-thumb { position: relative; }
.box-thumb img { position: absolute; inset: 0; transform: scale(1.9); transform-origin: 50% 12%; }
.menu-card-img img { transform: scale(1.12); transform-origin: 50% 20%; }
.menu-card:hover .menu-card-img img { transform: scale(1.2); }

/* ═══ v6.1 — popup close, 3-column grids, product cards, hero collage, star photo, franchise steps ═══ */
.popup-close svg { display: block; }
.popup-close { color: #1B1F5E; }

/* 3 columns on desktop (tablet 2 / mobile 1 are handled by the existing media queries below) */
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Product cards: equal height, CTA pinned to the bottom, highlighted Enquire button */
.card-product { display: flex; flex-direction: column; height: 100%; }
.card-product .product-body { display: flex; flex-direction: column; flex: 1; }
.card-product img { object-position: center top; }
.card-product .product-cta {
  margin-top: auto; justify-content: center; text-align: center; gap: .5rem;
  background: var(--crimson); color: #fff; font-weight: 700; font-size: .875rem; line-height: 1;
  padding: .8rem 1rem; border-radius: 10px; box-shadow: 0 4px 12px rgba(200,16,46,.25);
}
.card-product .product-cta:hover { background: var(--crimson-dark); color: #fff; gap: .75rem; box-shadow: 0 8px 18px rgba(200,16,46,.35); }
.card-product .product-body > p:last-of-type { margin-bottom: .9rem; }

/* Home hero: product photo collage replaces the "photography goes here" placeholder */
.hero-collage {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px;
  aspect-ratio: 4 / 5; width: 100%;
}
.hc { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 28px rgba(0,0,0,.28); background: #E4E7F4; }
.hc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hc span {
  position: absolute; left: 10px; bottom: 10px; font-size: .72rem; font-weight: 700; color: #1B1F5E; background: rgba(255,255,255,.94);
  padding: .25rem .6rem; border-radius: 999px;
}
.hc-a { grid-column: 1; grid-row: 1 / 3; }
.hc-b { grid-column: 2; grid-row: 1; }
.hc-c { grid-column: 2; grid-row: 2; }
.hc-d { grid-column: 1; grid-row: 3; }
.hc-e { grid-column: 2; grid-row: 3; }
.hero-collage-badge {
  position: absolute; right: -8px; top: -12px; display: inline-flex; align-items: center; gap: .4rem; z-index: 3;
  background: #FFD700; color: #1B1F5E; font-weight: 800; font-size: .78rem; padding: .5rem .85rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* Non-veg star product photo */
.star-photo { width: 280px; height: 280px; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 5px solid #FECDD3; box-shadow: 0 16px 40px rgba(200,16,46,.2); background: #FFE4E6; }
.star-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.6); transform-origin: 50% 8%; }

/* Franchise: 6 steps in one line on desktop */
.step-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.step-row p { font-size: .82rem !important; line-height: 1.5; }
@media (max-width: 1000px) { .step-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (max-width: 560px)  { .step-row { grid-template-columns: repeat(2, 1fr); } }
.hc img { transform: scale(1.7); transform-origin: 50% 4%; }
.hc-a img { transform: scale(1.6); transform-origin: 50% 2%; }
