/* ==========================================================================
   AcademyLab Mobile Application — Premium Product Page
   Scoped to .map-page so no other AcademyLab page or component is affected.
   ========================================================================== */

.map-page {
  --map-green: #024430;
  --map-green-deep: #013127;
  --map-emerald: #068a5f;
  --map-emerald-bright: #06d6a0;
  --map-mint: #bff2d9;
  --map-mint-soft: #eef8f2;
  --map-page-bg: #f7fcfa;
  --map-surface: #ffffff;
  --map-surface-2: #f2f9f5;
  --map-ink: #0c2620;
  --map-text: #243a33;
  --map-muted: #557068;
  --map-line: rgba(2, 68, 48, .12);
  --map-line-strong: rgba(2, 68, 48, .22);
  --map-shadow: 0 18px 44px rgba(2, 68, 48, .10);
  --map-shadow-soft: 0 10px 28px rgba(2, 68, 48, .08);
  --map-radius: 22px;
  --map-radius-sm: 14px;
  color: var(--map-text);
  background: var(--map-page-bg);
  overflow: hidden;
}

body.dark-mode .map-page {
  --map-green: #6fd8b7;
  --map-emerald: #4fc79a;
  --map-emerald-bright: #06d6a0;
  --map-mint: #6fd8b7;
  --map-mint-soft: #0d1f19;
  --map-page-bg: #071b17;
  --map-surface: #101b18;
  --map-surface-2: #0b1713;
  --map-ink: #f2f7f4;
  --map-text: #d8e9e2;
  --map-muted: #a8c4ba;
  --map-line: rgba(111, 216, 183, .16);
  --map-line-strong: rgba(111, 216, 183, .30);
  --map-shadow: 0 18px 44px rgba(0, 0, 0, .36);
  --map-shadow-soft: 0 10px 28px rgba(0, 0, 0, .28);
}

.map-page * { box-sizing: border-box; }
.map-page a { text-decoration: none; }
.map-page img { max-width: 100%; }

.map-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.map-section { padding: 100px 0; position: relative; }
.map-section--tint { background: var(--map-surface-2); }

.map-section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.map-section__head--left { margin-left: 0; text-align: left; }

.map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 11px;
  border: 1px solid var(--map-line-strong);
  border-radius: 999px;
  background: rgba(191, 242, 217, .42);
  color: #025c3f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
body.dark-mode .map-eyebrow { background: rgba(6, 138, 95, .22); color: var(--map-mint); }
.map-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--map-emerald); box-shadow: 0 0 0 4px rgba(6, 214, 160, .18); }

.map-title {
  margin: 20px 0 0;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--map-ink);
}
.map-title__accent { color: var(--map-emerald); }
body.dark-mode .map-title__accent { color: var(--map-mint); }

.map-lead {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--map-muted);
}
body.dark-mode .map-lead { color: var(--map-muted); }

.map-rule { width: 52px; height: 4px; border-radius: 99px; background: var(--map-emerald); margin: 18px 0 0; }

