:root {
  --bb-green: #1FC065;
  --bb-green-strong: #14B25C;
  --bb-navy: #1F2D52;
  --bb-overlay: rgba(31, 45, 82, 0.62);
  --white: #ffffff;
  --max-width: 1280px;
  --hero-max-width: 1640px;

  --bg: #f6f7f9;
  --card: #ffffff;
  --text: var(--bb-navy);
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: var(--bb-green);
  --accent-strong: var(--bb-green-strong);
  --accent-soft: #e6f8ee;
  --slot-border: #cdd6e1;
  --warn: #b45309;
  --danger: #d92d20;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--bb-navy);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding-bottom: 9rem;
  border-bottom-left-radius: 50% 22%;
  border-bottom-right-radius: 50% 22%;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/header/header-5.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--bb-overlay);
  z-index: -1;
}

.hero__inner {
  max-width: var(--hero-max-width);
  margin: 0 auto;
  padding: 1.75rem 3.5rem 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img { height: 56px; width: auto; display: block; }
.topbar__left { display: flex; align-items: center; gap: 1.5rem; }

.lang-switch { display: flex; align-items: center; gap: 0.4rem; }
.flag {
  background: none; border: 0; padding: 0; cursor: pointer; line-height: 1;
  font-size: 1.25rem; filter: saturate(1.1); opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.flag:hover { opacity: 1; transform: translateY(-1px); }
.flag.is-active { opacity: 1; }
.flag-emoji { display: inline-block; }

.menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2.25rem;
}
.menu a {
  color: #fff; text-decoration: none; font-size: 1rem; font-weight: 600;
  letter-spacing: 0.005em; transition: opacity 0.15s ease;
}
.menu a:hover { opacity: 0.8; }
.caret { font-size: 0.75em; margin-left: 0.15em; display: inline-block; transform: translateY(-1px); }

.cta {
  display: inline-flex; align-items: center; gap: 0.85rem;
  background: var(--bb-green); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1rem;
  padding: 0.85rem 0.85rem 0.85rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(31, 192, 101, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.cta:hover { background: var(--bb-green-strong); transform: translateY(-1px); }
.cta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  border: 1.5px solid #fff; font-size: 0.95rem; line-height: 1;
}

.hero__content { text-align: center; margin-top: 5.5rem; }
.hero__title {
  font-family: 'Jost', sans-serif; font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.05;
  margin: 0 0 1.5rem; letter-spacing: -0.01em;
}

.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 0.85rem; font-size: 1.05rem; font-weight: 500;
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb__sep { color: var(--bb-green); font-weight: 700; font-size: 1.15rem; }

/* ===================== SUBTITLE BAND ===================== */
.subtitle-band { padding: 3.5rem 0 2.5rem; text-align: center; }
.subtitle {
  font-family: 'Jost', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0;
  letter-spacing: -0.005em;
}
.subtitle__dark { color: var(--bb-navy); }
.subtitle__green { color: var(--bb-green); }

/* ===================== BOOKING CARD SECTION ===================== */
.booking-section { padding: 1rem 0 5rem; }
.booking-section .container { display: flex; justify-content: center; }

.card {
  position: relative;
  background: var(--card);
  width: min(1040px, 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(31, 45, 82, 0.08), 0 1px 3px rgba(31, 45, 82, 0.06);
  overflow: hidden;
}

.card__grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  min-height: 560px;
}

@media (max-width: 760px) {
  .card__grid { grid-template-columns: 1fr; }
}

/* Calendly-style ribbon */
.badge {
  position: absolute;
  top: 0; right: 0;
  width: 130px; height: 130px;
  background: transparent;
  text-decoration: none;
  color: #fff;
  pointer-events: none;
}
.badge::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 130px 130px 0;
  border-color: transparent var(--bb-navy) transparent transparent;
}
.badge__top, .badge__bot {
  position: absolute;
  right: 8px;
  transform: rotate(45deg);
  font-size: 11px;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.badge__top { top: 26px; }
.badge__bot { top: 44px; font-size: 14px; }

/* LEFT info panel */
.info {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
}
.info__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 20px;
}
.info__back:hover { background: var(--accent-soft); }
.info__org {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.info__title {
  margin: 4px 0 24px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--bb-navy);
}
.info__meta {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--bb-navy);
  font-weight: 500;
}
.info__meta .ic { margin-right: 10px; color: var(--muted); }
.info__desc {
  color: var(--bb-navy);
  font-size: 14px;
  line-height: 1.55;
}

