/* Bakerm Hotel site shell (header, topbar, footer) */

@import url("icons.css");

:root {
  --bh-navy: #1f3a63;
  --bh-navy-dark: #152947;
  --bh-gold: #c8a45d;
  --bh-gold-soft: #e8d4a8;
  --bh-cream: #f4f2ec;
  --bh-white: #ffffff;
  --bh-wrap: min(1200px, calc(100vw - 40px));
  --bh-header-h: 72px;
  --bh-topbar-h: 36px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-padding-top: calc(var(--bh-topbar-h) + var(--bh-header-h) + 16px);
}

.bh-wrap {
  width: var(--bh-wrap);
  margin-inline: auto;
}

/* Top bar */
.bh-topbar {
  background: var(--bh-navy-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(200, 164, 93, 0.22);
}

.bh-topbar__inner {
  min-height: var(--bh-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.bh-topbar__loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
  line-height: 1.35;
}

.bh-topbar__loc svg {
  width: 14px;
  height: 14px;
  color: var(--bh-gold);
  flex-shrink: 0;
}

.bh-topbar__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bh-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
}

.bh-topbar__social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.bh-topbar__social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bh-topbar__social-link:hover,
.bh-topbar__social-link:focus-visible {
  background: rgba(200, 164, 93, 0.22);
  border-color: var(--bh-gold);
  color: var(--bh-gold-soft);
  transform: translateY(-1px);
  outline: none;
}

.bh-topbar__social-icon {
  width: 13px;
  height: 13px;
  display: block;
  pointer-events: none;
}

.bh-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.bh-topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--bh-gold);
}

.bh-topbar__item:hover {
  color: var(--bh-gold-soft);
}

.bh-topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(140, 232, 176, 0.14);
  border: 1px solid rgba(140, 232, 176, 0.35);
  color: #b8f5d0;
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.bh-topbar__pill:hover {
  background: rgba(140, 232, 176, 0.22);
  color: #fff;
}

/* Main header */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bh-white);
  border-bottom: 1px solid rgba(31, 58, 99, 0.1);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
}

.bh-header__inner {
  min-height: var(--bh-header-h);
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr auto;
  align-items: center;
  gap: 16px 24px;
  padding: 8px 0;
}

.bh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bh-navy);
}

.bh-brand__mark {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: min(240px, 55vw);
  object-fit: contain;
}

.bh-brand--logo-only .bh-brand__mark {
  max-height: 40px;
  max-width: min(240px, 55vw);
}

.bh-footer__brand .bh-brand--logo-only .bh-brand__mark {
  max-height: 44px;
  max-width: min(260px, 58vw);
}

.bh-brand__name {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.15;
  color: var(--bh-navy);
}

.bh-brand__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bh-gold);
  margin-top: 2px;
}

.bh-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 58, 99, 0.14);
  border-radius: var(--radius-md);
  background: var(--bh-white);
  color: var(--bh-navy);
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.bh-nav-toggle svg {
  width: 22px;
  height: 22px;
}

.bh-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.bh-nav a {
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(21, 32, 51, 0.78);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.bh-nav a:hover,
.bh-nav a.active {
  color: var(--bh-navy);
  background: rgba(200, 164, 93, 0.12);
}

.bh-nav a.active {
  box-shadow: inset 0 -2px 0 var(--bh-gold);
  border-radius: 6px 6px 4px 4px;
}

.bh-nav-mobile-cta {
  display: none;
}

.bh-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bh-btn:hover {
  transform: translateY(-1px);
}

.bh-btn--ghost {
  color: var(--bh-navy);
  border-color: rgba(31, 58, 99, 0.2);
  background: transparent;
}

.bh-btn--ghost:hover {
  border-color: var(--bh-navy);
  background: var(--bh-cream);
}

.bh-btn--gold {
  color: var(--bh-navy-dark);
  background: linear-gradient(180deg, #d4b06a 0%, var(--bh-gold) 100%);
  border-color: var(--bh-gold);
  box-shadow: 0 8px 20px rgba(200, 164, 93, 0.35);
}

.bh-btn--gold:hover {
  box-shadow: 0 10px 26px rgba(200, 164, 93, 0.45);
}

/* Footer CTA */
.bh-footer-cta {
  background: linear-gradient(115deg, var(--bh-navy) 0%, #0f2848 48%, var(--bh-navy-dark) 100%);
  color: var(--bh-white);
  padding: 40px 0;
  border-top: 3px solid var(--bh-gold);
}

.bh-footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.bh-footer-cta__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bh-gold);
  margin-bottom: 10px;
}

.bh-footer-cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bh-white);
}

