/* Bairro Alto — styles for the requested changes only. Loaded after the original theme CSS. */
:root {
  --ba-gold: #a68a64;
  --ba-gold-dk: #8a7050;
  --ba-gold-lt: #c9b089;
  --ba-ink: #141414;
  --ba-grey: #4a4a4a;
  --ba-grey-lt: #7a7a7a;
  --ba-line: #e4ded4;
  --ba-tint: #f7f5f0;
  --ba-serif: "Cormorant Garamond", Georgia, serif;
  --ba-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ba-sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

/* 1. Font colours: gold / black / dark grey (ref: Veera) */
body { color: var(--ba-grey); font-family: var(--ba-sans); }
.ba-section p, .ba-section li, .ba-footer p { font-family: var(--ba-sans); }
h1, h2, h3, h4, .wpb_heading { color: var(--ba-ink); }
.max-title h3, .max-title h1, h2.wpb_heading { font-family: var(--ba-serif); font-weight: 600; letter-spacing: .02em; }
.max-title h3 strong { font-weight: 600; }
.vc_tta-tabs-list .vc_tta-tab > a { color: var(--ba-grey) !important; }
.photogallery p, table td { color: inherit; }

/* Shared */
.ba-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ba-hp { position: absolute !important; left: -9999px !important; }
.ba-eyebrow { font-family: var(--ba-cond); text-transform: uppercase; letter-spacing: .28em; font-size: 14px; color: var(--ba-grey-lt); margin: 0 0 6px; }
.ba-display { font-family: var(--ba-serif); font-weight: 500; color: var(--ba-ink); font-size: 46px; line-height: 1.1; margin: 0 0 26px; }
.ba-gold { color: var(--ba-gold) !important; }
.ba-section { padding: 80px 0; }
.ba-tint { background: var(--ba-tint); }
.ba-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ba-cond); text-transform: uppercase; letter-spacing: .14em; font-size: 15px; padding: 11px 22px; margin: 0 10px 10px 0; border: 1px solid var(--ba-gold); background: var(--ba-gold); color: #fff !important; cursor: pointer; text-decoration: none !important; }
.ba-btn:hover { background: var(--ba-gold-dk); }
.ba-btn-line { background: #fff; color: var(--ba-gold-dk) !important; }
.ba-btn-line:hover { background: var(--ba-gold); color: #fff !important; }
.ba-click, [data-sold] { cursor: pointer; }

/* 2. Header icons (top right, big, gradient behind) */
.ba-quick { position: fixed; top: 18px; right: 22px; z-index: 9990; display: flex; gap: 14px; background: none; }
.ba-qa { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; font-size: 19px; text-decoration: none !important;
  background: linear-gradient(150deg, #cdb48c 0%, var(--ba-gold) 50%, #7d6446 100%);
  border: 1.5px solid rgba(255,255,255,.7);
  box-shadow: 0 0 0 4px rgba(166,138,100,.28), 0 0 16px 4px rgba(20,20,20,.22), 0 4px 10px rgba(0,0,0,.18);
  transition: transform .18s, box-shadow .18s; }
.ba-qa:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(166,138,100,.38), 0 0 20px 6px rgba(20,20,20,.25), 0 6px 14px rgba(0,0,0,.2); }
.ba-qa .fa-whatsapp { font-size: 23px; }
.ba-tip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font: 12px var(--ba-cond); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ba-ink); padding: 3px 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.ba-qa:hover .ba-tip { opacity: 1; }

/* 3. Hero + intro */
.ba-hero { position: relative; padding-bottom: 70px; }
.ba-hero-img { width: 100% !important; height: min(86vh, 820px); object-fit: cover; object-position: center 40%; display: block; }
.ba-badge { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 170px; height: 170px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.08); }
.ba-badge img { width: 120px !important; }
.ba-intro { display: flex; gap: 0; padding-top: 40px; padding-bottom: 70px; }
.ba-intro::before, .ba-intro::after { display: none; }
.ba-about { flex: 1.55; padding-right: 50px; border-right: 1px solid var(--ba-gold); }
.ba-about p { font-size: 15.5px; line-height: 1.75; text-align: justify; }
.ba-about .ba-display { margin-bottom: 8px; }
.ba-sub { font-family: var(--ba-serif); font-size: 24px !important; color: var(--ba-ink); margin: 0 0 4px; text-align: left !important; }
.ba-loc { font-size: 14px !important; color: var(--ba-ink); margin: 0 0 20px; }
.ba-spec { flex: 1; padding-left: 50px; }
.ba-spec-list { list-style: none; padding: 0; margin: 0 0 26px; }
.ba-spec-list li { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; font-size: 15.5px; }
.ba-spec-list i { color: var(--ba-gold); font-size: 20px; width: 24px; text-align: center; margin-top: 3px; }

