@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;
}

.menu-item:hover,
.menu-item.active {
  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);
}

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

.slogan button {
  padding: 1rem 5rem;
  outline: none;
  border: none;
  background: var(--background-color);
  border: .1rem solid var(--primary-color);
  border-radius: 2rem;
  color: var(--primary-color);
  margin: 3rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: .25s ease;
}

.slogan button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* 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 {
  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-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 */
.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;
}

.food-item {
  width: 25%;
  height: 30rem;
  padding: 1rem;
}

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

.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 {
  height: 60%;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

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

.item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding: 0 1rem;
}

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

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

/* 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 */
@media (max-width: 900px) {
  .slogan {
    margin-left: 0;
    padding: 0 1rem;
  }

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

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

  .about-slogan {
    transform: none;
    margin-top: 2rem;
  }

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

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

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

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

@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;
}

.item-info{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-top:3rem;
  padding:0 1rem;
}

.qty-wrap{
  text-align:right;
}

.qty-wrap label{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-end;
  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;
}

.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 */
.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;
  }

  .item-info{
    flex-direction:column;
    align-items:flex-start;
    gap:.75rem;
    margin-top:1.5rem;
    padding:0 1rem 1rem;
  }

  .qty-wrap{
    width:100%;
    text-align:left;
  }

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

  .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 --- */
.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, email icon on right --- */
@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%;
    order:2;
  }
}


/* 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-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;
  }
}
