/* beautiful-boquete.com -- the one and only stylesheet (2026-10-11).
   Replaces nicepage.css, index.css, Places.css, Contact.css and the old site.css.
   Colours: green #1e5228 (header, footer, buttons), yellow #f1c50e (title), blue #478ac9 (links, picture frames).
   Fonts: Prata for titles, Montserrat for text (loaded in inc/frame.php). */

:root {
  --green: #1e5228; --yellow: #f1c50e; --blue: #478ac9; --ink: #111;
  --bg-a: #e5e5e5; --bg-b: #f2f2f2; --bg-c: #e0e5eb;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Montserrat, Arial, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: Prata, Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: 3rem; margin-top: .6em; }
h2 { font-size: 2.6rem; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.sheet { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
section[id] { scroll-margin-top: 56px; }
.bb-center { text-align: center; }

/* ---------- header and menu ---------- */
.bb-header { background: var(--green); position: relative; }
.bb-header .sheet { position: relative; min-height: 120px; display: flex; align-items: center; justify-content: center; }
.bb-title { font-family: Prata, Georgia, serif; font-size: 3.75rem; line-height: 1.1; color: var(--yellow); text-decoration: none; text-align: center; padding: 18px 0; }
.bb-logo { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); line-height: 0; }
.bb-logo img { height: 92px; width: auto; }
.bb-nav { background: var(--green); border-top: 1px solid rgba(255,255,255,.18); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.bb-nav ul { list-style: none; margin: 0; padding: 0; }
.bb-menu { display: flex; justify-content: center; flex-wrap: wrap; }
.bb-menu > li { position: relative; }
.bb-menu a { display: block; padding: 11px 20px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; }
.bb-menu a:hover, .bb-menu a:focus-visible, .bb-menu a[aria-current="page"] { color: var(--yellow); }
.bb-menu ul { display: none; position: absolute; left: 0; top: 100%; min-width: 190px; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); border-radius: 0 0 6px 6px; }
.bb-menu li:hover > ul, .bb-menu li:focus-within > ul { display: block; }
.bb-menu ul a { color: var(--ink); font-weight: 400; padding: 9px 18px; white-space: nowrap; }
.bb-menu ul a:hover, .bb-menu ul a:focus-visible { color: var(--green); background: var(--bg-b); }
.bb-burger { display: none; width: 100%; background: none; border: 0; color: #fff; font: 700 1rem Montserrat, sans-serif; padding: 12px 16px; text-align: left; cursor: pointer; }
.bb-burger span { display: inline-block; width: 22px; height: 2px; background: #fff; box-shadow: 0 -7px #fff, 0 7px #fff; margin-right: 12px; vertical-align: middle; }
@media (max-width: 900px) {
  .bb-title { font-size: 2.4rem; padding: 14px 70px 14px 0; }
  .bb-header .sheet { min-height: 90px; justify-content: flex-start; }
  .bb-logo img { height: 64px; }
  .bb-burger { display: block; }
  .bb-menu { display: none; flex-direction: column; padding-bottom: 8px; }
  .bb-nav.open .bb-menu { display: flex; }
  .bb-menu a { padding: 10px 24px; }
  .bb-menu ul { display: block; position: static; background: none; box-shadow: none; }
  .bb-menu ul a { color: #fff; padding-left: 44px; font-size: .95rem; }
  .bb-menu ul a:hover, .bb-menu ul a:focus-visible { background: none; color: var(--yellow); }
}

/* ---------- sections ---------- */
.bb-sec { padding: 28px 0 40px; }
.bb-rule { padding-top: 0; }
.bb-rule > .sheet { border-top: 2px solid #333; padding-top: 28px; }
.bb-grey { background: var(--bg-a); } .bb-light { background: var(--bg-b); } .bb-blue { background: var(--bg-c); } .bb-white { background: #fff; }
.bb-sec h1, .bb-sec > .sheet > h2 { text-align: center; }
.bb-sub { text-align: center; text-transform: uppercase; letter-spacing: .04em; font-family: Prata, Georgia, serif; font-size: 1rem; margin: -.3em 0 1.2em; padding-bottom: 14px; }
.bb-framed img, .bb-cards img, .bb-gallery img, .bb-fig img { border: 2px solid var(--blue); }

/* ---------- picture slider ---------- */
.bb-slider { position: relative; margin: 20px 0; border: 3px solid var(--blue); background: #222; overflow: hidden; }
.bb-track { position: relative; aspect-ratio: 2 / 1; }
.bb-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; pointer-events: none; }
.bb-slide.on { opacity: 1; pointer-events: auto; z-index: 1; }
.bb-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; cursor: zoom-in; }
.bb-slide a img { cursor: pointer; }
.bb-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 64px 30px; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.bb-slide figcaption b { display: block; font: 400 1.7rem/1.2 Prata, Georgia, serif; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.bb-slide figcaption span { display: block; font-size: .9rem; margin-top: 6px; text-shadow: 0 1px 3px rgba(0,0,0,.6); overflow-wrap: anywhere; }
.bb-prev, .bb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(60,60,60,.65); color: #fff; font-size: 26px; line-height: 40px; padding: 0 0 3px; cursor: pointer; }
.bb-prev { left: 12px; } .bb-next { right: 12px; }
.bb-prev:hover, .bb-next:hover { background: rgba(30,30,30,.85); }
.bb-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; padding: 0 60px; pointer-events: none; }
.bb-dots button { pointer-events: auto; width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.bb-dots button.on { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5); }
.bb-slider.bb-box43 .bb-track { aspect-ratio: 4 / 3; }
.bb-slider.bb-box43 .bb-slide figcaption { padding: 30px 56px 28px; }
.bb-slider.bb-box43 .bb-slide figcaption b { font-size: 1.15rem; }
@media (max-width: 700px) {
  .bb-track { aspect-ratio: 4 / 3; }
  .bb-slide figcaption { padding: 24px 50px 26px; }
  .bb-slide figcaption b { font-size: 1.1rem !important; }
  .bb-slide figcaption span { font-size: .75rem; }
  .bb-dots { display: none; }
  .bb-prev, .bb-next { width: 34px; height: 34px; font-size: 22px; line-height: 32px; }
}

/* ---------- lightbox ---------- */
.bb-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.bb-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border: 0; }

/* ---------- two columns and pictures ---------- */
.bb-two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 40px; align-items: start; }
@media (max-width: 800px) { .bb-two { grid-template-columns: 1fr; } }
.bb-intro { padding: 36px 0 20px; }
.bb-intro .bb-two { align-items: stretch; }
.bb-intro .bb-text { align-self: center; }
.bb-fig { margin: 0; }
.bb-fig img { display: block; width: 100%; }
.bb-fig figcaption { text-align: center; font-size: .9rem; margin-top: 6px; }
.bb-lead { font-weight: 700; font-size: 1.25rem; }
.bb-reasons { padding: 30px 0; }
.bb-reasons .bb-grid2 { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 0 40px; }
.bb-reasons .bb-fig { display: flex; flex-direction: column; padding-bottom: .6em; }
.bb-reasons .bb-fig a { flex: 1 1 0; min-height: 0; display: block; }
.bb-reasons .bb-fig img { height: 100%; object-fit: cover; }
.bb-reasons .bb-fig figcaption { font-style: italic; font-size: .8rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-reasons p { margin: 0 0 .7em; }
.bb-lead-p { font-weight: 700; font-size: 1.15rem; }
.bb-cols2 { column-count: 2; column-gap: 40px; }
.bb-cols2 p { break-inside: avoid; }
.bb-videos { text-align: center; padding-top: 18px; }
.bb-videos h3 { font-size: 1.9rem; }
.bb-videos a { font-style: italic; }
@media (max-width: 800px) {
  .bb-reasons .bb-grid2 { grid-template-columns: 1fr; }
  .bb-reasons .bb-fig { max-width: 420px; margin: 0 auto 1em; }
  .bb-reasons .bb-fig a { flex: none; } .bb-reasons .bb-fig img { height: auto; }
  .bb-cols2 { column-count: 1; }
  .bb-intro .bb-fig { order: 2; margin-top: 16px; }
}

/* ---------- boxes, lists ---------- */
.bb-box { background: #f3f6fa; border: 2px solid var(--blue); border-radius: 8px; padding: 16px 22px; margin: 22px 0; }
.bb-note { background: #e9f0f9; border: 2px solid #34495e; border-radius: 8px; padding: 14px 20px; margin: 22px 0 10px; }
.bb-note p:last-child, .bb-box p:last-child { margin-bottom: 0; }
.bb-prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.bb-prose li { margin-bottom: .3em; }
.bb-apt .sheet { max-width: 1000px; }
.bb-apt h2 { text-align: left !important; font-size: 2.4rem; margin-top: .3em; }
.bb-apt .bb-slider { margin: 0; }
.bb-apt .bb-mid { align-items: center; margin-bottom: 30px; }
.bb-apt .bb-slider.bb-box43 .bb-track { aspect-ratio: 5 / 6; }
@media (max-width: 800px) { .bb-apt .bb-slider.bb-box43 .bb-track { aspect-ratio: 4 / 3; } }
@media (max-width: 800px) { .bb-apt .bb-slider { margin-top: 10px; } }

/* ---------- picture cards and galleries ---------- */
.bb-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px 16px; margin: 20px 0; }
.bb-cards figure, .bb-gallery figure { margin: 0; }
.bb-cards img, .bb-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.bb-cards figcaption, .bb-gallery figcaption { text-align: center; padding-top: 4px; }
.bb-cards figcaption a { text-decoration: underline; text-decoration-color: rgba(71,138,201,.5); }
.bb-gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px 16px; margin: 24px 0; }
.bb-gallery figcaption { font-size: .85rem; font-style: italic; }
.bb-more { text-align: center; margin-top: 10px; }
@media (max-width: 900px) { .bb-cards, .bb-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .bb-cards { grid-template-columns: 1fr; } }

/* ---------- waterfalls ---------- */
.bb-falls .bb-line { font-family: Prata, Georgia, serif; font-size: 1.7rem; text-align: center; margin: .4em 0; }
.bb-falls .bb-line.small { font-size: 1.2rem; }
.bb-route { max-width: 820px; margin: 24px auto 0; }
.bb-route h3 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1.4rem; }
.bb-map { display: block; width: 100%; max-width: 1000px; margin: 24px auto 0; }

/* ---------- climate tables ---------- */
.bb-climate h2 { text-align: center; }
.bb-climate h2.sub { font-family: Montserrat, sans-serif; font-size: 1.6rem; margin-bottom: 1em; }
.bb-tabwrap { text-align: center; margin: 18px 0 36px; }
.bb-tabwrap .cap { font-weight: 700; margin: 0; } .bb-tabwrap .src { margin-bottom: 14px; }
.bb-tabscroll { overflow-x: auto; }
.bb-clim { border-collapse: collapse; margin: 0 auto; font-size: .95rem; background: #fff; }
.bb-clim th, .bb-clim td { border: 1px solid #333; padding: 3px 10px; text-align: center; }
.bb-clim th { font-weight: 400; background: #fff; }
.bb-clim tbody td { font-weight: 700; } .bb-clim tbody th { font-weight: 400; }
.bb-clim tbody tr:nth-child(odd) td { background: #fbffe6; } .bb-clim tbody tr:nth-child(even) td { background: #ecf1ff; }
.bb-clim tfoot td, .bb-clim tfoot th { background: #ecf1ff; font-weight: 700; }

/* ---------- contact ---------- */
.bb-contact { background: var(--bg-a); padding: 20px 0 50px; }
.bb-contact-lead { text-align: center; font-size: 1.1rem; font-weight: 500; }
.bb-contact-options { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 22px 0; }
.bb-contact-option { background: #fff; border-radius: 10px; padding: 14px 28px; width: 270px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.bb-contact-option h3 { font-size: 1.35rem; margin-bottom: .4em; }
.bb-contact-option p { margin: 0 0 .4em; } .bb-small { font-size: .8rem; color: #444; }
.bb-or { text-align: center; font-style: italic; margin: 12px 0; }
.bb-form { max-width: 480px; margin: 0 auto; }
.bb-form h2 { text-align: center; font-size: 2.4rem; }
.bb-form input[type=text], .bb-form input[type=email], .bb-form input[type=tel], .bb-form textarea { display: block; width: 100%; padding: 10px 12px; margin: 0 0 10px; border: 1px solid #aaa; background: #fff; font: inherit; color: var(--ink); }
.bb-form textarea { min-height: 130px; resize: vertical; }
.bb-form button { background: var(--green); color: #fff; border: 0; border-radius: 30px; padding: 10px 40px; font: 700 1rem Montserrat, sans-serif; cursor: pointer; }
.bb-form button:hover { background: #2a6e37; } .bb-form button[disabled] { opacity: .6; cursor: wait; }
.bb-trap { position: absolute; left: -5000px; }
.bb-msg { margin-top: 14px; padding: 10px 14px; border-radius: 6px; }
.bb-msg.ok { background: #dff0d8; color: #214a1c; } .bb-msg.err { background: #f8d7da; color: #6b1d24; }
.bb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- footer ---------- */
.bb-footer { background: var(--green); color: #f4e9b0; text-align: center; padding: 48px 16px; font-size: .95rem; line-height: 1.7; }
.bb-footer a { color: var(--yellow); text-decoration: none; }
.bb-footer a:hover { text-decoration: underline; }
@media (max-width: 700px) { h1 { font-size: 2.2rem; } h2 { font-size: 2rem; } .bb-sec { padding: 20px 0 30px; } .bb-apt h2 { font-size: 2rem; } }