.bh-footer-cta p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 0.95rem;
}

.bh-footer-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bh-btn--light {
  color: var(--bh-navy);
  background: var(--bh-white);
  border-color: var(--bh-white);
}

.bh-btn--outline-light {
  color: var(--bh-white);
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.bh-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer main */
.bh-footer {
  background: var(--bh-navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 0 0 28px;
}

.bh-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr 1.05fr;
  gap: 36px 28px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bh-footer__brand .bh-brand {
  margin-bottom: 14px;
}

.bh-footer__brand .bh-brand__name,
.bh-footer__brand .bh-brand__sub {
  color: var(--bh-white);
}

.bh-footer__brand .bh-brand__sub {
  color: var(--bh-gold);
}

.bh-footer__brand-line {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-gold-soft);
  max-width: 300px;
}

.bh-footer__tagline {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 300px;
}

.bh-footer__ota {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.bh-ota-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(200, 164, 93, 0.45);
  color: var(--bh-gold-soft);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bh-ota-link:hover {
  background: rgba(200, 164, 93, 0.15);
  border-color: var(--bh-gold);
  color: var(--bh-white);
}

.bh-ota-link--alt {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.bh-social__label {
  margin: 0 0 12px;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bh-gold);
}

.bh-footer__social {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
}

.bh-footer__social .bh-social__label {
  margin: 0;
}

.bh-footer__social .bh-social {
  gap: 6px;
}

.bh-footer__social .bh-social__link {
  width: 30px;
  height: 30px;
}

.bh-footer__social .bh-social__icon {
  width: 14px;
  height: 14px;
}

.bh-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bh-social--on-light .bh-social__link {
  border-color: rgba(31, 58, 99, 0.15);
  color: var(--bh-navy);
}

.bh-social--on-light .bh-social__link:hover {
  background: var(--bh-gold);
  border-color: var(--bh-gold);
  color: var(--bh-navy-dark);
}

.contact-card-info .social-heading {
  margin-top: 28px;
}

.contact-card-info .bh-social {
  margin-top: 4px;
}

.bh-social__link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bh-social__icon {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.bh-social__link:hover {
  background: var(--bh-gold);
  border-color: var(--bh-gold);
  color: var(--bh-navy-dark);
}

.bh-footer__col h3 {
  margin: 0 0 18px;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bh-gold);
}

.bh-footer__col a {
  display: block;
  margin-bottom: 11px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.bh-footer__col a:hover {
  color: var(--bh-white);
  padding-left: 4px;
}

.bh-footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.bh-footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--bh-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.bh-footer__contact-item a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.bh-footer__contact-item a:hover {
  color: var(--bh-gold-soft);
  padding-left: 0;
}

.bh-footer__address-title {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  margin-bottom: 4px;
}

.bh-footer__newsletter-intro {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.bh-footer__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bh-footer__form input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--bh-white);
  font-size: 0.9rem;
}

.bh-footer__form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.bh-footer__form input:focus {
  outline: none;
  border-color: var(--bh-gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.2);
}

.bh-footer__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.bh-footer__bar-item {
  flex-shrink: 0;
}

.bh-footer__bar-sep {
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}

.bh-footer__credit {
  text-align: center;
}

.bh-footer__bar a {
  color: var(--bh-gold);
  text-decoration: none;
  font-weight: 600;
}

.bh-footer__credit a:hover,
.bh-footer__bar a:hover {
  color: var(--bh-gold-soft);
}

.bh-footer__legal-nav {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.bh-footer__legal-nav a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-weight: 500;
}

.bh-footer__legal-nav a:hover {
  color: var(--bh-gold-soft);
}

.bh-legal-page {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.bh-legal-page h2 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  font-size: 1.15rem;
  margin: 2rem 0 0.65rem;
}

.bh-legal-page h2:first-child {
  margin-top: 0;
}

.bh-legal-page p {
  margin: 0 0 1rem;
}

.bh-legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.bh-legal-page li {
  margin-bottom: 0.45rem;
}

.bh-legal-page a {
  color: var(--brand-navy);
  font-weight: 600;
}

.bh-legal-page a:hover {
  color: var(--brand-gold);
}

.bh-legal-page .bh-legal-updated {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.bh-legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0 0 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(31, 58, 99, 0.12);
  font-size: 0.88rem;
}

.bh-legal-toc a {
  color: var(--brand-navy);
  font-weight: 500;
  text-decoration: none;
}

.bh-legal-toc a:hover {
  color: var(--brand-gold);
  text-decoration: underline;
}

.bh-legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.bh-legal-page .bh-legal-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
}

.bh-legal-page .bh-legal-table thead th {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
}

.bh-legal-page .bh-legal-table tbody td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(31, 58, 99, 0.1);
  vertical-align: top;
}

