/* Reservas en línea de Bahaire Beach: misma identidad que bahairebeach.com (mar profundo, oro y DM Serif Display). */
:root {
  --green-dark: #0D3B40;
  --green-mid: #1C6A6E;
  --teal: #00A896;
  --teal-dark: #00796B;
  --orange: #E4A93A;
  --sand: #E9DCC6;
  --white: #F5F7F4;
  --text: #12302F;
  --muted: #566B68;
  --border: rgba(0, 168, 150, 0.22);
  --danger: #B42318;
  --radius: 12px;
  --ff-display: 'DM Serif Display', Georgia, serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-synthesis: none; font-family: var(--ff-body); color: var(--text); background: var(--white); line-height: 1.55; }
a { color: var(--teal-dark); }
img { max-width: 100%; display: block; }

.bb-header { background: var(--green-dark); color: var(--sand); }
.bb-header__inner { max-width: 960px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bb-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; }
.bb-brand img { width: 36px; height: 36px; }
.bb-header__nav { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: .9rem; }
.bb-header__nav a { color: var(--sand); text-decoration: none; opacity: .9; }
.bb-header__nav a[aria-current="true"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.bb-main { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
.bb-title { font-family: var(--ff-display); font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.1; margin: 0 0 8px; color: var(--green-dark); }
.bb-lead { margin: 0 0 24px; color: var(--muted); }

.bb-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.bb-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bb-card h2, .bb-card h3 { font-family: var(--ff-display); font-size: 1.5rem; margin: 0; color: var(--green-dark); line-height: 1.15; }
.bb-card p { margin: 0; }
.bb-card .bb-price { font-weight: 700; color: var(--green-mid); }
.bb-card .bb-btn { margin-top: auto; }

.bb-list { margin: 0; padding-left: 1.1rem; }
.bb-muted { color: var(--muted); font-size: .92rem; }

.bb-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--orange); color: #1d1406; font-weight: 700; font-size: 1rem; text-decoration: none; font-family: inherit; }
.bb-btn:hover { filter: brightness(.96); }
.bb-btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.bb-btn--secondary { background: transparent; color: var(--green-dark); border: 1.5px solid var(--green-dark); }
.bb-btn--block { width: 100%; }
.bb-back { margin: 0 0 16px; }
.bb-back .bb-btn { min-height: 42px; padding: 8px 18px; font-size: .95rem; }

.bb-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.bb-section > h2 { font-size: 1.1rem; margin: 0 0 14px; color: var(--green-dark); }

.bb-fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bb-fields--2 { grid-template-columns: 1fr 1fr; } }
.bb-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.bb-field input, .bb-field select, .bb-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #cfd8d3; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.bb-field textarea { min-height: 90px; }
.bb-field small { display: block; color: var(--muted); margin-top: 4px; }
.bb-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.bb-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }

.bb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.bb-quote { width: 100%; border-collapse: collapse; }
.bb-quote td { padding: 8px 0; border-bottom: 1px solid #e8eeeb; }
.bb-quote td:last-child { text-align: right; white-space: nowrap; }
.bb-quote tr.bb-quote__total td { font-weight: 700; font-size: 1.15rem; border-bottom: 0; color: var(--green-dark); }

.bb-alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; }
.bb-alert--error { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.bb-alert--ok { background: #ECFDF3; color: #05603A; border: 1px solid #ABEFC6; }
.bb-alert--info { background: var(--sand); color: var(--green-dark); }
.bb-alert ul { margin: 6px 0 0; padding-left: 1.1rem; }

.bb-status { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--green-dark); font-weight: 700; }
.bb-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.4rem; letter-spacing: .06em; font-weight: 700; color: var(--green-dark); }
.bb-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.bb-dl dt { color: var(--muted); }
.bb-dl dd { margin: 0; font-weight: 600; }

details.bb-policy { margin-top: 6px; }
details.bb-policy summary { cursor: pointer; color: var(--teal-dark); }
details.bb-policy div { white-space: pre-line; font-size: .9rem; color: var(--muted); padding: 8px 0; }

.bb-footer { border-top: 1px solid var(--border); padding: 20px 16px 32px; text-align: center; color: var(--muted); font-size: .9rem; }
.bb-footer a { margin: 0 6px; }