/* --------------------------------------------------------------------------
   Shared buttons
   -------------------------------------------------------------------------- */
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}
.map-btn:hover { transform: translateY(-2px); }
.map-btn:focus-visible { outline: 3px solid rgba(111, 216, 183, .6); outline-offset: 3px; }
.map-btn--primary { background: var(--map-green); color: #fffdf9; box-shadow: 0 12px 26px rgba(2, 68, 48, .24); }
body.dark-mode .map-btn--primary { background: var(--map-emerald); color:#04231a; }
.map-btn--primary:hover { box-shadow: 0 16px 32px rgba(2, 68, 48, .32); color: #fffdf9; }
body.dark-mode .map-btn--primary:hover { color:#04231a; }
.map-btn--ghost { background: var(--map-surface); color: var(--map-ink); border-color: var(--map-line-strong); }
.map-btn--ghost:hover { box-shadow: var(--map-shadow-soft); color: var(--map-ink); }
.map-btn__icon { display: inline-flex; }
.map-btn__icon svg, .map-btn > svg { width: 20px; height: 20px; flex: 0 0 20px; }
.map-btn.is-soon { cursor: default; opacity: .72; border-style: dashed; box-shadow: none; }
.map-btn.is-soon:hover { transform: none; box-shadow: none; }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--map-emerald);
  font-size: 15px;
  font-weight: 700;
}
.map-link:hover { color: var(--map-green); }
body.dark-mode .map-link:hover { color: var(--map-mint); }
.map-link svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Section 1 — Hero
   -------------------------------------------------------------------------- */
.map-hero {
  position: relative;
  padding: 86px 0 108px;
  background:
    radial-gradient(ellipse 62% 70% at 88% 12%, rgba(6, 214, 160, .16), transparent 70%),
    radial-gradient(ellipse 48% 60% at 4% 88%, rgba(191, 242, 217, .55), transparent 70%),
    var(--map-page-bg);
}
body.dark-mode .map-hero {
  background:
    radial-gradient(ellipse 62% 70% at 88% 12%, rgba(6, 214, 160, .10), transparent 70%),
    radial-gradient(ellipse 48% 60% at 4% 88%, rgba(2, 68, 48, .32), transparent 70%),
    var(--map-page-bg);
}
.map-hero__dots {
  position: absolute; top: 38px; left: 2%;
  width: 190px; height: 120px;
  background-image: radial-gradient(rgba(6, 138, 95, .30) 2px, transparent 2px);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 76%);
  mask-image: linear-gradient(135deg, #000, transparent 76%);
  pointer-events: none;
}
.map-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 48px;
  align-items: center;
}
.map-hero__copy { position: relative; z-index: 3; }
.map-hero .map-title { font-size: clamp(40px, 4vw, 62px); max-width: 640px; }
.map-hero .map-lead { max-width: 590px; }
.map-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.map-hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.map-hero__meta-item { display: inline-flex; align-items: center; gap: 9px; color: var(--map-muted); font-size: 13px; font-weight: 600; }
.map-hero__meta-item svg { width: 18px; height: 18px; color: var(--map-emerald); }

.map-devices {
  position: relative;
  height: 540px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-devices__glow {
  position: absolute; left: 4%; right: 0; bottom: 2%;
  height: 46%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(2, 68, 48, .32) 0%, rgba(6, 138, 95, .20) 46%, transparent 74%);
  filter: blur(4px);
}
.map-phone {
  position: absolute;
  width: 248px; height: 508px;
  padding: 8px;
  border-radius: 44px;
  background: linear-gradient(150deg, #52635e 0%, #0e1a17 34%, #1d2b26 68%, #4c5d58 100%);
  box-shadow: 0 30px 60px rgba(2, 35, 25, .36), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.map-phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fffdf9;
}
.map-phone__notch {
  position: absolute; top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 82px; height: 22px;
  border-radius: 999px;
  background: #0b1513;
  z-index: 6;
}
.map-phone--app { transform: translate(-12%, 4%) rotate(-6deg); z-index: 4; }
.map-phone--brand { transform: translate(26%, -7%) rotate(8deg); z-index: 3; }
.map-phone__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.map-brand-screen {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 30px 18px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 38%, #076347 0%, #034430 48%, #012d21 100%);
  color: #f2f7f4;
  overflow: hidden;
}
.map-brand-screen::after {
  content: ""; position: absolute; bottom: -28%; left: -40%;
  width: 180%; height: 58%; border-radius: 50% 50% 0 0;
  background: linear-gradient(160deg, rgba(6, 214, 160, .18), rgba(2, 68, 48, .6));
  transform: rotate(-14deg);
}
.map-brand-screen__logo { width: 120px; max-width: 80%; height: auto; position: relative; z-index: 2; filter: brightness(0) invert(1); opacity: .95; }
.map-brand-screen__mark {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: var(--map-mint);
}
.map-brand-screen__mark svg { width: 44px; height: 44px; }
.map-brand-screen__name { position: relative; z-index: 2; margin-top: 18px; font-size: 23px; font-weight: 800; letter-spacing: -.03em; color: #fffdf9; }
.map-brand-screen__tag { position: relative; z-index: 2; margin-top: 8px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--map-mint); }
.map-float {
  position: absolute; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--map-surface);
  box-shadow: var(--map-shadow);
  color: var(--map-emerald);
}
.map-float svg { width: 30px; height: 30px; }
.map-float--one { top: 9%; right: 0; }
.map-float--two { bottom: 16%; left: -2%; color: var(--map-green); }
body.dark-mode .map-float--two { color: var(--map-mint); }

/* --------------------------------------------------------------------------
   Section 2 — Value cards
   -------------------------------------------------------------------------- */
.map-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.map-value {
  background: var(--map-surface);
  border: 1px solid var(--map-line);
  border-radius: var(--map-radius);
  padding: 34px 30px;
  box-shadow: var(--map-shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease;
}
.map-value:hover { transform: translateY(-5px); box-shadow: var(--map-shadow); }
.map-value__icon {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--map-mint-soft);
  color: var(--map-emerald);
}
.map-value__icon svg { width: 27px; height: 27px; }
.map-value h3 { margin: 22px 0 0; font-size: 20px; font-weight: 800; color: var(--map-ink); letter-spacing: -.02em; }
.map-value p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--map-muted); }