.bh-legal-page .bh-legal-table tbody tr:nth-child(even) td {
  background: rgba(31, 58, 99, 0.03);
}

.bh-legal-page .bh-legal-table code {
  font-size: 0.82rem;
  background: rgba(31, 58, 99, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.bh-legal-page .bh-legal-table a {
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .bh-legal-toc {
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (max-width: 1100px) {
  .bh-footer__bar {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    text-align: center;
    row-gap: 8px;
  }

  .bh-footer__bar-sep {
    display: none;
  }
}

/* Mobile */
@media (max-width: 1024px) {
  .bh-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bh-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .bh-header__inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }

  .bh-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .bh-header__actions {
    display: none;
  }

  .bh-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(31, 58, 99, 0.08);
    gap: 0;
  }

  .bh-nav.open {
    display: flex;
  }

  .bh-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(31, 58, 99, 0.06);
    border-radius: 0;
  }

  .bh-nav a.active {
    box-shadow: none;
    background: rgba(200, 164, 93, 0.1);
  }

  .bh-nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 8px 8px;
    margin-top: 8px;
    border-top: 1px solid rgba(31, 58, 99, 0.1);
  }

  .bh-nav-mobile-cta .bh-btn {
    width: 100%;
  }

  .bh-topbar__loc {
    max-width: 100%;
    font-size: 0.75rem;
  }

  .bh-topbar__contact {
    gap: 12px;
    font-size: 0.75rem;
  }

  .bh-topbar__right {
    gap: 10px;
  }

  .bh-topbar__social {
    padding-left: 0;
    border-left: none;
    gap: 5px;
  }

  .bh-topbar__social-link {
    width: 26px;
    height: 26px;
  }

  .bh-topbar__social-icon {
    width: 12px;
    height: 12px;
  }

  .bh-topbar__item span[data-site="email"] {
    display: none;
  }

  .bh-brand--logo-only .bh-brand__mark {
    max-height: 34px;
    max-width: min(200px, 52vw);
  }

  .bh-footer__brand .bh-brand--logo-only .bh-brand__mark {
    max-height: 40px;
    max-width: min(220px, 62vw);
  }
}

@media (max-width: 640px) {
  .bh-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .bh-footer-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bh-topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .bh-topbar__contact {
    justify-content: center;
  }

  .bh-topbar__right {
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }
}

/* Floating WhatsApp — Talk to us */
.bh-whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.42), 0 4px 12px rgba(31, 58, 99, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bh-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(31, 58, 99, 0.22);
  color: #fff;
}

.bh-whatsapp-float .bh-icon--whatsapp {
  width: 22px;
  height: 22px;
  background-color: #fff;
  flex-shrink: 0;
}

.bh-whatsapp-float__text {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .bh-whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }

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

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

  .bh-whatsapp-float:hover {
    transform: none;
  }
}
