/* ==========================================================================
   Kabayan Hypermarket — site styles
   Palette sampled from the logo: Kabayan red + Hypermarket green.
   ========================================================================== */

:root {
  --red: #e8202a;
  --red-600: #c9151f;
  --red-50: #fdecec;
  --green: #3cb04a;
  --green-600: #2a9139;
  --green-700: #1e7b34;
  --green-900: #0e3a1d;
  --green-50: #ebf7ec;
  --sun: #ffc93c;

  --ink: #17201a;
  --ink-2: #3b463e;
  --muted: #647067;
  --line: #e3e8e2;
  --surface: #f4f6f2;
  --bg: #ffffff;

  --font-display: "Fredoka", "Tajawal", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Tajawal", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 22, .06), 0 2px 8px rgba(16, 40, 22, .05);
  --shadow: 0 10px 30px -12px rgba(16, 40, 22, .22);
  --shadow-lg: 0 30px 60px -24px rgba(16, 40, 22, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.ar { font-family: var(--font-ar); direction: rtl; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--tint { background: var(--surface); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green) 50%, var(--red) 50%); }
.eyebrow--light { color: #bff0c5; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.text-red { color: var(--red); }
.text-green { color: var(--green-600); }

.section-head { max-width: 680px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--btn-bg); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--green { --btn-bg: var(--green-600); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--green-900); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: #fff; box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-900); color: #d9eedc; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar__promo { color: var(--sun); font-weight: 600; }
@media (max-width: 760px) { .topbar__right, .topbar__hide-sm { display: none !important; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { margin-inline: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav li a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 1.05rem; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav li a:hover { color: var(--ink); background: var(--surface); }
.nav li a[aria-current="page"] { color: var(--red); }
.nav li a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--red);
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav__mobile-cta { display: none; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  /* backdrop-filter would make the header the containing block of the fixed nav */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; margin: 0;
    background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav li a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav li a[aria-current="page"]::after { left: auto; right: 12px; top: 50%; bottom: auto; margin-top: -3px; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 28px; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand img { height: 42px; } }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--surface); }
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .7s var(--ease); }
.slide { flex: 0 0 100%; position: relative; }
.slide a { display: block; }
.slide img { width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; object-position: left center; }
.slider__dots { position: absolute; left: 50%; bottom: clamp(10px, 2.4vw, 26px); transform: translateX(-50%); display: flex; gap: 8px; }
.slider__dot { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.12); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.slider__dot[aria-current="true"] { width: 28px; background: var(--red); }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow); display: grid; place-items: center;
  transition: transform .2s var(--ease), background .2s;
}
.slider__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow--prev { left: 18px; }
.slider__arrow--next { right: 18px; }
@media (max-width: 700px) { .slider__arrow { display: none; } }

