/* 360 Realty - premium blue / white / gold theme (layered on Bootstrap 5) */
:root {
  --navy: #0a2463;
  --navy-deep: #071a47;
  --blue: #1553c7;
  --sky: #eaf2ff;
  --mist: #f5f8fe;
  --gold: #d9a21b;
  --gold-soft: #f3d27a;
  --ink: #14213d;
  --muted: #5b6b8c;
  --line: #dfe6f3;
  --red: #c8102e;
  --green: #15803d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 36, 99, .12);
  --shadow-lg: 0 24px 60px rgba(10, 36, 99, .22);
  --font-display: serif;
  --font-body: serif;
  --bs-primary: var(--blue);
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
}

html { scroll-behavior: smooth; overflow-x: clip; }
body, button, input, select, textarea, .btn, .form-control, .form-select, .dropdown-menu, .nav-link, h1, h2, h3, h4, h5, h6, .display-font, .brand-text strong { font-family: serif; }
body { font-family: serif; color: var(--ink); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, .display-font { font-family: var(--font-display); letter-spacing: -.01em; color: var(--navy); }
a { color: var(--blue); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { border-radius: 12px; font-weight: 600; padding: .8rem 1.5rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #f3c653, var(--gold)); color: var(--navy-deep); border: 0; box-shadow: 0 8px 20px rgba(217, 162, 27, .35); }
.btn-gold:hover, .btn-gold:focus { color: var(--navy-deep); box-shadow: 0 12px 26px rgba(217, 162, 27, .5); }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-deep); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* Top bar + header */
.topbar { position: relative; z-index: 1045; background: var(--navy-deep); color: #dbe6ff; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 2px 18px rgba(10, 36, 99, .08); position: sticky; top: 0; z-index: 1030; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #4f8bff, var(--navy)); color: #fff; display: grid; place-items: center; font: 800 .95rem var(--font-body); border: 2px solid var(--gold); flex: none; }
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; font: 800 1.35rem var(--font-display); color: var(--navy); }
.brand-text small { color: var(--red); font-weight: 700; font-size: .72rem; letter-spacing: .04em; }
.navbar .nav-link { color: var(--ink); font-weight: 600; padding: .6rem .9rem; border-radius: 10px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--blue); background: var(--sky); }
.navbar-toggler { border: 0; }

/* Sliders: swipeable scroll-snap track with arrows + dots (no heavy library) */
.slider { position: relative; }
.slider-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: .5rem .25rem 1rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }
.slider-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 12px; }
.slider-track > .slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .slider.per-2 > .slider-track > .slide, .slider.per-3 > .slider-track > .slide { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 992px) { .slider.per-3 > .slider-track > .slide { flex-basis: calc((100% - 2.5rem) / 3); } }
.slider-btn { position: absolute; top: 45%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(10, 36, 99, .25); z-index: 2; display: grid; place-items: center; font-size: 1.2rem; transition: .15s; }
.slider-btn:hover { background: var(--navy); color: #fff; }
.slider-btn.prev { left: -18px; } .slider-btn.next { right: -18px; }
.slider-btn[disabled] { opacity: 0; pointer-events: none; }
.slider-dots { display: flex; justify-content: center; gap: .4rem; min-height: 10px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: #c5d3ee; transition: .2s; }
.slider-dots button.on { width: 26px; background: var(--blue); }
@media (max-width: 767.98px) { .slider-btn { display: none; } }
.slider.gallery-slider .slider-track { gap: 0; padding: 0; border-radius: var(--radius); }
.slider.gallery-slider .slider-btn { display: grid; top: 50%; background: rgba(255, 255, 255, .92); }
.slider.gallery-slider .slider-btn.prev { left: 12px; } .slider.gallery-slider .slider-btn.next { right: 12px; }
.slider.gallery-slider .slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--sky); }
.gallery-stage { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(7, 26, 71, .8); color: #fff; font-size: .82rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.quote-slide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); height: 100%; }

/* Hero carousel (home) */
.hero-carousel::before { display: none; }
.hero-carousel .carousel-item { min-height: clamp(540px, 80vh, 720px); position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; }
.hero-carousel .carousel-item.active, .hero-carousel .carousel-item-next, .hero-carousel .carousel-item-prev { display: flex; align-items: center; }
.hero-carousel .carousel-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 26, 71, .93) 0%, rgba(10, 36, 99, .75) 48%, rgba(10, 36, 99, .22) 100%); }
.hero-carousel .carousel-item .container { width: 100%; padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.hero-carousel .hero-title { color: #fff; font-family: var(--font-display); font-weight: 800; line-height: 1.08; font-size: clamp(2rem, 5vw, 3.8rem); margin: 0; }
.hero-carousel .hero-title .accent { color: var(--gold-soft); }
.hero-carousel .carousel-indicators { margin-bottom: 1.2rem; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; background: #fff; opacity: .45; }
.hero-carousel .carousel-indicators .active { opacity: 1; background: var(--gold); width: 44px; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 64px; opacity: .85; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon { width: 2.4rem; height: 2.4rem; background-color: rgba(255, 255, 255, .18); border-radius: 50%; background-size: 55%; backdrop-filter: blur(4px); }
@media (max-width: 767.98px) { .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { display: none; } .hero-carousel .carousel-item { min-height: 560px; } }

/* My account */
.acct-hero { background: linear-gradient(120deg, var(--navy-deep), var(--blue)); color: #fff; padding: 2rem 0 4.2rem; position: relative; overflow: hidden; }
.acct-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.acct-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font: 800 1.7rem var(--font-body); border: 3px solid rgba(255, 255, 255, .55); flex: none; }
.acct-hero h1 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0; }
.acct-chip { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); padding: .2rem .7rem; border-radius: 999px; font-size: .82rem; }
.acct-body { margin-top: -2.6rem; position: relative; z-index: 2; }
.stat-tile { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow); transition: .15s; color: inherit; }
.stat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-tile .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.stat-tile b { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.stat-tile span { color: var(--muted); font-size: .86rem; }
.acct-tabs { display: flex; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; padding: .25rem; margin: 1.6rem 0 1.2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs .nav-link { white-space: nowrap; color: var(--ink); font-weight: 700; border-radius: 10px; padding: .55rem 1rem; }
.acct-tabs .nav-link.active { background: var(--navy); color: #fff; }
.acct-tabs .badge { background: var(--sky); color: var(--navy); }
.acct-tabs .nav-link.active .badge { background: var(--gold); color: var(--navy-deep); }
.next-appt { background: linear-gradient(120deg, #fff8e6, #fff); border: 1px solid #f3dc9b; border-left: 5px solid var(--gold); border-radius: 16px; padding: 1.1rem 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.inq-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: 0 4px 14px rgba(10, 36, 99, .05); margin-bottom: .9rem; }
.stage-bar { display: flex; gap: 4px; margin-top: .6rem; }
.stage-bar i { flex: 1; height: 6px; border-radius: 4px; background: #e3eafa; }
.stage-bar i.on { background: linear-gradient(90deg, var(--blue), #4f8bff); }
.empty-state { text-align: center; padding: 2.4rem 1rem; background: #fff; border: 1px dashed #bccbe8; border-radius: 16px; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: #9db4e0; }
.profile-grid .form-text { font-size: .8rem; }
@media (max-width: 575.98px) { .acct-hero { padding: 1.4rem 0 3.6rem; } .acct-avatar { width: 60px; height: 60px; font-size: 1.3rem; } .stat-tile { padding: .8rem; gap: .6rem; } .stat-tile b { font-size: 1.3rem; } .stat-tile .ico { width: 38px; height: 38px; font-size: 1.1rem; } }

/* Loader: splash while the page loads, thin progress bar while navigating, dimmed results while filtering */
#page-loader { display: none; }
.js #page-loader { position: fixed; inset: 0; z-index: 3000; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; transition: opacity .45s ease, visibility .45s; }
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.loader-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 4px solid #e6eeff; border-top-color: var(--gold); border-right-color: var(--blue); animation: spin .9s linear infinite; }
.loader-mark { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #4f8bff, var(--navy)); color: #fff; display: grid; place-items: center; font: 800 1.05rem var(--font-body); border: 2px solid var(--gold); animation: pulse 1.6s ease-in-out infinite; }
.loader-text { font: 700 1.15rem var(--font-display); color: var(--navy); letter-spacing: .02em; }
#top-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 3100; background: linear-gradient(90deg, var(--gold), var(--blue)); box-shadow: 0 0 8px rgba(21, 83, 199, .6); opacity: 0; transition: width .35s ease, opacity .3s ease; pointer-events: none; }
.results { position: relative; min-height: 120px; transition: opacity .15s ease; }
.results.is-loading { opacity: .45; pointer-events: none; }
.results.is-loading::after { content: ""; position: absolute; left: 50%; top: 80px; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%; border: 4px solid #d9e4fb; border-top-color: var(--blue); animation: spin .8s linear infinite; }
.btn-loading[disabled]::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: .55rem; vertical-align: -.15em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.93); } }
@media (prefers-reduced-motion: reduce) { .loader-ring::before, .loader-mark, .results.is-loading::after { animation-duration: 3s; } }
@media print { #page-loader, #top-progress { display: none !important; } }

/* Compact one-line main menu (collapses into a hamburger below 1200px) */
.nav-wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.brand-text strong { font-size: 1.2rem; white-space: nowrap; }
.brand-text small { white-space: nowrap; font-size: .66rem; }
.navbar .navbar-nav .nav-link, .navbar .btn.nav-link { white-space: nowrap; font-size: .93rem; padding: .5rem .6rem; color: var(--ink); font-weight: 600; text-decoration: none; background: none; border: 0; }
.navbar .btn.nav-link:hover { color: var(--blue); background: var(--sky); }
.navbar .dropdown-toggle::after { margin-left: .3em; vertical-align: .15em; }
.navbar .dropdown-menu { border-radius: 14px; padding: .5rem; min-width: 14rem; }
.navbar .dropdown-item { border-radius: 8px; padding: .5rem .75rem; white-space: normal; }
@media (min-width: 1200px) and (max-width: 1359.98px) { .navbar .ai-label { display: none; } .navbar .navbar-nav .nav-link { padding: .5rem .5rem; font-size: .9rem; } }
@media (max-width: 1199.98px) {
  #mainNav { border-top: 1px solid var(--line); margin-top: .6rem; max-height: calc(100vh - 90px); overflow-y: auto; }
  .navbar .navbar-nav { padding: .5rem 0 1rem; }
  .navbar .navbar-nav .nav-link, .navbar .btn.nav-link { font-size: 1rem; padding: .7rem .5rem; width: 100%; text-align: left; border-radius: 8px; }
  .navbar .dropdown-menu { box-shadow: none !important; background: var(--mist); margin: 0 0 .4rem; }
}
@media (min-width: 992px) { .sticky-lg { position: sticky; top: 92px; } }
@media (max-width: 575.98px) {
  .brand-mark { width: 38px; height: 38px; font-size: .8rem; }
  .brand-text strong { font-size: 1.05rem; }
  .ribbon { font-size: .95rem; padding: .4rem 1.1rem; }
  .hero .container { padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .section { padding: 2.4rem 0; }
  .cta-band { border-radius: 18px; }
  .lead-card { border-radius: 18px; padding: 1.1rem; }
  .filter-bar { padding: .9rem; }
  .container, .nav-wrap { padding-inline: 14px; }
  .legal { padding: 1.1rem; }
  .legal h2 { font-size: 1.15rem; }
  .prop-price { font-size: 1.2rem; }
  h1 { word-break: normal; overflow-wrap: anywhere; }
}

/* Social */
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: .15s; }
.social-links a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.social-links.on-light a { background: var(--sky); color: var(--navy); }
.social-links.on-light a:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 26, 71, .93) 0%, rgba(10, 36, 99, .78) 45%, rgba(10, 36, 99, .25) 100%); }
.hero .container { padding-top: clamp(3rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.08; }
.hero h1 .accent { color: var(--gold-soft); }
.hero .lead { color: #e3ecff; max-width: 38rem; font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.eyebrow.dark { background: var(--sky); border-color: var(--line); color: var(--navy); }
.ribbon { display: inline-block; background: var(--red); color: #fff; font: italic 700 1.1rem var(--font-display); padding: .45rem 1.4rem; clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; color: #e3ecff; }
.hero-badges i { color: var(--gold-soft); margin-right: .35rem; }
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue)); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero p { color: #dbe6ff; max-width: 42rem; }
.page-hero .breadcrumb a { color: var(--gold-soft); }
.page-hero.with-image::after { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover; opacity: .18; z-index: 0; }
.page-hero.with-image > .container { position: relative; z-index: 1; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--mist); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-sub { color: var(--muted); max-width: 40rem; margin-inline: auto; }
.gold-rule { width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); margin: .8rem auto 1.1rem; }
.gold-rule.start { margin-inline: 0; }

/* Property tiles */
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 26, 71, .88)); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1rem; font-weight: 700; text-align: center; letter-spacing: .02em; text-transform: uppercase; font-size: .9rem; background: linear-gradient(0deg, var(--navy), transparent); }
.tile.no-photo { background: linear-gradient(145deg, var(--navy), var(--blue)); display: grid; place-items: center; }
.tile.no-photo i { font-size: 3.2rem; color: var(--gold-soft); }
.tile:hover { color: #fff; }

/* Action band */
.action-band { background: var(--navy); color: #fff; }
.action-band ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.action-band li a { display: block; padding: 1.1rem 1.6rem; color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; font-size: .95rem; position: relative; }
.action-band li a:hover { color: var(--gold-soft); }
.action-band li + li a::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; width: 2px; background: var(--gold); }

/* Cards */
.service-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .badge-icon { position: absolute; left: 1.2rem; bottom: -26px; width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow); }
.service-card .body { padding: 2.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.55rem; font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .35rem 0 .35rem 1.9rem; }
.check-list li::before { content: "\F26A"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .3rem; color: var(--green); font-size: 1.15rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); height: 100%; }
.feature { text-align: center; padding: 1.6rem 1.2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); height: 100%; }
.feature .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto .9rem; }
.feature h3 { font-size: 1.15rem; font-weight: 700; font-family: var(--font-body); }
.stat { text-align: center; }
.stat strong { display: block; font: 800 clamp(2rem, 4vw, 3rem) var(--font-display); color: var(--gold); }
.quote { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; }
.stars { color: var(--gold); letter-spacing: 2px; }
.logo-row img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
.country-chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; box-shadow: 0 4px 10px rgba(10, 36, 99, .06); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: .25rem 0 1.2rem 3.4rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 800; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.15rem; top: 2.5rem; bottom: .2rem; width: 2px; background: var(--line); }

/* Lead form */
.lead-card { background: #fff; border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-top: 5px solid var(--gold); }
.form-label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.form-control, .form-select { border-radius: 12px; padding: .8rem 1rem; border: 1.5px solid #cfd9ee; font-size: 1rem; /* 16px: avoids iOS zoom */ }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .25rem rgba(21, 83, 199, .15); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-loading[disabled] { opacity: .75; cursor: progress; }

/* Contact */
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; transition: .2s; box-shadow: 0 4px 12px rgba(10, 36, 99, .05); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; flex: none; }
.ico.wa { background: #25d366; } .ico.call { background: var(--navy); } .ico.mail { background: var(--blue); } .ico.msgr { background: #0084ff; } .ico.grp { background: #128c7e; }
.contact-card > span:last-child { min-width: 0; flex: 1 1 auto; }
.contact-card small { color: var(--muted); display: block; }

.pay-methods li { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .4rem .8rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.pay-methods i { font-size: 1.1rem; color: var(--blue); }

/* OTP */
.otp-box { background: var(--mist); border: 1.5px dashed #b9c8e6; border-radius: 12px; padding: .8rem 1rem; }

/* Property cards + detail */
.prop-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prop-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.prop-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prop-card:hover .media img { transform: scale(1.05); }
.prop-card .badges { position: absolute; left: .7rem; top: .7rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--navy); color: #fff; }
.pill.gold { background: var(--gold); color: var(--navy-deep); }
.pill.red { background: var(--red); } .pill.green { background: var(--green); } .pill.grey { background: #64748b; }
.prop-card .save { position: absolute; right: .6rem; top: .6rem; }
.save-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.prop-card .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.prop-price { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.prop-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .9rem; }
.prop-meta i { color: var(--blue); margin-right: .25rem; }
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; }
.gallery-main { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .5rem 0; }
.gallery-thumbs img { width: 92px; height: 66px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 3px solid transparent; flex: none; }
.gallery-thumbs img.on { border-color: var(--gold); }
.embed-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed-wrap iframe, .embed-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.notice { border-left: 4px solid var(--gold); background: #fff8e6; border-radius: 10px; padding: .8rem 1rem; font-size: .93rem; }

/* Appointments */
.slot-btn { border: 1.5px solid #cfd9ee; background: #fff; border-radius: 10px; padding: .45rem .9rem; font-weight: 600; color: var(--navy); }
.slot-btn:hover { border-color: var(--blue); }
.slot-btn.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.slots-grid { display: flex; flex-wrap: wrap; gap: .5rem; min-height: 2.5rem; color: var(--muted); }

/* Blog */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s; }
.post-card:hover { transform: translateY(-4px); }
.post-card .media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--blue)); overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.prose { font-size: 1.12rem; line-height: 1.85; color: #25324f; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; } .prose h3 { font-size: 1.3rem; margin: 1.6rem 0 .6rem; }
.prose img { border-radius: 12px; margin: 1rem 0; } .prose blockquote { border-left: 4px solid var(--gold); padding: .4rem 1rem; background: var(--mist); border-radius: 0 10px 10px 0; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--sky); color: var(--navy); border: 0; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }

/* Role cards (register) */
.role-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick label { display: block; text-align: center; border: 1.5px solid #cfd9ee; border-radius: 12px; padding: .6rem .3rem; cursor: pointer; font-weight: 600; font-size: .92rem; }
.role-pick input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
.role-pick input:focus-visible + label { outline: 3px solid var(--gold); }

/* AI chat */
.fab-chat { position: fixed; right: 16px; bottom: 86px; z-index: 1040; height: 52px; border-radius: 999px; padding: 0 1.1rem; border: 0; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; box-shadow: 0 8px 22px rgba(10, 36, 99, .45); font-size: 1rem; }
.fab-chat i { color: var(--gold-soft); font-size: 1.3rem; }
.fab-chat:hover { transform: translateY(-2px); }
.chat-panel { position: fixed; right: 16px; bottom: 150px; z-index: 1050; width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 170px)); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel[hidden], .chat-panel [hidden] { display: none !important; }
.chat-head { background: linear-gradient(135deg, var(--navy-deep), var(--blue)); color: #fff; padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.chat-consent { padding: 1rem; overflow-y: auto; }
.chat-body { padding: .9rem; overflow-y: auto; flex: 1; min-height: 240px; background: var(--mist); display: flex; flex-direction: column; gap: .5rem; }
.chat-body .msg { max-width: 88%; padding: .55rem .8rem; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; font-size: .95rem; }
.chat-body .msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-body .msg.user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-body .msg.typing { color: var(--muted); font-style: italic; }
.msg-actions { display: flex; flex-direction: column; gap: .4rem; align-self: flex-start; max-width: 92%; }
.msg-actions .btn { text-align: center; }
.chat-prop { display: flex; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .5rem; text-decoration: none; color: var(--ink); }
.chat-prop img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.chat-form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line); background: #fff; }
.chat-form .form-control { border-radius: 10px; padding: .55rem .8rem; }
.chat-form .btn { padding: .55rem .9rem; }

/* Cookie banner + welcome prompt */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1060; max-width: 560px; background: var(--navy-deep); color: #e3ecff; border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); font-size: .92rem; }
.cookie-banner[hidden], .welcome-prompt[hidden] { display: none !important; }
.cookie-banner a { color: var(--gold-soft); }
.welcome-prompt { position: fixed; left: 16px; bottom: 16px; z-index: 1030; width: min(330px, calc(100vw - 100px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow-lg); }
.welcome-prompt .btn-close { position: absolute; right: .7rem; top: .7rem; }

@media (max-width: 575.98px) {
  .fab-chat { bottom: 136px; width: 52px; padding: 0; justify-content: center; }
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 78px; max-height: calc(100vh - 96px); }
  .welcome-prompt { bottom: 74px; }
  .cookie-banner { bottom: 74px; }
}

/* Language switcher (Google Translate behind a custom dropdown) */
.lang-switch .btn-lang { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .25rem .9rem; font-size: .85rem; font-weight: 600; }
.lang-switch .btn-lang:hover, .lang-switch .btn-lang:focus { background: var(--gold); color: var(--navy-deep); }
.lang-switch.on-light .btn-lang { background: var(--sky); color: var(--navy); border-color: var(--line); }
.lang-switch .dropdown-item.active, .lang-switch .dropdown-item:active { background: var(--navy); color: #fff; }
#google_translate_element, .goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .skiptranslate > iframe { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.contact-card strong { overflow-wrap: anywhere; }
.cta-band { background: linear-gradient(120deg, var(--navy-deep), var(--blue)); color: #fff; border-radius: 24px; padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }

/* Floating WhatsApp */
.fab-wa { position: fixed; right: 16px; bottom: 16px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); text-decoration: none; }
.fab-wa:hover { color: #fff; transform: scale(1.08); }
.mobile-callbar { display: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d6f3; }
.site-footer h4 { color: #fff; font: 700 1.05rem var(--font-body); margin-bottom: 1rem; }
.site-footer a { color: #c9d6f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .brand-text strong { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .25rem 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

/* Auth / payment / status */
.auth-card { max-width: 480px; margin-inline: auto; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 3rem; background-image: none !important; }
.pw-toggle { position: absolute; top: 0; right: 0; height: 100%; width: 3rem; border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; border-radius: 0 12px 12px 0; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--navy); }
.pw-wrap .form-control.is-invalid ~ .pw-toggle, .pw-wrap .form-control.is-valid ~ .pw-toggle { right: 0; }
.pw-wrap + .invalid-feedback.d-block-if-invalid { display: none; }
.pw-wrap .is-invalid ~ * { }
.pw-wrap:has(.is-invalid) + .invalid-feedback { display: block; }
.pw-rules li { color: var(--muted); padding: .1rem 0; }
.pw-rules li.ok { color: var(--green); }
.pw-rules li.bad { color: var(--red); }
.pw-rules li i { margin-right: .4rem; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-social { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; border: 1.5px solid #cfd9ee; background: #fff; color: var(--ink); }
.btn-social:hover { background: var(--mist); color: var(--ink); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { text-align: right; overflow-wrap: anywhere; }
.status-icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 3rem; margin: 0 auto 1rem; }
.status-icon.ok { background: #dcfce7; color: var(--green); }
.status-icon.wait { background: #fef3c7; color: #b45309; }
.status-icon.bad { background: #fee2e2; color: var(--red); }
.consent-box { background: var(--mist); border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.consent-box .form-check-input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; }
.consent-box .form-check-label { padding-left: .3rem; }
.secure-note { color: var(--muted); font-size: .85rem; }

/* Legal pages */
.legal-section { background: var(--mist); }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(10, 36, 99, .06); }
.legal { padding: clamp(1.3rem, 3vw, 2.4rem); counter-reset: sec; }
.legal h2 { counter-increment: sec; display: flex; align-items: center; gap: .75rem; font-size: 1.3rem; font-weight: 700; margin: 2.2rem 0 .8rem; scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h2::before { content: counter(sec); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9rem; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--sky); }
.legal p, .legal li { color: #2b3a5c; line-height: 1.8; font-size: 1.04rem; }
.legal > p:first-of-type, .legal .no-print + p { background: var(--sky); border-left: 4px solid var(--gold); border-radius: 10px; padding: .9rem 1.1rem; }
.legal ul { padding-left: 1.2rem; }
.legal ul li { margin-bottom: .35rem; }
.legal ul li::marker { color: var(--gold); }
.legal a { font-weight: 600; }
.legal-aside { position: sticky; top: 92px; }
.legal-aside-title { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; padding: 0 .5rem; }
.legal-nav-link { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.legal-nav-link i { color: var(--blue); font-size: 1.1rem; }
.legal-nav-link:hover { background: var(--sky); }
.legal-nav-link.active { background: var(--navy); color: #fff; }
.legal-nav-link.active i { color: var(--gold-soft); }
.legal-toc { list-style: none; counter-reset: toc; margin: 0; padding: 0; max-height: 45vh; overflow: auto; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: block; padding: .35rem .6rem .35rem .5rem; border-left: 3px solid transparent; color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.legal-toc a::before { content: counter(toc) ". "; font-weight: 700; }
.legal-toc a:hover { color: var(--navy); }
.legal-toc a.on { color: var(--navy); border-left-color: var(--gold); background: var(--mist); font-weight: 700; }
.legal-help { background: linear-gradient(140deg, var(--navy-deep), var(--blue)); color: #fff; border-radius: var(--radius); padding: 1.1rem; }
@media (max-width: 991.98px) { .legal-aside { position: static; } .legal-nav-link span { white-space: nowrap; } }
@media print { .legal-aside { display: none; } .legal-card { box-shadow: none; border: 0; } }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .8rem 0 1rem; }
  .action-band li { flex: 1 1 50%; text-align: center; }
  .action-band li + li a::before { display: none; }
}
@media (max-width: 575.98px) {
  .tile { aspect-ratio: 1 / 1; }
  .btn-lg { width: 100%; }
  .action-band li { flex: 1 1 100%; }
  .action-band li a { padding: .8rem 1rem; }
  body { padding-bottom: 64px; }
  .fab-wa { bottom: 76px; width: 52px; height: 52px; font-size: 1.7rem; }
  .mobile-callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); }
  .mobile-callbar a { padding: .95rem .5rem; text-align: center; font-weight: 700; text-decoration: none; color: #fff; }
  .mobile-callbar a:first-child { background: var(--navy); }
  .mobile-callbar a:last-child { background: var(--gold); color: var(--navy-deep); }
}

/* Receipt & print */
.receipt { max-width: 720px; margin: 0 auto; }
@media print {
  .topbar, .site-header, .site-footer, .fab-wa, .mobile-callbar, .no-print { display: none !important; }
  body { padding: 0; }
}
