:root {
  color-scheme: light;
  --leturi-bg: #f3f7f6;
  --leturi-panel: #ffffff;
  --leturi-surface-raised: #ffffff;
  --leturi-ink: #102326;
  --leturi-muted: #667b7e;
  --leturi-border: #d8e4e2;
  --leturi-primary: #07877d;
  --leturi-primary-hover: #056f67;
  --leturi-primary-soft: #e1f3f0;
  --leturi-warning: #b66b00;
  --leturi-warning-soft: #fff3d7;
  --leturi-danger: #c73838;
  --leturi-danger-soft: #fff0f0;
  --leturi-shadow: 0 12px 34px rgb(30 75 70 / 8%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--leturi-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0, rgb(139 211 201 / 20%), transparent 28rem),
    var(--leturi-bg);
  color: var(--leturi-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fef3c7;
  border-bottom: 1px solid #f59e0b;
  color: #78350f;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.demo-banner strong {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f59e0b;
  color: #271600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .demo-banner {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Descubrimiento */
.discovery-page {
  max-width: 1120px;
  gap: 26px;
}

.discovery-hero {
  display: grid;
  gap: 8px;
  padding: 34px clamp(22px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--leturi-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 28%, rgb(52 180 165 / 24%), transparent 16rem),
    linear-gradient(135deg, #fff 30%, #e7f6f3);
  box-shadow: var(--leturi-shadow);
}

.discovery-hero h1 {
  max-width: 650px;
  font-size: clamp(34px, 6vw, 58px);
}

.discovery-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--leturi-muted);
  font-size: clamp(16px, 2vw, 19px);
}

.discovery-search {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--leturi-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(30 75 70 / 7%);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--leturi-border);
  border-radius: 13px;
  background: #f8fbfa;
  color: var(--leturi-primary);
  font-size: 24px;
}

.search-field:focus-within {
  border-color: var(--leturi-primary);
  box-shadow: 0 0 0 3px rgb(7 135 125 / 12%);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--leturi-ink);
  font: inherit;
  font-size: 16px;
}

.discovery-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
}

.discovery-filters label,
.discovery-filters select {
  width: 100%;
}

.discovery-filters select,
.search-submit,
.near-me {
  min-height: 44px;
  border: 1px solid var(--leturi-border);
  border-radius: 11px;
  background: #fff;
  color: var(--leturi-ink);
  padding: 0 12px;
  font: inherit;
}

.search-submit {
  border-color: var(--leturi-primary);
  background: var(--leturi-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.results-heading h2 {
  margin: 0;
  color: var(--leturi-ink);
  font-size: 22px;
  letter-spacing: -0.025em;
  text-transform: none;
}

.results-heading span {
  color: var(--leturi-muted);
  font-size: 13px;
}

.near-me {
  flex: none;
  color: var(--leturi-primary-hover);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-result {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--leturi-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 20px rgb(30 75 70 / 5%);
  transition: 180ms ease;
}

.business-result:hover {
  transform: translateY(-3px);
  border-color: #acd1cc;
  box-shadow: var(--leturi-shadow);
}

.business-cover {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #dff3ef, #b9e1da);
  color: var(--leturi-primary-hover);
  text-decoration: none;
}

.business-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-cover.is-logo {
  padding: 22px;
  background: #fff;
}

.business-cover.is-logo img {
  object-fit: contain;
}

.business-cover.is-logo-square img {
  width: 136px;
  height: 136px;
  max-width: 70%;
  max-height: 78%;
}

.business-cover > span {
  font-size: 48px;
  font-weight: 900;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: var(--leturi-ink);
  box-shadow: 0 5px 16px rgb(16 35 38 / 16%);
  font-size: 22px;
  cursor: pointer;
}

.favorite-button.active {
  color: #d6455d;
}

.business-result-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.business-result-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.business-type {
  color: var(--leturi-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.business-result h3 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.2;
}

.business-result h3 a {
  color: var(--leturi-ink);
  text-decoration: none;
}

.rating-badge {
  flex: none;
  color: var(--leturi-warning);
  font-size: 13px;
  font-weight: 900;
}

.rating-badge small {
  color: var(--leturi-muted);
  font-weight: 600;
}

.business-location {
  display: flex;
  gap: 10px;
  margin: 0;
  color: var(--leturi-muted);
  font-size: 13px;
}

.service-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-preview span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--leturi-primary-soft);
  color: #37625f;
  font-size: 11px;
}

.business-result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  margin-top: 3px;
  padding-top: 12px;
  border-top: 1px solid #edf2f1;
}

.next-slot {
  color: var(--leturi-muted);
  font-size: 11px;
  line-height: 1.3;
}

.next-slot.available {
  color: var(--leturi-primary-hover);
  font-weight: 800;
}

.reserve-button {
  flex: none;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--leturi-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.discovery-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.discovery-empty strong {
  color: var(--leturi-ink);
  font-size: 18px;
}

.discovery-empty a {
  color: var(--leturi-primary);
  font-weight: 800;
}

/* Perfil público del negocio */
.business-profile-page {
  max-width: 860px;
  gap: 18px;
}

.profile-hero {
  display: flex;
  min-height: 150px;
  align-items: end;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgb(58 184 169 / 20%), transparent 17rem),
    linear-gradient(140deg, #fff, #edf8f6);
}

.profile-hero .business-photo {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border: 4px solid #fff;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgb(16 35 38 / 12%);
  object-fit: cover;
}

.profile-hero .business-photo.is-logo {
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.profile-hero .business-photo.is-logo-wide {
  width: 152px;
}

.profile-hero h1 {
  margin-top: 3px;
  font-size: clamp(25px, 4vw, 36px);
}

.profile-hero .business-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.profile-overview,
.profile-team {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--leturi-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(30 75 70 / 4%);
}

.profile-description p {
  max-width: 680px;
  margin: 7px 0 0;
  color: #40595c;
  font-size: 16px;
  line-height: 1.65;
}

.profile-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.profile-quick-actions a,
.profile-quick-actions button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--leturi-border);
  border-radius: 11px;
  background: #f8fbfa;
  color: var(--leturi-primary-hover);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 40px;
  text-decoration: none;
  cursor: pointer;
}

.profile-address {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #edf2f1;
  color: var(--leturi-muted);
  font-size: 13px;
}

.profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-section-heading h2,
.booking-intro h2 {
  margin: 3px 0 0;
  color: var(--leturi-ink);
  font-size: 22px;
  letter-spacing: -.025em;
  text-transform: none;
}

.profile-section-heading > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary-hover);
  font-size: 12px;
  font-weight: 900;
}

