/*
 * Global chrome CSS — header/nav/mega-dropdowns/mobile-overlay/scroll-progress,
 * shared modal styling (auth/brochure/lightbox/video), and small shared widgets
 * (adv-check, social-btn, phone country-code picker).
 *
 * These are custom BEM-ish classes defined per-page in docs/final/assets/css/*.css
 * (NOT Tailwind utilities) — consolidated here once since header.php/footer.php and
 * the shared modal partials are the same across every page. Colors reference the
 * @theme custom properties from assets/sass/tailwind.css (--color-primary etc, auto
 * exposed as :root vars by Tailwind) rather than repeating hex values.
 *
 * Handwritten plain CSS — not part of the Tailwind build pipeline, enqueued
 * separately after tailwind.css.
 */

/* ---- Scroll progress bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--color-accent); z-index: 9999; width: 0; pointer-events: none; transition: width .1s linear; }

/* ---- Header base ---- */
.header { background: var(--color-primary-dark); }
/* Pages with a full-bleed hero-city hero (abu-dhabi/dubai) start transparent
   over the hero image; chrome.js toggles .scrolled at scrollTop>10 and the
   .header.scrolled rule below restores the solid background + blur. This was
   a known gap (see the Wave 7a note further down) -- docs/html/abu-dhabi.html's
   own source has no base .header background rule at all, only .header.scrolled. */
body:has(.block-hero-city) .header { background: transparent; }
body:has(.block-hero-city) .dummy-header { display: none; }

body:has(.block-hero-city) .header.scrolled,
.header.scrolled { background: var(--color-primary-dark); backdrop-filter: blur(20px); }

/* ---- Nav link underline ---- */
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--color-accent); transition: width .3s cubic-bezier(.22,1,.36,1); }
.nav-link:hover::after { width: 100%; }
.nav-trigger.active-dd .dd-chevron { transform: rotate(180deg); }

/* ---- Mega dropdowns ---- */
.mega-dropdown { position: absolute; top: 100%; left: 0; right: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .3s cubic-bezier(.22,1,.36,1); z-index: 300; }
.mega-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col a { transition: color .2s, padding-left .2s cubic-bezier(.22,1,.36,1); }
.mega-col a:hover { color: var(--color-primary); padding-left: .4rem; }

/* ---- Location switcher ---- */
.loc-switcher { position: relative; }
.loc-switcher-trigger { display: inline-flex; align-items: center; gap: .5rem; height: 38px; padding: 0 .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 9999px; background: transparent; color: rgba(255,255,255,.85); font-family: var(--font-head); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .3s ease; white-space: nowrap; }
.loc-switcher-trigger:hover { border-color: var(--color-accent); color: var(--color-accent); }
.loc-switcher-trigger .loc-pin { width: 14px; height: 14px; flex-shrink: 0; }
.loc-switcher-trigger .loc-chev { width: 10px; height: 10px; flex-shrink: 0; transition: transform .3s ease; }
.loc-switcher.open .loc-switcher-trigger .loc-chev { transform: rotate(180deg); }
.loc-switcher-menu { position: absolute; top: calc(100% + .5rem); right: 0; min-width: 170px; background: #fff; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 12px 36px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s cubic-bezier(.22,1,.36,1); z-index: 300; padding: .4rem; }
.loc-switcher.open .loc-switcher-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.loc-switcher-menu a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; font-family: var(--font-head); font-size: .78rem; font-weight: 500; color: var(--color-brand-800); text-decoration: none; transition: background .2s ease; }
.loc-switcher-menu a:hover { background: var(--color-brand-100); }
.loc-switcher-menu a.active { color: var(--color-primary); background: var(--color-brand-50); }
.loc-switcher-menu a .check { width: 14px; height: 14px; color: var(--color-primary); margin-left: auto; opacity: 0; transition: opacity .2s ease; }
.loc-switcher-menu a.active .check { opacity: 1; }

/* ---- Desktop nav fit ----
   The full nav (7 items) + location switcher + 4 icon buttons need ~1300px, so tighten the
   gaps on mid-size screens and hand over to the burger at <=1280px (tailwind's lg: is 1024px). */
@media (max-width:1440px){ .header-nav nav { gap: 1rem; } }
@media (max-width:1280px){
  .header-nav { display: none; }
  .header-divider { display: block; }
  .header-burger { display: flex; }
}

/* ---- Phone header fit ----
   Logo + full location switcher + 4 icons + burger need ~460px, which pushed the burger off
   screen on phones (the fixed header can't scroll sideways). Keep the burger from shrinking;
   on <=480px show the switcher as pin + chevron (label kept for screen readers) and move
   Book a meeting / account into the mobile overlay (.mobile-actions). */
.header-burger { flex-shrink: 0; }
.mobile-actions { display: none; }
@media (max-width:480px){
  .header-icon--extra { display: none !important; }
  .loc-switcher-trigger { padding: 0 .65rem; gap: .35rem; }
  .loc-switcher-trigger .loc-label-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mobile-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding-top: .5rem; }
  .mobile-action { display: inline-flex; align-items: center; height: 42px; padding: 0 1.25rem; border: 1px solid rgba(255,255,255,.25); border-radius: 9999px; color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: all .3s ease; }
  .mobile-action:hover { border-color: var(--color-accent); color: var(--color-accent); }
}

/* ---- Burger + mobile overlay ---- */
.burger span { display: block; height: 1.5px; background: #fff; border-radius: 2px; transition: all .3s cubic-bezier(.22,1,.36,1); transform-origin: center; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-overlay { display: flex; overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav { margin: auto; width: 100%; max-width: 420px; padding: 6rem 1.5rem 3rem; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; text-align: center; }
.mobile-overlay .mobile-item { opacity: 0; transform: translateY(14px); transition: all .4s cubic-bezier(.22,1,.36,1); }
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay.open .mobile-item { opacity: 1; transform: translateY(0); }
.mobile-overlay.open .mobile-item:nth-child(1) { transition-delay: .08s; }
.mobile-overlay.open .mobile-item:nth-child(2) { transition-delay: .14s; }
.mobile-overlay.open .mobile-item:nth-child(3) { transition-delay: .2s; }
.mobile-overlay.open .mobile-item:nth-child(4) { transition-delay: .26s; }
.mobile-overlay.open .mobile-item:nth-child(5) { transition-delay: .32s; }
.mobile-overlay.open .mobile-item:nth-child(6) { transition-delay: .38s; }
/* Dropdown sections (GL-03): tap to expand the same links as the desktop mega-dropdown */
.mobile-group { width: 100%; }
.mobile-group-toggle { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; padding: 0; cursor: pointer; }
.mobile-chev { width: 16px; height: 16px; opacity: .6; transition: transform .3s ease; }
.mobile-group-toggle[aria-expanded="true"] .mobile-chev { transform: rotate(180deg); }
.mobile-group-panel { padding: .75rem 0 .25rem; }
.mobile-group-heading { margin: 1rem 0 .35rem; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); }
.mobile-group-heading:first-child { margin-top: 0; }
.mobile-sublink { display: block; padding: .4rem 0; font-size: .95rem; color: rgba(255,255,255,.75); transition: color .2s ease; }
.mobile-sublink:hover { color: var(--color-accent); }
.mobile-sublink.is-text { color: rgba(255,255,255,.4); }