/* 4. Feature / construction cards */
.ba-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ba-cards-4 { grid-template-columns: repeat(4, 1fr); }
.ba-card { background: #fff; border: 1px solid var(--ba-line); padding: 28px 26px; }
.ba-card i { font-size: 32px; color: var(--ba-gold); margin-bottom: 18px; display: block; }
.ba-card p { font-family: var(--ba-serif); font-size: 21px; line-height: 1.3; color: var(--ba-ink); margin: 0; }

/* 5. Gallery sliders */
.ba-gallery { padding-bottom: 30px; }
.ba-slider { position: relative; }
.ba-slider + .ba-slider { margin-top: 50px; }
.ba-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0; scrollbar-width: none; }
.ba-track::-webkit-scrollbar { display: none; }
.ba-slide { flex: 0 0 76vw; max-width: 1100px; margin: 0; scroll-snap-align: center; }
.ba-slide img { width: 100% !important; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.ba-slider-port .ba-slide { flex-basis: min(30vw, 420px); }
.ba-slider-port .ba-slide img { aspect-ratio: 2 / 3; }
.ba-sl-btn { position: absolute; top: 45%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ba-ink); font-size: 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); z-index: 2; }
.ba-prev { left: 20px; } .ba-next { right: 20px; }
.ba-sl-btn:hover { background: var(--ba-gold); color: #fff; }
.ba-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.ba-dots span { width: 8px; height: 8px; border-radius: 50%; background: #c9c3b8; transition: transform .2s, background .2s; }
.ba-dots span.on { background: var(--ba-ink); transform: scale(1.35); }

/* 6. Places of interest next to the map */
.ba-loc-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: stretch; }
.ba-poi { list-style: none; margin: 0; padding: 0; }
.ba-poi li { display: flex; gap: 18px; align-items: center; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--ba-line); }
.ba-poi i { color: var(--ba-gold); font-size: 24px; width: 30px; text-align: center; }
.ba-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* 7. Enquiry forms */
.ba-enq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ba-enq-grid::before, .ba-enq-grid::after { display: none; }
.ba-direct a { color: var(--ba-ink); }
.ba-direct i { color: var(--ba-gold); }
.ba-form .ba-fld { display: block; margin: 0 0 8px; font-weight: 400; }
.ba-form input, .ba-form select, .ba-form textarea { width: 100%; font-family: var(--ba-sans); font-weight: 400; font-size: 16px; color: var(--ba-ink); border: 0; border-bottom: 1px solid #9a9a9a; background: transparent; padding: 14px 4px; border-radius: 0; outline: none; box-shadow: none; height: auto; }
.ba-form input:focus, .ba-form select:focus, .ba-form textarea:focus { border-bottom: 2px solid var(--ba-gold); }
.ba-form select { max-width: 100%; -webkit-appearance: none; appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 8px center; }
.ba-form textarea { resize: vertical; min-height: 64px; }
.ba-form ::placeholder { color: #8f8f8f; opacity: 1; font-weight: 400; }
.ba-form select:has(option[value=""]:checked) { color: #8f8f8f; }
.ba-form option { color: var(--ba-ink); }
.ba-form .is-invalid { border-bottom-color: #b3261e; }
.ba-submit { width: 100%; margin-top: 18px; padding: 15px; border: 0; background: var(--ba-gold); color: #fff; font: 17px var(--ba-cond); text-transform: uppercase; letter-spacing: .2em; cursor: pointer; }
.ba-submit:hover { background: var(--ba-gold-dk); }
.ba-status { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; }
.ba-status.ok { color: #2e6b34; } .ba-status.err { color: #b3261e; }

/* 8. Footer (colour from the brief) */
.ba-footer { background: var(--ba-tint); text-align: center; padding: 56px 0 26px; border-top: 1px solid var(--ba-line); }
.ba-f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
/* headings and details share one font (Lato), so the footer reads as one block */
.ba-footer .ba-f-h { font-family: var(--ba-sans); font-weight: 400; text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: var(--ba-grey-lt); margin: 0 0 8px; }
.ba-f-cols a, .ba-f-cols span { color: var(--ba-ink); font-family: var(--ba-sans); font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.ba-f-cols div { font-family: var(--ba-sans); color: var(--ba-grey-lt); }
.ba-f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #d9d2c5; padding-top: 22px; text-align: left; }
.ba-f-bottom p { margin: 0; font-size: 14.5px; }
.ba-credit { color: var(--ba-gold-dk); font-family: var(--ba-cond); letter-spacing: .14em; text-transform: uppercase; font-size: 13px !important; margin-top: 4px !important; }
.ba-f-social { display: flex; gap: 10px; }
.ba-f-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ba-gold); color: var(--ba-gold-dk); display: grid; place-items: center; }
.ba-f-social a:hover { background: var(--ba-gold); color: #fff; }

/* 9. WhatsApp hover button */
.ba-wa { position: fixed; right: 22px; bottom: 22px; z-index: 9991; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ba-wa-btn { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 34px; background: linear-gradient(145deg, #3ee07a, #1faa53); box-shadow: 0 8px 22px rgba(0,0,0,.25); display: grid; place-items: center; }
.ba-wa-menu { display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s, transform .18s; }
.ba-wa.open .ba-wa-menu { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .ba-wa:hover .ba-wa-menu { opacity: 1; transform: none; pointer-events: auto; } }
.ba-wa-menu a { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ba-ink) !important; text-decoration: none !important; padding: 11px 18px; border-radius: 28px; font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.16); white-space: nowrap; }
.ba-wa-menu .fa-whatsapp { color: #1faa53; font-size: 20px; }
.ba-wa-menu .fa-phone { color: var(--ba-gold); }

/* Floating Instagram button, sitting left of the WhatsApp button */
.ba-ig-btn { position: fixed; right: 96px; bottom: 22px; z-index: 9993; /* above the WhatsApp widget's hidden menu area, which otherwise swallowed clicks */ width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; font-size: 30px; text-decoration: none !important;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .18s; }
.ba-ig-btn:hover { transform: translateY(-2px); }
.ba-wa-btn { transition: transform .18s; }
.ba-wa-btn:hover { transform: translateY(-2px); }

/* 10. Popups */
.ba-modal { position: fixed; inset: 0; z-index: 99998; background: rgba(20,20,20,.72); display: grid; place-items: center; padding: 16px; }
.ba-modal[hidden] { display: none; }
.ba-modal-box { position: relative; background: #fff; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 54px 70px 44px; }
.ba-modal-sm { max-width: 500px; text-align: center; padding: 50px 40px 36px; }
.ba-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--ba-line); background: #fff; font-size: 18px; cursor: pointer; color: var(--ba-grey); }
.ba-stamp { display: inline-block; font: 15px var(--ba-cond); text-transform: uppercase; letter-spacing: .3em; color: #a33; border: 2px solid #a33; padding: 4px 14px; transform: rotate(-4deg); margin-bottom: 16px; }
body.ba-open { overflow: hidden; }

/* 11. Gallery heading, construction images drop-down, walk-through video */
.ba-gal-head { padding-bottom: 28px; }
.ba-gal-head .ba-display { margin-bottom: 0; }
.ba-reveal-bar { text-align: center; padding-top: 10px; padding-bottom: 60px; }
.ba-reveal-btn { margin: 0; }
.ba-reveal-btn i { transition: transform .35s; }
.ba-reveal-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.ba-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s cubic-bezier(.2,.7,.2,1); }
.ba-reveal.open { grid-template-rows: 1fr; }
.ba-reveal-inner { overflow: hidden; min-height: 0; }
.ba-reveal-head { padding-bottom: 24px; }
.ba-reveal .photogallery ul { margin: 0; padding: 0 0 70px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.ba-reveal .photogallery ul::before, .ba-reveal .photogallery ul::after { display: none; }
.ba-reveal .photogallery li { width: auto !important; float: none !important; margin: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.ba-reveal .photogallery li > img { width: 100% !important; height: 100% !important; object-fit: cover; }
.ba-reveal .photogallery li { opacity: 0; transform: translateY(-36px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.ba-reveal.open .photogallery li { opacity: 1; transform: none; }
.ba-video .ba-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.ba-video .ba-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { .ba-reveal, .ba-reveal .photogallery li { transition: none; } }

/* 12. Hero copy + "1 unit left" */
.ba-hero-copy { position: absolute; left: 0; right: 0; top: 0; bottom: 70px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 5vw 46px; text-align: right; pointer-events: none;
  /* soft dark wash behind the headline (bottom right) + gentle fade along the bottom edge */
  background:
    radial-gradient(ellipse 62% 66% at 84% 90%, rgba(12,10,6,.62) 0%, rgba(12,10,6,.4) 48%, rgba(12,10,6,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.28) 100%); }
.ba-hero-title { font-family: "Pinyon Script", var(--ba-serif); font-size: clamp(30px, 3.6vw, 56px); line-height: 1.15; color: #fff; margin: 0; max-width: min(9.5em, 38vw); text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.6); }
.ba-hero-meta { display: flex; align-items: center; gap: 26px; color: #fff; pointer-events: auto; }
.ba-units { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: #fff; cursor: pointer; }
.ba-units-num { font-family: var(--ba-serif); font-weight: 500; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-size: clamp(64px, 7vw, 100px); line-height: .9; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.ba-units-txt { font-family: var(--ba-cond); font-weight: 500; text-transform: uppercase; letter-spacing: .24em; font-size: 20px; line-height: 1.3; text-align: left; border-bottom: 1px solid var(--ba-gold-lt); padding-bottom: 4px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.ba-units:hover .ba-units-txt { color: var(--ba-gold-lt); }
.ba-hero-sep { width: 1px; height: 64px; background: rgba(255,255,255,.75); }
.ba-hero-sub { margin: 0; font-family: var(--ba-cond); text-transform: uppercase; letter-spacing: .18em; font-size: 17px; line-height: 1.6; text-align: left; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* 13. Brochure / site visit popups + buttons */
.ba-enq-actions { margin-top: 26px; }
.ba-modal-note { margin: -14px 0 14px; font-size: 15px; color: var(--ba-grey); }
.ba-modal-box .ba-eyebrow { margin-bottom: 6px; }
.ba-fld-date { margin-top: 10px !important; }
.ba-date-lbl { display: block; font-size: 13px; color: #8f8f8f; padding: 0 4px; }
.ba-form input[type="date"] { padding-top: 8px; cursor: pointer; }

/* Responsive */
@media (max-width: 1024px) { .ba-cards-4 { grid-template-columns: repeat(2, 1fr); } .ba-slider-port .ba-slide { flex-basis: 42vw; } }
@media (max-width: 860px) {
  .ba-section { padding: 56px 0; }
  .ba-display { font-size: 36px; }
  .ba-intro { flex-direction: column; }
  .ba-about { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--ba-gold); padding-bottom: 28px; margin-bottom: 28px; }
  .ba-spec { padding-left: 0; }
  .ba-cards { grid-template-columns: repeat(2, 1fr); }
  .ba-loc-grid, .ba-enq-grid, .ba-f-cols { grid-template-columns: 1fr; }
  .ba-f-bottom { flex-direction: column; text-align: center; }
  .ba-slide { flex-basis: 84vw; }
  .ba-track { padding: 0 8vw; gap: 14px; }
  .ba-slider-port .ba-slide { flex-basis: 64vw; }
  .ba-sl-btn { display: none; }
  .ba-modal-box { padding: 52px 22px 30px; }
}
@media (max-width: 860px) { .ba-reveal .photogallery ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .ba-quick { gap: 10px; top: 12px; right: 12px; }
  .ba-qa { width: 42px; height: 42px; font-size: 16px; }
  .ba-qa .fa-whatsapp { font-size: 20px; }
  .ba-reveal .photogallery ul { grid-template-columns: repeat(2, 1fr); }
  .ba-hero-img { height: 62vh; }
  .ba-hero-copy { padding: 0 18px 80px; }
  .ba-hero-title { max-width: 62vw; font-size: 30px; }
  .ba-badge { width: 130px; height: 130px; }
  .ba-badge img { width: 92px !important; }
  .ba-cards, .ba-cards-4 { grid-template-columns: 1fr; }
  .ba-wa { right: 14px; bottom: 14px; }
  .ba-wa-btn, .ba-ig-btn { width: 54px; height: 54px; }
  .ba-wa-btn { font-size: 30px; }
  .ba-ig-btn { right: 78px; bottom: 14px; font-size: 26px; }
}

/* Keep the original (Font Awesome 4) left-side social icons working alongside the new icon set */
.fa { font-family: FontAwesome !important; font-weight: normal !important; font-style: normal !important; }
.fa.fa-facebook:before { content: "\f09a"; }
.fa.fa-linkedin:before { content: "\f0e1"; }
.fa.fa-youtube:before { content: "\f167"; }
.fa.fa-pinterest:before { content: "\f0d2"; }
.fa.fa-instagram:before { content: "\f16d"; }
