.mb-route-hero {
  padding: 86px 0 50px;
  background: linear-gradient(135deg, #fbfaff, #f4edff 70%, #fff);
}

.mb-route-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 13ch;
}

.mb-route-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 18px;
}

.mb-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.mb-route-card,
.native-booking,
.policy-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 18px 52px rgba(54, 25, 112, .09);
}

.mb-route-card h2,
.mb-route-card h3,
.native-booking h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.mb-route-card p,
.native-booking p,
.policy-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mb-team {
  background: linear-gradient(180deg, #fff, #f6f2fe);
}

.mb-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.mb-team-card {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 16px 44px rgba(54, 25, 112, .08);
  overflow: visible;
}

.mb-team-card h3 {
  margin: 4px 0 0;
}

.mb-team-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.mb-cat {
  --cat-color-a: #123c2d;
  --cat-color-b: #0b291f;
  width: 92px;
  height: 84px;
  position: relative;
  border-radius: 48% 48% 46% 46% / 50% 50% 52% 52%;
  background: linear-gradient(145deg, var(--cat-color-a), var(--cat-color-b));
  box-shadow:
    inset 0 -12px 0 rgba(25, 16, 51, .16),
    0 14px 28px rgba(54, 25, 112, .14);
}

.mb-cat::before,
.mb-cat::after {
  content: "";
  position: absolute;
  top: -24px;
  width: 44px;
  height: 50px;
  background: inherit;
  border-radius: 10px 44px 10px 44px;
  transform-origin: bottom center;
  z-index: -1;
}

.mb-cat::before {
  left: 4px;
  transform: rotate(-20deg);
}

.mb-cat::after {
  right: 4px;
  transform: rotate(20deg) scaleX(-1);
}

.mb-cat i {
  position: absolute;
  top: 40px;
  width: 9px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 2px rgba(25, 16, 51, .16);
}

.mb-cat i:first-child {
  left: 29px;
}

.mb-cat i:last-child {
  right: 29px;
}

.mb-cat-forest {
  --cat-color-a: #164f3a;
  --cat-color-b: #0a2d21;
}

.mb-cat-red {
  --cat-color-a: #d84c4f;
  --cat-color-b: #8f1f30;
}

.mb-cat-blue {
  --cat-color-a: #256ecb;
  --cat-color-b: #123f83;
}

.native-booking {
  display: grid;
  gap: 26px;
  border-radius: 30px;
  padding: clamp(26px, 3vw, 38px);
  background:
    radial-gradient(circle at 88% 0%, rgba(124, 58, 237, .12), transparent 32%),
    #fff;
  box-shadow:
    0 30px 90px rgba(54, 25, 112, .14),
    0 8px 24px rgba(54, 25, 112, .08);
}

.booking-card-head {
  display: grid;
  gap: 8px;
}

.booking-kicker {
  width: max-content;
  border-radius: 999px;
  background: #f0e8ff;
  color: var(--violet-deep);
  padding: 7px 10px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-card-head h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.booking-card-head p {
  max-width: 56ch;
}

.booking-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.booking-calendar-shell {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fbfaff);
  padding: clamp(14px, 2vw, 20px);
}

.booking-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-calendar-head strong {
  color: var(--ink);
  font-size: 1rem;
}

.booking-calendar-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f2fe;
  color: var(--violet-deep);
  font: 900 1.25rem/1 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}

.booking-calendar-head button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.booking-weekdays,
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(48px, 1fr));
  gap: 8px;
}

.booking-weekdays span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-align: center;
}

.booking-day {
  min-height: 58px;
  aspect-ratio: 1 / .86;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 6px 4px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(54, 25, 112, .06);
  position: relative;
}

.booking-day:not(:disabled)::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--violet);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.booking-day.is-today {
  border-color: rgba(124, 58, 237, .55);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .25), 0 8px 18px rgba(54, 25, 112, .06);
}

.booking-day:not(:disabled):hover {
  border-color: var(--violet);
  background: #f6f2fe;
}