/* Quick info strip below hero */
.quickbar { position: relative; z-index: 2; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.quickbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quickbar__item { display: flex; gap: 14px; align-items: center; padding: 22px 20px; border-right: 1px solid var(--line); transition: background .2s; }
.quickbar__item:last-child { border-right: 0; }
.quickbar__item:hover { background: var(--surface); }
.quickbar__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); }
.quickbar__item:nth-child(even) .quickbar__icon { background: var(--red-50); color: var(--red); }
.quickbar__icon svg { width: 22px; height: 22px; }
.quickbar__item strong { display: block; font-size: .95rem; line-height: 1.3; }
.quickbar__item span { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) {
  .quickbar__grid { grid-template-columns: 1fr 1fr; }
  .quickbar__item:nth-child(2) { border-right: 0; }
  .quickbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .quickbar__grid { grid-template-columns: 1fr; }
  .quickbar__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .quickbar__item:last-child { border-bottom: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(60,176,74,.55), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(232,32,42,.35), transparent 60%),
    var(--green-900);
  padding-block: clamp(32px, 5vw, 56px) clamp(28px, 4.5vw, 48px);
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 70px solid rgba(255,255,255,.05);
}
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: #cfe6d3; max-width: 640px; font-size: 1.05rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #a9cdb0; margin-bottom: 12px; }
.breadcrumb a:hover { color: #fff; }
.page-hero__ar { position: absolute; right: var(--gutter); bottom: 8px; font-size: clamp(3.5rem, 9vw, 7rem); line-height: 1; color: rgba(255,255,255,.06); font-weight: 800; pointer-events: none; }

/* ---------- Intro / stats ---------- */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg); }
.intro__badge {
  position: absolute; left: -18px; bottom: -24px; background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center;
}
.intro__badge b { font-family: var(--font-display); font-size: 2.2rem; color: var(--red); line-height: 1; }
.intro__badge span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.quote-line { font-family: var(--font-display); font-size: 1.25rem; color: var(--green-700); border-left: 4px solid var(--red); padding-left: 16px; margin: 24px 0; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .intro__badge { left: 12px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.section--tint .stat { background: #fff; }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1; color: var(--green-700); }
.stat:nth-child(even) b { color: var(--red); }
.stat span { font-size: .85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Departments ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; isolation: isolate;
  display: flex; align-items: flex-end; color: #fff; background: var(--green-700);
}
.dept img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.dept::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(8,30,14,.82)); }
.dept:hover img { transform: scale(1.06); }
.dept__body { padding: 20px; }
.dept__body h3 { color: #fff; margin: 0 0 2px; font-size: 1.2rem; }
.dept__body span { font-size: .84rem; opacity: .85; }
@media (max-width: 900px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .dept-grid { gap: 12px; } .dept__body { padding: 14px; } .dept__body h3 { font-size: 1.02rem; } }

/* ---------- Cards (generic) ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px; }
.card__body h3 { margin-bottom: 8px; }
.card__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--green-50); color: var(--green-700); }
.tag--red { background: var(--red-50); color: var(--red-600); }
.tag--solid { background: var(--red); color: #fff; }
.tag--sun { background: var(--sun); color: #4a3500; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Offers ---------- */
.offer-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer-poster { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.offer-poster img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.offer-poster:hover img { transform: scale(1.03); }
.offer-poster__label { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer-poster__label h3 { margin: 0; font-size: 1.1rem; }
.offer-poster__label p { margin: 0; font-size: .85rem; color: var(--muted); }
.offer-poster .tag { position: absolute; top: 16px; left: 16px; }
@media (max-width: 720px) { .offer-feature { grid-template-columns: 1fr; } }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 700; font-size: .9rem; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { opacity: .6; font-weight: 600; margin-left: 4px; }
[data-filter-item].is-hidden { display: none; }


/* ---------- Bands ---------- */
.band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, var(--green-700), var(--green) 70%);
  padding: clamp(32px, 6vw, 64px);
}
.band--red { background: linear-gradient(120deg, var(--red-600), var(--red) 70%); }
.band--dark { background: radial-gradient(700px 300px at 90% 10%, rgba(60,176,74,.45), transparent 60%), var(--green-900); }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.86); }
.band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); pointer-events: none; }
.band__row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band__row > div:first-child { max-width: 640px; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.app-band { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.app-band ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.app-band li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.app-band li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.18); }
.app-band__media { position: relative; z-index: 1; }
.app-band__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; padding: 10px 20px 10px 16px; border-radius: 14px; transition: transform .2s var(--ease); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: .68rem; opacity: .8; line-height: 1.1; }
.store-badge b { display: block; font-size: 1.05rem; line-height: 1.2; }
@media (max-width: 860px) { .app-band { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .app-band ul { grid-template-columns: 1fr; } }

/* ---------- Stores ---------- */
.store-card { display: flex; flex-direction: column; }
.store-card .card__media { aspect-ratio: 16/9; }
.store-card .card__body { display: flex; flex-direction: column; flex: 1; }
.store-card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.store-card h3 { font-size: 1.15rem; }
.store-card__city { font-size: .82rem; font-weight: 700; color: var(--green-700); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.info-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }
.info-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--green-600); }
.info-list a:hover { color: var(--red); }
.store-card__actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.country-block + .country-block { margin-top: 64px; }
.country-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.country-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.country-head .count { font-weight: 700; color: var(--muted); font-size: .9rem; }
.flag { font-size: 1.8rem; line-height: 1; }

.presence { display: flex; gap: 12px; flex-wrap: wrap; }
.presence span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: .92rem; }

/* ---------- About ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mvv__item { background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mvv__item::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--green); }
.mvv__item:nth-child(2)::before { background: var(--red); }
.mvv__item:nth-child(3)::before { background: linear-gradient(90deg, var(--green), var(--red)); }
.mvv__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); margin-bottom: 18px; }
.mvv__item:nth-child(2) .mvv__icon { background: var(--red-50); color: var(--red); }
.mvv__icon svg { width: 26px; height: 26px; }
.mvv__item p { color: var(--ink-2); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .mvv { grid-template-columns: 1fr; } }

.chairman { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.chairman__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.chairman__photo img { width: 100%; height: 100%; object-fit: cover; }
.chairman blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); position: relative; }
.chairman blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--red); margin-bottom: 12px; }
.chairman cite { display: block; margin-top: 24px; font-style: normal; }
.chairman cite b { display: block; font-size: 1.05rem; }
.chairman cite span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .chairman { grid-template-columns: 1fr; } .chairman__photo { max-width: 360px; } }

.timeline { position: relative; display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green), var(--red)); }
.tl-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--green); display: grid; place-items: center; color: var(--green-700); z-index: 1; }
.tl-item:nth-child(even) .tl-dot { border-color: var(--red); color: var(--red); }
.tl-dot svg { width: 20px; height: 20px; }
.tl-year { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--green-700); line-height: 1.2; }
.tl-item:nth-child(even) .tl-year { color: var(--red); }
.tl-item p { margin: 4px 0 0; color: var(--ink-2); }

.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco__item { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.eco__item svg { width: 30px; height: 30px; color: #9fe3a8; margin-bottom: 14px; }
.eco__item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.eco__item p { font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .eco { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .eco { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-50); color: var(--green-700); margin-top: 2px; }

/* ---------- News ---------- */
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.news-feature__media { position: relative; min-height: 360px; }
.news-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.news-feature__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } .news-feature__media { min-height: 0; aspect-ratio: 16/10; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,18,10,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; max-width: min(1100px, 100%); border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 22px; height: 22px; }