/* --------------------------------------------------------------------------
   Section 3 — Screenshot gallery
   -------------------------------------------------------------------------- */
.map-gallery-shell { position: relative; }
.map-gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 8px 4px 26px;
}
.map-gallery::-webkit-scrollbar { height: 7px; }
.map-gallery::-webkit-scrollbar-thumb { background: var(--map-line-strong); border-radius: 99px; }
.map-shot { flex: 0 0 232px; scroll-snap-align: center; }
.map-shot__screen {
  position: relative;
  height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background: #fffdf9;
  border: 7px solid #15241f;
  box-shadow: var(--map-shadow);
}
.map-shot__screen::after {
  content: ""; position: absolute; top: 9px; left: 50%;
  transform: translateX(-50%); width: 58px; height: 15px;
  border-radius: 999px; background: #0b1513; z-index: 3;
}
.map-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.map-shot--top .map-shot__img { transform: scale(1.85); transform-origin: 50% 8%; }
.map-shot--middle .map-shot__img { transform: scale(1.85); transform-origin: 50% 48%; }
.map-shot--bottom .map-shot__img { transform: scale(1.85); transform-origin: 50% 92%; }
.map-shot__caption { margin: 16px 2px 0; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--map-ink); text-align: center; }
.map-shot__tag { display: block; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--map-emerald); text-align: center; }
.map-gallery__nav { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.map-gallery__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--map-line-strong);
  background: var(--map-surface); color: var(--map-ink);
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.map-gallery__btn:hover { background: var(--map-mint-soft); transform: translateY(-2px); }
.map-gallery__btn svg { width: 19px; height: 19px; }
.map-note { margin: 30px auto 0; max-width: 820px; text-align: center; font-size: 13px; line-height: 1.65; color: var(--map-muted); }

/* --------------------------------------------------------------------------
   Section 4 — Feature grid
   -------------------------------------------------------------------------- */
.map-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.map-feature {
  position: relative;
  background: var(--map-surface);
  border: 1px solid var(--map-line);
  border-radius: var(--map-radius-sm);
  padding: 26px 22px;
  box-shadow: var(--map-shadow-soft);
  transition: border-color .25s ease, transform .25s ease;
}
.map-feature:hover { border-color: var(--map-line-strong); transform: translateY(-3px); }
.map-feature__icon { display: inline-flex; color: var(--map-emerald); }
.map-feature__icon svg { width: 26px; height: 26px; }
.map-feature h3 { margin: 18px 0 0; font-size: 16px; font-weight: 800; color: var(--map-ink); letter-spacing: -.01em; }
.map-feature p { margin: 9px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--map-muted); }
.map-feature__cat { display: inline-block; margin-top: 14px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--map-emerald); }
.map-availability {
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 900px; margin: 40px auto 0;
  padding: 18px 22px; border-radius: 14px;
  background: var(--map-mint-soft); border: 1px solid var(--map-line);
  font-size: 13px; line-height: 1.6; color: var(--map-muted);
}
.map-availability svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--map-emerald); margin-top: 1px; }

/* --------------------------------------------------------------------------
   Section 5 — Steps
   -------------------------------------------------------------------------- */
