/* ==========================================================================
   كابتن جمانة — مدربة قيادة سيدات في جدة
   Design system: tokens, layout primitives, components.
   Author: hand-written, no frameworks, no build step.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --brand-soft: #ccfbf1;
  --brand-ink: #115e59;
  --sand: #fef3c7;
  --amber: #d97706;
  --amber-ink: #92400e;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --dark: #1e293b;
  --dark-2: #0f172a;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 6px 16px -8px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.05), 0 18px 40px -22px rgba(15, 23, 42, 0.28);
  --shadow-brand: 0 10px 24px -12px rgba(13, 148, 136, 0.65);

  /* Shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Spacing rhythm */
  --gap: 20px;
  --section-y: clamp(56px, 9vw, 104px);
  --container: 1140px;

  /* Type */
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-h1: clamp(1.95rem, 1.35rem + 3.1vw, 3.35rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.6vw, 2.15rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.24;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-2);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-ink);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0 0 1em;
  padding-inline-start: 1.15em;
}

li {
  margin-bottom: 0.45em;
  color: var(--ink-2);
}

strong {
  font-weight: 600;
  color: var(--ink);
}

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(50%, -140%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(50%, 0);
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Grid and flex children must be allowed to shrink below their min-content
   width, otherwise Arabic button labels push a track past the viewport. */
.hero__grid > *,
.page-hero__grid > *,
.split > *,
.packages > *,
.steps > *,
.trust > *,
.areas > *,
.reviews-grid > *,
.mini-packages > *,
.related > *,
.footer__top > * {
  min-width: 0;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 64px);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 660px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.section__head h2 {
  margin-bottom: 0.45em;
}

.section__head p {
  font-size: 1.02rem;
  color: var(--ink-3);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: 16px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(13, 148, 136, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-ink);
  box-shadow: 0 12px 26px -16px rgba(2, 6, 23, 0.6);
}

.btn--light:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.9375rem;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgba(15, 23, 42, 0.5);
  background: rgba(255, 255, 255, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
  flex: none;
}

.brand__mark svg {
  width: 23px;
  height: 23px;
}

.brand__text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.3;
}

.nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav__links li {
  margin: 0;
}

.nav__links a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__links a:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.header-cta {
  display: none;
}

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

.nav__toggle .icon-close {
  display: none;
}

.nav[data-open="true"] .nav__toggle .icon-close {
  display: block;
}

.nav[data-open="true"] .nav__toggle .icon-menu {
  display: none;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  padding: 8px 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-menu[data-open="true"] {
  display: block;
  animation: slide-down 0.25s var(--ease);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.mobile-menu a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-start: 2px solid var(--line-strong);
  border-block-start: 2px solid var(--line-strong);
  transform: rotate(-45deg);
}

.mobile-menu .btn {
  margin-top: 16px;
  border-bottom: 0;
  color: #fff;
}

.mobile-menu .btn::after {
  content: none;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav__toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* Very narrow phones (320px): tighten the header so brand + action still fit. */
@media (max-width: 359px) {
  .site-header__inner {
    gap: 8px;
    min-height: 62px;
  }

  .brand {
    gap: 8px;
    font-size: 1rem;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .site-header .btn--sm {
    padding: 9px 12px;
    font-size: 0.8125rem;
  }

  .site-header .btn--sm svg {
    width: 17px;
    height: 17px;
  }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  inset-block-start: -160px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.22), transparent 68%);
}

.hero::after {
  width: 360px;
  height: 360px;
  inset-block-end: -180px;
  inset-inline-start: -140px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.16), transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 56px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-2);
}

.hero__badge b {
  color: var(--brand-ink);
  font-weight: 700;
}

.pulse {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.4);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero h1 .accent {
  color: var(--brand-ink);
  white-space: nowrap;
  padding-inline: 0.1em;
  border-radius: 5px;
  background-image: linear-gradient(90deg, rgba(204, 251, 241, 0.95), rgba(254, 243, 199, 0.95));
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 92%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.18rem);
  color: var(--ink-2);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__actions .btn {
  flex: 1 1 100%;
}

@media (min-width: 560px) {
  .hero__actions .btn {
    flex: 0 1 auto;
  }
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.hero__note svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
}

/* Hero proof panel (CSS only, keeps LCP text and zero image weight) */
.hero-panel {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  padding-block: 40px 44px;
}

.hero-panel__card {
  position: relative;
  z-index: 2;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-panel__logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}

.hero-panel__logo span {
  display: grid;
  place-items: center;
  height: 22px;
  padding-inline: 7px;
  border-radius: 6px;
  background: var(--dark-2);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}

