/* =============================================================
   y.beanz: styles
   Cream paper, royal blue ink, flavor colors as accents.
   ============================================================= */

:root {
  color-scheme: light;

  --cream: #F8F1E2;       /* sampled from the poster backgrounds */
  --cream-2: #F0E5CF;
  --paper: #FFFAF0;
  --ink: #16244F;
  --ink-2: #33437A;
  --muted: #56638C;

  --blue: #1F4FC4;
  --blue-700: #163A93;
  --blue-300: #9CC4EE;    /* the posters' wavy corner blue */
  --blue-100: #DFEBFB;

  --pink: #F0508A;
  --orange: #F7931E;
  --yellow: #F5B53B;
  --red: #E2403F;
  --cyan: #5BB8EE;
  --purple: #8C5BD8;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;

  --font-latin: 'Fredoka', 'Baloo Bhaijaan 2', ui-rounded, system-ui, sans-serif;
  --font-display: var(--font-latin);
  --font-body: 'Nunito', 'Baloo Bhaijaan 2', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-pop: cubic-bezier(.2, .9, .3, 1.25);
}

html[lang="ar"] {
  --font-display: 'Baloo Bhaijaan 2', 'Fredoka', system-ui, sans-serif;
  --font-body: 'Baloo Bhaijaan 2', 'Nunito', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Clip here, not on body: body's overflow would pass to the viewport and stay scrollable by script. */
main { overflow-x: clip; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 820px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--paper);
  --fg: var(--ink);
  --sh: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--sh);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sh); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn--primary { --bg: var(--blue); --fg: var(--cream); }
.btn--ghost { --bg: transparent; }
.btn--ghost:hover { --bg: var(--paper); }
.btn--cream { --bg: var(--cream); }
.btn--whatsapp { --bg: #25D366; --fg: #06361B; }
.btn--lg { min-height: 56px; padding: .85rem 1.65rem; font-size: 1.1rem; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; box-shadow: 0 3px 0 var(--sh); }
.btn--block { width: 100%; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  transition: background-color .2s, transform .15s;
}
.icon-btn:hover { background: var(--blue-100); }
.icon-btn:active { transform: scale(.94); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
}
.eyebrow .ic { width: 1em; height: 1em; fill: currentColor; stroke: none; }
.eyebrow--light { background: rgba(251, 244, 230, .16); color: var(--cream); }

/* Bubbly sticker lettering, like the packaging posters */
.pop {
  display: inline-block;
  color: var(--pink);
  transform: rotate(-2deg);
  text-shadow:
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink),
    4px 5px 0 var(--ink);
}
.pop--yellow { color: var(--yellow); }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--blue);
  color: var(--cream);
  font-weight: 700;
  font-size: .9rem;
  text-align: center;
  padding: .5rem var(--gutter);
}
.announce p { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }

/* Paints the phone status-bar band above the sticky header (zero height in normal browsers) */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: env(safe-area-inset-top, 0px);
  background: var(--cream);
}

.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--ink) 14%, transparent);
  box-shadow: 0 8px 24px -18px rgba(22, 36, 79, .45);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-grid;
  justify-items: center;
  line-height: .78;
  color: var(--blue);
  font-family: 'Fredoka', ui-rounded, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding-block: .3rem;
}
.logo__y { font-size: 2.4rem; transform: translateX(-.08em); }
.logo__word { font-size: 1.8rem; letter-spacing: -.02em; transform: rotate(-4deg); }
.logo--light { color: var(--cream); }
.logo img { height: 54px; width: auto; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--blue-100); color: var(--blue); }

.header__actions { display: flex; align-items: center; gap: .55rem; }