.team-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.team-member {
  display: grid;
  flex: 0 0 82px;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.team-member img,
.team-member > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary);
  object-fit: cover;
  font-size: 21px;
  font-weight: 900;
}

.default-person-avatar {
  --avatar-accent: #07877d;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgb(255 255 255 / 34%), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--avatar-accent) 72%, #fff), var(--avatar-accent)) !important;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 34%);
}

.default-person-avatar::before {
  content: "";
  position: absolute;
  top: 17%;
  left: 50%;
  width: 31%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
}

.default-person-avatar::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 8%;
  left: 18%;
  height: 38%;
  border-radius: 50% 50% 28% 28% / 68% 68% 30% 30%;
  background: rgb(255 255 255 / 92%);
}

.team-member:nth-child(3n + 2) .default-person-avatar {
  --avatar-accent: #b96618;
}

.team-member:nth-child(3n + 3) .default-person-avatar {
  --avatar-accent: #1680a8;
}

.team-member strong {
  font-size: 12px;
}

.booking-intro {
  scroll-margin-top: 86px;
  padding: 12px 3px 3px;
}

.booking-intro p {
  margin: 6px 0 0;
  color: var(--leturi-muted);
  font-size: 14px;
}

.profile-booking-flow > .booking-intro {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid var(--leturi-border);
  border-radius: 11px;
  background: #f8fbfa;
  color: var(--leturi-primary);
}

.service-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--leturi-ink);
  font: inherit;
}

.mobile-booking-cta {
  display: none;
}

.top-bar {
  display: flex;
  align-items: center;
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  justify-content: space-between;
  padding: 12px max(20px, calc((100vw - 760px) / 2));
  border-bottom: 1px solid rgb(216 228 226 / 85%);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 1px 0 rgb(16 35 38 / 2%);
  backdrop-filter: blur(16px);
}

.app-brand,
.top-bar .app-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leturi-ink);
  text-decoration: none;
}

.app-brand-mark {
  display: block;
  width: 38px;
  height: 40px;
  object-fit: contain;
  object-position: center;
}

.top-bar strong {
  color: var(--leturi-ink);
  font-size: 19px;
  letter-spacing: -0.03em;
}

.logout-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--leturi-border);
  border-radius: 10px;
  background: #fff;
  color: var(--leturi-muted);
  font-weight: 700;
  transition: 160ms ease;
}

.logout-link:hover {
  border-color: #abc8c4;
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary-hover);
}

.back-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--leturi-border);
  border-radius: 12px;
  background: #fff;
  color: var(--leturi-ink);
  font-size: 0;
}

.back-link::before {
  content: "←";
  font-size: 21px;
}

nav.tabs {
  display: flex;
  margin: 0 auto;
  gap: 4px;
  max-width: 760px;
  padding: 14px 20px 0;
}

nav.tabs a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 10px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--leturi-muted);
  transition: 160ms ease;
}

