@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  padding: 0;
  margin: 0;
}

html,
body {
  background-color: var(--white-color);
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

:root {
  --primary-color: #ffa500;
  --secondary-color: #9da2ad;
  --background-color: #f0f3f7;
  --nav-bar-color: #fff;
  --grey-color: #7a7a7b;
  --sub-textv1: #000;
  --white-color: #ffffff;
}

/* navbar */
a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: var(--nav-bar-color);
  box-shadow: rgba(99,99,99,.2) 0 2px 8px;
}

.menu-wrap {
  max-width: 1366px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

#chapalitaLogo {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  line-height: 1;
}

#chapalitaLogo:hover {
  transform: translateY(-1px);
  transition: transform .15s ease;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  flex-wrap: wrap;
}

.menu-item {
  margin-left: 1rem;
  padding: .5rem 1.5rem;
  font-weight: 600;
  color: var(--grey-color);
  transition: .25s ease;
  cursor: pointer;
  border-radius: 1rem;
}

/* highlight only on hover / keyboard focus */
.menu-item:hover,
.menu-item:focus-visible {
  color: var(--white-color);
  background: var(--primary-color);
}

.cart-btn {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  transition: .25s ease;
  border-radius: 1rem;
}

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

/* helpers */
.fullheight {
  min-height: 100vh;
}

.align-items-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bg-img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-img-fixed {
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
}

section {
  padding: 9rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: #222;
}

.section-sub {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 2rem;
  color: var(--grey-color);
}

.section-sub2 {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 2rem;
  color: var(--sub-textv1);
}

/* slogan / hero */
.slogan {
  text-align: left;
  margin-left: 5rem;
}

.slogan h1 {
  font-size: 7rem;
  color: var(--primary-color);
}

/* hero logo image inside H1 */
#home .slogan h1 img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
}

.slogan p {
  max-width: 48ch;
  color: var(--grey-color);
}

.slogan button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 3.5rem;
  border-radius: 999px;
  border: none;
  background: var(--primary-color);
  color: var(--white-color);
  margin: 2.5rem 0 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.slogan button:hover {
  background: #ff8c00;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.slogan button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.slogan button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* HERO blur overlay */
#home .slogan::before {
  content: none !important;
}

#home {
  position: relative;
}

#home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

#home > * {
  position: relative;
  z-index: 1;
}

#home .slogan h1 {
  color: var(--primary-color);
}

#home .slogan p {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* about */
.fullwidth {
  width: 100%;
}

#about img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 2rem;
  box-shadow: rgba(17,17,26,.1) 0 8px 24px,
              rgba(17,17,26,.1) 0 16px 56px,
              rgba(17,17,26,.1) 0 24px 80px;
}

/* about layout / stacking */
#about .row {
  align-items: center;
}

#about .row > div:first-child {
  position: relative;
  z-index: 0; /* image column behind */
}

#about .row > div:last-child {
  position: relative;
  z-index: 1; /* white card above */
}

.about-slogan {
  padding: 4rem;
  background: var(--white-color);
  border-radius: 2rem;
  box-shadow: rgba(0,0,0,.15) 0 2px 8px;
  transform: translateX(-10rem);
  text-align: center;
}

.about-slogan h3 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--grey-color);
}

.primary-color {
  color: var(--primary-color);
}

/* COMPANY (bilingual) */
.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--white-color);
  border-radius: 1.5rem;
  box-shadow: rgba(100,100,111,.2) 0 7px 29px 0;
  padding: 2rem;
  color: #333;
}

.card h3 {
  margin-bottom: .5rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--grey-color);
  line-height: 1.75;
}

.quote {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
  color: #444;
  font-style: italic;
}

/* FAMILY */
.team {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--white-color);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: rgba(14,30,37,.12) 0 2px 10px 0;
}

.team-card .avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg,#fff, #ffe3b3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card .avatar i {
  font-size: 2.25rem;
  color: #c06a00;
}

.team-card h4 {
  font-size: 1.15rem;
  margin: .25rem 0;
}