.lang-btn {
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s;
}
.lang-btn:hover { background: var(--blue-100); }
.lang-btn:lang(ar) { font-family: 'Baloo Bhaijaan 2', sans-serif; }
.lang-btn:lang(en) { font-family: 'Fredoka', sans-serif; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  color: var(--cream);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.cart-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.cart-btn.bump { animation: bump .45s var(--ease-pop); }
.cart-btn__count {
  position: absolute;
  top: -7px;
  inset-inline-end: -7px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-size: .78rem;
  font-weight: 700;
}
.cart-btn__count[hidden] { display: none; }

.menu-btn {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.mobile-nav {
  border-top: 2px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: var(--cream);
  padding: .25rem var(--gutter) 1rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { display: grid; margin: 0; padding: 0; list-style: none; }
.mobile-nav a {
  display: block;
  padding: .9rem .25rem;
  border-bottom: 2px dashed color-mix(in srgb, var(--ink) 16%, transparent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header__actions { margin-inline-start: auto; }
}
@media (min-width: 921px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.02em;
}
html[lang="ar"] .hero__title { font-weight: 800; line-height: 1.3; letter-spacing: 0; }

.hero__lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.25rem; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  padding-inline: 1.5rem;
  border-inline-start: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent);
}
.hero__facts li:first-child { padding-inline-start: 0; border: 0; }
.hero__facts strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.15;
}
.hero__facts span { color: var(--muted); font-size: .92rem; font-weight: 600; }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 40vw, 520px);
}
.hero__visual > .photo {
  width: min(100%, 420px);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--blue);
  transform: rotate(2deg);
}

.sticker {
  position: absolute;
  top: 4%;
  inset-inline-end: 2%;
  z-index: 6;
  display: grid;
  place-content: center;
  width: clamp(92px, 10vw, 120px);
  aspect-ratio: 1;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 4px 0 var(--ink);
  text-align: center;
  line-height: 1.1;
  font-family: var(--font-display);
  transform: rotate(12deg);
  animation: wobble 5s ease-in-out infinite;
}
.sticker small { font-size: .82rem; font-weight: 600; }
.sticker strong { font-size: clamp(1.05rem, 1.4vw, 1.3rem); white-space: nowrap; }

.spark {
  position: absolute;
  z-index: 4;
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linejoin: round;
  animation: twinkle 3.4s ease-in-out infinite;
}
.spark--1 { top: 10%; inset-inline-start: 4%; color: var(--yellow); width: 38px; height: 38px; }
.spark--2 { bottom: 16%; inset-inline-end: 0; color: var(--pink); animation-delay: -1.2s; }
.spark--3 { top: 46%; inset-inline-start: -2%; color: var(--blue-300); width: 24px; height: 24px; animation-delay: -2.2s; }

.bean-deco { position: absolute; z-index: 0; color: var(--blue); width: 44px; height: 44px; opacity: .9; }
.bean-deco--1 { bottom: 4%; inset-inline-start: 10%; transform: rotate(18deg); }
.bean-deco--2 { top: 2%; inset-inline-start: 40%; width: 30px; height: 30px; transform: rotate(-30deg); }

.corner { position: absolute; z-index: 0; width: clamp(150px, 22vw, 320px); height: auto; pointer-events: none; }
.corner__fill { fill: var(--blue-300); }
.corner__line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.corner--bl { bottom: 0; left: 0; width: clamp(110px, 12vw, 180px); transform: scaleY(-1); }
/* Keep the shapes on the visual side in Arabic, away from the headline */
[dir="rtl"] .corner--tr { right: auto; left: 0; transform: none; }
[dir="rtl"] .corner--bl { left: auto; right: 0; transform: scale(-1, -1); }

/* ---------- Poster-style background doodles ---------- */
/* Same vocabulary as the product posters: wavy light-blue corners, outlined
   blue sparkles, dash bursts and blue coffee beans scattered around the content. */