.stars svg {
  width: 15px;
  height: 15px;
}

.hero-panel__quote {
  margin: 0 0 18px;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink);
  font-weight: 500;
}

.hero-panel__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 0.85rem;
  flex: none;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-inline-start: auto;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--sand);
  color: var(--amber-ink);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.verified-pill svg {
  width: 12px;
  height: 12px;
}

.hero-panel__chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: var(--r-md);
  background: var(--dark-2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 18px 34px -20px rgba(2, 6, 23, 0.9);
}

.hero-panel__chip b {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.hero-panel__chip svg {
  width: 22px;
  height: 22px;
  color: #5eead4;
  flex: none;
}

.hero-panel__chip--tl {
  inset-block-start: 0;
  inset-inline-start: -6px;
}

.hero-panel__chip--br {
  inset-block-end: 0;
  inset-inline-end: -4px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-panel__chip--br svg {
  color: var(--brand);
}

.hero-panel__chip--br b {
  color: var(--ink);
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(40px, 5vw, 72px);
  }

  .hero__actions .btn {
    flex: 0 0 auto;
  }
}

/* ---------- 7. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.stat {
  padding: 22px 14px;
  background: var(--surface);
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.stat__label {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 8. Trust strip ---------- */
.trust {
  display: grid;
  gap: 14px;
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.trust__item svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}

.trust__item h3 {
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 600;
}

.trust__item p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-3);
  line-height: 1.7;
}

@media (min-width: 760px) {
  .trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 9. Packages ---------- */
.packages {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.package:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.package--featured {
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.08), 0 26px 50px -30px rgba(13, 148, 136, 0.55);
}

.package__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-bottom: 16px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.package__tag svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.package--featured .package__tag {
  background: var(--brand);
  color: #fff;
}

.package__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--brand-ink);
}

.package--featured .package__icon {
  background: var(--brand-soft);
  border-color: transparent;
}

.package__icon svg {
  width: 26px;
  height: 26px;
}

.package h3 {
  margin-bottom: 0.5em;
  font-size: 1.2rem;
  line-height: 1.45;
}

.package__desc {
  font-size: var(--fs-small);
  color: var(--ink-3);
  margin-bottom: 20px;
}

.package__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.package__list li {
  position: relative;
  padding-inline-start: 28px;
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--ink-2);
}

.package__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

.package__cta {
  margin-top: auto;
}

.package__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--ink-3);
  justify-content: center;
}

.package__meta svg {
  width: 13px;
  height: 13px;
  color: var(--brand);
}

@media (min-width: 880px) {
  .packages {
    grid-template-columns: repeat(3, 1fr);
  }

  .packages {
    align-items: start;
  }
}