.team-card span {
  color: var(--grey-color);
  font-weight: 600;
}

/* Fresh section: feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-top: .5rem;
}

.feature-card {
  background: var(--white-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: rgba(14,30,37,.12) 0 2px 10px 0;
  text-align: left;
}

.feature-card i {
  font-size: 1.75rem;
  color: #c06a00;
  margin-bottom: .5rem;
  display: inline-block;
}

.feature-card h4 {
  margin: .25rem 0 .25rem;
  color: #222;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--grey-color);
  line-height: 1.7;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.badge {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: rgba(255,165,0,.08);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}

/* food menu wrapper */
.food-menu {
  padding: 4rem;
  background: var(--white-color);
  border-radius: 2rem;
  box-shadow: rgba(100,100,111,.2) 0 7px 29px 0;
  color: var(--grey-color);
}

.food-menu p {
  margin: 2rem 0;
}

.food-category {
  display: flex;
  flex-wrap: wrap;
}

.food-category button {
  padding: .5rem 2.5rem;
  margin: .5rem 1rem .5rem 0;
  outline: none;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 1rem;
  cursor: pointer;
  transition: .25s ease;
}

.food-category button:hover,
.food-category button.active {
  background: var(--primary-color);
  color: var(--white-color);
}

.food-item-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 3rem;
}

/* product cards */
.food-item {
  width: 25%;
  padding: 1rem;
}

.item-wrap {
  border-radius: 2rem;
  background: var(--white-color);
  transition: .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item-wrap:hover {
  box-shadow: rgba(14,30,37,.32) 0 2px 16px 0,
              rgba(14,30,37,.32) 0 2px 16px 0;
}

.item-img {
  position: relative;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
  flex: 0 0 auto;
  height: 220px; /* fixed visual height */
}

.img-holder {
  position: absolute;
  inset: 0;
  transition: .5s ease-in-out;
  background-position: center;
  background-size: cover;
}

/* grid */
.row {
  display: flex;
  flex-wrap: wrap;
}

[class*="col-"] {
  padding: 1rem;
}

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33%; }
.col-5 { width: 42%; }
.col-6 { width: 50%; }
.col-7 { width: 58%; }
.col-8 { width: 66%; }
.col-9 { width: 75%; }
.col-10 { width: 83%; }
.col-11 { width: 91%; }
.col-12 { width: 100%; }

/* PARTNERS / LOGO CAROUSEL */
#partners {
  padding: 4rem 0;
  background: var(--white-color);
}

#partners .section-title {
  margin-bottom: .5rem;
}

#partners .section-sub {
  margin-bottom: 1.5rem;
}

.logo-scroller {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: max-content;
  animation: logos-scroll 45s linear infinite;
}

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

.logo-scroller:hover .logo-track,
.logo-scroller:focus-within .logo-track {
  animation-play-state: paused;
}

.logo {
  flex: 0 0 auto;
  width: clamp(120px, 14vw, 200px);
  height: clamp(60px, 8vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: rgba(14,30,37,.06) 0 2px 6px 0;
  padding: .75rem;
}

.logo img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.logo:hover img {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

/* responsive base (tablet-ish) */
@media (max-width: 900px) {
  .slogan {
    margin-left: 0;
    padding: 0 1rem;
  }

  .slogan h1 {
    font-size: 3rem;
  }

  .food-item {
    width: 50%;
    height: auto;
  }

  /* about card on mobile: no horizontal slide, tighter padding */
  .about-slogan {
    transform: none;
    margin-top: 0;
    padding: 2.75rem 1.75rem;
  }

  .bilingual {
    grid-template-columns: 1fr;
  }

  .team {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .col-xs-12 {
    width: 100%;
  }

  /* ABOUT mobile layout:
     - image first as you scroll
     - card second
     - card slightly overlapping image (image under it in z-index) */
  #about .row {
    flex-direction: column;
    align-items: center;
  }

  #about .row > div:first-child {
    order: 1; /* image column first */
  }

  #about .row > div:last-child {
    order: 2; /* text card */
    margin-top: -2.5rem; /* pull card up so image barely stacks under it */
  }

  #about img {
    max-width: 260px;
    margin-top: 1.25rem;
  }
}

