/* ============================================================
   City Store Supermarket Landing Page
   Palette pulled from the brand logo:
     orange  #F26522   (City Store wordmark)
     green   #2BB24C   (cart)
     blue    #1E6FB3   (Supermarket wordmark)
     sun     #FFC83D   (rays)
     ink     #0F2233   (text)
============================================================ */

:root {
  --orange:      #F26522;
  --orange-dark: #D9521B;
  --orange-tint: #FFF1E7;
  --green:       #2BB24C;
  --green-dark:  #1F9039;
  --blue:        #1E6FB3;
  --blue-dark:   #155587;
  --sun:         #FFC83D;
  --ink:         #0F2233;
  --ink-2:       #3A4A5C;
  --muted:       #6C7A89;
  --line:        #E6ECF1;
  --bg:          #FFFFFF;
  --bg-alt:      #F7F9FB;
  --shadow-sm:   0 2px 6px rgba(15, 34, 51, 0.06);
  --shadow-md:   0 12px 30px rgba(15, 34, 51, 0.10);
  --shadow-lg:   0 24px 60px rgba(15, 34, 51, 0.18);
  --radius:      14px;
  --radius-lg:   22px;
  --maxw:        1180px;
  --transition:  .25s ease;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--ink-2); }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-tint);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(242, 101, 34, 0.28);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: #fff; color: var(--ink); }
.section .btn--ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.section .btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.promo-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: .55rem 0;
}
.promo-bar a { text-decoration: underline; }
.promo-bar__divider { opacity: .55; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.brand__logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  color: var(--orange);
  font-weight: 700;
}
.brand__text em {
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.nav > a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-2);
  position: relative;
  transition: color var(--transition);
}
.nav > a:hover { color: var(--orange); }
.nav > a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav > a:hover:not(.nav__cta)::after { transform: scaleX(1); }
.nav__cta { color: #fff !important; padding: .55rem 1.1rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__image,
.hero__image img,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  background:
    linear-gradient(120deg, rgba(15,34,51,0.85) 0%, rgba(15,34,51,0.55) 55%, rgba(30,111,179,0.4) 100%);
}
.hero__content {
  padding: clamp(4rem, 9vw, 7rem) 0;
  max-width: 760px;
}
.hero__eyebrow {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: .4rem .9rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.35); }
.hero__lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__stats {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--orange);
  padding-left: .9rem;
}
.hero__stats strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,0.8); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.about__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.about__media:hover img { transform: scale(1.04); }
.about__badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.about__badge strong { color: var(--orange); font-family: 'Fredoka', sans-serif; }
.about__badge span { font-size: .85rem; color: var(--muted); }
.about__copy h2 { margin-bottom: 1rem; }
.about__list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.about__list li { display: flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--ink-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--orange { background: var(--orange); }
.dot--green  { background: var(--green); }
.dot--blue   { background: var(--blue); }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.cat-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card__body { padding: 1.1rem 1.2rem 1.4rem; }
.cat-card__body h3 { margin-bottom: .35rem; }
.cat-card__body p { font-size: .9rem; color: var(--muted); margin: 0; }
.cat-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--orange);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.cat-card--feature { border: 2px solid var(--orange); }

/* ---------- Strip / stats banner ---------- */
.strip {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.strip__bg { position: absolute; inset: 0; z-index: -1; }
.strip__bg img { width: 100%; height: 100%; object-fit: cover; }
.strip::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(30,111,179,0.92), rgba(43,178,76,0.88));
}
.strip__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.strip__item strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: .25rem;
}
.strip__item span { font-size: .9rem; color: rgba(255,255,255,0.88); }

/* ---------- Gallery / Store Tour ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, opacity .3s ease;
}
.gallery__item:hover img { transform: scale(1.08); opacity: .85; }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  transform: translateY(15%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Why Us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why__card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why__icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--orange-tint);
  margin-bottom: 1rem;
}
.why__card:nth-child(2) .why__icon { background: #E8F8EC; }
.why__card:nth-child(3) .why__icon { background: #E7F1FA; }
.why__card:nth-child(4) .why__icon { background: #FFF8E1; }
.why__card h3 { margin-bottom: .4rem; }
.why__card p { margin: 0; font-size: .92rem; }

/* ---------- Visit ---------- */
.visit__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.visit__lede { font-size: 1.05rem; color: var(--ink-2); }
.visit__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin: 1.75rem 0 2rem;
}
.visit__info-item {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
}
.visit__info-item strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  color: var(--blue);
  font-size: .95rem;
  margin-bottom: .25rem;
}
.visit__info-item span,
.visit__info-item a { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.visit__info-item a { color: var(--orange); font-weight: 600; }
.visit__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }

.visit__media {
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  gap: 1rem;
}
.visit__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .75rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.7));
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.visit__photo--alt { border: 3px solid var(--orange); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #C7D3DE;
  padding-top: 4rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
}
.footer__brand p { color: #97A6B5; max-width: 320px; }
.footer__col h4 {
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__col a { color: #C7D3DE; transition: color var(--transition); font-size: .92rem; }
.footer__col a:hover { color: var(--orange); }
.footer__col li { font-size: .92rem; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0;
}
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .85rem;
  color: #8696A6;
}

/* ---------- Floating call button ---------- */
.float-call {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(242,101,34,0.45);
  z-index: 60;
  transition: transform var(--transition), background var(--transition);
}
.float-call:hover { transform: scale(1.07); background: var(--orange-dark); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
============================================================ */

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__content { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__media { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .about__grid { grid-template-columns: 1fr; }
  .visit__info { grid-template-columns: 1fr; }
  .visit__media { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem;
    gap: .25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav > a {
    padding: .8rem .5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav > a:last-child { border-bottom: 0; }
  .nav > a:not(.nav__cta)::after { display: none; }
  .nav__cta { margin-top: .5rem; }
  .nav-toggle { display: flex; }
  .promo-bar__inner { font-size: .78rem; gap: .6rem; padding: .5rem .75rem; }
  .promo-bar__divider { display: none; }
  .hero { min-height: 70vh; }
  .hero__stats { gap: 1.25rem; }
  .hero__stats strong { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .strip__content { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__logo { width: 48px; height: 48px; }
  .brand__text strong { font-size: 1.1rem; }
}