/* ---------- 10. Steps ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal);
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 6px;
  /* leave room for the counter badge, which sits at the inline start (right in RTL) */
  padding-inline-start: 42px;
  font-size: 1.02rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-3);
  line-height: 1.75;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 11. Reviews showcase ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-btn .count {
  opacity: 0.65;
  font-size: 0.8em;
  margin-inline-start: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

/* Mixed screenshot ratios pack badly into fixed grid rows, so from tablet up
   the gallery becomes two balanced columns (masonry) that never crop an image.
   A horizontal snap-carousel was tried for phones and reverted: in RTL the
   scroll container does not reliably start on the first card, so a plain
   single-column list keeps all ten screenshots reachable and predictable.
   Swiping between screenshots is available in the lightbox. */
@media (min-width: 720px) {
  .reviews-grid {
    display: block;
    columns: 2;
    column-gap: 22px;
  }

  .reviews-grid .review-card {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.review-card[hidden] {
  display: none;
}

.review-card__screen {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px;
  aspect-ratio: var(--screen-ar, 4 / 3);
  border-radius: var(--r-md);
  background: var(--screen-bg, #f1f5f9);
  overflow: hidden;
}

.review-card__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  pointer-events: none;
}

.review-card__screen img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  background: #fff;
}

.review-card--dark {
  --screen-bg: #1e293b;
}

.review-card--dark .review-card__screen img {
  background: var(--dark);
}

.review-card__body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 6px 15px;
}

.review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: var(--sand);
  color: var(--amber-ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.5;
}

.review-card__badge svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.review-card__zoom {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-inline-start: auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.review-card__zoom:hover {
  color: var(--brand-ink);
  border-color: var(--brand);
}

.review-card__zoom svg {
  width: 13px;
  height: 13px;
}

.reviews__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  font-size: var(--fs-small);
  color: var(--ink-3);
  text-align: center;
}

.reviews__foot svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* ---------- 12. Lightbox ---------- */
.lightbox {
  width: min(920px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--dark-2);
  color: #fff;
  box-shadow: 0 40px 90px -40px rgba(2, 6, 23, 0.9);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(4px);
}

.lightbox__inner {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__title {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox__count {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}

.lightbox__actions {
  display: flex;
  gap: 6px;
  margin-inline-start: auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto;
  min-height: 0;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: calc(92vh - 150px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* ---------- 13. Areas ---------- */
.areas {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .areas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .areas {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.area-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.area-card svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}

.area-card small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.5;
}

.area-card__name {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.area-card::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border-inline-start: 2px solid var(--line-strong);
  border-block-start: 2px solid var(--line-strong);
  transform: rotate(-135deg);
  flex: none;
}

/* ---------- 14. FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.faq__item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: none;
  margin-inline-start: auto;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(135deg);
}

.faq__answer {
  padding: 0 20px 20px;
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.85;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 64px) clamp(22px, 4vw, 54px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--dark-2) 0%, #134e4a 55%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset-block-start: -60%;
  inset-inline-end: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.22), transparent 65%);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 44em;
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta-band__actions .btn {
  flex: 1 1 220px;
  max-width: 300px;
}

/* ---------- 16. Footer ---------- */
.footer {
  padding-block: clamp(48px, 7vw, 72px) 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer__about p {
  font-size: var(--fs-small);
  color: var(--ink-3);
  max-width: 36em;
}

.footer__heading {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer__links li {
  margin: 0;
}

.footer__links a {
  font-size: var(--fs-small);
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--brand-ink);
}

.footer__contact {
  display: grid;
  gap: 10px;
}

.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
}

.footer__hoods {
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.footer__hoods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__hoods-grid li {
  margin: 0;
}

.footer__hoods-grid a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.footer__hoods-grid a:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

@media (min-width: 860px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  }
}

/* ---------- 17. Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar__info {
  display: none;
  line-height: 1.4;
}

.sticky-bar__info b {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
}

.sticky-bar__info span {
  font-size: 0.72rem;
  color: var(--ink-3);
}

.sticky-bar .btn {
  flex: 1;
  padding-block: 13px;
  font-size: 0.95rem;
}

@media (max-width: 899px) {
  body {
    padding-block-end: 76px;
  }
}

@media (min-width: 900px) {
  .sticky-bar {
    display: none;
  }
}

/* ---------- 18. Page hero (neighborhood pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4.5vw, 52px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 85% -10%, rgba(13, 148, 136, 0.1), transparent 70%),
    var(--surface);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  list-style: none;
  padding: 0;
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumb li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-inline-start: 1.5px solid var(--line-strong);
  border-block-start: 1.5px solid var(--line-strong);
  transform: rotate(-135deg);
}

.breadcrumb a {
  color: var(--ink-2);
}

.breadcrumb a:hover {
  color: var(--brand-ink);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-hero__grid {
  display: grid;
  gap: clamp(30px, 5vw, 52px);
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.85rem);
}

.page-hero__lead {
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.12rem);
  color: var(--ink-2);
  max-width: 36em;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-hero__actions .btn {
  flex: 1 1 100%;
}

@media (min-width: 560px) {
  .page-hero__actions .btn {
    flex: 0 1 auto;
  }
}

@media (min-width: 980px) {
  .page-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .page-hero__actions .btn {
    flex: 0 0 auto;
  }
}

/* Compact info card used on neighborhood pages */
.info-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.info-card__label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: none;
}

.info-card__label svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.7;
}

.info-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
  margin-top: 2px;
}

/* ---------- 19. Article / prose (neighborhood copy) ---------- */
.prose h2 {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose p {
  max-width: 68ch;
}

.split {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(32px, 5vw, 60px);
  }
}

.route-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.route-card h3 {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.route-list li {
  position: relative;
  margin: 0;
  padding-inline-start: 30px;
  font-size: var(--fs-small);
  line-height: 1.75;
}

.route-list li svg {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 2px;
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.route-list b {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.inline-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-inline-end: 6px;
  vertical-align: -3px;
  color: var(--brand);
}

/* Compact package cards on subpages */
.mini-packages {
  display: grid;
  gap: 14px;
}

@media (min-width: 780px) {
  .mini-packages {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-package {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.mini-package h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.mini-package p {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.7;
}

.mini-package .btn {
  margin-top: auto;
}

/* Related neighborhoods */
.related {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .related {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 20. Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.stack-sm > * + * {
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