.map-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: mapstep; }
.map-step { position: relative; text-align: center; padding: 0 12px; }
.map-step:not(:last-child)::after {
  content: ""; position: absolute; top: 39px; left: calc(50% + 52px); right: calc(-50% + 52px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--map-line-strong) 0 8px, transparent 8px 15px);
}
.map-step__num {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 78px; height: 78px; margin: 0 auto;
  border-radius: 24px;
  background: var(--map-surface); border: 1px solid var(--map-line);
  box-shadow: var(--map-shadow-soft);
  color: var(--map-emerald);
}
.map-step__num svg { width: 34px; height: 34px; }
.map-step__badge {
  position: absolute; top: -8px; right: -8px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--map-emerald); color: #fff;
  font-size: 13px; font-weight: 800;
}
.map-step h3 { margin: 24px 0 0; font-size: 18px; font-weight: 800; color: var(--map-ink); }
.map-step p { margin: 10px auto 0; max-width: 280px; font-size: 14px; line-height: 1.65; color: var(--map-muted); }

/* --------------------------------------------------------------------------
   Section 6 — Download
   -------------------------------------------------------------------------- */
.map-download {
  position: relative;
  background:
    radial-gradient(ellipse 60% 90% at 88% 10%, rgba(6, 214, 160, .18), transparent 70%),
    linear-gradient(135deg, #024430 0%, #023a29 48%, #012d21 100%);
  color: #eafaf2;
  overflow: hidden;
}
.map-download::before {
  content: ""; position: absolute; top: -20%; right: -6%;
  width: 46%; height: 150%; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 214, 160, .12), transparent 62%);
  pointer-events: none;
}
.map-download__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.map-download .map-eyebrow { background: rgba(6, 214, 160, .14); border-color: rgba(111, 216, 183, .3); color: var(--map-mint); }
.map-download .map-title { color: #f7fffb; }
.map-download .map-lead { color: #bcd9cd; }
.map-download__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.map-store {
  position: relative;
  display: inline-flex; align-items: center; gap: 13px;
  min-width: 224px; min-height: 74px;
  padding: 12px 18px; border-radius: 17px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(111, 216, 183, .34);
  color: #fffdf9;
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.map-store:hover { background: rgba(255, 255, 255, .15); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .22); color: #fffdf9; }
.map-store:focus-visible { outline: 3px solid rgba(111, 216, 183, .7); outline-offset: 3px; }
.map-store.is-soon { cursor: default; border-style: dashed; opacity: .72; }
.map-store.is-soon:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .08); }
.map-store__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; color: var(--map-mint); }
.map-store__icon svg { width: 34px; height: 34px; }
.map-store__text { display: flex; flex-direction: column; line-height: 1.15; }
.map-store__text small { font-size: 11px; font-weight: 600; opacity: .8; }
.map-store__text strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.map-store > svg { width: 18px; height: 18px; margin-left: auto; opacity: .85; flex: 0 0 18px; }
.map-store__soon {
  position: absolute; top: -9px; right: 12px;
  padding: 3px 9px; border-radius: 999px;
  background: #ffd166; color: #3a2a06;
  font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.map-download__guide { margin: 22px 0 0; font-size: 13.5px; line-height: 1.65; color: #a9c9bc; max-width: 560px; }
.map-qr-card {
  display: flex; align-items: center; gap: 22px;
  padding: 24px; border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .24);
  color: #0c2620;
  max-width: 420px;
  margin-left: auto;
}
.map-qr-card__tile {
  flex: 0 0 122px; width: 122px; height: 122px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px; background: #fff; border-radius: 14px;
  border: 2px solid rgba(2, 68, 48, .16);
}
.map-qr-card__tile img, .map-qr-card__svg { display: block; width: 100%; height: 100%; }
.map-qr-card__svg svg { width: 100% !important; height: 100% !important; }
.map-qr-card__copy strong { display: block; font-size: 17px; font-weight: 800; }
.map-qr-card__copy span { display: block; margin-top: 7px; font-size: 13px; line-height: 1.6; color: #557068; word-break: break-word; }
.map-download__platforms { display: flex; gap: 12px; margin-top: 20px; }
.map-platform {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(111, 216, 183, .3);
  font-size: 13px; font-weight: 700; color: #eafaf2;
}
.map-platform svg { width: 18px; height: 18px; color: var(--map-mint); }

/* --------------------------------------------------------------------------
   Section 7 — Why MultiLab Creatives
   -------------------------------------------------------------------------- */
.map-why__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.map-brandmark { display: inline-flex; align-items: center; gap: 12px; }
.map-brandmark__mark {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(140deg, #024430, #068a5f);
  color: var(--map-mint);
  box-shadow: 0 10px 20px rgba(2, 68, 48, .22);
}
.map-brandmark__mark svg { width: 26px; height: 26px; }
.map-brandmark__name { font-size: 20px; font-weight: 800; color: var(--map-ink); letter-spacing: -.02em; }
.map-brandmark__tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--map-emerald); margin-top: 2px; }
.map-why__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.map-service {
  background: var(--map-surface);
  border: 1px solid var(--map-line);
  border-radius: var(--map-radius-sm);
  padding: 22px;
  box-shadow: var(--map-shadow-soft);
}
.map-service__icon { display: inline-flex; color: var(--map-emerald); }
.map-service__icon svg { width: 25px; height: 25px; }
.map-service h3 { margin: 14px 0 0; font-size: 15.5px; font-weight: 800; color: var(--map-ink); }
.map-service p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--map-muted); }
.map-stack {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--map-line);
}
.map-stack__item { position: relative; padding: 24px; border-radius: 16px; background: var(--map-surface-2); border: 1px solid var(--map-line); }
.map-stack__item:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: -19px; transform: translateY(-50%);
  z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--map-surface); border: 1px solid var(--map-line-strong);
  color: var(--map-emerald); font-weight: 800; font-size: 14px;
}
.map-stack__role { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--map-emerald); }
.map-stack__item h4 { margin: 10px 0 0; font-size: 17px; font-weight: 800; color: var(--map-ink); }
.map-stack__item p { margin: 9px 0 0; font-size: 13px; line-height: 1.6; color: var(--map-muted); }
.map-ip-note { margin: 26px auto 0; max-width: 920px; text-align: center; font-size: 12.5px; line-height: 1.7; color: var(--map-muted); }
.map-ip-note svg { display: inline-block; width: 17px; height: 17px; vertical-align: -4px; margin-right: 5px; color: var(--map-emerald); }
.map-why__cta { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Section 8 — FAQ
   -------------------------------------------------------------------------- */
.map-faq { max-width: 900px; margin: 0 auto; }
.map-faq__item {
  background: var(--map-surface);
  border: 1px solid var(--map-line);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: var(--map-shadow-soft);
  overflow: hidden;
}
.map-faq__item[open] { border-color: var(--map-line-strong); }
.map-faq__item summary {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; color: var(--map-ink);
}
.map-faq__item summary::-webkit-details-marker { display: none; }
.map-faq__qicon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--map-mint-soft); color: var(--map-emerald); font-size: 15px; font-weight: 800; }
.map-faq__toggle { margin-left: auto; flex: 0 0 24px; width: 24px; height: 24px; position: relative; color: var(--map-emerald); }
.map-faq__toggle::before, .map-faq__toggle::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.map-faq__toggle::before { width: 14px; height: 2px; }
.map-faq__toggle::after { width: 2px; height: 14px; transition: transform .2s ease; }
.map-faq__item[open] .map-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.map-faq__answer { padding: 0 22px 22px 70px; margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--map-muted); }