.booking-day.is-selected {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.booking-day.is-selected::after {
  background: #fff;
}

.booking-day:disabled {
  background: #f4f1f8;
  color: #9b91aa;
  box-shadow: none;
  cursor: not-allowed;
}

.booking-day.has-booked:not(.is-selected) {
  background: #f8f4ff;
  border-color: #d8c4ff;
}

.booking-day.has-booked:disabled {
  background: #ece4fb;
  color: #7b6f91;
  border-color: #d4c7ec;
}

.booking-day.has-booked::after {
  background: #bda5eb;
}

.booking-day.is-blocked {
  background: #f7edf2;
  border-color: #e9cbd8;
  color: #997184;
}

.booking-day.is-empty {
  min-height: 54px;
  border: 0;
  background: transparent;
}

.booking-time-panel {
  display: grid;
  gap: 10px;
}

.booking-time-panel > strong {
  font-size: 1rem;
  color: var(--violet-deep);
}

.booking-time-panel > span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.booking-side {
  display: grid;
  gap: 20px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-slots button {
  min-width: 86px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f2fe;
  color: var(--violet-deep);
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

.booking-slots button.is-selected {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  box-shadow: 0 10px 22px rgba(124, 58, 237, .22);
}

.booking-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
}

.booking-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.booking-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.booking-legend .is-available { background: var(--violet); }
.booking-legend .is-booked { background: #d8c4ff; }
.booking-legend .is-blocked { background: #d99ab4; }

.native-booking label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: .86rem;
}

.native-booking input,
.native-booking select,
.native-booking textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.native-booking textarea {
  min-height: 118px;
}

.booking-actions {
  display: grid;
  gap: 10px;
}

.booking-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 15px 20px;
  border: 0 !important;
  background: var(--violet) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(124, 58, 237, .25) !important;
  font-size: 1rem;
}

.booking-actions .btn:hover {
  background: var(--violet-deep) !important;
  color: #fff !important;
}

.booking-actions p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
}

.form-note {
  min-height: 22px;
  color: var(--violet-deep);
  font-weight: 700;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.policy-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--violet-deep);
  font-weight: 800;
}

.mb-float-stack {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(168px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  gap: 16px;
  justify-items: end;
  pointer-events: none;
}

.mb-float-row {
  display: grid;
  gap: 12px;
  pointer-events: auto;
}

.mb-float-button {
  position: relative;
  width: 58px;
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, .26), transparent 34%),
    linear-gradient(145deg, #a06cff 0%, #7c3aed 48%, #5b21b6 100%);
  color: #fff;
  padding: 0;
  font: inherit;
  box-shadow:
    0 16px 30px rgba(82, 34, 168, .24),
    0 6px 14px rgba(31, 18, 64, .16),
    inset 0 1px 0 rgba(255, 255, 255, .34);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.mb-float-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.04);
  box-shadow:
    0 20px 38px rgba(82, 34, 168, .30),
    0 8px 18px rgba(31, 18, 64, .18),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.mb-float-button:active {
  transform: translateY(-1px) scale(.97);
}

.mb-float-button:focus-visible {
  outline: 3px solid rgba(124, 58, 237, .28);
  outline-offset: 4px;
}

.mb-access-icon {
  width: 34px;
  height: 34px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mb-access-icon circle {
  fill: currentColor;
  stroke: none;
}

.mb-access-panel {
  display: none;
  width: min(320px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(54, 25, 112, .18);
  pointer-events: auto;
}

.mb-access-panel.is-open {
  display: grid;
  gap: 8px;
}

.mb-access-panel button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaff;
  color: var(--ink);
  padding: 10px 12px;
  box-shadow: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mb-font-large { font-size: 112%; }
.mb-font-xl { font-size: 125%; }
.mb-readable { font-family: Arial, Helvetica, sans-serif !important; }
.mb-underline-links a { text-decoration: underline; text-underline-offset: 3px; }
.mb-contrast { background: #fff !important; color: #110827 !important; }
.mb-contrast * { color: inherit !important; }
.mb-grayscale { filter: grayscale(1); }
.mb-reduce-motion * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.mb-es [data-i18n-es]::before { content: attr(data-i18n-es); }
.mb-es [data-i18n-es] { font-size: 0; }
.mb-es [data-i18n-es]::before { font-size: initial; }
.mb-status-ok { color: #0f7a55; }
.mb-status-warn { color: #9a5c00; }
.mb-status-danger { color: #9b2c2c; }

@media (max-width: 760px) {
  .mb-team-card {
    justify-items: center;
    text-align: center;
    padding: 30px 24px;
  }

  .mb-float-stack {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(148px + env(safe-area-inset-bottom));
  }

  .mb-float-button {
    width: 56px;
    min-width: 56px;
    height: 56px;
  }

  .mb-access-panel {
    width: min(300px, calc(100vw - 96px));
  }

  .booking-calendar-shell {
    padding: 12px;
  }

  .booking-weekdays,
  .booking-calendar {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }

  .booking-day {
    min-height: 48px;
    border-radius: 11px;
    font-size: .9rem;
  }
}

@media (max-width: 700px) {
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-float-button {
    transition: none;
  }
}
