/* =========================================================
   Kaboly Roasteries — محامص كابولي
   Brand palette derived from the logo red (#CF152D)
   ========================================================= */
:root {
  --red: #CF152D;
  --red-600: #B31126;
  --red-700: #8E0D1E;
  --red-900: #4A0710;
  --red-50: #FDF1F2;
  --gold: #E8B04B;
  --cream: #FBF6EF;
  --cream-2: #F4EBDD;
  --espresso: #2A1A14;
  --ink: #1E1715;
  --muted: #6E605A;
  --line: #EADFD2;
  --white: #FFFFFF;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(74, 7, 16, .25);
  --shadow-lg: 0 30px 60px -20px rgba(74, 7, 16, .35);
  --font: "Tajawal", system-ui, sans-serif;
  --font-display: "Readex Pro", "Tajawal", sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip also blocks programmatic/trackpad horizontal scrolling */
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 .5em; color: var(--espresso); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(207, 21, 45, .6); }
.btn--primary:hover { background: var(--red-600); }
.btn--light { background: #fff; color: var(--red); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
html[dir="ltr"] .careers .btn .ico, html[dir="ltr"] .promo__link .ico { transform: scaleX(-1); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  color: var(--red); background: var(--red-50);
  padding: .3em 1em; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.14); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.25); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 4px 14px -6px rgba(207,21,45,.6); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); }
.brand__text small { font-size: .78rem; color: var(--muted); letter-spacing: .06em; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: .5em .9em; border-radius: 999px; font-weight: 500; color: var(--espresso);
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.is-active { background: var(--red-50); color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1.5px solid var(--line); background: #fff; color: var(--espresso);
  border-radius: 999px; padding: .45em .9em; font-weight: 700; font-size: .85rem;
  font-family: var(--font-display);
}
.lang:hover { border-color: var(--red); color: var(--red); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--red-50); border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--red); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(74,7,16,.55), transparent 60%),
    linear-gradient(135deg, var(--red) 0%, var(--red-600) 55%, var(--red-700) 100%);
  padding: clamp(56px, 8vw, 110px) 0 clamp(90px, 11vw, 150px);
}
.hero__pattern {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cellipse cx='20' cy='20' rx='7' ry='10' transform='rotate(35 20 20)'/%3E%3Cpath d='M16 14q4 6 8 12' /%3E%3Cellipse cx='60' cy='60' rx='7' ry='10' transform='rotate(-35 60 60)'/%3E%3Cpath d='M64 54q-4 6-8 12'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: .35em; }
.hero__title em { font-style: normal; color: var(--gold); position: relative; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; opacity: .92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats li {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 12px 18px; min-width: 140px;
  display: flex; flex-direction: column;
}
.hero__stats strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; direction: ltr; text-align: start; }
html[dir="rtl"] .hero__stats strong { text-align: right; }
.hero__stats span { font-size: .88rem; opacity: .85; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.hero__badge {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.2), rgba(255,255,255,.04) 70%);
  border: 2px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
  box-shadow: inset 0 0 60px rgba(0,0,0,.15), 0 40px 80px -30px rgba(0,0,0,.5);
  animation: float 7s ease-in-out infinite;
}
.hero__badge::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.22); animation: spin 60s linear infinite;
}
.hero__badge img { width: 72%; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }
.orbit {
  position: absolute; width: 70px; height: 70px; border-radius: 22px;
  background: #fff; color: var(--red); display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.orbit svg { width: 36px; height: 36px; }
.orbit--1 { top: 4%; inset-inline-start: 14%; animation-delay: -1s; }
.orbit--2 { top: 22%; inset-inline-end: 0; animation-delay: -2.5s; }
.orbit--3 { bottom: 10%; inset-inline-start: 4%; animation-delay: -4s; }
.orbit--4 { bottom: 2%; inset-inline-end: 18%; animation-delay: -3s; background: var(--gold); color: var(--red-900); }
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: #fff; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: #fff; border-block: 1px solid var(--line); padding: 16px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--espresso); }
.marquee__track i { color: var(--red); font-style: normal; }
@keyframes marquee { to { transform: translateX(50%); } }
html[dir="ltr"] .marquee__track { animation-name: marquee-ltr; }
@keyframes marquee-ltr { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 70px) 0; }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card::after {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px;
  border-radius: 50%; background: var(--red-50); transition: transform .4s ease; z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scale(1.6); }
