@font-face {
  font-family: "Gilroy";
  src: url("/bmu-assets/fonts/Gilroy-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/bmu-assets/fonts/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/bmu-assets/fonts/Gilroy-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bmu-navy: #0B1E40;
  --bmu-blue: #648AC8;
  --bmu-blue-dark: #4F74B2;
  --bmu-bg: #F5F6F8;
  --bmu-line: #E9EAEC;
  --bmu-ink: #010101;
  --bmu-muted: #64748B;
  --bmu-white: #FFFFFF;
  --bmu-ok: #0F7A55;
  --bmu-ok-soft: #E1F5EC;
  --bmu-warn: #B45309;
  --bmu-warn-soft: #FEF3C7;
  --bmu-err: #B42318;
  --bmu-err-soft: #FEE4E2;
  --bmu-radius: 12px;
  --bmu-font: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bmu-safe-l: env(safe-area-inset-left, 0px);
  --bmu-safe-r: env(safe-area-inset-right, 0px);
  --bmu-safe-b: env(safe-area-inset-bottom, 0px);
}

.bmu-body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--bmu-font);
  color: var(--bmu-ink);
  background: var(--bmu-bg);
  display: flex;
  flex-direction: column;
}

.bmu-body a { color: inherit; text-decoration: none; }
.bmu-body button,
.bmu-body input { font: inherit; }
.bmu-body button { cursor: pointer; touch-action: manipulation; }

.bmu-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: calc(1.15rem + var(--bmu-safe-l));
  padding-right: calc(1.15rem + var(--bmu-safe-r));
}

.bmu-header {
  background: var(--bmu-navy);
  color: var(--bmu-white);
}

.bmu-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.bmu-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.bmu-brand img {
  height: 42px;
  width: auto;
  display: block;
}

.bmu-brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.bmu-lang {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px;
}

.bmu-lang button {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
}

.bmu-lang button.active {
  background: var(--bmu-blue);
  color: var(--bmu-white);
}

.bmu-main { flex: 1; padding: 1.25rem 0 2rem; }

.bmu-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bmu-muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.bmu-back:hover { color: var(--bmu-navy); }

.bmu-card {
  background: var(--bmu-white);
  border: 1px solid var(--bmu-line);
  border-radius: var(--bmu-radius);
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.bmu-card-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--bmu-line);
}

.bmu-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(100, 138, 200, 0.14);
  color: var(--bmu-navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bmu-card-head h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bmu-navy);
}

.bmu-card-head p {
  margin: 0;
  color: var(--bmu-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.bmu-form { display: grid; gap: 0.85rem; }

.bmu-field { display: grid; gap: 0.35rem; min-width: 0; }

.bmu-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bmu-navy);
}

.bmu-field input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--bmu-line);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  background: var(--bmu-white);
  color: var(--bmu-ink);
  box-sizing: border-box;
}

.bmu-field input:focus {
  outline: 2px solid rgba(100, 138, 200, 0.35);
  border-color: var(--bmu-blue);
}

.bmu-field input.invalid {
  border-color: var(--bmu-err);
  background: var(--bmu-err-soft);
}

.bmu-field-hint {
  font-size: 0.78rem;
  color: var(--bmu-err);
  min-height: 1.1em;
}

.bmu-time-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.bmu-time-row input[type="time"] {
  display: block;
  appearance: none;
  -webkit-appearance: none;
}

.bmu-btn {
  border: none;
  background: var(--bmu-blue);
  color: var(--bmu-white);
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.bmu-btn:hover { background: var(--bmu-blue-dark); }
.bmu-btn:disabled { opacity: 0.65; cursor: wait; }

.bmu-alert {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.bmu-alert.ok { background: var(--bmu-ok-soft); color: var(--bmu-ok); }
.bmu-alert.err { background: var(--bmu-err-soft); color: var(--bmu-err); }
.bmu-alert.warn { background: var(--bmu-warn-soft); color: var(--bmu-warn); }
.bmu-alert.hidden { display: none; }

.bmu-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.bmu-section-title h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bmu-navy);
}

.bmu-section-title span {
  font-size: 0.8rem;
  color: var(--bmu-muted);
}

.bmu-booking-list { display: grid; gap: 0.55rem; }

.bmu-booking-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--bmu-line);
  border-radius: 10px;
  background: #FAFBFC;
}

.bmu-booking-item strong { font-size: 0.95rem; color: var(--bmu-navy); }

.bmu-booking-meta {
  font-size: 0.82rem;
  color: var(--bmu-muted);
}

.bmu-booking-name {
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.15rem;
}

.bmu-empty {
  color: var(--bmu-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.bmu-footer {
  border-top: 1px solid var(--bmu-line);
  background: var(--bmu-white);
  color: var(--bmu-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.9rem 0 calc(0.9rem + var(--bmu-safe-b));
}

.bmu-footer a { color: var(--bmu-blue-dark); font-weight: 500; }

.bmu-hero {
  width: 100%;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.bmu-hero-logo img { height: 56px; width: auto; }

.bmu-hero h1 {
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--bmu-navy);
  letter-spacing: -0.02em;
}

.bmu-hero p {
  margin: 0;
  color: var(--bmu-muted);
  font-size: 0.95rem;
}

.bmu-service-grid {
  width: 100%;
  display: grid;
  gap: 0.75rem;
}

.bmu-service-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bmu-white);
  border: 1px solid var(--bmu-line);
  border-radius: var(--bmu-radius);
  padding: 1.1rem 1.15rem;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

a.bmu-service-card:hover {
  border-color: var(--bmu-blue);
  transform: translateY(-1px);
}

.bmu-service-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(100, 138, 200, 0.14);
  color: var(--bmu-navy);
}

.bmu-service-body { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }
.bmu-service-body strong { font-size: 1rem; color: var(--bmu-navy); }
.bmu-service-body span { font-size: 0.86rem; color: var(--bmu-muted); line-height: 1.4; }
.bmu-service-arrow { flex-shrink: 0; color: var(--bmu-muted); }

@media (max-width: 480px) {
  .bmu-brand img { height: 36px; }
}