/* RIGHT step area */
.step { padding: 36px 40px; }
.step__title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 700;
  color: var(--bb-navy);
}

/* Calendar */
.cal__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}
.cal__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
}
.cal__arrow[disabled] { color: #c8cfd9; cursor: not-allowed; }
.cal__arrow:not([disabled]):hover { background: var(--accent-soft); }
.cal__label {
  font-weight: 600;
  font-size: 15px;
  min-width: 130px;
  text-align: center;
  color: var(--bb-navy);
}
.cal__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal__grid th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 0;
}
.cal__grid td {
  text-align: center;
  padding: 4px 0;
}
.day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
}
.day--blank { visibility: hidden; }
.day--off { color: #c8cfd9; }
.day--avail {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.day--avail:hover { background: var(--accent); color: #fff; }

.cal__tz {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.cal__tz-label { margin: 0 0 4px; font-weight: 600; color: var(--text); }
.cal__tz-value { margin: 0; }

/* Time slots */
.slots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
}
.slot {
  display: block;
  border: 1px solid var(--slot-border);
  border-radius: 6px;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}
.slot:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.slots__empty { color: var(--muted); }

/* Booking form */
.bform { display: grid; gap: 14px; max-width: 540px; }
.bform label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-navy);
}
.bform label > span { display: block; margin-bottom: 4px; }
.bform label em { color: var(--danger); font-style: normal; }
.bform input,
.bform select,
.bform textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.bform input:focus,
.bform select:focus,
.bform textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.bform__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bform__radio {
  border: 0;
  padding: 0;
  margin: 0;
}
.bform__radio legend {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-navy);
  margin-bottom: 4px;
  padding: 0;
}
.bform__radio legend em { color: var(--danger); font-style: normal; }
.bform__radio ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bform__radio li { margin: 0; padding: 0; }
.bform__radio li label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--bb-navy);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bform__radio li label:hover { border-color: var(--accent); }
.bform__radio input[type="radio"] {
  width: auto;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.bform__radio li label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.bform small { font-weight: 400; color: var(--muted); }
.bform__legal {
  font-size: 12px;
  color: var(--muted);
}
.bform__submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  justify-self: start;
  box-shadow: 0 6px 18px rgba(31, 192, 101, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.bform__submit:hover { background: var(--accent-strong); transform: translateY(-1px); }
.bform .errorlist {
  color: var(--danger);
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
}

/* Confirmation */
.card--confirm { max-width: 560px; padding: 48px 40px; margin: 48px auto; }
.confirm { text-align: center; }
.confirm__icon { font-size: 48px; }
.confirm__title { margin: 16px 0 8px; font-size: 24px; color: var(--bb-navy); }
.confirm__sub { color: var(--muted); margin: 4px 0; }
.confirm__warn {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: var(--warn);
  border-radius: 8px;
  font-size: 13px;
}
.confirm__cta {
  display: inline-block;
  margin-top: 24px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.confirm__cta:hover { background: var(--accent-strong); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .menu { gap: 1.25rem; }
  .menu a { font-size: 0.95rem; }
}

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; }
  .menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .cta { padding: 0.7rem 0.7rem 0.7rem 1.2rem; font-size: 0.9rem; }
  .cta__icon { width: 28px; height: 28px; }
  .hero { padding-bottom: 6rem; border-bottom-left-radius: 50% 12%; border-bottom-right-radius: 50% 12%; }
  .hero__content { margin-top: 3rem; }
}

@media (max-width: 560px) {
  .hero__inner { padding: 1.25rem 1.25rem 2.5rem; }
  .logo img { height: 42px; }
  .menu { font-size: 0.9rem; }
  .container { padding: 0 1rem; }
}