.card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--red); color: #fff; margin-bottom: 20px;
  box-shadow: 0 10px 20px -10px rgba(207,21,45,.7);
}
.card__icon svg { width: 34px; height: 34px; }
.card h3 { margin-bottom: .2em; }
.card__tag { color: var(--red); font-weight: 700; font-size: .95rem; margin-bottom: .7em; }
.card p:last-child { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__frame {
  border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(-3deg); max-width: 460px; margin-inline: auto;
}
html[dir="ltr"] .about__frame { transform: rotate(3deg); }
.about__chip {
  position: absolute; bottom: 8%; inset-inline-end: 0;
  background: #fff; color: var(--red); border-radius: 999px; padding: 12px 20px;
  font-weight: 700; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow);
}
.about__copy > p { color: var(--muted); font-size: 1.08rem; }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.features__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.features__ico svg { width: 22px; height: 22px; }
.features strong { display: block; font-family: var(--font-display); color: var(--espresso); }
.features span { font-size: .92rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Promos ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 4vw, 44px);
  color: #fff; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s ease, box-shadow .3s;
}
.promo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo--red { background: linear-gradient(135deg, var(--red), var(--red-700)); }
.promo--dark { background: linear-gradient(135deg, #3A241B, var(--espresso)); }
.promo h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); max-width: 80%; }
.promo p { opacity: .85; max-width: 75%; }
.promo__label { position: absolute; top: 24px; inset-inline-start: 24px; background: var(--gold); color: var(--red-900); font-weight: 800; font-size: .85rem; padding: .3em 1em; border-radius: 999px; }
.promo__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.promo__art { position: absolute; inset-inline-end: -20px; top: 30px; width: 180px; height: 180px; color: rgba(255,255,255,.12); transform: rotate(-12deg); transition: transform .5s ease; }
.promo:hover .promo__art { transform: rotate(0) scale(1.08); }