.article-body { max-width: 760px; }
.article-body p { color: var(--ink-2); }

/* ---------- Careers ---------- */
.perk { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.perk__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); margin-bottom: 16px; }
.perk:nth-child(even) .perk__icon { background: var(--red-50); color: var(--red); }
.perk__icon svg { width: 24px; height: 24px; }
.perk h3 { font-size: 1.15rem; }
.perk p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 600; font-size: 2.3rem; line-height: 1; color: var(--green); }
.step:nth-child(even)::before { color: var(--red); }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.join-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin-inline: auto; }
.join-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.join-card p { color: var(--ink-2); flex: 1; margin-bottom: 20px; }
.join-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 14px; }
.join-card__icon--li { background: #e8f1fb; color: #0a66c2; }
.join-card__icon svg { width: 24px; height: 24px; }
.btn--linkedin { --btn-bg: #0a66c2; }
.btn--linkedin:hover { --btn-bg: #004182; }
@media (max-width: 720px) { .join-cards { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s; font-size: .98rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(60,176,74,.15); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--green-50); color: var(--green-700); font-weight: 600; font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); margin-bottom: 10px; }
.contact-card:nth-child(even) .contact-card__icon { background: var(--red-50); color: var(--red); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.contact-card b { font-size: 1rem; line-height: 1.4; word-break: break-word; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.social a:hover { background: var(--red); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.social--dark a { background: var(--surface); color: var(--ink); }
.social--dark a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #bcd6c1; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #8fb298; }
.footer-stripe { height: 5px; background: linear-gradient(90deg, var(--green) 0 50%, var(--red) 50% 100%); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* Floating WhatsApp */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Offers: store flyer picker ---------- */
.flyer-picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flyer-picker__select { position: relative; min-width: 260px; }
.flyer-picker__select > svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--red); pointer-events: none; }
.flyer-picker__select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.flyer-picker__select select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 10px 44px 10px 44px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: .95rem; color: var(--ink);
}
.flyer-picker__select select:hover { border-color: var(--ink-2); }
.flyer-picker__select select:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 560px) { .flyer-picker, .flyer-picker__select { width: 100%; min-width: 0; } .flyer-picker__select { flex: 1; } }

.flyer-result__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.flyer-result__head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.flyer-result__valid { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.flyer-result__valid svg { width: 16px; height: 16px; color: var(--red); }
.flyer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.flyer-grid button {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); cursor: zoom-in; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.flyer-grid button:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flyer-grid img { width: 100%; aspect-ratio: 900 / 1273; object-fit: cover; }
.flyer-grid .flyer__zoom {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.95); color: var(--ink); font-weight: 700; font-size: .82rem;
}
.flyer-grid .flyer__zoom svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .flyer-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .flyer-grid .flyer__zoom { right: 8px; bottom: 8px; padding: 6px 10px; } }
.flyer-empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.flyer-empty svg { width: 40px; height: 40px; color: var(--red); }
.flyer-empty h3 { margin: 12px 0 6px; }

/* ---------- Rewards page ---------- */
.rewards-hero__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow-lg); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.screens figure { margin: 0; text-align: center; }
.screens img { width: 100%; aspect-ratio: 1/2; object-fit: cover; border-radius: 28px; border: 6px solid var(--ink); box-shadow: var(--shadow); }
.screens figcaption { margin-top: 12px; font-weight: 700; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 860px) { .screens { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Store details (Offers page) + data-driven store cards ---------- */
.store-info { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin-top: clamp(32px, 5vw, 56px); scroll-margin-top: 110px; }
.store-info__card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.store-info__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.store-info__body { padding: clamp(20px, 3vw, 28px); }
.store-info__body h3 { font-size: 1.35rem; margin: 6px 0 16px; }
.store-info__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--surface); border: 1px solid var(--line); }
.store-info__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .store-info { grid-template-columns: 1fr; } .store-info__map, .store-info__map iframe { min-height: 300px; } }
.is-placeholder { color: var(--muted); font-style: italic; }
.info-list .info-sep { color: var(--line); margin: 0 6px; }
.store-card .card__media { display: block; }
.store-card h3 a:hover { color: var(--red); }
