/* ===== Ashar Siddiqui V3 - global brand system ===== */
body{font-family:var(--font-body);overflow-x:hidden}
h1,h2,h3{font-family:var(--font-display)}

/* ---- header ---- */
html body #siteHeader.header-v3.hdr-scrolled,
html body #siteHeader.header-v3:not(.hdr-transparent){background:linear-gradient(90deg,#0E0E0F 0%,#0E0E0F 28%,#2a0606 45%,#6e0303 65%,#A50101 82%,#CE0201 100%)!important}
@media (max-width:991px){html body #siteHeader.header-v3.hdr-scrolled,html body #siteHeader.header-v3:not(.hdr-transparent),html body #siteHeader.header-v3.hdr-open{background:linear-gradient(90deg,#0E0E0F 0%,#1a0505 30%,#6e0303 65%,#CE0201 100%)!important}.header-v3 .mobile-menu{background:#0E0E0F!important}}
.header-v3 .site-logo{flex-direction:column;align-items:flex-start;gap:6px;text-decoration:none!important}
.header-v3 .site-logo img{height:52px!important;width:auto;max-width:260px;object-fit:contain;object-position:left center}
.header-v3 .site-logo::after{content:"Century 21 Coastal Realty Ltd.";font-family:var(--font-body);font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.7);white-space:nowrap;line-height:1}
@media (max-width:767px){.header-v3 .site-logo img{height:36px!important;max-width:170px}.header-v3 .site-logo::after{font-size:7.5px}}
.header-v3 .submenu a:hover{background:var(--accent)!important;color:#fff!important}
.header-v3 .site-nav a:hover{opacity:1;color:#fff}

/* ---- footer: black ---- */
html body footer.ft8,html body .ft8,html body footer.site-footer{background:#0E0E0F!important;background-image:none!important;color:#fff;border-top:3px solid var(--accent)}
html body .ft8 a:hover{color:#fff!important;opacity:.85}

/* ---- breadcrumbs: black current item ---- */
html body .al-bc{--al-bc-cur:#0E0E0F!important}
html body .al-bc .cur{color:#0E0E0F!important}
html body .al-bc a:hover{color:var(--accent)!important}

/* ---- full-bleed custom sections: background edge to edge, content stays in .as-wrap ---- */
html body .al-sec-content-htmlBlock>.wrap{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}

/* ---- shared building blocks ---- */
html body .as-sec{padding:88px 0;margin:0;max-width:none;width:100%;font-family:var(--font-body);color:var(--ink);box-sizing:border-box}
.as-sec *,.as-sec *::before,.as-sec *::after{box-sizing:border-box}
html body .as-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
html body .as-head{margin:0 0 40px;max-width:760px}
html body .as-head.as-center{text-align:center;margin-left:auto;margin-right:auto}
html body .as-head.as-right{text-align:right;margin-left:auto}
html body .as-eb{display:block;font:600 12px/1.2 var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
html body .as-h2{font-family:var(--font-display)!important;font-stretch:78%;font-weight:800!important;text-transform:uppercase!important;font-size:clamp(32px,4vw,52px)!important;line-height:1.02!important;letter-spacing:-.005em!important;margin:0 0 14px!important;color:var(--ink)!important;text-align:inherit!important}
html body .as-h2 span,html body .as-h2 em{color:var(--accent)!important;font-style:normal}
html body .as-sub{font-size:17px;line-height:1.65;color:var(--Muted);margin:0}
.as-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;font:700 14px/1 var(--font-body);letter-spacing:.06em;text-transform:uppercase;text-decoration:none!important;border:2px solid var(--accent);background:var(--accent);color:#fff!important;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease}
.as-btn:hover{background:var(--AccentDark);border-color:var(--AccentDark);transform:translateY(-2px);box-shadow:0 10px 22px rgba(206,2,1,.28)}
.as-btn.as-ghost{background:transparent;color:var(--ink)!important;border-color:var(--ink)}
.as-btn.as-ghost:hover{background:var(--ink);color:#fff!important}
.as-btn.as-light{background:#fff;border-color:#fff;color:var(--accent)!important}
.as-btn.as-outline-light{background:transparent;border-color:#fff;color:#fff!important}
.as-btn.as-light:hover,.as-btn.as-outline-light:hover{background:#fff;border-color:#fff;color:var(--accent)!important;box-shadow:0 10px 22px rgba(0,0,0,.25)}
.as-btn:focus-visible,.as-tile:focus-visible,.as-rc:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px var(--accent);outline-offset:0}

/* reveal on scroll */
.as-rv{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.as-rv.as-in{opacity:1;transform:none}
.as-rv.as-d1{transition-delay:.1s}.as-rv.as-d2{transition-delay:.2s}.as-rv.as-d3{transition-delay:.3s}
@keyframes asUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes asMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---- awards band (full width, 92px logos) ---- */
html body .as-awards{margin:0!important;width:100%;background:linear-gradient(180deg,#0E0E0F 0%,#151012 100%);color:#fff;padding:34px 0 30px;overflow:hidden;border-top:1px solid #1d1d1d;border-bottom:3px solid var(--accent)}
html body .as-awards-label{font:600 12px/1 var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.6);text-align:center;margin:0 0 22px}
html body .as-awards-viewport{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
html body .as-awards-track{display:flex;align-items:center;gap:64px;width:max-content;animation:asMarquee 38s linear infinite}
html body .as-awards-viewport:hover .as-awards-track{animation-play-state:paused}
html body .as-awards-track img{height:92px!important;width:auto!important;max-width:none!important;flex:none;opacity:.92}
@media (max-width:767px){html body .as-awards-track{gap:40px}html body .as-awards-track img{height:64px!important}}

/* ---- let's talk band ---- */
html body .as-cta{margin:0!important;width:100%;background:linear-gradient(110deg,#7A0101 0%,#A50101 40%,#CE0201 100%);color:#fff;padding:72px 0;position:relative;overflow:hidden}
.as-cta::before{content:"";position:absolute;inset:0;background:radial-gradient(50% 120% at 90% 0%,rgba(255,255,255,.12),transparent 60%);pointer-events:none}
.as-cta-in{position:relative;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
html body .as-cta .as-eb{color:rgba(255,255,255,.8)}
html body .as-cta .as-h2{color:#fff!important;margin-bottom:10px!important}
html body .as-cta .as-sub{color:rgba(255,255,255,.9);font-size:16px}
.as-cta-btns{display:flex;flex-wrap:wrap;align-items:center;gap:12px;max-width:470px}
.as-cta-phone{flex-basis:100%;font-size:14px;color:rgba(255,255,255,.85)}
.as-cta-phone a{color:#fff!important;font-weight:700;text-decoration:underline}
@media (max-width:767px){html body .as-cta{padding:48px 0}.as-cta-btns .as-btn{flex:1 1 100%}}

/* ---- free tools (selling / buying) ---- */
html body .as-res{max-width:none!important;background:var(--bg)}
html body .as-subhead{max-width:none;margin:0 0 30px;padding-bottom:16px;border-bottom:2px solid var(--accent)}
html body .as-subhead .as-h2{font-size:clamp(26px,2.8vw,38px)!important;margin:0!important}
html body .as-subhead-buy{margin-top:72px;border-bottom-color:var(--ink)}
html body .as-res-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:center;max-width:none;margin:0}
html body .as-res .as-rc{position:relative;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;text-decoration:none!important;border:1px solid #ECEBE8;background:#fff;transition:transform .3s ease,box-shadow .3s ease}
html body .as-res .as-rc:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(14,14,15,.14)}
html body .as-res .as-rc img{display:block;width:100%!important;height:auto!important;aspect-ratio:3/4;object-fit:cover;background:var(--card);transition:transform .6s ease}
html body .as-res .as-rc:hover img{transform:scale(1.03)}
html body .as-res .as-rc-btn{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:54px;padding:0 12px;background:var(--accent);color:#fff;font:800 15px var(--font-body);text-align:center}
html body .as-res .buy-row .as-rc:not(.as-rc-guide) .as-rc-btn{background:var(--ink)}
html body .as-res .as-rc-guide{border:2px solid var(--accent);box-shadow:0 14px 34px rgba(206,2,1,.16)}
html body .as-res .as-rc-guide img{aspect-ratio:3/4.45}
html body .as-res .as-rc-tag{position:absolute;z-index:2;bottom:72px;left:14px;box-shadow:0 4px 12px rgba(14,14,15,.18);background:var(--accent);color:#fff;font:800 12px/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase;padding:7px 11px;border-radius:4px}
@media (max-width:991px){html body .as-res-row{gap:16px}html body .as-res .as-rc-btn{font-size:13px}}
@media (max-width:767px){html body .as-res-row{grid-template-columns:1fr;max-width:420px;margin:0 auto;gap:22px}html body .as-subhead{max-width:420px;margin-left:auto;margin-right:auto}html body .as-res .as-rc-guide{order:-1}}

/* ---- market number (full width, dark text) ---- */
html body .as-mkt{background:var(--card)!important;border-radius:0!important;padding:88px 0!important;text-align:left}
html body .as-mkt .as-h2{color:var(--ink)!important}
html body .as-mkt-in{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
html body .as-mkt-num{border-left:6px solid var(--accent);padding-left:32px;display:flex;flex-direction:column;gap:6px}
html body .as-mkt-k{font:700 14px var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--Muted)}
html body .as-mkt-v{font-family:var(--font-display);font-stretch:78%;font-weight:800;font-size:clamp(52px,7vw,96px);line-height:1;letter-spacing:-.02em;color:var(--ink)}
html body .as-mkt-d{font:500 18px var(--font-body);color:#3A3A40;margin-top:6px}
html body .as-mkt-d b{color:var(--accent)}
html body .as-mkt-s{font-size:13px;color:#6B6B72;margin-top:10px}
.as-mkt-btns{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:26px}
.as-mkt-btns a.as-link{font:700 16px var(--font-body);color:var(--ink)!important;text-decoration:underline!important}
@media (max-width:991px){html body .as-mkt-in{grid-template-columns:1fr;gap:36px}}
@media (max-width:480px){html body .as-mkt-num{padding-left:20px}}

/* ---- communities ---- */
.as-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.as-tile{position:relative;aspect-ratio:16/11;background:#222;display:flex;align-items:flex-end;padding:24px;color:#fff!important;text-decoration:none!important;overflow:hidden}
.as-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.as-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.82));transition:background .3s}
.as-tile:hover img{transform:scale(1.06)}
.as-tile:hover::after{background:linear-gradient(180deg,rgba(0,0,0,.1) 20%,rgba(0,0,0,.88))}
.as-tile b{position:relative;z-index:1;font-family:var(--font-display);font-stretch:78%;font-weight:800;text-transform:uppercase;font-size:28px;line-height:1.05}
.as-tile b span{display:block;font:600 11px var(--font-body);letter-spacing:.18em;color:#fff;margin-top:10px;opacity:.85}
.as-tile b span i{color:var(--accent);font-style:normal;display:inline-block;transition:transform .3s}
.as-tile:hover b span i{transform:translateX(5px)}
.as-more{margin-top:40px;border-top:1px solid #e6e6e6;padding-top:26px}
.as-more-lab{font:600 12px var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#888;margin-bottom:14px}
.as-areas{display:grid;grid-template-columns:repeat(3,1fr);column-gap:36px}
.as-areas a{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #eee;color:var(--ink)!important;text-decoration:none!important;font-size:16px;font-weight:500}
.as-areas a::after{content:"\2192";color:var(--accent);font-weight:600;transition:transform .25s}
.as-areas a:hover{color:var(--accent)!important}.as-areas a:hover::after{transform:translateX(4px)}
@media (max-width:767px){.as-tiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -20px;padding:0 20px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.as-tiles::-webkit-scrollbar{display:none}.as-tile{flex:0 0 78%;scroll-snap-align:start;aspect-ratio:4/5}.as-areas{grid-template-columns:1fr 1fr;column-gap:20px}}

/* ---- contact form: readable on the white card ---- */
html body .al-sec-contact-form .al-cf,html body .al-sec-contact-form .al-cf label,html body .al-sec-contact-form .al-cf p,html body .al-sec-contact-form .al-cf span,html body .al-sec-contact-form .al-cf b,html body .al-sec-contact-form .al-cf div{color:var(--ink)}
html body .al-sec-contact-form .al-cf input,html body .al-sec-contact-form .al-cf textarea,html body .al-sec-contact-form .al-cf select{background:#fff!important;color:var(--ink)!important;border:1px solid #d6d6d6!important}
html body .al-sec-contact-form .al-cf input::placeholder,html body .al-sec-contact-form .al-cf textarea::placeholder{color:#8a8a90!important}
html body .al-sec-contact-form .al-cf button[type=submit]{color:#fff!important}

/* ---- home worth full-bleed sections ---- */
html body .as-hwx .sec,html body .as-hwx .cta,html body .as-hwx .awards{width:100%}

@media (max-width:767px){html body .as-sec{padding:60px 0}html body .as-wrap{padding:0 20px}html body .as-head{margin-bottom:28px}}
@media (prefers-reduced-motion:reduce){.as-rv{opacity:1!important;transform:none!important;transition:none!important}.as-awards-track{animation:none!important;flex-wrap:wrap;justify-content:center;width:auto!important;row-gap:24px}.as-awards-track .as-dup{display:none}.as-awards-viewport{-webkit-mask-image:none;mask-image:none}.as-tile img,.as-rc,.as-rc img{transition:none!important}}