/* --------------------------------------------------------------------------
   Section 9 — Final conversion
   -------------------------------------------------------------------------- */
.map-final {
  position: relative;
  background:
    radial-gradient(ellipse 52% 80% at 12% 20%, rgba(6, 214, 160, .16), transparent 70%),
    linear-gradient(135deg, #013127 0%, #024430 55%, #023727 100%);
  color: #eafaf2;
  text-align: center;
  padding: 96px 0;
}
.map-final__inner { max-width: 780px; margin: 0 auto; }
.map-final .map-title { color: #f7fffb; font-size: clamp(34px, 3.4vw, 48px); }
.map-final .map-lead { color: #bcd9cd; max-width: 640px; margin-left: auto; margin-right: auto; }
.map-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.map-final__actions .map-btn--ghost { background: rgba(255, 255, 255, .08); color: #fffdf9; border-color: rgba(111, 216, 183, .34); }
.map-final__actions .map-btn--ghost:hover { background: rgba(255, 255, 255, .15); color: #fffdf9; }
.map-final__brand { margin-top: 48px; padding-top: 34px; border-top: 1px solid rgba(111, 216, 183, .24); }
.map-final__brandmark { justify-content: center; }
.map-final__brandmark .map-brandmark__name { color: #fffdf9; }
.map-final__brandmark .map-brandmark__tag { color: var(--map-mint); }
.map-final__strap { margin-top: 18px; font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--map-mint); }
.map-final__logos { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.map-final__logo { max-height: 42px; width: auto; max-width: 172px; object-fit: contain; }
.map-final__logo--dark { filter: brightness(0) invert(1); opacity: .92; }
.map-final__sep { width: 1px; height: 34px; background: rgba(111, 216, 183, .3); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .map-hero__grid { gap: 28px; }
  .map-devices { transform: scale(.9); }
  .map-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .map-download__grid, .map-why__grid { gap: 36px; }
  .map-qr-card { padding: 18px; gap: 16px; }
  .map-qr-card__tile { flex-basis: 104px; width: 104px; height: 104px; }
}

@media (max-width: 991px) {
  .map-section { padding: 76px 0; }
  .map-hero { padding: 64px 0 78px; }
  .map-hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .map-hero__copy { max-width: 720px; }
  .map-devices { height: 470px; transform: scale(.94); }
  .map-grid-3, .map-steps { grid-template-columns: 1fr; }
  .map-grid-3 { gap: 16px; }
  .map-step:not(:last-child)::after { display: none; }
  .map-step { display: flex; align-items: center; text-align: left; gap: 22px; padding: 18px; background: var(--map-surface); border: 1px solid var(--map-line); border-radius: 16px; }
  .map-step__num { margin: 0; flex: 0 0 70px; width: 70px; height: 70px; }
  .map-step h3 { margin: 0; }
  .map-step p { margin: 6px 0 0; max-width: none; }
  .map-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-download__grid, .map-why__grid { grid-template-columns: 1fr; }
  .map-qr-card { margin-left: 0; max-width: 460px; }
  .map-stack { grid-template-columns: 1fr; }
  .map-stack__item:not(:last-child)::after { display: none; }
}

@media (max-width: 767px) {
  .map-wrap { padding: 0 18px; }
  .map-section { padding: 62px 0; }
  .map-section__head { margin-bottom: 38px; }
  .map-title { font-size: 32px; }
  .map-lead { font-size: 15.5px; }
  .map-hero { padding: 48px 0 66px; }
  .map-hero .map-title { font-size: 38px; }
  .map-hero__actions { flex-direction: column; align-items: stretch; }
  .map-hero__actions .map-btn { width: 100%; }
  .map-hero__meta { gap: 12px 18px; }
  .map-devices { height: 400px; transform: scale(.74); }
  .map-phone { width: 230px; height: 470px; }
  .map-float { width: 52px; height: 52px; }
  .map-float svg { width: 25px; height: 25px; }
  .map-shot { flex-basis: 208px; }
  .map-shot__screen { height: 386px; }
  .map-qr-card { flex-direction: column; align-items: flex-start; }
  .map-qr-card__tile { flex: 0 0 112px; width: 112px; height: 112px; }
  .map-store { flex: 1 1 100%; width: 100%; }
  .map-why__services { grid-template-columns: 1fr; }
  .map-faq__item summary { padding: 17px 16px; font-size: 15px; }
  .map-faq__answer { padding: 0 16px 18px 16px; }
  .map-final { padding: 72px 0; }
  .map-final__actions { flex-direction: column; }
  .map-final__actions .map-btn { width: 100%; }
}

@media (max-width: 480px) {
  .map-devices { height: 300px; transform: scale(.58); }
  .map-feature-grid { grid-template-columns: 1fr; }
  .map-hero__meta-item { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .map-page *, .map-page *::before, .map-page *::after { transition: none !important; }
  .map-value:hover, .map-feature:hover, .map-btn:hover, .map-store:hover, .map-gallery__btn:hover { transform: none; }
}