.decor { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section > .container { position: relative; z-index: 1; }

.blob { position: absolute; width: clamp(120px, 17vw, 250px); aspect-ratio: 3 / 2; height: auto; }
.blob--tl { top: 0; left: 0; }
.blob--tr { top: 0; right: 0; transform: scaleX(-1); }
.blob--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.blob--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.doodle { position: absolute; width: var(--s, 28px); height: var(--s, 28px); color: var(--blue); }
.doodle--star { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; animation: twinkle 4.2s ease-in-out infinite; }
.doodle--fill { fill: var(--c, var(--yellow)); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; animation: twinkle 3.6s ease-in-out infinite; animation-delay: -1.4s; }
.doodle--burst { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.doodle--bean { fill: currentColor; --bean-crease: var(--cream); }
.brew .doodle--bean { --bean-crease: var(--blue-100); }

@media (max-width: 700px) {
  .decor .doodle { display: none; }
  .blob { width: 104px; }
}

/* ---------- Bag illustration (shown until a product photo exists) ---------- */
.bag {
  --c1: var(--pink);
  --c2: var(--cream);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  aspect-ratio: 3 / 4.1;
  padding: 9% 8% 0;
  overflow: hidden;
  border-radius: 9% 9% 6% 6% / 7% 7% 4% 4%;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .07), transparent 60%),
    #141418;
  color: #fff;
  box-shadow:
    inset 5px 0 0 rgba(255, 255, 255, .05),
    inset -12px 0 20px rgba(0, 0, 0, .5),
    0 18px 30px -14px rgba(22, 36, 79, .6);
  container-type: inline-size;
}
.bag::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5%;
  background: linear-gradient(#2b2b33, #17171c);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.bag__brand {
  margin-top: 3%;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 6.2cqi;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  white-space: nowrap;
}
.bag__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6%;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 13.5cqi;
  line-height: .98;
  text-align: center;
  white-space: nowrap;
}
.bag__name span:first-child { color: var(--c1); }
.bag__name span:last-child { color: var(--c2); }
.bag__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 66%;
  aspect-ratio: 1;
  min-height: 0;
  margin-top: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #141418 0 33%, transparent 34%),
    repeating-conic-gradient(from 6deg, color-mix(in srgb, var(--c1) 75%, transparent) 0 9deg, transparent 9deg 20deg);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c2) 60%, transparent);
}
.bag__art svg { width: 40%; height: auto; aspect-ratio: 1; color: var(--c2); --bean-crease: #141418; }
.bag__band {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  place-items: center;
  height: 10%;
  background: var(--c1);
  color: #141418;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 4.4cqi;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Fanned bag group */
.fan { position: relative; width: min(100%, 520px); aspect-ratio: 1.2; }
.fan .bag {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 34%;
  transform: translateX(calc(-50% + var(--x, 0%))) rotate(var(--r, 0deg));
  transform-origin: 50% 100%;
  transition: transform .5s var(--ease-out);
}
.fan .bag:nth-child(1) { --x: -92%; --r: -15deg; width: 28%; z-index: 1; }
.fan .bag:nth-child(2) { --x: -52%; --r: -7deg; width: 31%; z-index: 2; bottom: 10%; }
.fan .bag:nth-child(3) { width: 37%; z-index: 5; bottom: 12%; }
.fan .bag:nth-child(4) { --x: 52%; --r: 7deg; width: 31%; z-index: 2; bottom: 10%; }
.fan .bag:nth-child(5) { --x: 92%; --r: 15deg; width: 28%; z-index: 1; }
.hero__visual:hover .fan .bag:nth-child(1) { --x: -102%; --r: -19deg; }
.hero__visual:hover .fan .bag:nth-child(2) { --x: -58%; --r: -9deg; }
.hero__visual:hover .fan .bag:nth-child(3) { transform: translateX(-50%) translateY(-4%); }
.hero__visual:hover .fan .bag:nth-child(4) { --x: 58%; --r: 9deg; }
.hero__visual:hover .fan .bag:nth-child(5) { --x: 102%; --r: 19deg; }

.has-photo > .bag,
.has-photo > .fan { display: none; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  margin-inline: -2vw;
  padding-block: .85rem;
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--blue);
  color: var(--cream);
  transform: rotate(-1.5deg);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  padding-inline-end: 2.25rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item svg { width: 1em; height: 1em; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.5; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 42rem;
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
  text-align: center;
}
.section__title {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
html[lang="ar"] .section__title { line-height: 1.35; letter-spacing: 0; }
.section__lead { margin: 0; color: var(--muted); font-size: 1.1rem; }

.burst-title { display: inline-flex; align-items: center; gap: .6rem; }
.burst { width: .8em; height: .8em; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; flex: none; }
.burst--end { transform: scaleX(-1); }
[dir="rtl"] .burst--start { transform: scaleX(-1); }
[dir="rtl"] .burst--end { transform: none; }

/* ---------- Product grid ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 980px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid-products { grid-template-columns: minmax(0, 1fr); } }

.card {
  --c1: var(--pink);
  --c2: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.card:hover { transform: translate(-2px, -4px); box-shadow: 8px 10px 0 var(--ink); }

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background-color: color-mix(in srgb, var(--c1) 12%, var(--cream));
  background-image:
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--c1) 34%, transparent) 0 36%, transparent 36.5%),
    radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1.4px, transparent 1.6px);
  background-size: 100% 100%, 18px 18px;
  cursor: pointer;
}
.card__media .bag { width: 56%; transition: transform .45s var(--ease-out); }
.card:hover .card__media .bag { transform: rotate(-4deg) scale(1.04); }
.card__media .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.card:hover .card__media .photo { transform: scale(1.03); }

.card__peek {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 2;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .25s, transform .25s var(--ease-out);
}
.card__media:hover .card__peek,
.card__media:focus-visible .card__peek { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .card__peek { opacity: 1; transform: translate(-50%, 0); } }

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem 1.25rem 1.3rem;
}
.card__name {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
}
.swatch {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%);
}
.card__tag { margin: 0; color: var(--muted); font-weight: 600; font-size: .98rem; }
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .85rem;
}
.price {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  white-space: nowrap;
}
.price s { margin-inline-start: .35rem; font-size: .75em; font-weight: 600; opacity: .7; }

/* Bundle tile */
.card--bundle { background: var(--blue); color: var(--cream); }
.card--bundle .card__media {
  cursor: default;
  background-color: var(--blue-700);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(251, 244, 230, .14) 0 38%, transparent 38.5%),
    radial-gradient(rgba(251, 244, 230, .16) 1.4px, transparent 1.6px);
}
.card--bundle .fan { width: 92%; }
.card--bundle .card__tag { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.card--bundle .price { color: var(--cream); }
.card--bundle .btn--sm { --bg: var(--cream); }
.badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 3;
  padding: .3rem .8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  transform: rotate(-4deg);
}
.save {
  align-self: flex-start;
  margin: .65rem 0 0;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: rgba(251, 244, 230, .16);
  font-weight: 700;
  font-size: .88rem;
}

/* ---------- Why ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 980px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .why__grid { grid-template-columns: minmax(0, 1fr); } }

.tile {
  padding: 1.6rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--c, var(--blue));
}
.tile__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--c);
  color: var(--ink);
  transform: rotate(-4deg);
}
.tile__icon .ic { width: 26px; height: 26px; }
.tile h3 { margin: 0 0 .4rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.tile p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Brew ---------- */
.brew { background: var(--blue-100); margin-block: 3rem; }
.brew .eyebrow { background: var(--paper); }
.wave { position: absolute; left: 0; display: block; width: 100%; height: clamp(28px, 4vw, 56px); }
.wave path { fill: var(--blue-100); }
.wave--top { top: 1px; transform: translateY(-100%); }
.wave--bottom { bottom: 1px; transform: translateY(100%) rotate(180deg); }

.brew__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
  margin: 0;
  padding: 1.5rem 0 0;
  list-style: none;
}
@media (max-width: 860px) { .brew__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }

.step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--blue);
}
.step__num {
  position: absolute;
  top: -24px;
  inset-inline-start: 1.5rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 3px 0 var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.step__icon { width: 56px; height: 56px; margin: .25rem 0 1rem; color: var(--blue); stroke-width: 1.6; }
.step h3 { margin: 0 0 .5rem; font-family: var(--font-display); font-size: 1.3rem; }
.step p { margin: 0; color: var(--ink-2); }
.step__ratio {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------- Social ---------- */
.social__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 2px solid var(--ink);
  border-radius: clamp(24px, 4vw, 44px);
  background: var(--blue);
  color: var(--cream);
  box-shadow: 8px 8px 0 var(--ink);
}
@media (max-width: 760px) { .social__card { grid-template-columns: minmax(0, 1fr); } }
.social__copy { position: relative; z-index: 1; }
.social__title {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
}
html[lang="ar"] .social__title { line-height: 1.4; }
.social__lead { max-width: 34rem; margin: 0; color: color-mix(in srgb, var(--cream) 88%, transparent); font-size: 1.1rem; }
.social__card .btn { position: relative; z-index: 1; }
.spark--s1 { top: 14%; inset-inline-end: 6%; color: var(--yellow); width: 40px; height: 40px; }
.spark--s2 { bottom: 12%; inset-inline-end: 30%; color: var(--pink); width: 26px; height: 26px; animation-delay: -1.6s; }
.bean-deco--s { bottom: -34px; inset-inline-end: 3%; width: 150px; height: 150px; color: rgba(251, 244, 230, .12); --bean-crease: var(--blue); transform: rotate(24deg); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: .9rem; }
.faq__item {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  transition: box-shadow .25s;
}
.faq__item[open] { box-shadow: 5px 5px 0 var(--blue); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue);
  transition: transform .3s var(--ease-out), background-color .2s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.faq__a { padding: 0 1.35rem 1.25rem; color: var(--ink-2); }
.faq__a p { margin: 0; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  background: var(--blue-700);
  color: var(--cream);
}
.footer .wave path { fill: var(--blue-700); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { max-width: 24rem; margin: 1rem 0 0; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.footer .logo__y { font-size: 2.6rem; }
.footer .logo__word { font-size: 2rem; }
.footer h3 { margin: 0 0 .8rem; color: var(--blue-300); font-family: var(--font-display); font-size: 1.05rem; }
.footer ul { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.footer ul a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  color: color-mix(in srgb, var(--cream) 92%, transparent);
  text-decoration: none;
}
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(251, 244, 230, .2);
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  font-size: .86rem;
}
.footer__legal p { margin: 0; }

/* ---------- Dialog shared ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(22, 36, 79, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* Cart drawer */
.drawer {
  width: min(440px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  margin-inline-start: auto;
  padding: 0;
  border: 0;
  border-inline-start: 2px solid var(--ink);
  background: var(--cream);
}
.drawer[open] { animation: slide-in .35s var(--ease-out); }
[dir="rtl"] .drawer[open] { animation-name: slide-in-rtl; }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.drawer__head h2 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; overscroll-behavior: contain; }
.drawer__foot { padding: 1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--paper); }
.drawer__foot[hidden] { display: none; }
.drawer__note { margin: .7rem 0 0; color: var(--muted); font-size: .86rem; text-align: center; }

.progress {
  padding: .8rem 1.25rem .9rem;
  border-bottom: 2px solid var(--ink);
  background: var(--blue-100);
  font-weight: 700;
  font-size: .92rem;
}
.progress[hidden] { display: none; }
.progress__bar {
  height: 12px;
  margin-top: .5rem;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}
.progress__bar span { display: block; width: var(--p, 0%); height: 100%; background: var(--blue); transition: width .45s var(--ease-out); }

.cart-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.line {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: start;
  padding: .75rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}
.line__thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c1) 22%, var(--cream));
}
.line__thumb .bag { width: 70%; }
.line__thumb .bag > :not(.bag__art) { display: none; }
.line__thumb .bag__art { margin-top: 30%; }
.line__thumb .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line__thumb--box { background: var(--blue); color: var(--cream); font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.3rem; }
.line__name { margin: 0; font-family: var(--font-latin); font-weight: 700; line-height: 1.25; }
.line__unit { margin: .1rem 0 .5rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.line__end { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.line__total { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--blue); white-space: nowrap; }
.line__remove {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.line__remove:hover { color: var(--red); }

.qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}
.qty button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: background-color .15s;
}
.qty button:hover { background: var(--blue-100); }
.qty output { min-width: 2.2ch; font-family: 'Fredoka', sans-serif; font-weight: 700; text-align: center; }
.qty--sm button { width: 36px; height: 36px; }
.qty--sm .ic { width: 1em; height: 1em; }