/* ---------- Branches ---------- */
.branches {
  display: grid; grid-template-columns: 400px 1fr; gap: 0;
  background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); height: 640px;
}
.branches__panel { display: flex; flex-direction: column; padding: 22px; border-inline-end: 1px solid var(--line); min-height: 0; }
.branches__tools { display: flex; gap: 10px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); transition: border-color .2s; }
.search:focus-within { border-color: var(--red); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; padding: 10px 0; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .3em .9em; font-size: .88rem; font-weight: 600; color: var(--espresso); transition: all .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.branches__count { font-size: .88rem; color: var(--muted); margin: 6px 2px 8px; }
.branch-list { list-style: none; margin: 0; padding: 0 0 0 4px; overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
html[dir="rtl"] .branch-list { padding: 0 0 0 4px; }
.branch {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; cursor: pointer;
  transition: background .2s; border: 1.5px solid transparent;
}
.branch:hover { background: var(--cream); }
.branch.is-active { background: var(--red-50); border-color: rgba(207,21,45,.25); }
.branch__pin { width: 40px; height: 40px; border-radius: 12px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.branch.is-active .branch__pin { background: var(--red); color: #fff; }
.branch__pin svg { width: 20px; height: 20px; }
.branch__info { flex: 1; min-width: 0; line-height: 1.4; }
.branch__info strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--espresso); }
.branch__info small { color: var(--muted); font-size: .85rem; }
.branch__go {
  display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700;
  color: var(--red); padding: .4em .8em; border-radius: 999px; border: 1.5px solid rgba(207,21,45,.25);
  transition: background .2s, color .2s;
}
.branch__go:hover { background: var(--red); color: #fff; }
.branch__go svg { width: 14px; height: 14px; }
.branch-empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.branches__map { position: relative; min-height: 0; }
#map { position: absolute; inset: 0; background: var(--cream-2); }
#map .leaflet-tile-pane { filter: saturate(.55) sepia(.12); }
.leaflet-container { font-family: var(--font); }
.kpin { width: 34px; height: 44px; }
.kpin svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.kpin.is-active svg { transform: scale(1.25); transform-origin: bottom center; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 14px 16px; text-align: center; font-size: .95rem; }
.leaflet-popup-content strong { font-family: var(--font-display); color: var(--red); display: block; font-size: 1.05rem; }
.leaflet-popup-content a.btn { margin-top: 8px; color: #fff; font-size: .85rem; padding: .45em 1em; }
.user-dot { width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); }

/* ---------- App ---------- */
.app-section {
  background: linear-gradient(135deg, var(--red-700), var(--red) 70%);
  color: #fff; position: relative; overflow: hidden;
}
.app-section::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -200px; inset-inline-start: -150px;
}
.app { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.app h2 { color: #fff; }
.app p { opacity: .9; font-size: 1.1rem; max-width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff;
  padding: 10px 22px 10px 22px; border-radius: 16px; transition: transform .2s, background .2s; border: 1px solid rgba(255,255,255,.15);
}
.store:hover { transform: translateY(-3px); background: #000; }
.store .ico { width: 30px; height: 30px; }
.store span { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.store small { font-size: .75rem; opacity: .75; }
.store strong { font-family: var(--font-display); font-size: 1.15rem; direction: ltr; }
.app__phone { justify-self: center; }
.phone {
  width: 250px; height: 500px; border-radius: 44px; background: #120b09; padding: 12px;
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.6), inset 0 0 0 2px #3a2a25;
  transform: rotate(-6deg); position: relative;
}
html[dir="ltr"] .phone { transform: rotate(6deg); }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: #120b09; border-radius: 999px; z-index: 2; }
.phone__screen { height: 100%; border-radius: 34px; background: linear-gradient(180deg, var(--red) 0%, var(--red-600) 45%, var(--cream) 45%); padding: 56px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone__screen img { width: 130px; }
.phone__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 18px; }
.phone__rows span { aspect-ratio: 1.2; background: #fff; border-radius: 14px; display: grid; place-items: center; color: var(--red); box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.phone__rows svg { width: 32px; height: 32px; }
.phone__bar { width: 100%; height: 12px; border-radius: 6px; background: var(--line); }
.phone__bar--short { width: 60%; }

/* ---------- Careers ---------- */
.careers {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--cream); border: 2px dashed rgba(207,21,45,.25); border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
}
.careers h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.careers p { color: var(--muted); margin: 0; max-width: 600px; }

/* ---------- Socials ---------- */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social {
  --c: var(--red);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px;
  align-items: center; background: #fff; border-radius: 20px; padding: 20px 22px;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.social svg { grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--c); color: #fff; }
.social strong { font-family: var(--font-display); color: var(--espresso); line-height: 1.3; }
.social span { color: var(--muted); font-size: .9rem; line-height: 1.3; }
html[dir="rtl"] .social span[dir="ltr"] { text-align: right; }
.social:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.social--wa, .social--ch { --c: #25D366; }
.social--ig { --c: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.social--ig svg { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.social--fb { --c: #1877F2; }
.social--tt { --c: #111; }
.social--sc { --c: #FFFC00; }
.social--sc svg { color: #111; }

/* ---------- Footer ---------- */
.footer { background: var(--red-900); color: rgba(255,255,255,.8); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .88rem; }
.footer__bottom p { margin: 0; text-align: center; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .branches { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1440px) {
  .nav { gap: 0; }
  .nav a { padding: .5em .7em; font-size: .96rem; }
  .header__inner { gap: 16px; }
}
@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0; flex-direction: column; gap: 4px;
    background: #fff; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .8em 1em; font-size: 1.05rem; }
  .header__actions { margin-inline-start: auto; }
}
@media (max-width: 960px) {
  .hide-sm { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
  html[dir="rtl"] .hero__stats strong, .hero__stats strong { text-align: center; }
  .hero__visual { max-width: 340px; order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; margin-inline: auto; }
  .branches { grid-template-columns: 1fr; height: auto; }
  .branches__panel { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .branch-list { max-height: 360px; }
  .branches__map { height: 380px; }
  .app { grid-template-columns: 1fr; text-align: center; }
  .app p { margin-inline: auto; }
  .stores { justify-content: center; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .brand img { width: 44px; height: 44px; }
  .brand__text small { display: none; }
  .cards, .promos, .socials, .features { grid-template-columns: 1fr; }
  .hero__stats li { min-width: 0; flex: 1 1 40%; }
  .promo h3, .promo p { max-width: 100%; }
  .branches__tools { flex-wrap: wrap; }
  .branches__tools .btn { flex: 1; justify-content: center; }
  .careers { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .orbit { width: 54px; height: 54px; border-radius: 16px; }
  .orbit svg { width: 28px; height: 28px; }
  .app__phone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