nav.tabs a:hover {
  background: rgb(255 255 255 / 70%);
  color: var(--leturi-ink);
}

nav.tabs a.active {
  background: var(--leturi-primary-soft);
  color: #066f68;
}

main {
  display: grid;
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  padding: 28px 20px 56px;
  gap: 14px;
}

h1 {
  margin: 8px 0 0;
  color: var(--leturi-ink);
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 0 0 4px;
  color: var(--leturi-muted);
  font-size: 15px;
}

.customer-page-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.customer-page-heading h1,
.customer-page-heading .subtitle {
  margin: 0;
}

.customer-page-eyebrow {
  color: var(--leturi-primary-hover);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.customer-reservations-list {
  display: grid;
  gap: 12px;
}

.customer-empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 22px;
}

.customer-empty-state strong {
  color: var(--leturi-ink);
  font-size: 18px;
}

.customer-empty-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 50%;
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary);
  font-size: 22px;
  font-weight: 900;
}

.customer-primary-link {
  margin-top: 10px;
  padding: 11px 16px;
  border-radius: 11px;
  background: var(--leturi-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.customer-primary-link:hover {
  background: var(--leturi-primary-hover);
}

select.type-filter,
.datetime-trigger {
  min-height: 48px;
  border: 1px solid var(--leturi-border);
  border-radius: 12px;
  background: #fff;
  color: var(--leturi-ink);
  box-shadow: 0 1px 2px rgb(16 35 38 / 3%);
}

select.type-filter:focus,
.datetime-trigger:focus-visible,
.slot-button:focus-visible,
.option-card:focus-visible {
  outline: 3px solid rgb(7 135 125 / 18%);
  outline-offset: 2px;
  border-color: var(--leturi-primary);
}

.business-card {
  position: relative;
  min-height: 88px;
  padding: 15px;
  border: 1px solid var(--leturi-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(30 75 70 / 4%);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.business-card::after {
  content: "›";
  margin-left: auto;
  color: #7b9294;
  font-size: 26px;
  line-height: 1;
}

.business-card:hover {
  transform: translateY(-2px);
  border-color: #acd1cc;
  box-shadow: var(--leturi-shadow);
}

.business-photo {
  overflow: hidden;
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary-hover);
}

.business-info strong,
.appointment-card .business-name {
  color: var(--leturi-ink);
  font-size: 16px;
}

.business-meta {
  color: var(--leturi-muted);
}

.business-rating {
  color: var(--leturi-warning);
}

.empty-state {
  margin-top: 10px;
  padding: 48px 16px;
  border: 1px dashed #bfd1ce;
  border-radius: 18px;
  background: rgb(255 255 255 / 60%);
  color: var(--leturi-muted);
  text-align: center;
}

.appointment-card {
  padding: 18px;
  border: 1px solid var(--leturi-border);
  border-left: 1px solid var(--leturi-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(30 75 70 / 4%);
}

.appointment-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.appointment-card .business-name,
.appointment-card .service-name {
  display: block;
}

.appointment-card .business-name {
  font-weight: 800;
}

.appointment-card .service-name {
  margin-top: 3px;
  font-size: 13px;
}

.appointment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top-color: #edf2f1;
  border-top-style: solid;
  border-top-width: 1px;
  font-size: 13px;
}

.appointment-meta .when,
.appointment-meta .price {
  font-weight: 700;
}

.appointment-meta .price {
  margin-left: auto;
}

.appointment-card .service-name,
.appointment-meta .staff,
.appointment-meta .price {
  color: var(--leturi-muted);
}

.appointment-meta .price {
  color: var(--leturi-ink);
}

.status-pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary-hover);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.status-cancelled {
  background: var(--leturi-danger-soft);
  color: var(--leturi-danger);
}

.status-pill.status-no_show,
.status-pill.status-pending {
  background: var(--leturi-warning-soft);
  color: var(--leturi-warning);
}

/* Ficha y flujo de reserva */
.business-header {
  padding: 18px;
  border: 1px solid var(--leturi-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--leturi-shadow);
}

.business-header .business-photo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.business-header h1 {
  color: var(--leturi-ink);
  font-size: 22px;
  letter-spacing: -0.025em;
}

.business-meta {
  line-height: 1.5;
}

#booking-flow {
  display: grid;
  gap: 12px;
}

#booking-flow section {
  padding: 18px;
  border: 1px solid var(--leturi-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 14px rgb(30 75 70 / 4%);
}

section h2 {
  margin-bottom: 14px;
  color: #496568;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.option-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.option-card {
  position: relative;
  min-height: 62px;
  padding: 12px 44px 12px 14px;
  border: 1px solid var(--leturi-border);
  border-radius: 13px;
  background: #f9fbfa;
  color: var(--leturi-ink);
  width: 100%;
  font: inherit;
  text-align: left;
  transition: 150ms ease;
}

.option-card:hover {
  border-color: #a8cbc7;
  background: #fff;
}

.option-card.selected {
  border-color: var(--leturi-primary);
  background: var(--leturi-primary-soft);
  box-shadow: inset 0 0 0 1px var(--leturi-primary);
}

.option-card.selected::after {
  content: "✓";
  position: absolute;
  right: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--leturi-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.option-card span.sub {
  color: var(--leturi-muted);
}

.date-popover {
  border-color: var(--leturi-border);
  background: #fff;
  box-shadow: 0 18px 44px rgb(16 35 38 / 15%);
}

.date-popover-header button,
.date-popover-grid button {
  color: var(--leturi-ink);
}

.date-popover-header button:hover,
.date-popover-grid button:hover:not(:disabled) {
  background: var(--leturi-primary-soft);
}

.date-popover-grid button.today {
  border-color: var(--leturi-primary);
  color: var(--leturi-primary);
}

.date-popover-grid button.selected {
  background: var(--leturi-primary);
  color: #fff;
}

.slot-grid {
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 9px;
}

.slot-button {
  min-height: 44px;
  border: 1px solid var(--leturi-border);
  border-radius: 11px;
  background: #f7faf9;
  color: var(--leturi-ink);
  font-weight: 700;
  transition: 150ms ease;
}

.slot-button:hover {
  border-color: var(--leturi-primary);
  background: var(--leturi-primary-soft);
  color: var(--leturi-primary-hover);
}

.slot-button.selected {
  border-color: var(--leturi-primary);
  background: var(--leturi-primary);
  color: #fff;
  box-shadow: 0 7px 16px rgb(7 135 125 / 20%);
}

.empty-note {
  margin: 0;
  padding: 12px;
  border-radius: 11px;
  background: #f3f7f6;
  color: var(--leturi-muted);
}

input[type="tel"] {
  padding: 11px 12px;
  border: 1px solid var(--leturi-border);
  border-radius: 11px;
  background: #fff;
  color: var(--leturi-ink);
}

.primary-button {
  border-radius: 12px;
  background: var(--leturi-primary);
  box-shadow: 0 8px 20px rgb(7 135 125 / 18%);
  transition: 150ms ease;
}

.primary-button:hover:not(:disabled) {
  background: var(--leturi-primary-hover);
  transform: translateY(-1px);
}

.form-error {
  position: sticky;
  z-index: 10;
  top: 78px;
  padding: 13px 15px;
  border-color: #f1b4b4;
  border-radius: 12px;
  background: var(--leturi-danger-soft);
  color: #9f2929;
  box-shadow: 0 8px 24px rgb(159 41 41 / 9%);
}

.success-panel {
  padding: 42px 24px;
  border: 1px solid var(--leturi-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--leturi-shadow);
}

@media (max-width: 620px) {
  .top-bar {
    min-height: 62px;
    padding: 10px 16px;
  }

  .app-brand-mark {
    width: 38px;
    height: 38px;
  }

  nav.tabs {
    position: fixed;
    z-index: 19;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: none;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--leturi-border);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(16px);
  }

  nav.tabs a {
    padding: 10px 8px;
  }

  main {
    padding: 22px 16px 88px;
  }

  .option-list {
    grid-template-columns: 1fr;
  }

  #booking-flow section,
  .business-header {
    padding: 15px;
    border-radius: 15px;
  }

  .business-header .business-photo {
    width: 60px;
    height: 60px;
  }

  .logout-link {
    padding: 8px 10px;
  }

  .discovery-page {
    gap: 20px;
  }

  .discovery-hero {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .discovery-filters {
    grid-template-columns: 1fr 1fr;
  }

  .search-submit {
    grid-column: 1 / -1;
  }

  .results-heading {
    align-items: center;
  }

  .results-heading h2 {
    font-size: 19px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-profile-page {
    padding-bottom: 105px;
  }

  .profile-hero {
    min-height: 130px;
    padding: 18px;
    align-items: center;
  }

  .profile-hero .business-photo {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }

  .profile-hero .business-photo.is-logo-wide {
    width: 124px;
    padding: 6px;
  }

  .profile-overview,
  .profile-team {
    padding: 17px;
    border-radius: 16px;
  }

  .mobile-booking-cta {
    position: fixed;
    z-index: 18;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 16px;
    display: block;
    padding: 14px 18px;
    border-radius: 13px;
    background: var(--leturi-primary);
    color: #fff;
    box-shadow: 0 12px 28px rgb(7 135 125 / 28%);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
  }
}

@media (min-width: 621px) and (max-width: 940px) {
  .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
