/* BR Homes & Hotels — styles
   Palette taken from the BR monogram: orange swoosh + deep navy. */

:root {
  --orange: #F26B1D;
  --orange-deep: #D24A0E;
  --orange-soft: #FFF1E7;
  --navy: #0D2A57;
  --navy-deep: #081C3D;
  --ink: #172338;
  --muted: #5A6578;
  --paper: #F4F6FA;
  --line: #DCE2EC;
  --white: #FFFFFF;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 64ch; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4rem 0 0; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 1rem/1 var(--font-body);
  padding: .95rem 1.4rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--navy-deep); color: #C9D3E6; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-deep); }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-size: .75rem; color: var(--muted); }
.nav-links { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55rem .9rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.nav-links a:hover { background: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--orange-deep); background: var(--orange-soft); }
.nav-cta { display: flex; gap: .5rem; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }

/* Swoosh — the logo's orange wave, used as the one recurring motif */
.swoosh { display: block; width: 100%; height: auto; color: var(--orange); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1rem, 3vw, 2rem);
}
.hero-text p { font-size: 1.2rem; color: var(--muted); }
.hero-place { display: inline-flex; gap: .45rem; align-items: center; color: var(--navy); font-weight: 600; margin-bottom: 1.1rem; }
.hero-place svg { width: 18px; height: 18px; color: var(--orange); }
.hero-photo { position: relative; justify-self: end; width: min(100%, 430px); }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--r-md) var(--r-md);
}
.rent-badge {
  position: absolute; left: -2rem; bottom: 2rem;
  background: var(--navy); color: #fff; border-radius: var(--r-md);
  padding: 1rem 1.25rem; box-shadow: 0 18px 40px -18px rgba(8,28,61,.6);
}
.rent-badge small { display: block; color: #AFC0DD; font-size: .85rem; }
.rent-badge strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; }
.rent-badge span { color: #AFC0DD; font-size: .9rem; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 2.25rem; }
.highlights div { padding: 1.1rem 1rem 0 0; }
.highlights div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.highlights strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--navy-deep); }
.highlights span { color: var(--muted); font-size: .95rem; }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #C9D3E6; font-size: 1.15rem; margin: 0; }
.page-head .swoosh { margin-top: 2rem; margin-bottom: -1px; color: var(--orange); }
.page-head .swoosh .fill { fill: var(--white); }

/* Rooms / rates */
.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; align-items: stretch; }
.rate {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.75rem; background: #fff;
}
.rate.is-featured { background: var(--navy); border-color: var(--navy); color: #DCE4F3; }
.rate.is-featured h3, .rate.is-featured .price strong { color: #fff; }
.rate-img { margin: -1.75rem -1.75rem 1.5rem; border-radius: var(--r-md) var(--r-md) 0 0; aspect-ratio: 16/10; object-fit: cover; width: calc(100% + 3.5rem); max-width: none; }
.rate-tag { align-self: flex-start; font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); margin-bottom: 1rem; }
.rate.is-featured .rate-tag { background: var(--orange); color: #fff; }
.rate h3 { margin-bottom: .2rem; }
.rate .who { color: var(--muted); margin: 0 0 1.25rem; }
.rate.is-featured .who { color: #AFC0DD; }
.price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .25rem; }
.price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; color: var(--navy-deep); }
.deposit { font-size: .9rem; color: var(--muted); margin: 0 0 1.25rem; }
.rate.is-featured .deposit { color: #AFC0DD; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: start; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; color: var(--orange); }
.rate .btn { margin-top: auto; justify-content: center; }
.rate.is-full { opacity: .65; }
.note { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity { padding: 1.5rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.amenity svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: .8rem; }
.amenity strong { display: block; color: var(--navy-deep); font-weight: 600; }
.amenity span { color: var(--muted); font-size: .95rem; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media { position: relative; }

/* Location */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch; }
.nearby { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.nearby li { display: flex; gap: .9rem; align-items: center; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.nearby svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.nearby b { font-weight: 600; display: block; }
.nearby span { color: var(--muted); font-size: .95rem; }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--r-md); background: var(--paper); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.quote { border-left: 4px solid var(--orange); padding: .25rem 0 .25rem 1.25rem; margin: 0; }
.quote p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: var(--navy-deep); }
.quote cite { font-style: normal; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band h2 { color: #fff; margin: 0 0 .25rem; }
.cta-band p { margin: 0; color: #FFE6D6; }

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value svg { width: 34px; height: 34px; color: var(--orange); margin-bottom: .8rem; }
.value p { color: var(--muted); }
.rules { list-style: none; padding: 0; margin: 0; counter-reset: none; display: grid; gap: .75rem; }
.rules li { display: flex; gap: .75rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.rules svg { width: 20px; height: 20px; color: var(--navy); flex: none; margin-top: .2rem; }

/* Gallery */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.filters button {
  font: 500 .95rem var(--font-body); padding: .55rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { columns: 3 260px; column-gap: 1rem; }
.shot { break-inside: avoid; margin: 0 0 1rem; position: relative; }
.shot button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; }
.shot button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.shot img { width: 100%; }
.shot figcaption { font-size: .92rem; color: var(--muted); padding: .5rem .1rem 0; }
.shot-empty {
  aspect-ratio: 4/3; border-radius: var(--r-md); border: 2px dashed var(--line);
  display: grid; place-items: center; text-align: center; color: var(--muted); background: var(--paper); padding: 1rem; font-size: .95rem;
}
.lightbox { position: fixed; inset: 0; background: rgba(8,28,61,.92); display: none; place-items: center; z-index: 200; padding: 1.5rem; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--r-sm); }
.lightbox p { color: #fff; text-align: center; margin: .8rem auto 0; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; cursor: pointer; font-size: 1.5rem; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 24px; height: 24px; color: var(--orange); flex: none; margin-top: .15rem; }
.contact-list b { display: block; font-weight: 600; color: var(--navy-deep); }
.contact-list a { text-decoration: none; }
.form { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem .9rem; border-radius: var(--r-sm);
  border: 1px solid #C5CEDC; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field-error { color: #B42318; font-size: .9rem; }
.field-error:empty { display: none; }
.form-hint { font-size: .9rem; color: var(--muted); margin: .75rem 0 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #AFC0DD; padding: 3.5rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { background: #fff; display: inline-block; padding: .6rem .9rem; border-radius: var(--r-md); margin-bottom: 1rem; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding: 1.1rem 0 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .875rem; }

/* Floating WhatsApp + mobile call bar */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.35);
}
.wa-float svg { width: 30px; height: 30px; }
.callbar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .location, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; padding: .75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(8,28,61,.3);
  }
  .nav-links.open { display: flex; }
  .nav { position: relative; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .rent-badge { left: .75rem; bottom: .75rem; }
  .highlights { grid-template-columns: 1fr; }
  .highlights div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: .9rem; }
  .highlights div { padding-bottom: .9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { bottom: 76px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line);
  }
  .callbar a { display: flex; gap: .5rem; justify-content: center; align-items: center; padding: 1rem; font-weight: 600; text-decoration: none; }
  .callbar a:first-child { background: var(--navy); color: #fff; }
  .callbar a:last-child { background: var(--orange); color: #fff; }
  .callbar svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