@media (max-width: 560px) {
  .team {
    grid-template-columns: 1fr;
  }

  .food-menu {
    padding: 2.5rem 1.5rem;
  }
}

/* --- Quote form & product quantities --- */
.quote-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* unified item-info for product cards */
.item-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 1.3rem;
}

.item-info > div:first-child {
  text-align: left;
}

.item-info h3 {
  color: var(--grey-color);
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.item-info span {
  display: block;
  font-size: 0.9rem;
  color: var(--grey-color);
}

/* Qty + button area */
.qty-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  text-align: left;
}

.qty-wrap label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--grey-color);
}

.qty-wrap input {
  margin-top: .25rem;
  width: 80px;
  padding: .35rem .5rem;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  font: inherit;
  text-align: right;
  background: #fff;
}

/* Variant selector for items with multiple sizes (e.g., fried chips) */
.variant-wrap {
  margin-top: .45rem;
}

.variant-wrap label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--grey-color);
  gap: .15rem;
}

.variant-wrap select {
  width: 100%;
  max-width: 190px;
  padding: .4rem .6rem;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

/* Add-to-quote button on each card */
.add-to-quote {
  margin-top: 0;
  padding: .45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition:
    background .2s ease,
    color .2s ease,
    transform .1s ease,
    box-shadow .1s ease;
}

.add-to-quote:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0,0,0,.08);
}

.add-to-quote:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Quick highlight when a card is "added" */
.food-item.selected-for-quote .item-wrap {
  box-shadow: rgba(14,30,37,.32) 0 2px 16px 0,
              rgba(255,165,0,.45) 0 0 0 1px;
}

.quote-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

.quote-details h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #222;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  color: var(--grey-color);
}

.field input,
.field textarea {
  width: 100%;
  padding: .6rem .75rem;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  font: inherit;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.quote-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease, box-shadow .1s ease;
}

.quote-submit i {
  font-size: 1.2rem;
}

.quote-submit:hover {
  background: #ff8c00;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.quote-hint {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--grey-color);
}