.cart-empty { display: grid; justify-items: center; gap: 1rem; padding: 3rem 1rem; text-align: center; }
.cart-empty[hidden] { display: none; }
.cart-empty__icon { width: 64px; height: 64px; color: var(--blue); }
.cart-empty p { margin: 0; max-width: 20rem; color: var(--ink-2); font-weight: 600; }

.totals { display: grid; gap: .35rem; margin: 0; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--ink-2); font-weight: 600; }
.totals dd { margin: 0; font-weight: 700; }
.totals__grand { margin-top: .35rem; padding-top: .55rem; border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.totals__grand dt, .totals__grand dd { color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0; }
@media (max-width: 380px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: .3rem; font-weight: 700; font-size: .88rem; }
.field em { color: var(--muted); font-style: normal; font-weight: 600; }
.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 0 .8rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
}

/* Product modal */
.modal {
  width: min(980px, 100% - 2rem);
  max-height: min(92dvh, 900px);
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}
.modal[open] { animation: pop-in .32s var(--ease-pop); }
.modal__close { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 3; }
.modal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
@media (max-width: 760px) { .modal__grid { grid-template-columns: minmax(0, 1fr); } }
.modal__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 2rem;
  border-inline-end: 2px solid var(--ink);
  background-color: color-mix(in srgb, var(--c1) 14%, var(--cream));
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
}
@media (max-width: 760px) { .modal__media { min-height: 300px; border-inline-end: 0; border-bottom: 2px solid var(--ink); } }
.modal__media .bag { width: min(62%, 280px); }
.modal__media.has-photo { padding: 0; }
.modal__media .photo { width: 100%; height: 100%; object-fit: cover; }
.modal__info { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.modal__by { margin: 0; color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.modal__title { margin: 0; padding-inline-end: 3rem; font-family: var(--font-latin); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.05; }
.modal__tagline { margin: -.4rem 0 0; color: var(--muted); font-weight: 700; }
.modal__price { margin: 0; color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.modal__desc { margin: 0; color: var(--ink-2); font-size: 1.05rem; }

.notes { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.notes li {
  padding: .35rem .85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c1) 20%, var(--paper));
  font-weight: 700;
  font-size: .9rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  text-align: center;
}
.specs div { padding: .7rem .5rem; }
.specs div + div { border-inline-start: 2px solid var(--blue); }
.specs dt { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .specs dt { text-transform: none; letter-spacing: 0; }
.specs dd { margin: 0; color: var(--blue); font-family: var(--font-display); font-weight: 700; }

.modal__buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .4rem; }
.modal__buy .btn { flex: 1; min-width: 200px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: calc(100% - 2rem);
  padding: .55rem .55rem .55rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
  transform: translate(-50%, 160%);
  visibility: hidden;
  transition: transform .4s var(--ease-pop), visibility 0s .4s;
}
[dir="rtl"] .toast { padding: .55rem 1.1rem .55rem .55rem; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease-pop); }
.toast .ic { color: var(--yellow); }
.toast button {
  min-height: 40px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- WhatsApp: header button + floating button on every screen ---------- */
.wa-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.wa-btn .ic { width: 26px; height: 26px; }

.wa-float {
  position: fixed;
  z-index: 90;
  inset-inline-end: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 60px;
  padding: 0 1.2rem 0 .95rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #25D366;
  color: #06361B;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
[dir="rtl"] .wa-float { padding: 0 .95rem 0 1.2rem; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.wa-float .ic { width: 32px; height: 32px; color: #fff; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  animation: wa-pulse 2.8s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
/* The floating button covers phones; keep the header from crowding */
@media (max-width: 480px) { .wa-btn { display: none; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.72) rotate(18deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(4deg) translateY(-4px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__facts { justify-content: center; }
  .hero__visual { min-height: 0; max-width: 500px; width: 100%; margin-inline: auto; }
  .corner--bl { display: none; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; }
  .hero__facts li { padding-inline: .9rem; }
  .hero__facts strong { font-size: 1.3rem; }
  .hero__facts span { font-size: .82rem; }
  .announce { font-size: .82rem; }
  .lang-btn { padding: 0 .8rem; }
}