/* ---- CTA banner texture (used by the cta-banner block_type) ---- */
.cta-pattern { background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

/* ---- Shared checkbox (auth modal, contact forms) ---- */
.adv-check { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; user-select: none; }
.adv-check input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.adv-check__box { width: 18px; height: 18px; border: 1.5px solid var(--color-brand-200); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; flex-shrink: 0; position: relative; }
.adv-check__box::after { content: ''; position: absolute; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .2s ease; margin-top: -2px; }
.adv-check input:checked + .adv-check__box { background: var(--color-primary); border-color: var(--color-primary); }
.adv-check input:checked + .adv-check__box::after { transform: rotate(-45deg) scale(1); }
.adv-check:hover .adv-check__box { border-color: var(--color-primary); }
.adv-check__label { font-family: var(--font-body); font-size: .82rem; color: var(--color-brand-800); }

/* ---- Modal shell (auth, brochure) ---- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,30,28,.62); backdrop-filter: blur(6px); z-index: 600; opacity: 0; visibility: hidden; transition: all .3s cubic-bezier(.22,1,.36,1); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { background: #fff; max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto; transform: translateY(20px) scale(.98); transition: transform .35s cubic-bezier(.22,1,.36,1); box-shadow: 0 24px 60px rgba(0,0,0,.3); position: relative; }
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border: none; background: transparent; color: var(--color-brand-600); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .2s ease; z-index: 2; }
.modal-close:hover { color: var(--color-primary); }
.modal-tab { flex: 1; padding: 1rem; background: var(--color-brand-50); border: none; cursor: pointer; font-family: var(--font-head); font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--color-brand-400); text-transform: uppercase; transition: all .25s ease; position: relative; }
.modal-tab:hover { color: var(--color-primary); }
.modal-tab.active { background: #fff; color: var(--color-primary); font-weight: 600; }
.modal-tab.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--color-primary); }
.modal-pane { display: none; }
.modal-pane.active { display: block; }
.modal-input { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.modal-input label { font-family: var(--font-head); font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--color-brand-400); }
.modal-input input { font-family: var(--font-body); font-size: .9rem; color: var(--color-brand-800); border: none; border-bottom: 1px solid var(--color-brand-200); padding: .6rem 0; outline: none; background: transparent; transition: border-color .2s ease; }
.modal-input input:focus { border-color: var(--color-primary); }
.modal-submit { width: 100%; padding: .95rem; background: var(--color-primary); color: #fff; border: none; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .25s ease; margin-top: .5rem; }
.modal-submit:hover { background: var(--color-primary-dark); }
.modal-divider { display: flex; align-items: center; gap: .85rem; margin: 1.5rem 0; font-family: var(--font-head); font-size: .65rem; font-weight: 500; color: var(--color-brand-400); text-transform: uppercase; letter-spacing: .08em; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-brand-200); }
.social-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; padding: .85rem; background: #fff; border: 1px solid var(--color-brand-200); font-family: var(--font-head); font-size: .75rem; font-weight: 500; color: var(--color-brand-800); cursor: pointer; transition: all .25s ease; margin-bottom: .55rem; }
.social-btn:hover { border-color: var(--color-primary); background: var(--color-brand-50); }

/* ---- Phone country-code picker (brochure modal, contact/enquiry forms) ---- */
.phone-group { display: flex; gap: .45rem; align-items: stretch; }
.phone-cc { position: relative; flex-shrink: 0; }
.phone-cc-trigger { display: inline-flex; align-items: center; gap: .45rem; height: 100%; padding: .85rem .8rem; background: var(--color-brand-50); border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); font-size: .85rem; color: var(--color-brand-800); transition: all .25s ease; }
.phone-cc-trigger:hover { background: #fff; border-color: var(--color-brand-200); }
.phone-cc.open .phone-cc-trigger { background: #fff; border-color: var(--color-primary); }
.phone-flag { font-size: 1.1rem; line-height: 1; }
.phone-dial { font-family: var(--font-head); font-size: .78rem; font-weight: 500; color: var(--color-brand-800); }
.phone-chev { color: var(--color-brand-400); transition: transform .25s ease; }

/* ---- contact-form block_type: matches docs/final/assets/css/contact.css exactly (diverges from the details/development variant above) ---- */
.block-contact-form .phone-group { gap: .5rem; }
.block-contact-form .phone-cc-trigger { gap: .5rem; padding: 0 1rem; background: #fff; border-color: var(--color-brand-200); }
.block-contact-form .phone-cc-trigger:hover { border-color: var(--color-brand-400); }
.block-contact-form .phone-cc.open .phone-cc-trigger { border-color: var(--color-primary); }
.block-contact-form .adv-check { align-items: flex-start; }
.block-contact-form .adv-check__box { margin-top: .15rem; }
.phone-cc.open .phone-chev { transform: rotate(180deg); }
.phone-num { flex: 1; min-width: 0; }
.phone-cc-menu { position: absolute; top: calc(100% + .35rem); left: 0; width: 260px; max-height: 280px; overflow-y: auto; background: #fff; box-shadow: 0 12px 36px rgba(0,0,0,.14); border: 1px solid #ece8db; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .22s ease; z-index: 50; padding: .3rem; }
.phone-cc.open .phone-cc-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.phone-cc-menu input { width: calc(100% - .4rem); margin: .25rem .2rem .35rem; padding: .55rem .7rem; border: 1px solid #ece8db; outline: none; font-family: var(--font-body); font-size: .82rem; background: var(--color-brand-50); }
.phone-cc-menu input:focus { border-color: var(--color-primary); background: #fff; }
.phone-cc-item { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; font-family: var(--font-body); font-size: .82rem; color: var(--color-brand-800); cursor: pointer; transition: background .15s ease; }
.phone-cc-item:hover { background: var(--color-brand-100); }
.phone-cc-item.active { background: var(--color-brand-50); color: var(--color-primary); }
.phone-cc-item .cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-cc-item .cc-dial { font-family: var(--font-head); font-size: .72rem; color: var(--color-brand-400); }
.phone-cc-item .cc-flag { font-size: 1.05rem; line-height: 1; flex-shrink: 0; }

/* ---- Video modal ---- */
.video-modal { position: fixed; inset: 0; background: rgba(6,14,26,.94); z-index: 600; opacity: 0; visibility: hidden; transition: all .35s cubic-bezier(.22,1,.36,1); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal__frame { width: 100%; max-width: 1100px; aspect-ratio: 16/9; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.5); position: relative; }
.video-modal__frame iframe, .video-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 42px; height: 42px; border-radius: 9999px; background: rgba(255,255,255,.1); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s ease; z-index: 2; }
.video-modal__close:hover { background: rgba(255,255,255,.2); }

/* ---- Image lightbox ---- */
.lightbox { position: fixed; inset: 0; background: rgba(6,14,26,.97); z-index: 600; opacity: 0; visibility: hidden; transition: all .35s ease; display: flex; flex-direction: column; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; color: #fff; font-family: var(--font-head); font-size: .78rem; letter-spacing: .06em; flex-shrink: 0; }
.lightbox-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem 5rem; position: relative; min-height: 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close { background: rgba(255,255,255,.1); border: none; width: 40px; height: 40px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 9999px; transition: background .25s ease; }
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 9999px; background: rgba(255,255,255,.1); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .25s ease; }
.lightbox-arrow:hover { background: var(--color-accent); color: var(--color-primary-dark); }
.lightbox-arrow.prev { left: 1rem; }
.lightbox-arrow.next { right: 1rem; }

/* ==== SEARCH PAGE (search.html) — copied verbatim from docs/final/assets/css/search.css ==== */

/* Search select arrow */
.search-select{background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239a9486' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center;padding-right:16px}

/* === PROPERTY CARDS === */
.prop-card{background:#fff;display:flex;flex-direction:column;transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1);box-shadow:0 1px 3px rgba(0,0,0,.04)}
.prop-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(31,59,56,.12)}

/* Image slider */
.prop-media{position:relative;aspect-ratio:3/2;overflow:hidden;background:#e5dfd0}
.prop-slides{position:absolute;inset:0;display:flex;width:100%;height:100%;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.prop-slide{min-width:100%;height:100%}
.prop-slide img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.prop-card:hover .prop-slide img{transform:scale(1.04)}

/* Slider arrows */
.slide-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:9999px;background:rgba(255,255,255,.9);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#2f5651;opacity:0;transition:all .3s ease;z-index:3;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.slide-arrow:hover{background:#fff;color:#1f3b38}
.slide-arrow.prev{left:.65rem}
.slide-arrow.next{right:.65rem}
.prop-card:hover .slide-arrow{opacity:1}
@media (max-width:768px){.slide-arrow{opacity:1}}

/* Heart */
.prop-heart{position:absolute;top:.85rem;right:.85rem;z-index:4;width:36px;height:36px;border-radius:9999px;background:rgba(0,0,0,.32);backdrop-filter:blur(6px);border:none;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;transition:all .3s ease}
.prop-heart:hover{background:rgba(0,0,0,.55)}
.prop-heart.active{background:#fff;color:#e64a4a}
.prop-heart.active svg{fill:#e64a4a;stroke:#e64a4a}

/* Tag */
.prop-tag{position:absolute;top:.85rem;left:.85rem;z-index:3;font-family:'Comfortaa',cursive;font-size:.58rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;padding:.4rem .65rem;background:rgba(255,255,255,.95);color:#2f5651}
.prop-tag.featured{background:#2f5651;color:#fff}

/* Slide dots */
.slide-dots{position:absolute;bottom:.7rem;left:50%;transform:translateX(-50%);display:flex;gap:.3rem;z-index:3}
.slide-dot{width:5px;height:5px;border-radius:9999px;background:rgba(255,255,255,.5);transition:all .25s ease;cursor:pointer;border:none;padding:0}
.slide-dot.active{background:#fff;width:18px;border-radius:3px}

/* Filter pill buttons */
.filter-btn{display:inline-flex;align-items:center;gap:.45rem;font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:500;letter-spacing:.04em;color:#5e594e;background:#fff;border:1px solid #dedad0;padding:.6rem .95rem;cursor:pointer;transition:all .25s ease;white-space:nowrap}
.filter-btn:hover{border-color:#2f5651;color:#2f5651}
.filter-btn.active{background:#2f5651;color:#fff;border-color:#2f5651}
.filter-btn svg{flex-shrink:0}

/* Pagination */
.page-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;font-family:'Comfortaa',cursive;font-size:.78rem;font-weight:500;color:#5e594e;background:#fff;border:1px solid #dedad0;cursor:pointer;transition:all .25s ease}
.page-btn:hover:not(.active):not(:disabled){border-color:#2f5651;color:#2f5651}
.page-btn.active{background:#2f5651;color:#fff;border-color:#2f5651;cursor:default}
.page-btn:disabled{opacity:.4;cursor:not-allowed}
.page-btn.arrow{padding:0 .85rem;width:auto;gap:.5rem;font-size:.7rem;letter-spacing:.04em}

/* Sort dropdown */
.sort-wrap{position:relative}
.sort-menu{position:absolute;top:calc(100% + .4rem);right:0;min-width:200px;background:#fff;box-shadow:0 12px 36px rgba(0,0,0,.12);border:1px solid #dedad0;opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .25s cubic-bezier(.22,1,.36,1);z-index:50;padding:.35rem}
.sort-wrap.open .sort-menu{opacity:1;visibility:visible;transform:translateY(0)}
.sort-menu a{display:flex;align-items:center;gap:.5rem;padding:.65rem .85rem;font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:500;color:#2a2720;transition:background .2s ease}
.sort-menu a:hover{background:#f0efe9}
.sort-menu a.active{color:#2f5651;background:#f9f8f5}

/* === ADVANCED SEARCH PANEL === */
.advanced-panel{max-height:0;overflow:hidden;border-top:0 solid transparent;transition:max-height .45s cubic-bezier(.22,1,.36,1),border-top-width .2s ease}
.advanced-panel.open{max-height:1200px;border-top:1px solid #dedad0}

/* === MAP VIEW === */
.view-toggle{display:none}
.view-toggle.map-active{display:block}
.list-view.map-active{display:none}
.map-container{position:relative;background:#e8e4d6;height:calc(100vh - 280px);min-height:520px;overflow:hidden;border:1px solid #dedad0}
.map-grid{position:absolute;inset:0;background-image:
  linear-gradient(rgba(31,59,56,.04) 1px,transparent 1px),
  linear-gradient(90deg,rgba(31,59,56,.04) 1px,transparent 1px);
  background-size:40px 40px}
.map-roads{position:absolute;inset:0;pointer-events:none}
.map-pin{position:absolute;transform:translate(-50%,-100%);cursor:pointer;z-index:2;transition:transform .25s cubic-bezier(.22,1,.36,1)}
.map-pin:hover{z-index:10;transform:translate(-50%,-100%) scale(1.06)}
.map-pin__price{font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;background:#fff;color:#2f5651;padding:.4rem .7rem;border:1.5px solid #2f5651;white-space:nowrap;box-shadow:0 4px 14px rgba(31,59,56,.18);position:relative;transition:all .25s ease}
.map-pin:hover .map-pin__price,.map-pin.active .map-pin__price{background:#2f5651;color:#fff}
.map-pin__price::after{content:'';position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:7px solid #2f5651}
.map-popup{position:absolute;bottom:calc(100% + 14px);left:50%;transform:translateX(-50%);width:240px;background:#fff;box-shadow:0 12px 36px rgba(0,0,0,.18);opacity:0;visibility:hidden;transition:all .25s cubic-bezier(.22,1,.36,1);transform:translateX(-50%) translateY(6px);z-index:5}
.map-pin.active .map-popup,.map-pin:hover .map-popup{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.map-popup img{width:100%;height:120px;object-fit:cover;display:block}
.map-popup__body{padding:.85rem 1rem 1rem}
.map-controls{position:absolute;top:1rem;right:1rem;display:flex;flex-direction:column;gap:.4rem;z-index:20}
.map-ctrl-btn{width:38px;height:38px;background:#fff;border:1px solid #dedad0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#2f5651;transition:all .2s ease}
.map-ctrl-btn:hover{background:#2f5651;color:#fff;border-color:#2f5651}
.map-legend{position:absolute;bottom:1rem;left:1rem;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);padding:.6rem .9rem;font-family:'Exo',sans-serif;font-size:.72rem;color:#5e594e;display:flex;align-items:center;gap:.5rem;z-index:20}
.map-legend strong{color:#2f5651;font-weight:600}

@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.prop-card{opacity:0;animation:fadeUp .5s cubic-bezier(.22,1,.36,1) forwards}
.prop-card:nth-child(1){animation-delay:.02s}.prop-card:nth-child(2){animation-delay:.06s}.prop-card:nth-child(3){animation-delay:.1s}
.prop-card:nth-child(4){animation-delay:.14s}.prop-card:nth-child(5){animation-delay:.18s}.prop-card:nth-child(6){animation-delay:.22s}
.prop-card:nth-child(7){animation-delay:.26s}.prop-card:nth-child(8){animation-delay:.3s}.prop-card:nth-child(9){animation-delay:.34s}
.prop-card:nth-child(10){animation-delay:.38s}.prop-card:nth-child(11){animation-delay:.42s}.prop-card:nth-child(12){animation-delay:.46s}
.prop-card:nth-child(13){animation-delay:.5s}.prop-card:nth-child(14){animation-delay:.54s}.prop-card:nth-child(15){animation-delay:.58s}

/* ==== PROPERTY DETAILS (details.html — details.css) ==== */

/* Peek gallery */
.gallery{position:relative;background:#1f3b38;padding:3.5rem 0 2rem;overflow:hidden}
.gallery-viewport{overflow:hidden;cursor:grab;user-select:none}
.gallery-viewport.dragging{cursor:grabbing}
.gallery-viewport.dragging .gallery-track{transition:none}
.gallery-track{display:flex;gap:.5rem;padding:0 17vw;transition:transform .7s cubic-bezier(.22,1,.36,1);will-change:transform}
.gallery-slide{flex:0 0 66vw;height:62vh;min-height:480px;max-height:720px;position:relative;overflow:hidden;transition:transform .7s cubic-bezier(.22,1,.36,1),opacity .5s ease;cursor:pointer}
.gallery-slide img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.gallery-slide:not(.active){opacity:.55}
.gallery-slide.active:hover img{transform:scale(1.02)}
.gallery-slide.active::after{content:'';position:absolute;inset:auto 0 0 0;height:30%;background:linear-gradient(0deg,rgba(6,14,26,.45) 0%,rgba(6,14,26,0) 100%);pointer-events:none}
.expand-hint{position:absolute;bottom:1.25rem;right:1.25rem;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);padding:.65rem .9rem;font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:500;color:#2f5651;display:inline-flex;align-items:center;gap:.5rem;opacity:0;transform:translateY(6px);transition:all .35s cubic-bezier(.22,1,.36,1);pointer-events:none;z-index:3}
.gallery-slide.active .expand-hint{opacity:1;transform:translateY(0)}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:9999px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#1f3b38;z-index:10;transition:all .3s ease;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.gallery-arrow:hover{background:#d4c9a8;color:#1f3b38;transform:translateY(-50%) scale(1.06)}
.gallery-arrow.prev{left:2.5vw}
.gallery-arrow.next{right:2.5vw}
@media (max-width:768px){
  .gallery-track{padding:0 8vw;gap:.4rem}
  .gallery-slide{flex:0 0 84vw;height:54vh;min-height:340px}
  .gallery-arrow{width:42px;height:42px}
  .gallery-arrow.prev{left:1rem}
  .gallery-arrow.next{right:1rem}
}
.gallery-counter{display:flex;align-items:center;gap:1rem;font-family:'Comfortaa',cursive;color:#fff;font-size:.78rem;font-weight:500;letter-spacing:.06em;justify-content:center;margin-top:1.5rem}
.gallery-counter__num{color:#d4c9a8}
.gallery-counter__line{flex:0 0 200px;height:2px;background:rgba(255,255,255,.15);position:relative;overflow:hidden}
.gallery-counter__line span{position:absolute;top:0;left:0;height:100%;background:#d4c9a8;transition:width .5s cubic-bezier(.22,1,.36,1)}

/* Lightbox thumbnails (base .lightbox/.lightbox-top/.lightbox-stage/.lightbox-arrow already defined above) */
.lightbox-stage img{box-shadow:0 24px 60px rgba(0,0,0,.5)}
.lightbox-thumbs{display:flex;gap:.5rem;padding:1rem 2rem 1.5rem;overflow-x:auto;justify-content:center;flex-shrink:0;scrollbar-width:none}
.lightbox-thumbs::-webkit-scrollbar{display:none}
.lightbox-thumb{flex:0 0 72px;height:54px;cursor:pointer;opacity:.5;transition:opacity .25s ease;overflow:hidden;border:2px solid transparent}
.lightbox-thumb.active{opacity:1;border-color:#d4c9a8}
.lightbox-thumb:hover{opacity:1}
.lightbox-thumb img{width:100%;height:100%;object-fit:cover}
@media (max-width:768px){
  .lightbox-top{padding:.85rem 1rem}
  .lightbox-stage{padding:.5rem 3.5rem}
  .lightbox-arrow{width:38px;height:38px}
}

/* Details facts */
.fact{display:flex;flex-direction:column;gap:.2rem;padding:1.25rem;background:#fff;border:1px solid #ece8db;transition:all .3s ease}
.fact:hover{border-color:#d4c9a8;background:#fdfcf8;transform:translateY(-2px)}
.fact--price{background:#2f5651;border-color:#2f5651;justify-content:center}
.fact--price:hover{background:#1f3b38;border-color:#1f3b38;transform:translateY(-2px)}
.fact--price .fact__icon{color:#d4c9a8}
.fact--price .fact__label{color:rgba(212,201,168,.8)}
.fact--price .fact__value--price{color:#fff;font-size:1rem}
.fact__icon{width:22px;height:22px;color:#2f5651;margin-bottom:.4rem}
.fact__label{font-family:'Comfortaa',cursive;font-size:.62rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#9a9486}
.fact__value{font-family:'Comfortaa',cursive;font-size:1.05rem;font-weight:500;color:#2a2720}

/* Development single-view (docs/development.md) — Available units table */
.units-table{display:flex;flex-direction:column;gap:.5rem}
.unit-row{display:flex;gap:1.25rem;align-items:center;padding:.85rem 1.25rem;background:#fff;border:1px solid #ece8db;transition:all .25s ease}
.unit-row:hover{border-color:#d4c9a8;background:#fdfcf8}
.unit-row__thumb{width:88px;height:66px;object-fit:cover;background:#f0efe9;display:block;flex-shrink:0}
.unit-row__info{flex-shrink:0;min-width:130px}
.unit-row__id{font-family:'Comfortaa',cursive;font-size:.82rem;font-weight:600;color:#2a2720;letter-spacing:.02em}
.unit-row__sub{font-family:'Exo',sans-serif;font-size:.72rem;color:#9a9486;margin-top:.2rem}
.unit-row__stats{display:flex;gap:1.5rem;flex:1;align-items:center}
.unit-stat{display:flex;flex-direction:column;align-items:flex-start}
.unit-stat__label{font-family:'Comfortaa',cursive;font-size:.55rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#9a9486}
.unit-stat__value{font-family:'Exo',sans-serif;font-size:.88rem;color:#2a2720;font-weight:500;margin-top:.15rem}
.unit-stat__value--price{color:#2f5651;font-family:'Comfortaa',cursive;font-weight:600;font-size:.9rem}
.unit-row__cta{font-family:'Comfortaa',cursive;font-size:.68rem;font-weight:600;letter-spacing:.04em;color:#fff;background:#2f5651;padding:.7rem 1.1rem;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;transition:background .25s ease;flex-shrink:0}
.unit-row__cta:hover{background:#1f3b38}
.unit-status{font-family:'Comfortaa',cursive;font-size:.58rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:.3rem .55rem;color:#5e594e;background:#f0efe9;white-space:nowrap;flex-shrink:0}
.unit-status.available{color:#2f5651;background:#e6efe8}
.unit-status.limited{color:#8a6d2a;background:#f5edd6}

@media (max-width:1024px){
  .unit-row{flex-wrap:wrap;padding:1rem;gap:.85rem 1rem}
  .unit-row__thumb{width:72px;height:54px}
  .unit-row__info{flex:1;min-width:0}
  .unit-row__stats{flex-basis:100%;order:3;flex-wrap:wrap;gap:.9rem 1.5rem;border-top:1px solid #f0efe9;padding-top:.8rem;margin-top:.2rem}
  .unit-row__cta{order:2}
  .unit-status{display:none}
}
@media (max-width:480px){
  .unit-row__cta{order:4;flex-basis:100%;justify-content:center;margin-top:.3rem}
}

/* Section heads */
.section-eyebrow{font-family:'Comfortaa',cursive;font-size:.62rem;font-weight:600;text-transform:uppercase;letter-spacing:.18em;color:#bfb48e;display:inline-block;margin-bottom:.7rem}
.section-eyebrow::before{content:'';display:inline-block;width:24px;height:1px;background:#bfb48e;margin-right:.7rem;vertical-align:middle}
.section-title{font-family:'Comfortaa',cursive;font-size:clamp(1.4rem,2.4vw,1.8rem);font-weight:400;color:#2a2720;letter-spacing:-.01em;line-height:1.2}

/* Description copy */
.desc p{font-family:'Exo',sans-serif;font-size:.95rem;line-height:1.85;color:#5e594e;margin-bottom:1.1rem}
.desc p:last-child{margin-bottom:0}
.desc-collapse{position:relative;max-height:280px;overflow:hidden;transition:max-height .5s cubic-bezier(.22,1,.36,1)}
.desc-collapse::after{content:'';position:absolute;bottom:0;left:0;right:0;height:80px;background:linear-gradient(180deg,rgba(249,248,245,0) 0%,rgba(249,248,245,1) 100%);pointer-events:none;transition:opacity .3s ease}
.desc-collapse.expanded{max-height:2400px}
.desc-collapse.expanded::after{opacity:0}

/* Feature chips */
.feature-chip{display:inline-flex;align-items:center;gap:.55rem;padding:.6rem .9rem;background:#fff;border:1px solid #ece8db;font-family:'Exo',sans-serif;font-size:.82rem;color:#5e594e;transition:all .25s ease}
.feature-chip svg{color:#2f5651;flex-shrink:0}
/* single-property.php: rich description, floorplans, map (QA Property Details) */
.desc ul,.desc ol{font-family:'Exo',sans-serif;font-size:.95rem;line-height:1.75;color:#5e594e;margin:0 0 1.1rem 1.25rem}
.desc ul{list-style:disc}.desc ol{list-style:decimal}
.desc li{margin-bottom:.35rem}
.desc h2,.desc h3,.desc h4{font-family:'Comfortaa',cursive;color:#2a2720;font-size:1.05rem;font-weight:600;margin:1.5rem 0 .75rem}
.desc strong,.desc b{color:#2a2720;font-weight:600}
.desc a{color:#2f5651;text-decoration:underline;text-underline-offset:2px}
.floorplan-card{position:relative;display:block;width:100%;padding:1rem;background:#fff;border:1px solid #ece8db;cursor:zoom-in;transition:border-color .3s ease}
.floorplan-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain}
.floorplan-card:hover{border-color:#d4c9a8}
.floorplan-card .expand-hint{bottom:.75rem;right:.75rem}
.floorplan-card:hover .expand-hint,.floorplan-card:focus-visible .expand-hint{opacity:1;transform:translateY(0)}
.area-map.property-map{height:420px}
@media (max-width:768px){.area-map.property-map{height:320px}}

/* Enquiry card (phone-cc* already defined above) */
.enquire-card{background:#fff;box-shadow:0 4px 24px rgba(31,59,56,.06);border:1px solid #ece8db}
.enquire-input{width:100%;font-family:'Exo',sans-serif;font-size:.9rem;padding:.85rem 1rem;background:#f9f8f5;border:1px solid transparent;outline:none;transition:all .25s ease;color:#2a2720}
.enquire-input:focus{border-color:#2f5651;background:#fff}
.enquire-input::placeholder{color:#9a9486}
textarea.enquire-input{resize:vertical;min-height:96px;line-height:1.55}

/* Map */
.poi-map{position:relative;height:480px;background:#e8e4d6;overflow:hidden;border:1px solid #ece8db}
.poi-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(31,59,56,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(31,59,56,.04) 1px,transparent 1px);background-size:32px 32px}
.poi-roads{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.poi-pin{position:absolute;transform:translate(-50%,-100%);cursor:pointer;z-index:2;transition:transform .25s ease}
.poi-pin:hover{z-index:10;transform:translate(-50%,-100%) scale(1.08)}
.poi-pin__dot{width:32px;height:32px;border-radius:9999px;background:#fff;border:2px solid #2f5651;display:flex;align-items:center;justify-content:center;color:#2f5651;transition:all .25s ease;box-shadow:0 4px 12px rgba(31,59,56,.18)}
.poi-pin.property .poi-pin__dot{width:44px;height:44px;background:#2f5651;color:#fff;border-color:#fff}
.poi-pin__label{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#fff;padding:.3rem .65rem;font-family:'Comfortaa',cursive;font-size:.65rem;font-weight:500;color:#2f5651;white-space:nowrap;opacity:0;transition:opacity .25s ease;pointer-events:none;box-shadow:0 4px 10px rgba(0,0,0,.1)}
.poi-pin:hover .poi-pin__label{opacity:1}

/* Similar properties */
.sim-card{background:#fff;display:flex;flex-direction:column;transition:transform .4s ease,box-shadow .4s ease;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.sim-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(31,59,56,.12)}
.sim-card__media{aspect-ratio:3/2;overflow:hidden;background:#e5dfd0;position:relative}
.sim-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.sim-card:hover .sim-card__media img{transform:scale(1.04)}

/* Sticky enquiry column on desktop */
@media (min-width:1025px){
  .sticky-side{position:sticky;top:100px}
}

/* Reveal — reuses the @keyframes fadeUp already defined for the search page above.
   (details.css authors fadeUp at translateY(20px) vs. the existing 18px; the 2px delta
   is immaterial and a duplicate same-named keyframe would override the search page's.) */
.reveal{opacity:0;animation:fadeUp .6s cubic-bezier(.22,1,.36,1) forwards}
.reveal.d1{animation-delay:.08s}
.reveal.d2{animation-delay:.16s}
.reveal.d3{animation-delay:.24s}
.reveal.d4{animation-delay:.32s}

/* Share dropdown */
.share-wrap{position:relative}
.share-menu{position:absolute;top:calc(100% + .4rem);right:0;min-width:180px;background:#fff;box-shadow:0 12px 36px rgba(0,0,0,.12);border:1px solid #ece8db;opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .25s ease;z-index:50;padding:.35rem}
.share-wrap.open .share-menu{opacity:1;visibility:visible;transform:translateY(0)}
/* QA PD-22: the share button sits in a .reveal wrapper, whose transform makes its own stacking
   context, so the menu's z-index can't lift it over the gallery below; the menu opened hidden
   behind the photos. Lift the whole title bar while the menu is open. */
section:has(.share-wrap.open){position:relative;z-index:30}
.share-menu button{display:flex;align-items:center;gap:.55rem;padding:.65rem .75rem;width:100%;font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:500;color:#2a2720;background:transparent;border:none;cursor:pointer;text-align:left;transition:background .2s ease}
.share-menu button:hover{background:#f0efe9}

/* Heart (btn-heart) */
.btn-heart.active svg{fill:#e64a4a;color:#e64a4a;stroke:#e64a4a}

/* ============================================================================
 * AREA / REGION PAGE — folded verbatim from docs/final/assets/css/area.css
 * (lines 62-151). Class families confirmed absent from chrome.css above; the
 * decorative hero/video background-image URLs fold as-is. The mockup's
 * `.map-pin-overlay` was a static graphic at the box centre; it is now drawn by
 * area-map.js as a Google Maps overlay at the place's coordinates.
 * ========================================================================== */

/* === HERO === */
.area-hero{position:relative;height:78vh;min-height:560px;max-height:820px;overflow:hidden;background:#1f3b38}
.area-hero__bg{position:absolute;inset:0;background-image:url('https://storage.googleapis.com/kendal-17416.appspot.com/organisation_watermarked_listing_images/iiGICKyuso4YJXuYDMgd/watermarked/1770023354720_watermarked_image.jpg');background-size:cover;background-position:center}
.area-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,30,28,.25) 0%,rgba(15,30,28,.55) 60%,rgba(15,30,28,.92) 100%)}
.area-hero__content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:0 clamp(1.5rem,4vw,3.5rem) 4rem}
@media (max-width:768px){
  .area-hero{height:auto;min-height:0}
  .area-hero__bg{height:60vh;min-height:380px;position:relative}
  .area-hero__overlay{height:60vh;min-height:380px}
  .area-hero__content{position:relative;background:#1f3b38;padding:2rem 1.5rem 2.5rem;margin-top:-4rem;z-index:3}
}

/* === VIDEO BLOCK === */
.video-block{position:relative;aspect-ratio:21/9;overflow:hidden;background:#1f3b38;cursor:pointer}
@media (max-width:768px){.video-block{aspect-ratio:4/3}}
.video-block__bg{position:absolute;inset:0;background-image:url('https://storage.googleapis.com/kendal-17416.appspot.com/organisation_watermarked_listing_images/iiGICKyuso4YJXuYDMgd/watermarked/1758092263954_watermarked_image.jpg');background-size:cover;background-position:center;transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.video-block:hover .video-block__bg{transform:scale(1.03)}
.video-block__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,30,28,.3) 0%,rgba(15,30,28,.65) 100%)}
.video-block__caption{position:absolute;bottom:2.5rem;left:2.5rem;z-index:3;max-width:520px}
@media (max-width:768px){.video-block__caption{bottom:1.5rem;left:1.5rem}}

.play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;background:rgba(255,255,255,.12);backdrop-filter:blur(12px);border:1.5px solid rgba(255,255,255,.3);width:96px;height:96px;border-radius:9999px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .35s cubic-bezier(.22,1,.36,1)}
.play-btn:hover{background:#d4c9a8;border-color:#d4c9a8;color:#1f3b38;transform:translate(-50%,-50%) scale(1.05)}
.play-btn::before{content:'';position:absolute;inset:-8px;border-radius:9999px;border:1px solid rgba(255,255,255,.2);animation:playPulse 2.4s ease-out infinite}
@keyframes playPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.4);opacity:0}}
.play-btn svg{margin-left:6px}
@media (max-width:768px){.play-btn{width:72px;height:72px}.play-btn svg{width:20px;height:20px}}

/* === GALLERY STRIP === */
.gallery-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#ece8db}
@media (max-width:768px){.gallery-strip{grid-template-columns:repeat(2,1fr)}}
.gallery-thumb{aspect-ratio:4/3;overflow:hidden;cursor:pointer;position:relative;background:#e5dfd0}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.gallery-thumb:hover img{transform:scale(1.06)}
.gallery-thumb::after{content:'';position:absolute;inset:0;background:rgba(31,59,56,0);transition:background .3s ease}
.gallery-thumb:hover::after{background:rgba(31,59,56,.2)}
.gallery-thumb__more{position:absolute;inset:0;background:rgba(31,59,56,.78);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-family:'Comfortaa',cursive;z-index:2;transition:background .25s ease}
.gallery-thumb__more:hover{background:rgba(31,59,56,.85)}
.gallery-thumb__more-num{font-size:1.6rem;font-weight:500;line-height:1}
.gallery-thumb__more-label{font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;margin-top:.4rem;color:#d4c9a8}

/* === REASONS / FEATURE BLOCKS === */
.stat-tile{padding:1.75rem 1.5rem;background:#fff;border:1px solid #ece8db;display:flex;flex-direction:column;gap:.35rem;transition:all .3s ease}
.stat-tile:hover{border-color:#d4c9a8;background:#fdfcf8}
.stat-tile__num{font-family:'Comfortaa',cursive;font-size:1.85rem;font-weight:500;color:#2f5651;line-height:1;letter-spacing:-.02em}
.stat-tile__label{font-family:'Exo',sans-serif;font-size:.85rem;color:#2a2720;font-weight:500;margin-top:.4rem}
.stat-tile__sub{font-family:'Exo',sans-serif;font-size:.72rem;color:#9a9486;line-height:1.5}

/* Editorial numbered reasons */
.reasons{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}
.reason{display:grid;grid-template-columns:140px 1fr;gap:2.5rem;padding:2rem 0;align-items:start}
@media (max-width:768px){
  .reason{grid-template-columns:1fr;gap:1rem;padding:1.5rem 0}
}
.reason__num{font-family:'Comfortaa',cursive;font-size:clamp(2.2rem,3.5vw,3rem);font-weight:300;color:#bfb48e;letter-spacing:-.02em;line-height:1;padding-left:.2rem}
.reason__body{max-width:680px}
.reason__title{font-family:'Comfortaa',cursive;font-size:1.3rem;font-weight:500;color:#2a2720;letter-spacing:-.01em;margin-bottom:.7rem;line-height:1.25}
.reason__body p{font-family:'Exo',sans-serif;font-size:1rem;color:#5e594e;line-height:1.8;margin:0}

/* === MAP === */
.area-map{position:relative;height:520px;background:#e8e4d6;overflow:hidden;border:1px solid #ece8db}
@media (max-width:768px){.area-map{height:420px}}

/* Custom drop pin (area-map.js draws it as a Google Maps overlay on the place's coordinates;
   the pin's tip sits on the point) */
.area-map__canvas{position:absolute;inset:0}
.map-pin-overlay{position:absolute;transform:translate(-50%,-100%);pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:.5rem}
.map-pin-overlay__pin{width:44px;height:auto;color:#2f5651;filter:drop-shadow(0 6px 14px rgba(31,59,56,.35));animation:pinDrop .7s cubic-bezier(.18,.89,.32,1.28) both}
.map-pin-overlay__pin svg{width:100%;height:auto;display:block}
@keyframes pinDrop{
  0%{transform:translateY(-30px) scale(.4);opacity:0}
  60%{transform:translateY(4px) scale(1.05);opacity:1}
  100%{transform:translateY(0) scale(1);opacity:1}
}
.map-pin-overlay__label{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:.5rem;font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:500;color:#2f5651;background:#fff;padding:.4rem .75rem;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.12)}

/* Directions button (top-right) */
.map-directions{position:absolute;top:1rem;right:1rem;display:inline-flex;align-items:center;gap:.45rem;background:#fff;padding:.6rem .9rem;font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:500;color:#2f5651;box-shadow:0 4px 14px rgba(0,0,0,.12);transition:all .25s ease;cursor:pointer;text-decoration:none;z-index:5}
.map-directions:hover{background:#2f5651;color:#fff}

/* === AMENITIES === */
.amenity-cat-tab{padding:.65rem 1.1rem;font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:500;letter-spacing:.04em;color:#5e594e;background:#fff;border:1px solid #ece8db;cursor:pointer;transition:all .2s ease;white-space:nowrap}
.amenity-cat-tab:hover{border-color:#2f5651;color:#2f5651}
.amenity-cat-tab.active{background:#2f5651;color:#fff;border-color:#2f5651}
.amenity-cat-tab .count{font-family:'Exo',sans-serif;font-size:.65rem;margin-left:.35rem;opacity:.7}

.amenity{display:flex;align-items:center;gap:.85rem;padding:1.1rem 1.25rem;background:#fff;border:1px solid #ece8db;transition:all .25s ease}
.amenity:hover{border-color:#d4c9a8;background:#fdfcf8}
.amenity__name{font-family:'Exo',sans-serif;font-size:.92rem;color:#2a2720;font-weight:500}
.amenity__meta{font-family:'Exo',sans-serif;font-size:.74rem;color:#9a9486;margin-top:.15rem}

.amenity.hidden-cat{display:none}

/* ============================================================
   Wave 6 — agent profile page (folded from docs/final/assets/css/agent.css)
   Global chrome (loc-switcher, nav, mega-dropdown, burger, mobile-overlay,
   header, scroll-progress, cta-pattern) + .reveal base + fadeUp keyframes
   already exist above — not re-added. Agent's .reveal uses translateY(20px)
   vs. the existing fadeUp 18px: accepted 2px delta caveat (see reveal note).
   Only two real conflicts are scoped below: .section-title and .reveal delays.
   ============================================================ */

/* AGENT HEADER */
.agent-head{background:#1f3b38;color:#fff;padding:5rem clamp(1.5rem,4vw,3.5rem) 4.5rem;position:relative;overflow:hidden}
@media (max-width:768px){.agent-head{padding:3rem 1.25rem 3rem}}
.agent-head__inner{display:grid;grid-template-columns:280px 1fr;gap:3.5rem;align-items:center}
@media (max-width:768px){.agent-head__inner{grid-template-columns:1fr;gap:2rem;text-align:left}}
.agent-photo{aspect-ratio:4/5;background:#3d6e67;position:relative;overflow:hidden;border:1px solid rgba(212,201,168,.15);width:100%;max-width:280px}
@media (max-width:768px){.agent-photo{max-width:200px;aspect-ratio:1/1}}
.agent-photo__placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3d6e67 0%,#1f3b38 100%);color:rgba(255,255,255,.35)}
.agent-photo__placeholder svg{width:72px;height:72px}
.agent-photo__placeholder::after{content:'Photo to be added';position:absolute;bottom:1.25rem;left:50%;transform:translateX(-50%);font-family:'Comfortaa',cursive;font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.4);white-space:nowrap}
.agent-photo img{width:100%;height:100%;object-fit:cover;object-position:center bottom}
.agent-meta{display:flex;flex-direction:column;gap:1.25rem}
.agent-meta__crumbs{display:flex;align-items:center;gap:.5rem;font-family:'Exo',sans-serif;font-size:.7rem;color:rgba(255,255,255,.55)}
.agent-meta__crumbs a:hover{color:#d4c9a8}
.agent-meta__crumbs svg{width:10px;height:10px}
.agent-meta__title{font-family:'Comfortaa',cursive;font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:400;color:#fff;line-height:1.1;letter-spacing:-.02em}
.agent-meta__title .role{color:#d4c9a8;font-weight:400;display:block;font-size:.6em;margin-top:.5rem;letter-spacing:.01em}
.agent-meta__lead{font-family:'Exo',sans-serif;font-size:1rem;color:rgba(255,255,255,.75);line-height:1.65;max-width:560px}
.agent-meta__pills{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.25rem}
.agent-pill{font-family:'Comfortaa',cursive;font-size:.62rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.75);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);padding:.4rem .65rem}
.agent-meta__ctas{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.btn-primary{font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;letter-spacing:.04em;padding:.85rem 1.4rem;background:#d4c9a8;color:#1f3b38;display:inline-flex;align-items:center;gap:.45rem;transition:all .3s ease;cursor:pointer;border:none}
.btn-primary:hover{background:#e5dcc0;transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.18)}
.btn-ghost{font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;letter-spacing:.04em;padding:.85rem 1.4rem;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3);display:inline-flex;align-items:center;gap:.45rem;transition:all .3s ease;cursor:pointer}
.btn-ghost:hover{background:rgba(255,255,255,.08);border-color:#fff}

/* Scoped .section-title override (agent values beat the generic base rule) */
.block-agent-about .section-title,.block-tag-pill-grid .section-title,.block-value-prop-list .section-title,.block-why-grid .section-title,.block-featured-properties .section-title,.block-faq-accordion .section-title,.block-agent-contact .section-title{font-size:clamp(1.4rem,2.4vw,1.85rem);font-weight:500;color:#1f3b38;margin-bottom:1rem;line-height:1.25}

/* ABOUT prose */
.body-prose p{font-family:'Exo',sans-serif;font-size:1rem;line-height:1.8;color:#2a2720;margin-bottom:1.25rem}
.body-prose p:last-child{margin-bottom:0}

/* TAG GRID (communities, developers, types) */
.tag-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.tag{font-family:'Comfortaa',cursive;font-size:.78rem;font-weight:500;color:#1f3b38;background:#fff;border:1px solid #dedad0;padding:.6rem 1rem;display:inline-flex;align-items:center;gap:.5rem}
.tag .tag__count{font-family:'Exo',sans-serif;font-size:.7rem;color:#9a9486}

/* WHO I HELP */
.helps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
@media (max-width:768px){.helps{grid-template-columns:1fr;gap:1.5rem}}
.help{display:flex;gap:1.25rem;align-items:flex-start}
.help__num{font-family:'Comfortaa',cursive;font-size:2rem;font-weight:300;color:#bfb48e;letter-spacing:-.02em;line-height:.9;flex-shrink:0;width:50px}
.help__body h3{font-family:'Comfortaa',cursive;font-size:1.05rem;font-weight:500;color:#1f3b38;margin-bottom:.45rem;line-height:1.3}
.help__body p{font-family:'Exo',sans-serif;font-size:.92rem;color:#5e594e;line-height:1.7;margin:0}

/* WHY WORK WITH ME */
.whys{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
@media (max-width:1024px){.whys{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.whys{grid-template-columns:1fr}}
.why{padding:1.75rem;background:#fff;border:1px solid #ece8db;transition:all .25s ease}
.why:hover{border-color:#d4c9a8;background:#fdfcf8}
.why__num{font-family:'Comfortaa',cursive;font-size:.6rem;font-weight:600;letter-spacing:.16em;color:#bfb48e;margin-bottom:.85rem}
.why__title{font-family:'Comfortaa',cursive;font-size:1.05rem;font-weight:500;color:#1f3b38;margin-bottom:.5rem;line-height:1.3}
.why__body{font-family:'Exo',sans-serif;font-size:.88rem;color:#5e594e;line-height:1.7}
.why__note{font-family:'Exo',sans-serif;font-size:.78rem;color:#5e594e;line-height:1.6;margin-top:.85rem;padding-top:.75rem;border-top:1px solid #f0efe9}
.article-hero.article-hero--contain{aspect-ratio:auto;max-width:1000px;background:transparent}
.article-hero.article-hero--contain img{height:auto;object-fit:contain}
.why__note span{font-family:'Comfortaa',cursive;font-size:.6rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#2f5651;margin-right:.25rem}

/* FEATURED PROPERTIES */
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
@media (max-width:1024px){.featured-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.featured-grid{grid-template-columns:1fr}}
.feat-card{background:#fff;border:1px solid #ece8db;overflow:hidden;display:flex;flex-direction:column;transition:all .3s ease}
.feat-card:hover{border-color:#d4c9a8;transform:translateY(-3px);box-shadow:0 14px 28px rgba(31,59,56,.06)}
.feat-card__img{aspect-ratio:16/10;overflow:hidden;background:#e5dfd0;position:relative}
.feat-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.feat-card:hover .feat-card__img img{transform:scale(1.04)}
.feat-card__tag{position:absolute;top:.85rem;left:.85rem;background:rgba(31,59,56,.92);backdrop-filter:blur(8px);color:#fff;font-family:'Comfortaa',cursive;font-size:.58rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:.32rem .65rem}
.feat-card__body{padding:1.1rem 1.25rem 1.35rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.feat-card__title{font-family:'Comfortaa',cursive;font-size:.98rem;font-weight:500;color:#1f3b38;line-height:1.3}
.feat-card__loc{font-family:'Exo',sans-serif;font-size:.76rem;color:#9a9486}
.feat-card__price{font-family:'Comfortaa',cursive;font-size:.95rem;font-weight:600;color:#2f5651;margin-top:auto;padding-top:.6rem}
.feat-card__meta{display:flex;gap:.85rem;font-family:'Exo',sans-serif;font-size:.72rem;color:#5e594e;padding-top:.5rem;border-top:1px solid #f0efe9;margin-top:.4rem}
.feat-card__meta span{display:inline-flex;align-items:center;gap:.3rem}

/* FAQs */
.faq{border-bottom:1px solid #ece8db}
.faq:first-child{border-top:1px solid #ece8db}
.faq__btn{width:100%;background:none;border:none;text-align:left;padding:1.4rem 0;display:flex;justify-content:space-between;align-items:center;gap:1rem;cursor:pointer;font-family:'Comfortaa',cursive;font-size:1rem;font-weight:500;color:#1f3b38;transition:color .2s ease}
.faq__btn:hover{color:#2f5651}
.faq__icon{flex-shrink:0;width:18px;height:18px;color:#bfb48e;transition:transform .3s ease}
.faq.open .faq__icon{transform:rotate(45deg);color:#2f5651}
.faq__body{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq.open .faq__body{max-height:400px}
.faq__body-inner{padding:0 0 1.4rem;font-family:'Exo',sans-serif;font-size:.95rem;color:#5e594e;line-height:1.75}

/* CONTACT (info panel + form) */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
@media (max-width:1024px){.contact-grid{grid-template-columns:1fr;gap:2rem}}
.contact-info{background:#1f3b38;color:#fff;padding:2.5rem 2.25rem;display:flex;flex-direction:column;gap:1.5rem}
@media (max-width:768px){.contact-info{padding:2rem 1.5rem}}
.contact-info__title{font-family:'Comfortaa',cursive;font-size:1.4rem;font-weight:500;color:#fff;line-height:1.25}
.contact-info__row{display:flex;align-items:flex-start;gap:.8rem;font-family:'Exo',sans-serif;font-size:.92rem;color:rgba(255,255,255,.85)}
.contact-info__row svg{flex-shrink:0;width:18px;height:18px;color:#d4c9a8;margin-top:.15rem}
.contact-info__row a:hover{color:#d4c9a8}
.contact-info__socials{display:flex;gap:.4rem;margin-top:auto;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}
.contact-info__socials a{width:34px;height:34px;border:1px solid rgba(255,255,255,.18);display:inline-flex;align-items:center;justify-content:center;color:rgba(255,255,255,.8);transition:all .25s ease}
.contact-info__socials a:hover{background:#d4c9a8;border-color:#d4c9a8;color:#1f3b38}
.contact-form{background:#fff;padding:2.5rem 2.25rem;border:1px solid #ece8db}
@media (max-width:768px){.contact-form{padding:2rem 1.5rem}}
.form-row{margin-bottom:1.1rem}
.form-row label{display:block;font-family:'Comfortaa',cursive;font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5e594e;margin-bottom:.45rem}
.form-row input,.form-row textarea,.form-row select{width:100%;font-family:'Exo',sans-serif;font-size:.92rem;padding:.85rem 1rem;background:#fdfcf8;border:1px solid #ece8db;color:#1f3b38;transition:border-color .2s ease;outline:none;box-sizing:border-box}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{border-color:#2f5651;background:#fff}
.form-row textarea{min-height:110px;resize:vertical}
.form-submit{width:100%;font-family:'Comfortaa',cursive;font-size:.78rem;font-weight:600;letter-spacing:.04em;padding:1rem;background:#2f5651;color:#fff;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:background .25s ease;margin-top:.3rem}
.form-submit:hover{background:#1f3b38}
.form-disclaimer{font-family:'Exo',sans-serif;font-size:.7rem;color:#9a9486;line-height:1.6;margin-top:1rem;text-align:center}
.form-disclaimer a{color:#2f5651;font-weight:500}
.form-disclaimer a:hover{text-decoration:underline}

/* Scoped .reveal delays (agent page + Wave-10 testimonials wall use .06/.12
   vs. the generic .08/.16) */
.block-agent-head .reveal.d1,.block-agent-about .reveal.d1,.block-tag-pill-grid .reveal.d1,.block-value-prop-list .reveal.d1,.block-why-grid .reveal.d1,.block-featured-properties .reveal.d1,.block-faq-accordion .reveal.d1,.block-agent-contact .reveal.d1,.block-testimonials-wall .reveal.d1{animation-delay:.06s}
.block-agent-head .reveal.d2,.block-agent-about .reveal.d2,.block-tag-pill-grid .reveal.d2,.block-value-prop-list .reveal.d2,.block-why-grid .reveal.d2,.block-featured-properties .reveal.d2,.block-faq-accordion .reveal.d2,.block-agent-contact .reveal.d2,.block-testimonials-wall .reveal.d2{animation-delay:.12s}

/* ============================================================
   Wave 7a — abu-dhabi / dubai city page (folded from docs/final/assets/css/abu-dhabi.css)
   Global chrome (loc-switcher, nav, mega-dropdown, burger, mobile-overlay,
   scroll-progress) + cta-pattern + search-select + @keyframes fadeUp already exist
   above — not re-added. (.header.scrolled + the transparent-on-load treatment for
   hero-city pages were fixed at the top of this file, in "Header base" -- this was
   a pre-existing global-chrome gap identical across every mockup's CSS, originally
   deferred here, closed 2026-07-17 from a user-supplied screenshot.) Only the
   page-body classes are added here. Blocks: hero-city,
   featured-communities, featured-developments, region-intro, team-showcase, podcast-grid,
   video-archive, latest-news, testimonials-slider.
   ============================================================ */

/* Hero (hero-city) — anim-up reuses the existing @keyframes fadeUp (18px, matches source) */
.anim-up{opacity:0;animation:fadeUp .7s cubic-bezier(.22,1,.36,1) forwards}
.anim-d1{animation-delay:.1s}.anim-d2{animation-delay:.2s}.anim-d3{animation-delay:.35s}.anim-d4{animation-delay:.5s}
.slide-bg{animation:slowZoom 20s ease-in-out infinite alternate}
@keyframes slowZoom{from{transform:scale(1)}to{transform:scale(1.06)}}
.hero-overlay{background:linear-gradient(180deg,rgba(47,86,81,.45) 0%,rgba(47,86,81,.08) 35%,rgba(47,86,81,.05) 55%,rgba(47,86,81,.5) 100%),linear-gradient(105deg,rgba(6,14,26,.45) 0%,rgba(6,14,26,.1) 45%,transparent 70%)}

/* Property search tabs (hero-city) */
.search-tab.active{color:#fff;font-weight:700;background:rgba(255,255,255,.15);border-radius:0}
.search-tab.active::after{background:#fff;height:3px}
.search-tab{color:rgba(255,255,255,.55);font-weight:400;background:transparent}
.search-tab:hover{color:rgba(255,255,255,.9);background:rgba(255,255,255,.06)}
.search-tab::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:transparent;transition:all .25s}
/* hero-city location type-ahead (QA HP-04) */
.loc-combo{position:relative}
.loc-combo input::placeholder{color:#2a2720;opacity:1}
.loc-suggest{position:absolute;top:calc(100% + 1.25rem);left:-1.5rem;right:-1.5rem;z-index:40;margin:0;padding:.35rem 0;list-style:none;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.14);border-top:2px solid #2f5651;max-height:264px;overflow-y:auto}
.loc-suggest[hidden]{display:none}
/* hero-city typed price range: red underline on both fields + message when From isn't below To */
.price-field.is-invalid{box-shadow:inset 0 -2px 0 #b42318}
.price-error{margin:0;padding:.6rem 1.5rem;font-family:'Exo',sans-serif;font-size:.8rem;color:#b42318;background:#fef3f2;border-top:1px solid #fecdca}
.price-error[hidden]{display:none}
.price-field--compact .loc-suggest{top:calc(100% + 1rem);left:-1.25rem;right:-1.25rem}
.loc-suggest li{font-family:'Exo',sans-serif;font-size:.85rem;color:#2a2720;padding:.6rem 1.5rem;cursor:pointer}
.loc-suggest li[role=option]:hover,.loc-suggest li[aria-selected=true]{background:#f9f8f5;color:#2f5651}
.loc-suggest .loc-suggest__empty{color:#9a9486;cursor:default}
.loc-suggest .loc-suggest__note{font-size:.72rem;color:#9a9486;cursor:default;padding-bottom:.2rem}
.loc-suggest__market{color:#9a9486;font-size:.75rem;margin-left:.4rem}
#advCompletionField[hidden]{display:none}
@media (max-width:768px){.loc-suggest{top:calc(100% + 1rem);left:-1.25rem;right:-1.25rem}}

/* Card overlays (communities / developments / team) */
.card-gradient{background:linear-gradient(0deg,rgba(6,14,26,.65) 0%,rgba(6,14,26,.15) 45%,rgba(6,14,26,.02) 100%)}
.card-gradient-team{background:linear-gradient(0deg,rgba(31,59,56,.85) 0%,rgba(31,59,56,.3) 40%,rgba(31,59,56,.02) 70%)}
.card-gradient-dev{background:linear-gradient(0deg,rgba(6,14,26,.7) 0%,rgba(6,14,26,.15) 45%,rgba(6,14,26,.02) 100%)}

/* Dev card expand animation (featured-developments) */
.dev-card{transition:min-width .7s cubic-bezier(.22,1,.36,1),width .7s cubic-bezier(.22,1,.36,1)}
.dev-card--hero{min-width:520px;width:520px}
.dev-card--active{min-width:520px!important;width:520px!important}
.dev-card--hero.dev-card--inactive{min-width:300px;width:300px}
.dev-card--active .dev-card__name{font-size:1.5rem!important}
.dev-card--hero.dev-card--inactive .dev-card__name{font-size:1.2rem!important}

/* Dev card heart (save toggle) */
.dev-heart.active{background:#fff;color:#e64a4a}
.dev-heart.active svg{fill:#e64a4a;stroke:#e64a4a}

/* Drag scroll (communities / developments) */
.drag-scroll{cursor:grab;user-select:none}
.drag-scroll.dragging{cursor:grabbing;scroll-behavior:auto}
.drag-scroll.dragging a,.drag-scroll.dragging .dev-card{pointer-events:none}

/* Arrow reveal on card hover (communities) */
.card-arrow{opacity:0;transform:translate(-6px,6px);transition:all .35s cubic-bezier(.22,1,.36,1)}
.group:hover .card-arrow{opacity:1;transform:translate(0,0)}

/* Testimonials (testimonials-slider) */
.testimonial-slide{opacity:0;position:absolute;inset:0;transition:opacity .6s cubic-bezier(.22,1,.36,1)}
.testimonial-slide.active{opacity:1;position:relative}
.testimonial-bg{background:linear-gradient(135deg,rgba(12,24,22,.95) 0%,rgba(18,35,32,.92) 100%)}

/* Awards (awards-slider) — 4 square images per row, arrows slide a full row.
   Arrows mirror .testimonial-prev/.testimonial-next, recoloured for white bg. */
.awards-viewport{overflow:hidden}
.awards-track{--awards-per-view:4;--awards-gap:1rem;display:flex;gap:var(--awards-gap);transition:transform .6s cubic-bezier(.22,1,.36,1);will-change:transform}
.awards-item{flex:0 0 calc((100% - (var(--awards-per-view) - 1) * var(--awards-gap)) / var(--awards-per-view));aspect-ratio:1/1;background:#fff;border:1px solid #ece8db;display:flex;align-items:center;justify-content:center;overflow:hidden}
.awards-item img{width:100%;height:100%;object-fit:contain;display:block}
.awards-arrow{width:2.5rem;height:2.5rem;border-radius:9999px;border:1px solid rgba(42,39,32,.2);display:flex;align-items:center;justify-content:center;color:rgba(42,39,32,.7);background:transparent;cursor:pointer;transition:all .3s}
.awards-arrow:hover{border-color:#d4c9a8;color:#d4c9a8}
@media (max-width:768px){.awards-track{--awards-per-view:2;--awards-gap:.75rem}}

/* Logos (logo-slider) — 5 logos per slide (4/3/2 at smaller widths), arrows + dots
   slide a full row, autoplay. Arrows reuse the awards-slider look. */
.logos-viewport{overflow:hidden;padding:1px 0}
.logos-track{--logos-per-view:5;--logos-gap:1rem;display:flex;gap:var(--logos-gap);transition:transform .6s cubic-bezier(.22,1,.36,1);will-change:transform}
.logos-item{flex:0 0 calc((100% - (var(--logos-per-view) - 1) * var(--logos-gap)) / var(--logos-per-view));height:8rem;background:#fff;border:1px solid #ece8db;display:flex;align-items:center;justify-content:center;padding:1.25rem 1.5rem;overflow:hidden}
.logos-item img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;filter:grayscale(1);opacity:.75;transition:filter .3s,opacity .3s}
.logos-item:hover img{filter:none;opacity:1}
.logos-arrow{width:2.5rem;height:2.5rem;border-radius:9999px;border:1px solid rgba(42,39,32,.2);display:flex;align-items:center;justify-content:center;color:rgba(42,39,32,.7);background:transparent;cursor:pointer;transition:all .3s}
.logos-arrow:hover{border-color:#d4c9a8;color:#d4c9a8}
.logos-dots{display:flex;justify-content:center;gap:.5rem;margin-top:2rem}
.logos-dot{width:.5rem;height:.5rem;border-radius:9999px;border:0;padding:0;background:rgba(42,39,32,.2);cursor:pointer;transition:all .3s}
.logos-dot.is-active{background:#d4c9a8;width:1.5rem}
@media (max-width:1024px){.logos-track{--logos-per-view:4}}
@media (max-width:768px){.logos-track{--logos-per-view:3;--logos-gap:.75rem}.logos-item{height:6rem;padding:.875rem 1rem}.logos-dots{margin-top:1.5rem}.block-logo-slider .logos-nav{display:none}}
@media (max-width:480px){.logos-track{--logos-per-view:2}}

/* Hide scrollbar (drag carousels) */
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{scrollbar-width:none}

@media(max-width:768px){
  .dev-card--hero,.dev-card--active{min-width:320px!important;width:320px!important}
  .dev-card{min-width:260px!important;width:260px!important}
}

/* Honeypot field (docs/forms-audit.md "Spam protection") — every lead form
   carries a hidden `website` input real visitors never see or fill in.
   Off-screen positioning rather than display:none, since some bots skip
   display:none fields when deciding what to fill in. */
.altura-hp{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden}

/* ============================================================
   Wave 10 — testimonials page (folded from docs/final/assets/css/testimonials.css)
   Global chrome (loc-switcher, nav, mega-dropdown, burger, mobile-overlay,
   scroll-progress, header background, cta-pattern) + the .reveal base +
   @keyframes fadeUp already exist above and are NOT re-added. The source's
   .reveal uses translateY(20px) vs. the existing fadeUp's 18px — the same
   accepted 2px delta already documented for the details/agent pages.
   The source's .page-header rule is also NOT folded in: the reused
   `hero-inner` block's `hero_cta_style: none` branch already expresses it
   exactly in Tailwind (pt-20/pb-16 = 5rem/4rem, md:pt-12/md:pb-10/md:px-5 =
   3rem/2.5rem/1.25rem), so a second CSS copy would be dead weight.
   The source's .reveal.d1/.d2 delays (.06/.12) conflict with the generic
   .08/.16 above and are scoped to .block-testimonials-wall in the
   "Scoped .reveal delays" rule earlier in this file.
   Block: testimonials-wall.

   Naming note: the bare `.testimonial` token below does NOT collide with the
   Wave-7a slider's `.testimonial-slide` / `.testimonial-bg` /
   `.testimonial-prev` / `.testimonial-next` — those are distinct class
   tokens, so these rules never match slider markup.
   ============================================================ */

/* CSS-column masonry (not grid — cards are variable-height and flow by column) */
.masonry{column-count:3;column-gap:1.25rem}
@media (max-width:1024px){.masonry{column-count:2}}
@media (max-width:600px){.masonry{column-count:1}}

.testimonial{break-inside:avoid;margin-bottom:1.25rem;background:#fff;border:1px solid #ece8db;padding:2rem 1.75rem;display:flex;flex-direction:column;gap:1.25rem;transition:all .35s cubic-bezier(.22,1,.36,1);position:relative}
.testimonial:hover{border-color:#d4c9a8;background:#fdfcf8;transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,59,56,.05)}

.testimonial--accent{background:#1f3b38;border-color:#1f3b38;color:#fff}
.testimonial--accent:hover{background:#1f3b38;border-color:#d4c9a8;transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,59,56,.18)}

.testimonial--cream{background:#fdfcf8;border-color:#e5dcc0}
.testimonial--cream:hover{background:#fbf7ed;border-color:#d4c9a8}

.testimonial__mark{font-family:'Comfortaa',cursive;font-size:2.6rem;line-height:.5;color:#d4c9a8;font-weight:500}
.testimonial__text{font-family:'Exo',sans-serif;font-size:1rem;line-height:1.7;color:#2a2720}
.testimonial--accent .testimonial__text{color:rgba(255,255,255,.9)}
.testimonial__text--short{font-family:'Comfortaa',cursive;font-size:1.2rem;font-weight:400;line-height:1.45;color:#1f3b38;letter-spacing:-.01em}
.testimonial--accent .testimonial__text--short{color:#fff}

.testimonial__footer{display:flex;flex-direction:column;gap:.2rem;padding-top:1rem;border-top:1px solid #f0efe9;margin-top:auto}
.testimonial--accent .testimonial__footer{border-top-color:rgba(255,255,255,.12)}
.testimonial__name{font-family:'Comfortaa',cursive;font-size:.92rem;font-weight:500;color:#1f3b38}
.testimonial--accent .testimonial__name{color:#fff}
.testimonial__location{font-family:'Exo',sans-serif;font-size:.78rem;color:#9a9486;display:inline-flex;align-items:center;gap:.4rem}
.testimonial--accent .testimonial__location{color:rgba(212,201,168,.85)}
.testimonial__location svg{width:11px;height:11px;flex-shrink:0;opacity:.85}


/* ===== Meet the Team: team-directory block (docs/final/assets/css/meet-the-team.css) ===== */
.filter-btn:focus-visible{outline:2px solid #2f5651;outline-offset:2px}
.filter-count{font-size:.62rem;opacity:.65}
.team-filters{overflow-x:auto;scrollbar-width:none}
.team-filters::-webkit-scrollbar{display:none}

/* === TEAM MEMBER CARD === */
.member{background:#fff;border:1px solid #ece8db;display:flex;flex-direction:column;overflow:hidden;transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1)}
.member:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(31,59,56,.12)}
.member[hidden]{display:none}
.member__photo{display:block;aspect-ratio:4/5;overflow:hidden;background:#e5dfd0}
.member__photo img{width:100%;height:100%;object-fit:cover;object-position:center bottom;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.member:hover .member__photo img{transform:scale(1.04)}
.member__body{padding:1.25rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.member__role{font-family:'Comfortaa',cursive;font-size:.6rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#2f5651}
.member__name{font-family:'Comfortaa',cursive;font-size:1.05rem;font-weight:500;color:#2a2720;line-height:1.3;letter-spacing:-.01em}
.member__name a{transition:color .25s ease}
.member__name a:hover{color:#2f5651}
.member__office{font-family:'Exo',sans-serif;font-size:.75rem;color:#9a9486;display:flex;align-items:center;gap:.375rem}
.member__foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:.9rem;border-top:1px solid #f0efe9}
.member__body > .member__office{margin-bottom:.9rem}
.member__contacts{display:flex;gap:.5rem}
.member__contact{width:34px;height:34px;border-radius:9999px;border:1px solid #dedad0;color:#2f5651;display:inline-flex;align-items:center;justify-content:center;transition:all .25s ease}
.member__contact:hover{background:#2f5651;border-color:#2f5651;color:#fff}
.member__cta{font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:600;color:#2f5651;display:inline-flex;align-items:center;gap:.375rem;white-space:nowrap;transition:gap .3s cubic-bezier(.22,1,.36,1)}
.member__cta:hover{gap:.625rem}
.member__contact:focus-visible,.member__cta:focus-visible,.member__photo:focus-visible,.member__name a:focus-visible{outline:2px solid #2f5651;outline-offset:2px}

/* Leadership variant: larger type, more padding */
.member--lead .member__body{padding:1.75rem 2rem 2rem;gap:.5rem}
.member--lead .member__role{color:#bfb48e;font-size:.62rem;letter-spacing:.16em}
.member--lead .member__name{font-size:1.6rem;font-weight:400;line-height:1.15}
@media (max-width:768px){.member--lead .member__body{padding:1.5rem}}
@media (prefers-reduced-motion:reduce){.member,.member__photo img{transition:none}}

/* Results map (property-grid-full.php): Google Maps pins drawn with the .map-pin markup above,
   the draw-an-area bar, and the "remove map area" chip. Controls stay hidden until the map
   itself is allowed to load (consent). */
#resultsMap .map-pin{transform:translate(-50%,-100%)}
#resultsMap .map-pin:hover,#resultsMap .map-pin.active{z-index:10}
.map-popup{display:block;color:inherit;text-decoration:none}
.map-popup__link{display:inline-block;margin-top:.5rem;font-family:'Comfortaa',cursive;font-size:.68rem;font-weight:600;color:#2f5651}
.map-container:not(.is-allowed) .map-controls,.map-container:not(.is-allowed) .map-area-bar{display:none}
.map-ctrl-btn.active{background:#2f5651;color:#fff;border-color:#2f5651}
.map-area-bar{position:absolute;top:1rem;left:50%;transform:translateX(-50%);z-index:20;display:flex;align-items:center;gap:.75rem;background:#fff;padding:.6rem .8rem;box-shadow:0 6px 20px rgba(0,0,0,.14);max-width:calc(100% - 6rem)}
.map-area-bar[hidden]{display:none}
.map-area-bar button{border:none;background:transparent;cursor:pointer}
.map-area-bar #mapAreaSearch{background:#2f5651;color:#fff}
.map-area-clear{position:absolute;bottom:1rem;right:1rem;z-index:20;background:#fff;padding:.55rem .85rem;font-family:'Comfortaa',cursive;font-size:.7rem;font-weight:600;color:#2f5651;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.map-area-clear:hover{background:#2f5651;color:#fff}
@media (max-width:768px){.map-area-bar{flex-wrap:wrap;justify-content:center;max-width:calc(100% - 2rem);top:auto;bottom:3.5rem}}

/* Article "guide" callout: link to an area's booklet (news articles, QA CT-13) */
.article-body .article-guide{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin:0 0 2.25rem;padding:1.25rem 1.5rem;background:#f9f8f5;border:1px solid #dedad0;border-left:3px solid #2f5651}
.article-body .article-guide p{margin:0;font-size:.95rem;line-height:1.6}
.article-body a.article-guide__btn{flex-shrink:0;display:inline-flex;align-items:center;padding:.75rem 1.4rem;background:#2f5651;color:#fff;font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-decoration:none;transition:background .2s}
.article-body a.article-guide__btn:hover{background:#1f3b38;color:#fff}
@media (max-width:768px){.article-body .article-guide{flex-direction:column;align-items:flex-start}}
/* Podcast section is dark (podcast-grid.php): a heading word highlighted with text-primary reads in the accent instead */
#podcast h2 .text-primary{color:var(--color-accent)}

/* Podcast slider (podcast-grid) — 4 cards per view, arrows slide a full view (same mechanics as
   the awards slider). Arrows recoloured for the dark section. */
.podcast-viewport{overflow:hidden;margin:-.25rem;padding:.25rem}
.podcast-track{--podcast-per-view:4;--podcast-gap:1rem;display:flex;gap:var(--podcast-gap);transition:transform .6s cubic-bezier(.22,1,.36,1);will-change:transform}
.podcast-item{flex:0 0 calc((100% - (var(--podcast-per-view) - 1) * var(--podcast-gap)) / var(--podcast-per-view));min-width:0}
.podcast-arrow{width:2.5rem;height:2.5rem;border-radius:9999px;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.7);background:transparent;cursor:pointer;transition:all .3s}
.podcast-arrow:hover{border-color:#d4c9a8;color:#d4c9a8}
@media (max-width:1024px){.podcast-track{--podcast-per-view:2}}
@media (max-width:768px){.podcast-track{--podcast-per-view:1;--podcast-gap:.75rem}}

/* reCAPTCHA v3 badge (utils/recaptcha.php): sit above the floating chat button (bottom-6, 56px). */
.grecaptcha-badge { bottom: 96px !important; z-index: 499; }


/* =====================================================================
   Mortgage page blocks (_FILES/mortgage.html): mortgage-calculator,
   why-cards-centered, lead-form, cta-options, faq-centered, disclosure-note
   ===================================================================== */
/* === HERO === */
.mort-hero{background:#1f3b38;color:#fff;padding:5rem clamp(1.5rem,4vw,3.5rem) 5rem}
@media (max-width:1024px){.mort-hero{padding:3.5rem 1.25rem 3rem}}
.mort-hero__grid{display:grid;grid-template-columns:1fr 1.15fr;gap:4rem;align-items:start}
@media (max-width:1024px){.mort-hero__grid{grid-template-columns:1fr;gap:2.5rem}}

.mort-hero__crumbs{display:flex;align-items:center;gap:.5rem;font-family:'Exo',sans-serif;font-size:.7rem;color:rgba(255,255,255,.55);margin-bottom:1.5rem}
.mort-hero__crumbs a:hover{color:#d4c9a8}
.mort-hero__crumbs svg{width:10px;height:10px}

.mort-hero h1{font-family:'Comfortaa',cursive;font-size:clamp(2rem,4.2vw,3rem);font-weight:400;color:#fff;line-height:1.1;letter-spacing:-.02em}
.mort-hero__sub{font-family:'Exo',sans-serif;font-size:1.05rem;color:rgba(255,255,255,.78);line-height:1.7;margin-top:1.25rem;max-width:520px}

.mort-hero__trust{display:flex;flex-direction:column;gap:.85rem;margin-top:2rem}
.mort-hero__trust li{display:flex;align-items:flex-start;gap:.75rem;font-family:'Exo',sans-serif;font-size:.95rem;color:rgba(255,255,255,.9)}
.mort-hero__trust li svg{flex-shrink:0;width:18px;height:18px;color:#d4c9a8;margin-top:.15rem}

/* === CALCULATOR === */
.calc{background:#fff;border:1px solid #ece8db;box-shadow:0 24px 60px rgba(0,0,0,.15);position:relative}
.calc__head{padding:1.75rem 2rem 1.25rem;border-bottom:1px solid #ece8db;background:#fdfcf8}
@media (max-width:600px){.calc__head{padding:1.4rem 1.25rem 1rem}}
.calc__head h2{font-family:'Comfortaa',cursive;font-size:1.15rem;font-weight:500;color:#1f3b38;letter-spacing:-.01em;line-height:1.3}
.calc__head p{font-family:'Exo',sans-serif;font-size:.82rem;color:#5e594e;margin-top:.35rem;line-height:1.55}

.calc__body{padding:1.75rem 2rem 2rem;display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 2rem}
@media (max-width:768px){.calc__body{grid-template-columns:1fr;padding:1.5rem 1.25rem 1.75rem;gap:1.25rem}}
.calc__field{display:flex;flex-direction:column;gap:.5rem}
.calc__field--full{grid-column:1 / -1}
.calc__label{font-family:'Comfortaa',cursive;font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5e594e;display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}
.calc__label-hint{font-family:'Exo',sans-serif;font-size:.72rem;letter-spacing:0;text-transform:none;color:#9a9486;font-weight:400}

.calc__input-wrap{position:relative;display:flex;align-items:center}
.calc__prefix{position:absolute;left:1rem;font-family:'Comfortaa',cursive;font-size:.75rem;font-weight:600;color:#9a9486;pointer-events:none;letter-spacing:.04em}
.calc__input{width:100%;font-family:'Exo',sans-serif;font-size:1rem;font-weight:500;padding:.85rem 1rem .85rem 3.2rem;background:#fdfcf8;border:1px solid #ece8db;color:#1f3b38;transition:border-color .2s ease;outline:none;box-sizing:border-box;-moz-appearance:textfield}
.calc__input::-webkit-outer-spin-button,.calc__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.calc__input:focus{border-color:#2f5651;background:#fff}
.calc__input--no-prefix{padding-left:1rem}

.calc__range{width:100%;-webkit-appearance:none;appearance:none;background:transparent;margin:.25rem 0}
.calc__range::-webkit-slider-runnable-track{height:4px;background:#ece8db;border-radius:9999px}
.calc__range::-moz-range-track{height:4px;background:#ece8db;border-radius:9999px}
.calc__range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:9999px;background:#2f5651;border:2px solid #fff;box-shadow:0 2px 6px rgba(31,59,56,.3);cursor:pointer;margin-top:-7px;transition:transform .2s ease}
.calc__range::-webkit-slider-thumb:hover{transform:scale(1.1)}
.calc__range::-moz-range-thumb{width:18px;height:18px;border-radius:9999px;background:#2f5651;border:2px solid #fff;box-shadow:0 2px 6px rgba(31,59,56,.3);cursor:pointer}
.calc__range-labels{display:flex;justify-content:space-between;font-family:'Exo',sans-serif;font-size:.7rem;color:#9a9486;margin-top:.25rem}

.calc__inline-vals{display:flex;gap:1rem;align-items:baseline;flex-wrap:wrap}
.calc__inline-primary{font-family:'Comfortaa',cursive;font-size:1.1rem;font-weight:600;color:#1f3b38;letter-spacing:-.01em}
.calc__inline-secondary{font-family:'Exo',sans-serif;font-size:.8rem;color:#9a9486}

/* Location tabs */
.calc__loc-tabs{display:inline-flex;background:#f0efe9;border:1px solid #ece8db;padding:.25rem;gap:.25rem}
.calc__loc-tab{font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;letter-spacing:.04em;padding:.6rem 1.2rem;background:transparent;color:#5e594e;border:none;cursor:pointer;transition:all .25s ease}
.calc__loc-tab:hover{color:#1f3b38}
.calc__loc-tab.active{background:#2f5651;color:#fff}

/* Results panel */
.calc__results{background:#1f3b38;color:#fff;padding:1.75rem 2rem;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:1.75rem;align-items:center;border-top:1px solid #ece8db}
@media (max-width:900px){.calc__results{grid-template-columns:1fr;gap:1.25rem;padding:1.5rem 1.25rem}}
.calc__result-primary{border-right:1px solid rgba(255,255,255,.1);padding-right:1.75rem}
@media (max-width:900px){.calc__result-primary{border-right:none;border-bottom:1px solid rgba(255,255,255,.1);padding-right:0;padding-bottom:1.25rem}}
.calc__result-label{font-family:'Comfortaa',cursive;font-size:.58rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#d4c9a8;margin-bottom:.4rem}
.calc__result-primary .calc__result-value{font-family:'Comfortaa',cursive;font-size:clamp(1.6rem,3vw,2.1rem);font-weight:500;color:#fff;line-height:1;letter-spacing:-.02em}
.calc__result-value{font-family:'Comfortaa',cursive;font-size:1.15rem;font-weight:500;color:#fff;line-height:1;letter-spacing:-.01em}
.calc__result-sub{font-family:'Exo',sans-serif;font-size:.72rem;color:rgba(255,255,255,.6);margin-top:.5rem}

.calc__actions{padding:1.5rem 2rem;background:#fdfcf8;border-top:1px solid #ece8db;display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}
@media (max-width:600px){.calc__actions{padding:1.25rem;flex-direction:column}}
.calc-btn{font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;letter-spacing:.04em;padding:.85rem 1.4rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:all .25s ease;cursor:pointer;border:1px solid transparent;text-align:center}
.calc-btn--primary{background:#2f5651;color:#fff}
.calc-btn--primary:hover{background:#1f3b38}
.calc-btn--ghost{background:#fff;color:#1f3b38;border-color:#dedad0}
.calc-btn--ghost:hover{border-color:#2f5651;color:#2f5651}

/* === WHY ALTURA === */
.why-alt{padding:5rem clamp(1.5rem,4vw,3.5rem);text-align:center}
@media (max-width:768px){.why-alt{padding:3.5rem 1.25rem}}
.why-alt__head{max-width:640px;margin:0 auto 3rem}
.why-alt__eyebrow{display:inline-block;font-family:'Comfortaa',cursive;font-size:.62rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#bfb48e;margin-bottom:1rem;padding-bottom:.6rem;border-bottom:1px solid #dedad0}
.why-alt h2{font-family:'Comfortaa',cursive;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:400;color:#1f3b38;letter-spacing:-.02em;line-height:1.15}
.why-alt__sub{font-family:'Exo',sans-serif;font-size:1rem;color:#5e594e;line-height:1.7;margin-top:1rem}
.why-alt__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;max-width:960px;margin:0 auto;text-align:left}
@media (max-width:768px){.why-alt__grid{grid-template-columns:1fr;gap:1.5rem;text-align:center}}
.why-alt__card{background:#fff;border:1px solid #ece8db;padding:2rem 1.75rem;display:flex;flex-direction:column;gap:.75rem;transition:all .3s ease}
.why-alt__card:hover{border-color:#d4c9a8;transform:translateY(-3px);box-shadow:0 14px 32px rgba(31,59,56,.06)}
.why-alt__num{font-family:'Comfortaa',cursive;font-size:.6rem;font-weight:600;letter-spacing:.16em;color:#bfb48e}
.why-alt__title{font-family:'Comfortaa',cursive;font-size:1.1rem;font-weight:500;color:#1f3b38;letter-spacing:-.01em;line-height:1.3}
.why-alt__body{font-family:'Exo',sans-serif;font-size:.92rem;color:#5e594e;line-height:1.7}

/* === LEAD FORM === */
.lead-section{background:#f0efe9;padding:5rem clamp(1.5rem,4vw,3.5rem)}
@media (max-width:768px){.lead-section{padding:3.5rem 1.25rem}}
.lead-wrap{max-width:820px;margin:0 auto;background:#fff;border:1px solid #ece8db;overflow:hidden}
.lead-head{padding:2rem 2.5rem 1.5rem;text-align:center;border-bottom:1px solid #ece8db;background:#fdfcf8}
@media (max-width:768px){.lead-head{padding:1.75rem 1.5rem 1.25rem}}
.lead-head h2{font-family:'Comfortaa',cursive;font-size:clamp(1.4rem,2.4vw,1.85rem);font-weight:500;color:#1f3b38;letter-spacing:-.01em;line-height:1.25}
.lead-head p{font-family:'Exo',sans-serif;font-size:.92rem;color:#5e594e;margin-top:.6rem;line-height:1.65}

.lead-body{padding:2rem 2.5rem 2.5rem;display:grid;grid-template-columns:1fr 1fr;gap:1.2rem 1.5rem}
@media (max-width:768px){.lead-body{padding:1.75rem 1.5rem 2rem;grid-template-columns:1fr}}
.lead-field{display:flex;flex-direction:column;gap:.5rem}
.lead-field--full{grid-column:1 / -1}
.lead-field label{font-family:'Comfortaa',cursive;font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5e594e}
.lead-field input,.lead-field select{width:100%;font-family:'Exo',sans-serif;font-size:.95rem;padding:.85rem 1rem;background:#fdfcf8;border:1px solid #ece8db;color:#1f3b38;transition:border-color .2s ease;outline:none;box-sizing:border-box}
.lead-field input:focus,.lead-field select:focus{border-color:#2f5651;background:#fff}


.lead-submit-wrap{grid-column:1 / -1;display:flex;flex-direction:column;gap:.85rem;align-items:center;margin-top:.5rem}
.lead-submit{font-family:'Comfortaa',cursive;font-size:.78rem;font-weight:600;letter-spacing:.04em;padding:1rem 2rem;background:#2f5651;color:#fff;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:background .25s ease}
.lead-submit:hover{background:#1f3b38}
.lead-disclaimer{font-family:'Exo',sans-serif;font-size:.7rem;color:#9a9486;text-align:center;line-height:1.65}
.lead-disclaimer a{color:#2f5651;font-weight:500}
.lead-disclaimer a:hover{text-decoration:underline}

/* === CTA OPTIONS BAND === */
.cta-band{padding:5rem clamp(1.5rem,4vw,3.5rem);background:#fff}
@media (max-width:768px){.cta-band{padding:3.5rem 1.25rem}}
.cta-band__grid{max-width:960px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
@media (max-width:768px){.cta-band__grid{grid-template-columns:1fr}}
.cta-option{padding:2rem 2rem;border:1px solid #ece8db;background:#fdfcf8;display:flex;flex-direction:column;gap:1rem;transition:all .3s ease}
.cta-option:hover{border-color:#d4c9a8;background:#fff;transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,59,56,.06)}
.cta-option__icon{width:44px;height:44px;background:#2f5651;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cta-option__title{font-family:'Comfortaa',cursive;font-size:1.1rem;font-weight:500;color:#1f3b38;line-height:1.3}
.cta-option__body{font-family:'Exo',sans-serif;font-size:.9rem;color:#5e594e;line-height:1.7;flex:1}
.cta-option__cta{font-family:'Comfortaa',cursive;font-size:.72rem;font-weight:600;letter-spacing:.04em;color:#2f5651;display:inline-flex;align-items:center;gap:.4rem;transition:gap .2s ease;margin-top:.25rem}
.cta-option:hover .cta-option__cta{gap:.7rem}

/* === FAQs === */
.faq-section{background:#f9f8f5;padding:5rem clamp(1.5rem,4vw,3.5rem)}
@media (max-width:768px){.faq-section{padding:3.5rem 1.25rem}}
.faq-wrap{max-width:820px;margin:0 auto}
.faq-wrap__head{text-align:center;margin-bottom:2.5rem}
.faq-wrap__head h2{font-family:'Comfortaa',cursive;font-size:clamp(1.6rem,2.6vw,2.1rem);font-weight:400;color:#1f3b38;letter-spacing:-.02em}
.faq-wrap__head p{font-family:'Exo',sans-serif;font-size:.95rem;color:#5e594e;line-height:1.7;margin-top:.75rem}

.faq-wrap .faq{border-bottom:1px solid #ece8db;background:#fff}
.faq-wrap .faq:first-child{border-top:1px solid #ece8db}
.faq-wrap .faq__btn{width:100%;background:none;border:none;text-align:left;padding:1.4rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;cursor:pointer;font-family:'Comfortaa',cursive;font-size:1rem;font-weight:500;color:#1f3b38;transition:color .2s ease}
.faq-wrap .faq__btn:hover{color:#2f5651}
.faq-wrap .faq__icon{flex-shrink:0;width:18px;height:18px;color:#bfb48e;transition:transform .3s ease}
.faq-wrap .faq.open .faq__icon{transform:rotate(45deg);color:#2f5651}
.faq-wrap .faq__body{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-wrap .faq.open .faq__body{max-height:400px}
.faq-wrap .faq__body-inner{padding:0 1.5rem 1.4rem;font-family:'Exo',sans-serif;font-size:.92rem;color:#5e594e;line-height:1.75}

/* === DISCLOSURE === */
.disclosure{padding:3.5rem clamp(1.5rem,4vw,3.5rem);background:#f0efe9;border-top:1px solid #ece8db}
@media (max-width:768px){.disclosure{padding:2.5rem 1.25rem}}
.disclosure__inner{max-width:820px;margin:0 auto;display:flex;gap:1.25rem;align-items:flex-start}
@media (max-width:600px){.disclosure__inner{flex-direction:column;gap:.75rem}}
.disclosure__icon{flex-shrink:0;width:32px;height:32px;color:#9a9486}
.disclosure__body{font-family:'Exo',sans-serif;font-size:.82rem;color:#5e594e;line-height:1.75}
.disclosure__label{display:block;font-family:'Comfortaa',cursive;font-size:.62rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#5e594e;margin-bottom:.5rem}

/* WordPress / CF7 additions for the lead-form block */
.cta-band__grid--3{grid-template-columns:repeat(3,1fr);max-width:1200px}
@media (max-width:1024px){.cta-band__grid--3{grid-template-columns:1fr}}
.lead-form .wpcf7 form > p{margin:0}
.lead-form .lead-field .wpcf7-form-control-wrap{display:block}
.lead-form .lead-field .phone-group > .wpcf7-form-control-wrap{flex:1}
.lead-form .lead-field select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%239a9486' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}
.lead-form .wpcf7-response-output{grid-column:1 / -1}
.lead-empty{padding:2rem;text-align:center;font-family:'Exo',sans-serif;font-size:.85rem;color:#9a9486}


/* =====================================================================
   Roadshow page: event-cards + past-events blocks, 4-card why grid, lead-form message
   ===================================================================== */
.why-alt__grid--4{grid-template-columns:repeat(4,1fr);max-width:1200px}
@media (max-width:1024px){.why-alt__grid--4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){.why-alt__grid--4{grid-template-columns:1fr}}

.event-band{background:#1f3b38;color:#fff;padding:5rem clamp(1.5rem,4vw,3.5rem)}
@media (max-width:768px){.event-band{padding:3.5rem 1.25rem}}
.event-band__head{max-width:720px;margin-bottom:2.5rem}
.event-band__head h2{font-family:'Comfortaa',cursive;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:400;color:#fff;letter-spacing:-.02em;line-height:1.15}
.event-band__head p{font-family:'Exo',sans-serif;font-size:1rem;color:rgba(255,255,255,.72);line-height:1.7;margin-top:1rem}
.event-band__empty{font-family:'Exo',sans-serif;font-size:.9rem;color:rgba(255,255,255,.6)}
.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
@media (max-width:1024px){.event-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.event-grid{grid-template-columns:1fr}}
.event-card{background:#fff;color:#2a2720;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.08);transition:transform .3s ease,box-shadow .3s ease}
.event-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,0,0,.25)}
.event-card__media{position:relative;aspect-ratio:16/10;background:#2f5651;overflow:hidden}
.event-card__media img{width:100%;height:100%;object-fit:cover}
.event-card__badge{position:absolute;top:.85rem;left:.85rem;font-family:'Comfortaa',cursive;font-size:.62rem;font-weight:600;letter-spacing:.06em;padding:.4rem .7rem;background:#1f3b38;color:#fff}
.event-card__badge--upcoming{background:#d4c9a8;color:#1f3b38}
.event-card__badge--live{background:#2f5651;color:#fff}
.event-card__body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.event-card__title{font-family:'Comfortaa',cursive;font-size:1.05rem;font-weight:500;color:#1f3b38;line-height:1.35;letter-spacing:-.01em}
.event-card__meta{display:flex;align-items:center;gap:.5rem;font-family:'Exo',sans-serif;font-size:.85rem;color:#5e594e}
.event-card__meta svg{width:14px;height:14px;flex-shrink:0;color:#bfb48e}
.event-card__actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:auto;padding-top:.6rem}
.event-card__actions .calc-btn{flex:1;min-width:130px}
.lead-form .lead-field textarea{width:100%;font-family:'Exo',sans-serif;font-size:.95rem;padding:.85rem 1rem;background:#fdfcf8;border:1px solid #ece8db;color:#1f3b38;transition:border-color .2s ease;outline:none;box-sizing:border-box;resize:vertical;min-height:110px}
.lead-form .lead-field textarea:focus{border-color:#2f5651;background:#fff}
.event-band--past{background:#fff;color:#2a2720}
.event-band--past .event-band__head h2{color:#1f3b38}
.event-band--past .event-band__head p,.event-band--past .event-band__empty{color:#5e594e}
.event-card--past{border-color:#ece8db}
.event-card--past:hover{box-shadow:0 18px 40px rgba(31,59,56,.12)}
.event-card--past .event-card__media img{filter:saturate(.75)}
.event-card--past:hover .event-card__media img{filter:none}
.event-card--past .event-card__media img{transition:filter .3s ease}