@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* Amazon note under products (base) */
.amazon-note {
  margin-top: .75rem;
  font-size: .9rem;
  color: var(--grey-color);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.amazon-note i {
  font-size: 1.25rem;
  color: #ff9900;
}

.amazon-note a {
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile & small-screen refinements */
@media (max-width: 900px) {
  /* Reduce vertical padding so sections don't feel too tall */
  section {
    padding: 6rem 0 3.5rem;
  }

  #about.fullheight {
    height: auto;
  }

  /* Navigation: allow horizontal scroll for menu pills */
  .menu-wrap {
    flex-wrap: wrap;
    gap: .25rem .75rem;
  }

  .menu {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
  }
  .menu::-webkit-scrollbar {
    display: none;
  }
  .menu-item {
    white-space: nowrap;
    margin-left: .5rem;
    padding: .4rem 1rem;
  }
  #chapalitaLogo {
    font-size: 1.6rem;
  }

  /* Product cards: stack nicely on narrow screens */
  .food-item {
    width: 100%;
    height: auto;
  }

  .item-img {
    height: 200px;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .item-info {
    padding: 1rem 1rem 1.25rem;
  }

  .qty-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .add-to-quote {
    width: 100%;
    justify-content: center;
  }

  .quote-form {
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  /* Extra breathing room on very small screens */
  .food-menu {
    padding: 2.25rem 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* --- Make Amazon store callout more visible (overrides base) --- */
.amazon-note {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: 1rem;
  background: rgba(255,153,0,.08);
  border: 1px solid rgba(255,153,0,.4);
  font-size: .9rem;
  color: #444;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.amazon-note i {
  font-size: 1.4rem;
  color: #ff9900;
}

.amazon-note a {
  font-weight: 600;
  text-decoration: none;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: #ff9900;
  color: #fff;
  white-space: nowrap;
}

/* --- Mobile header: center logo text, keep menu neat (generic) --- */
@media (max-width: 900px) {
  .menu-wrap {
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
    gap: .25rem .75rem;
  }

  #chapalitaLogo {
    flex: 0 0 100%;
    text-align: center;
    margin: 0 auto;
  }

  .cart-menu {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 1rem;
  border-top: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--grey-color);
}

.footer-inner {
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: flex-start;
}

.footer-right a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--grey-color);
  font-weight: 500;
}

.footer-right a:hover {
  color: var(--primary-color);
}

/* Legal page layout */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

/* Legal header + language toggle */
.legal-page .legal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.legal-page .legal-title {
  flex: 1 1 260px;
  min-width: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--grey-color, #9da2ad);
  background: transparent;
  color: var(--grey-color, #9da2ad);
  text-decoration: none;
  line-height: 1;
}

.lang-pill.is-active {
  border-color: var(--primary-color, #ffa500);
  background: var(--primary-color, #ffa500);
  color: #111;
}

/* Primary style variant (used in modal) */
.lang-pill.primary {
  border-color: var(--primary-color, #ffa500);
  background: var(--primary-color, #ffa500);
  color: #111827;
  font-weight: 600;
}

/* --- Language selection overlay & modal (centered on all screens) --- */
.lang-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lang-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lang-modal {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(148, 163, 184, 0.28);
  padding: 1.5rem 1.75rem 1.75rem;
  color: #111827;
}

.lang-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.lang-modal p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.1rem;
}

.lang-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lang-modal-actions .lang-pill {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Make sure toggle doesn’t get cut off on small screens */
@media (max-width: 600px) {
  .legal-page .legal-header {
    align-items: flex-start;
  }

  .lang-toggle {
    margin-left: auto;
  }
}

.legal-page h2 {
  margin-top: 2rem;
  margin-bottom: .5rem;
  font-size: 1.25rem;
  color: #222;
}

.legal-page ul {
  margin: 0 0 1rem 1.5rem;
  padding-left: 0;
}

.legal-page li {
  margin-bottom: .35rem;
}

/* Stack footer content on narrow screens */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

/* Quote form tweaks */
.quote-form textarea {
  resize: none !important;
}

.field-hint {
  display: block;
  font-size: .8rem;
  color: var(--grey-color);
  opacity: .9;
  margin-top: .15rem;
}

/* --- Extra small-screen tweaks: nav + backgrounds (logo + ENG/ES on same row)
   + hero alignment + hero text color --- */
@media (max-width: 700px) {
  /* Tighter nav so all pills + logo fit */
  .menu-wrap {
    padding: .5rem .75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; /* logo left, pills right */
    gap: 0.5rem 0.75rem;
  }

  #chapalitaLogo {
    font-size: 1.4rem;
    flex: 0 0 auto;      /* no longer 100% width */
    text-align: left;
    margin: 0;
  }

  /* Keep language pills on the same row, aligned to the right */
  .lang-toggle {
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Menu drops to its own row below */
  .menu {
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.35rem;
  }

  .menu-item {
    margin-left: .25rem;
    padding: .35rem .8rem;
    font-size: .85rem;
    border-radius: .9rem;
  }

  /* Background images: avoid "super zoomed" effect on phones */
  .bg-img-fixed {
    background-attachment: scroll;
  }

  #home,
  #fresh,
  #food-menu {
    background-position: center top;
  }

  /* Slightly reduce perceived section height on tiny screens */
  section {
    padding: 6rem 0 3.5rem;
  }

  /* Center logo + hero content on mobile */
  .slogan {
    text-align: center;
    margin-left: 0;
    padding: 0 1.5rem;
  }

  #home .slogan h1 img {
    display: block;
    margin: 0 auto;
    max-width: 200px; /* smaller logo on mobile */
  }

  .slogan p {
    margin-left: auto;
    margin-right: auto;
  }

  .slogan button {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero text black on mobile */
  #home .slogan p {
    color: #000000;
    text-shadow: none;
  }
}
