/* Berooz public pages: home sections, About, Safety, Contact. Builds on style.css tokens. */

/* ---------- Header additions ---------- */
.brand-block { text-decoration: none; color: inherit; }
.main-nav a[aria-current="page"] { opacity: 1; color: var(--green-dark); background: var(--green-tonal); }
.dark-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 0.75rem 1.3rem; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dark-btn:hover { background: #000; box-shadow: var(--elev-3); transform: translateY(-1px); }
a.ghost-btn { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.menu-btn { display: none; border: 0; background: var(--surface-container); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 22px; color: var(--ink); }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; position: sticky; border-radius: var(--radius-lg); }
  .menu-btn { display: inline-grid; place-items: center; flex: none !important; }
  .main-nav { display: none !important; }
  .topbar.nav-open .main-nav {
    display: flex !important; order: 3; width: 100%; flex-direction: column; align-items: stretch;
    padding: 8px 0 4px; overflow: visible;
  }
  .topbar.nav-open .main-nav a { padding: 0.8rem 1rem; font-size: 1rem; }
  .top-actions { width: auto !important; flex-wrap: nowrap; }
  .top-actions > * { flex: none !important; }
}
/* "Download App" menu (site-shell.js downloadMenu) */
.dl-wrap { position: relative; }
.dl-btn .material-symbols-outlined { font-size: 20px; }
.dl-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20;
  width: min(340px, calc(100vw - 32px)); padding: 8px; display: grid; gap: 2px;
  background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--radius-lg);
  box-shadow: var(--elev-3);
}
.dl-menu[hidden] { display: none; }
.dl-head { margin: 4px 10px 6px; font-size: 0.78rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.dl-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; text-decoration: none; color: var(--ink); }
.dl-item:hover, .dl-item:focus-visible { background: var(--surface-container); }
.dl-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.dl-icon.rider { background: #0a7f48 url("icon-rider.png") center / 150% no-repeat; }
.dl-icon.captain { background: #fff url("icon-captain.png") center / 150% no-repeat; border: 1px solid var(--outline-soft); }
.dl-text { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.dl-text b { font-size: 1rem; }
.dl-text small { color: var(--ink-muted); font-size: 0.82rem; }
.dl-tag { flex: none; font-size: 0.72rem; font-weight: 700; color: var(--green-dark); background: var(--green-tonal); padding: 4px 8px; border-radius: var(--radius-pill); }

/* Phones: the button shrinks to a round download icon next to the menu button, and the menu spans the header. */
@media (max-width: 520px) {
  .top-actions .dl-btn { width: 42px; height: 42px; padding: 0; }
  .dl-btn .dl-label { display: none; }
  .dl-wrap { position: static; }
  .dl-menu { left: 0; right: 0; width: auto; top: calc(100% + 8px); }
}
/* Small phones: keep the header on one line (logo, Log in / Book a ride, download, menu). */
@media (max-width: 400px) {
  .topbar .brand-subtitle { display: none; }
  .topbar .brand-mark { width: 36px; height: 36px; }
  .topbar .brand-block { gap: 8px; }
  .topbar { gap: 6px; padding-left: 10px; padding-right: 8px; }
  .top-actions { gap: 6px; }
  .top-actions .ghost-btn { padding: 0.6rem 0.8rem; font-size: 0.9rem; }
  .xs-hide { display: none; }
}

/* ---------- Text styles ---------- */
.hl {
  font-style: normal; color: var(--green-dark);
  background: linear-gradient(transparent 62%, rgba(22, 181, 110, 0.28) 62%);
  padding: 0 0.08em; border-radius: 4px;
}
.big-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin: 0;
}
.big-title::after {
  content: ""; display: block; width: 120px; height: 7px; border-radius: 6px; margin-top: 18px;
  background: linear-gradient(90deg, var(--green), #2ad08b);
}
.big-title.center { text-align: center; }
.big-title.center::after { margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-dark);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.block { padding: 88px 0 0; }
.block-head { margin-bottom: 40px; }

/* ---------- Media slots (admin photo, or a drawn placeholder) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 20% 10%, #d8f5e5 0%, #b7ead0 40%, #7fd3a9 100%);
  background-size: cover; background-position: center; display: grid; place-items: center;
}
.media > .ph { font-size: clamp(64px, 9vw, 120px); color: rgba(4, 55, 31, 0.78); filter: drop-shadow(0 10px 18px rgba(4, 55, 31, 0.18)); }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 22px);
}
.media.has-img { background-color: var(--surface-container); }
.media.has-img > *, .media.has-img::after { display: none; }

/* ---------- Home: Our services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc-tile {
  display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 176px; padding: 28px 22px 28px 28px !important; text-decoration: none; color: inherit;
  background: var(--surface-container) !important; border: 1px solid transparent !important; box-shadow: none !important;
  border-radius: var(--radius-lg) !important; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--elev-3) !important; background: #fff !important; border-color: var(--outline) !important; }
.svc-tile.accent { background: var(--green-tonal) !important; border-color: var(--green) !important; }
.svc-tile h4 { margin: 0 0 8px; font-size: 1.55rem; letter-spacing: -0.02em; }
.svc-tile p { margin: 0; color: var(--ink-muted); font-size: 1rem; line-height: 1.45; max-width: 22ch; }
.svc-tile .service-icon, .svc-tile .svc-media {
  width: 140px; height: 112px; flex: none; border-radius: 18px !important; font-size: 72px !important;
  background-color: transparent !important; color: var(--green); display: grid; place-items: center; box-shadow: none !important;
}
.svc-tile .service-icon.svc-photo { background-color: transparent !important; background-size: contain !important; padding: 0 !important; }
.svc-tile .svc-media { background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; }
.svc-tile .svc-media.has-img > * { display: none; }
.svc-tile .svc-media span { font-size: 72px; }
.svc-tile:hover .service-icon, .svc-tile:hover .svc-media { transform: scale(1.06) rotate(-3deg); }
.svc-tile .service-icon, .svc-tile .svc-media { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ---------- Home: Only on Berooz ---------- */
.uq {
  margin-top: 88px; border-radius: var(--radius-xl); padding: 72px 56px; color: #eafff3; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 100% 0%, #16b56e 0%, rgba(22, 181, 110, 0) 55%), linear-gradient(160deg, #06603a, #032f1c 70%);
}
.uq::before {
  content: ""; position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.uq .kicker { color: #8ff0bf; }
.uq h2 { position: relative; margin: 14px 0 44px; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 18ch; color: #fff; }
.uq h2 .hl { color: #b9ffd9; background: linear-gradient(transparent 64%, rgba(143, 240, 191, 0.3) 64%); }
.uq-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: uq; }
.uq-tile {
  counter-increment: uq; position: relative; padding: 26px 24px 28px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px); transition: transform 0.2s ease, background 0.2s ease;
}
.uq-tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.11); }
.uq-tile::after {
  content: "0" counter(uq); position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 800;
  color: rgba(255, 255, 255, 0.08); letter-spacing: -0.04em;
}
.uq-tile .material-symbols-outlined {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; font-size: 28px;
  background: linear-gradient(135deg, #2ad08b, #0a7f48); color: #fff; box-shadow: 0 8px 20px rgba(42, 208, 139, 0.35);
}
.uq-tile h4 { margin: 18px 0 8px; font-size: 1.22rem; color: #fff; letter-spacing: -0.01em; }
.uq-tile p { margin: 0; color: rgba(234, 255, 243, 0.78); line-height: 1.55; }

/* ---------- Home: What we offer ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.offer-card .media { aspect-ratio: 1 / 0.94; }
.offer-card h4 { margin: 22px 0 10px; font-size: 1.45rem; letter-spacing: -0.02em; }
.offer-card p { margin: 0; color: var(--ink-muted); line-height: 1.6; font-size: 1.02rem; }
.offer-card:nth-child(2) .media { background: radial-gradient(120% 90% at 80% 10%, #e9fff4 0%, #c4efd9 45%, #8bd8b1 100%); }
.offer-card:nth-child(3) .media { background: radial-gradient(120% 90% at 50% 0%, #dff7ea 0%, #a8e3c5 50%, #5fc495 100%); }

/* ---------- Home: Earn ---------- */
.earn {
  margin-top: 96px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #0b3d29, #0a5c38); color: #fff;
}
.earn .media { aspect-ratio: 1.25 / 1; background: radial-gradient(100% 100% at 30% 20%, #3fe39c, #0a7f48 60%, #064a2c); }
.earn .media > .ph { color: rgba(255, 255, 255, 0.92); }
.earn h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.05; }
.earn h2 .hl { color: #b9ffd9; background: linear-gradient(transparent 64%, rgba(143, 240, 191, 0.3) 64%); }
.earn h2::after { content: ""; display: block; width: 120px; height: 7px; border-radius: 6px; margin-top: 18px; background: #8ff0bf; }
.earn p { font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.5; margin: 28px 0 32px; color: rgba(255, 255, 255, 0.9); }
.pill-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem;
  padding: 1rem 1.7rem; border-radius: var(--radius-pill); background: #b9ffd9; color: #04371f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.pill-btn .material-symbols-outlined { transition: transform 0.2s ease; }
.pill-btn:hover .material-symbols-outlined { transform: translateX(4px); }
.pill-btn.green { background: var(--green); color: #fff; }

/* ---------- Home: apps ---------- */
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.app-card {
  display: flex; align-items: center; gap: 28px; padding: 40px; border-radius: var(--radius-xl); text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.app-card:hover { box-shadow: var(--elev-4); transform: translateY(-3px); }
.app-logo {
  flex: none; display: grid; place-items: center; text-align: center; width: 190px; height: 104px; border-radius: 60px;
  background: linear-gradient(135deg, #16b56e, var(--green) 55%, var(--green-dark)); color: #fff; font-weight: 800; font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1;
}
.app-logo small { display: block; font-size: 1rem; font-weight: 700; margin-top: 2px; opacity: 0.9; }
.app-card.captain .app-logo { background: linear-gradient(135deg, #2b2f2c, #111); }
.app-card h4 { margin: 0 0 4px; font-size: 1.7rem; letter-spacing: -0.02em; }
.app-card p { margin: 0 0 14px; color: var(--ink-muted); font-size: 1.05rem; }
.app-card .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--green-dark); }

/* ---------- Footer ---------- */
.mega-footer { margin-top: 96px; background: #0b0f0d; color: #cfd8d2; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 56px 48px 28px; }
.mf-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
.mf-brand .brand-name { color: #fff; }
.mf-brand p { margin: 14px 0 0; color: #9aa69f; line-height: 1.6; max-width: 30ch; }
.mf-col { display: flex; flex-direction: column; gap: 12px; }
.mf-col h5 { margin: 0 0 6px; color: #fff; font-size: 1.05rem; }
.mf-col a { color: #cfd8d2; text-decoration: none; }
.mf-col a:hover { color: #8ff0bf; }
.store-btn {
  display: inline-flex !important; align-items: center; gap: 10px; width: fit-content; padding: 8px 16px 8px 12px;
  border: 1px solid #5a625d; border-radius: 12px; color: #fff !important;
}
.store-btn .material-symbols-outlined { font-size: 30px; color: #8ff0bf; }
.store-btn span:last-child { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.store-btn small { font-size: 0.7rem; font-weight: 600; color: #9aa69f; text-transform: uppercase; letter-spacing: 0.06em; }
.mf-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #2a312d; text-align: center; color: #8a958f; font-size: 0.92rem; }
.page-shell > .mega-footer { margin-left: -20px; margin-right: -20px; margin-bottom: -60px; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 64px 0 24px; position: relative; }
.about-hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 70%; height: 100%;
  background: radial-gradient(closest-side, #e3f5ea, rgba(227, 245, 234, 0)); border-radius: 50%;
}
.about-hero h1 { margin: 0 0 36px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.035em; }
.about-hero h1 .thin { display: block; font-weight: 400; }
.about-hero h1 .bold { display: block; font-weight: 800; }
.about-hero h3 { margin: 0 0 6px; font-size: 1.3rem; }
.about-hero p { margin: 0 0 28px; font-size: 1.15rem; line-height: 1.65; color: var(--ink-muted); }
.about-art { position: relative; display: grid; grid-template-columns: 0.75fr 1fr; gap: 16px; align-items: start; }
.about-art .m1 { aspect-ratio: 0.78; border-radius: 120px 120px 24px 24px; }
.about-art .m2 { aspect-ratio: 0.72; border-radius: 160px 160px 160px 24px; margin-top: 64px; }
.about-art .bar { position: absolute; left: 34%; bottom: 4%; width: 46px; height: 42%; border-radius: 30px; background: linear-gradient(180deg, #2ad08b, var(--green)); z-index: -1; }
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.story p { font-size: 1.2rem; line-height: 1.7; color: var(--ink-muted); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.person { text-align: center; }
.person .media { width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 28px; box-shadow: 8px -8px 0 #2ad08b; }
.person .media .ph { font-size: 52px; }
.person b { display: block; font-size: 1.1rem; }
.person span { color: var(--ink-muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.stat { padding: 26px; border-radius: var(--radius-lg); background: var(--green-tonal); }
.stat strong { display: block; font-size: 2.2rem; letter-spacing: -0.03em; color: var(--green-dark); }
.stat span { color: var(--on-green-tonal); font-weight: 600; }

/* ---------- Safety ---------- */
.subnav { display: flex; gap: 8px; margin: 18px 0 0; padding: 8px; background: var(--surface-container); border-radius: var(--radius-pill); width: fit-content; position: sticky; top: 92px; z-index: 5; }
.subnav button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 1.05rem; padding: 0.7rem 1.4rem; border-radius: var(--radius-pill); cursor: pointer; color: var(--ink-muted); }
.subnav button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--elev-1); }
.safety-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 56px 0 8px; }
.safety-hero h1 { margin: 0 0 22px; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; }
.safety-hero p { font-size: 1.2rem; line-height: 1.75; color: var(--ink-muted); margin: 0; }
.collage { position: relative; height: 420px; }
.collage .media { position: absolute; box-shadow: 10px 10px 0 #2ad08b, var(--elev-3); border-radius: 18px; }
.collage .c1 { left: 0; top: 70px; width: 38%; height: 70%; }
.collage .c2 { left: 31%; top: 0; width: 36%; height: 66%; z-index: 2; }
.collage .c3 { right: 0; top: 110px; width: 38%; height: 66%; }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cover-card .media { aspect-ratio: 0.85; }
.cover-card h3 { margin: 26px 0 12px; font-size: 1.7rem; letter-spacing: -0.02em; }
.cover-card p { margin: 0 0 16px; font-size: 1.1rem; line-height: 1.65; color: var(--ink-muted); }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; font-size: 1.05rem; color: var(--green-dark); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); font-size: 1.08rem; font-weight: 600; line-height: 1.45; }
.checks li .material-symbols-outlined { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--green-tonal); color: var(--green-dark); }
.safety-band { margin-top: 72px; padding: 44px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #0a7f48, #06603a); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.safety-band h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; padding: 72px 0 0; }
.contact h1 { margin: 0 0 22px; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; }
.contact .sub { font-size: 1.3rem; color: var(--ink-muted); margin: 0 0 32px; }
.cform { display: grid; gap: 22px; }
.cform label { display: grid; gap: 10px; font-size: 1.1rem; font-weight: 600; }
.cform label i { color: var(--green); font-style: normal; }
.cform input, .cform select, .cform textarea {
  font: inherit; font-size: 1rem; font-weight: 400; padding: 1.05rem 1rem; border: 1px solid var(--outline); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(10, 127, 72, 0.14); }
.cform textarea { min-height: 200px; resize: vertical; }
.cform .submit { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.15rem; padding: 1.15rem; border-radius: 12px; background: var(--green); color: #fff; transition: background 0.15s ease, transform 0.15s ease; }
.cform .submit:hover { background: var(--green-dark); }
.cform .submit:disabled { opacity: 0.6; cursor: wait; }
.cmsg { margin: 0; font-weight: 700; }
.cmsg.ok { color: var(--green-dark); }
.cmsg.bad { color: var(--danger); }
.cside { position: relative; padding-top: 140px; }
.cside::before {
  content: ""; position: absolute; top: 0; right: 0; width: 220px; height: 220px; opacity: 0.55;
  background-image: radial-gradient(#9ee0bd 3px, transparent 3.5px); background-size: 20px 20px;
}
.cside h4 { margin: 0 0 12px; font-size: 1.25rem; }
.cside p, .cside a { margin: 0 0 36px; font-size: 1.15rem; line-height: 1.65; color: var(--ink-muted); display: block; }
.cside a { color: var(--green-dark); font-weight: 700; text-decoration: none; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .rv.in { opacity: 1; transform: none; }
  .svc-grid > .rv:nth-child(2), .uq-grid > .rv:nth-child(2), .offer-grid > .rv:nth-child(2) { transition-delay: 0.08s; }
  .svc-grid > .rv:nth-child(3), .uq-grid > .rv:nth-child(3), .offer-grid > .rv:nth-child(3) { transition-delay: 0.16s; }
  .svc-grid > .rv:nth-child(5), .uq-grid > .rv:nth-child(5) { transition-delay: 0.08s; }
  .svc-grid > .rv:nth-child(6), .uq-grid > .rv:nth-child(6) { transition-delay: 0.16s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .svc-grid, .uq-grid, .offer-grid { grid-template-columns: 1fr 1fr; }
  .earn, .about-hero, .story, .safety-hero, .contact { grid-template-columns: 1fr; gap: 36px; }
  .apps-grid, .covers { grid-template-columns: 1fr; }
  .mf-grid { grid-template-columns: 1fr 1fr; }
  .mf-brand { grid-column: 1 / -1; }
  .uq { padding: 48px 28px; }
  .earn { padding: 32px; }
  .cside { padding-top: 0; }
  .cside::before { display: none; }
}
@media (max-width: 640px) {
  .block { padding-top: 64px; }
  .svc-grid, .uq-grid, .offer-grid, .checks, .team, .stat-row { grid-template-columns: 1fr; }
  .svc-tile { min-height: 132px; padding: 20px !important; }
  .svc-tile h4 { font-size: 1.3rem; }
  .svc-tile .service-icon, .svc-tile .svc-media { width: 110px; height: 88px; font-size: 56px !important; }
  .app-card { flex-direction: column; align-items: flex-start; padding: 28px; }
  .app-logo { width: 160px; height: 88px; font-size: 1.9rem; }
  .collage { height: 320px; }
  .mega-footer { padding: 40px 24px 24px; }
  .page-shell > .mega-footer { margin-left: -14px; margin-right: -14px; margin-bottom: -40px; }
  .subnav { top: 8px; }
  .subnav button { padding: 0.6rem 1rem; font-size: 0.95rem; }
}

/* ---------- Home: 0% commission banner (plain white) ---------- */
.model {
  margin-top: 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
  padding: 60px 56px; border-radius: var(--radius-xl); position: relative; overflow: hidden; color: var(--ink);
  background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1);
}
.model-copy { position: relative; }
.model .kicker { display: block; color: var(--ink); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 800; letter-spacing: 0.12em; }
.model .kicker::before { display: none; }
.model h2 { margin: 14px 0 14px; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.model h2 .hl { color: var(--green); background: none; padding: 0; }
.model p { margin: 0 0 30px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--ink-muted); }
.model .pill-btn {
  background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(10, 127, 72, 0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.model .pill-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10, 127, 72, 0.3); }
.model .pill-btn:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }

.model-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mstat {
  padding: 24px; border-radius: var(--radius-lg); color: var(--ink);
  background: var(--surface-dim); border: 1px solid var(--outline-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mstat:hover { transform: translateY(-4px); border-color: rgba(10, 127, 72, 0.35); box-shadow: var(--elev-3); }
.mstat.big { grid-column: 1 / -1; background: var(--green-tonal); border-color: rgba(10, 127, 72, 0.25); }
.mstat strong { display: block; font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.mstat.big strong { color: var(--green); }
.mstat b { display: block; margin: 10px 0 4px; font-size: 1.05rem; color: var(--ink); }
.mstat span { font-size: 0.95rem; color: var(--ink-muted); }

@media (max-width: 980px) {
  .model { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
}
@media (max-width: 640px) {
  .model { padding: 32px 20px; border-radius: var(--radius-lg); }
  .model-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mstat { padding: 18px 16px; }
}

/* ---------- Home: Berooz + ManaBites ---------- */
.fam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fam-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 36px; border-radius: var(--radius-xl);
  text-decoration: none; color: inherit; min-height: 280px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.fam-card:hover { transform: translateY(-4px); box-shadow: var(--elev-4); }
.fam-card.berooz { background: linear-gradient(140deg, #e3f5ea, #c9ecd8); }
.fam-card.mb { background: linear-gradient(140deg, #fff3e3, #ffd9a8); }
.fam-logo {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #16b56e, var(--green) 55%, var(--green-dark)); margin-bottom: 14px; box-shadow: var(--elev-2);
}
.fam-card.mb .fam-logo { background: linear-gradient(135deg, #ff9a3c, #e85d04); background-size: contain; background-repeat: no-repeat; }
.fam-card.mb .fam-logo.has-img { background-color: #fff; background-image: inherit; }
.fam-card.mb .fam-logo::after { display: none; }
.fam-card.mb .fam-logo .material-symbols-outlined { font-size: 38px; color: #fff; }
.fam-card h3 { margin: 0; font-size: 2rem; letter-spacing: -0.03em; }
.fam-card p { margin: 0 0 18px; font-size: 1.1rem; color: var(--ink-muted); font-weight: 600; }
.fam-btn { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 0.8rem 1.3rem; border-radius: var(--radius-pill); background: var(--ink); color: #fff; }
.fam-card.mb .fam-btn { background: #c2410c; }
.fam-card:hover .fam-btn .material-symbols-outlined { transform: translateX(3px); }
.fam-btn .material-symbols-outlined { transition: transform 0.2s ease; font-size: 20px; }

/* ---------- Home: four promises ---------- */
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pr-card { padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pr-card:hover { transform: translateY(-4px); box-shadow: var(--elev-3); }
.pr-card .material-symbols-outlined { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; font-size: 30px; background: var(--green-tonal); color: var(--green-dark); }
.pr-card h4 { margin: 18px 0 8px; font-size: 1.3rem; letter-spacing: -0.01em; }
.pr-card p { margin: 0; color: var(--ink-muted); line-height: 1.55; }
.tagband { margin-top: 28px; padding: 30px 36px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.tagband h3 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.04em; text-transform: uppercase; }
.tagband h3 .hl { color: #8ff0bf; background: none; }
.tagband p { margin: 0; font-size: 1.15rem; color: #b7c2bb; }

@media (max-width: 980px) {
  .pr-grid { grid-template-columns: 1fr 1fr; }
  .fam-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pr-grid { grid-template-columns: 1fr; }
  .model-stats { grid-template-columns: 1fr 1fr; }
  .fam-card { padding: 26px; min-height: 0; }
}

/* Admin-uploaded icon image in place of a Material Symbol */
.icon-img.icon-img.icon-img {
  background-color: #fff !important; background-size: 70% !important; background-position: center !important;
  background-repeat: no-repeat !important; color: transparent;
}

/* ---------- Home: top of page (pickup + drop + Book Ride, picture on the right) ---------- */
.hero-rap {
  display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 48px; align-items: center;
  padding: 72px 4px 40px; min-height: calc(100vh - 110px);
}
.hr-copy h1 { margin: 0; color: #262b28; font-weight: 800; font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 1.32; letter-spacing: -0.01em; }
.hr-copy h1 span { display: block; }
.hr-copy h1 .hl { color: var(--green); background: none; padding: 0; }
.hr-sub { margin: 10px 0 0; color: #3a403c; font-size: clamp(1.25rem, 2.1vw, 2rem); font-weight: 400; }
.hr-form { margin-top: 56px; display: grid; gap: 20px; max-width: 760px; }
.hr-field {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 0 22px 0 26px; height: 90px;
  background: #fff; border: 1px solid #c9cfcb; border-radius: 8px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hr-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(10, 127, 72, 0.14); }
.hr-field > .material-symbols-outlined { font-size: 34px; color: #1d211f; font-variation-settings: "FILL" 1; }
.hr-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: clamp(1.15rem, 1.7vw, 1.6rem); color: var(--ink); }
.hr-field input::placeholder { color: #5d625f; }
.hr-locate { border: 0; background: var(--surface-container); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 24px; color: var(--green-dark); flex: none; }
.hr-locate:hover { background: var(--green-tonal); }
.hr-field .suggestions { top: calc(100% + 6px); }
.hr-field .suggestions li { font-size: 1rem; padding: 12px 14px; }
.hr-book {
  margin-top: 36px; height: 100px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--green); color: #fff; font: inherit; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  box-shadow: 0 10px 24px rgba(10, 127, 72, 0.25); transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.hr-book:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(10, 127, 72, 0.32); }
.hr-book:active { transform: translateY(1px); }
.hr-msg { margin: 0; min-height: 1.2em; color: var(--danger); font-weight: 700; }
.hr-art img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hr-copy > * { animation: bz-rise 0.6s ease both; }
  .hr-copy .hr-sub { animation-delay: 0.06s; }
  .hr-copy .hr-form { animation-delay: 0.12s; }
  .hr-art { animation: bz-rise 0.8s 0.1s ease both; }
}

/* ---------- Booking card on its own (select service step: no map) ---------- */
.map-stage.no-map { height: auto; min-height: 0; overflow: visible; background: transparent; border: 0; box-shadow: none; margin-top: 28px; }
.map-stage.no-map .book-map { display: none; }
.map-stage.no-map .ride-card {
  position: relative; inset: auto; width: 100%; max-width: 980px; max-height: none; margin: 0 auto; overflow: visible;
  padding: 32px; border-radius: var(--radius-xl);
}
.map-stage.no-map .ride-card::before { display: none; }
.map-stage.no-map .pin-hint { display: none; }
.map-stage.no-map .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.map-stage.no-map .panel-header h2 { font-size: 1.7rem; }
.change-route { display: none; align-items: center; gap: 6px; }
.map-stage.no-map .change-route { display: inline-flex; }
.change-route .material-symbols-outlined { font-size: 20px; }
/* Route summary box like the app: both places in one grey box */
.map-stage.no-map #bookForm .input-group.place { background: var(--surface-container); border-radius: 0; margin: 0; border: 0; padding-top: 16px; padding-bottom: 16px; }
.map-stage.no-map #bookForm .input-group.place:first-of-type { border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom: 1px solid var(--outline); }
.map-stage.no-map #bookForm .input-group.place:nth-of-type(2) { border-radius: 0 0 var(--radius-md) var(--radius-md); margin-bottom: 18px; }
.map-stage.no-map .ride-option { min-height: 76px; padding: 14px 18px; }
.map-stage.no-map .ride-option > span:nth-of-type(2) { font-size: 1.2rem; font-weight: 700; }
.map-stage.no-map .ride-option .opt-fare { font-size: 1.25rem; }

@media (max-width: 980px) {
  .hero-rap { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; min-height: 0; }
  .hr-art { order: -1; }
  .hr-form { margin-top: 32px; max-width: none; }
  .map-stage.no-map .ride-card { margin-top: 0; padding: 22px 18px; border-radius: var(--radius-lg); }
}
@media (max-width: 640px) {
  .hr-field { height: 70px; padding: 0 14px 0 16px; gap: 12px; }
  .hr-field > .material-symbols-outlined { font-size: 28px; }
  .hr-book { height: 72px; margin-top: 16px; }
}

/* Admin photos: drawn ~4% larger than the frame so dark/rounded edges baked into a picture are trimmed. */
.media.has-img::before {
  content: ""; position: absolute; inset: -4%; z-index: 0; pointer-events: none;
  background: inherit; background-size: cover; background-position: center; background-repeat: no-repeat;
}
.fam-logo.has-img::before { display: none; }

/* ---------- Plain white theme for the bands (offer, Fast·Safe·Local, Why Berooz, Earn, Safety SOS) ---------- */
.promo-strip, .tagband, .uq, .earn, .safety-band {
  background: #fff !important; color: var(--ink) !important;
  border: 1px solid var(--outline-soft); box-shadow: var(--elev-1);
}
.promo-strip::before, .uq::before { display: none !important; }
/* Offer strip */
.promo-copy span { background: var(--green-tonal); color: var(--green-dark); }
.promo-copy h3 { color: var(--ink); }
.promo-strip .secondary-btn { background: var(--green); color: #fff; }
.promo-strip .secondary-btn:hover { background: var(--green-dark); }
/* Fast · Safe · Local */
.tagband h3 { color: var(--ink); }
.tagband h3 .hl { color: var(--green); }
.tagband p { color: var(--ink-muted); }
/* Why Berooz */
.uq .kicker { color: var(--green-dark); }
.uq h2 { color: var(--ink); }
.uq h2 .hl { color: var(--green-dark); background: linear-gradient(transparent 62%, rgba(22, 181, 110, 0.28) 62%); }
.uq-tile { background: var(--surface-dim); border-color: var(--outline-soft); backdrop-filter: none; }
.uq-tile:hover { background: #fff; box-shadow: var(--elev-3); }
.uq-tile::after { color: rgba(23, 29, 25, 0.06); }
.uq-tile h4 { color: var(--ink); }
.uq-tile p { color: var(--ink-muted); }
/* Earn */
.earn h2 { color: var(--ink); }
.earn h2 .hl { color: var(--green-dark); background: linear-gradient(transparent 62%, rgba(22, 181, 110, 0.28) 62%); }
.earn h2::after { background: linear-gradient(90deg, var(--green), #2ad08b); }
.earn p { color: var(--ink-muted); }
.earn .pill-btn, .safety-band .pill-btn { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(10, 127, 72, 0.22); }
.earn .pill-btn:hover, .safety-band .pill-btn:hover { background: var(--green-dark); }
/* Safety SOS band */
.safety-band h3 { color: var(--ink); }

/* Menu "Captain" → Get the apps: clear the sticky header and point at the Captain card */
#apps, #hero, #book { scroll-margin-top: 110px; }
#apps:target .app-card.captain { box-shadow: 0 0 0 3px var(--green), var(--elev-3); }

/* Real app icons on the "Get the apps" cards */
.app-icon { flex: none; width: 120px; height: 120px; border-radius: 28px; box-shadow: var(--elev-3); display: block; }
.app-card:hover .app-icon { transform: scale(1.04) rotate(-2deg); }
.app-icon { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (max-width: 640px) { .app-icon { width: 88px; height: 88px; border-radius: 22px; } }
/* Google Play buttons in the footer */
.store-btn { background: #000; border-color: #6b7470 !important; padding: 9px 18px 9px 14px !important; }
.store-btn .gp { width: 26px; height: 28px; flex: none; }
.store-btn small { color: #e6ece8 !important; letter-spacing: 0.08em; }
.store-btn:hover { border-color: #fff !important; }
/* The apps' real launcher icons: Android adaptive foreground on its background colour, cropped to the visible area */
.app-icon.rider { background: #0a7f48 url("icon-rider.png") center / 150% no-repeat; }
.app-icon.captain { background: #fff url("icon-captain.png") center / 150% no-repeat; border: 1px solid var(--outline); }

/* Safety → "Covers everyone": fixed-size cards like Rapido, not half-page tall */
.covers { max-width: 1000px; margin: 0 auto; gap: 48px; }
.cover-card .media { aspect-ratio: 4 / 3; max-height: 360px; }
.subnav { top: 104px; }
@media (max-width: 640px) { .cover-card .media { max-height: 260px; } }

/* Safety collage: middle frame landscape (most uploaded photos are wide), side frames portrait */
.collage { height: 440px; }
.collage .c1 { left: 0; top: 120px; width: 30%; height: 64%; }
.collage .c2 { left: 22%; top: 0; width: 56%; height: 58%; z-index: 2; }
.collage .c3 { right: 0; top: 170px; width: 28%; height: 58%; }
.collage .media.has-img::before { background-position: center 30%; }
@media (max-width: 640px) { .collage { height: 330px; } }

/* ---------- Photo loading: grey shimmer box until the real photo has downloaded, then fade in ---------- */
.media.has-img::before { background: var(--bg, none) center / cover no-repeat; opacity: 0; transition: opacity 0.45s ease; }
.collage .media.has-img::before { background-position: center 30%; }
.media.has-img.loaded::before { opacity: 1; }
.media.pending, .media.has-img:not(.loaded) {
  background: linear-gradient(100deg, #eceeea 30%, #f7f8f5 50%, #eceeea 70%) 0 0 / 200% 100% !important;
  animation: bz-photo-shimmer 1.3s linear infinite;
}
.media.pending > *, .media.pending::after { visibility: hidden; }
@keyframes bz-photo-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .media.pending, .media.has-img:not(.loaded) { animation: none; } .media.has-img::before { transition: none; } }

/* ---------- City pages (bike-taxi-*.html, made by make-city-pages.mjs) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0 0; font-size: 0.95rem; color: var(--ink-muted); }
.crumbs a { color: var(--green-dark); font-weight: 700; text-decoration: none; }
.city-hero { padding-top: 28px; }
.city-hero .kicker { color: var(--green-dark); }
.city-hero h1 { margin-top: 14px; }
.city-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.city-cta .ghost-btn { gap: 8px; padding: 1rem 1.5rem; font-size: 1.05rem; }
.city-art img { width: 100%; height: auto; display: block; border-radius: var(--radius-xl); box-shadow: var(--elev-3); }
.pr-card h3 { margin: 18px 0 8px; font-size: 1.3rem; letter-spacing: -0.01em; }
/* City pages: the admin vehicle photo in place of the icon (prerender.mjs / site.js add .svc-photo). */
.pr-card .svc-photo.svc-photo.svc-photo { width: 132px; height: 92px; padding: 0; border-radius: 0; background-color: transparent; background-position: left center; }
.city-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.city-areas li { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px 10px 12px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--outline-soft); font-weight: 600; }
.city-areas .material-symbols-outlined { font-size: 20px; color: var(--green); }
.city-note { margin: 18px 0 0; color: var(--ink-muted); }
.city-routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.city-routes li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); font-weight: 700; }
.city-routes li > span:first-child, .city-routes li > span:last-child { flex: 1; min-width: 0; }
.city-routes .material-symbols-outlined { flex: none; color: var(--green); }
.city-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.city-steps li { counter-increment: step; padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: 8px; }
.city-steps li::before { content: counter(step); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 6px; }
.city-steps b { font-size: 1.2rem; }
.city-steps span { color: var(--ink-muted); line-height: 1.55; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); }
.faq summary { cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--green-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-muted); line-height: 1.65; }
.city-others { margin: 40px 0 0; color: var(--ink-muted); font-size: 1.05rem; }
.city-others a, .city-note a { color: var(--green-dark); font-weight: 700; }
/* Home: "Where we ride" links to the city pages */
.city-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.city-link { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--outline-soft); box-shadow: var(--elev-1); text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.city-link:hover { transform: translateY(-3px); box-shadow: var(--elev-3); }
.city-link > .material-symbols-outlined { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--green-tonal); color: var(--green-dark); }
.city-link b { display: block; font-size: 1.2rem; }
.city-link small { display: block; color: var(--ink-muted); margin-top: 2px; }
@media (max-width: 980px) {
  .city-steps, .city-links { grid-template-columns: 1fr; }
}
