/*
 * iProply inner pages — the homepage look for every other public page.
 * Loaded after iproply-ds.css (site layout only). Adds, without changing markup:
 *   1. one hero skin for every dark hero (mesh light, fading grid, drifting orb,
 *      pulsing badge, gradient headline, floating glass cards);
 *   2. the homepage's closing call-to-action band (PageCta, before the footer);
 *   3. pointer spotlight + lift on cards site-wide (SiteEffects sets [data-spot]);
 *   4. section headings with an accent bar, softer cards, CMS reading typography.
 * Motion is transform/opacity-only, never hides content, and stops for reduced motion.
 */

/* ------------------------------------------------------------------ 1. heroes */
:is(.premium-hero, .page-hero, .market-hero, .mc-hero, .mp-hero, .agent-dir-hero, .ref-hero, .agent-hero,
    .seo-landing-hero, .seo-agent-hero, .listing-landing-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(34, 227, 243, 0.28);
}

/* Mesh light + fading grid over each page's own photo / gradient. */
:is(.premium-hero, .page-hero, .market-hero, .mc-hero, .mp-hero, .agent-dir-hero, .ref-hero,
    .seo-landing-hero, .seo-agent-hero, .listing-landing-hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 55% at 86% 14%, rgba(3, 189, 249, 0.30), transparent 62%),
    radial-gradient(40% 45% at 4% 100%, rgba(34, 227, 243, 0.16), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(160deg, rgba(0, 17, 45, 0.55), rgba(2, 27, 69, 0.25) 55%, rgba(0, 17, 45, 0.6));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.75) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.75) 100%);
}

/* Drifting light orb (agent-hero keeps its own ::after). */
:is(.premium-hero, .page-hero, .market-hero, .mc-hero, .mp-hero, .agent-dir-hero, .ref-hero,
    .seo-landing-hero, .seo-agent-hero, .listing-landing-hero)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(560px, 70vw);
  aspect-ratio: 1;
  right: -8%;
  top: -30%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(34, 227, 243, 0.34), rgba(2, 131, 222, 0.12) 45%, transparent 68%);
  filter: blur(18px);
  animation: pg-drift 18s ease-in-out infinite alternate;
}
@keyframes pg-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-12%, 18%, 0) scale(1.12); }
}

/* Pill badge with a pulsing dot, like the homepage. */
:is(.premium-hero__kicker, .premium-kicker) {
  padding: 7px 14px 7px 12px !important;
  border: 1px solid rgba(34, 227, 243, 0.32);
  border-radius: 999px;
  background: rgba(34, 227, 243, 0.08);
  color: #a5f3fc !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.premium-hero__kicker::before {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #22e3f3 !important;
  box-shadow: 0 0 0 0 rgba(34, 227, 243, 0.55), 0 0 12px #22e3f3;
  animation: pg-ping 2.4s ease-out infinite;
}
@keyframes pg-ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 227, 243, 0.55), 0 0 12px #22e3f3; }
  80%, 100% { box-shadow: 0 0 0 9px rgba(34, 227, 243, 0), 0 0 12px #22e3f3; }
}

/* Headline: tighter, balanced, gradient accent word. */
:is(.premium-hero, .page-hero, .market-hero, .mc-hero, .mp-hero, .agent-dir-hero, .ref-hero) h1 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}
:is(.premium-hero, .page-hero, .market-hero, .mc-hero, .mp-hero, .agent-dir-hero, .ref-hero, .agent-hero) h1 :is(em, span.highlight, .text-gradient) {
  font-style: normal;
  background: linear-gradient(100deg, #a5f3fc 0%, #22e3f3 30%, #03bdf9 60%, #3b9cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(3, 189, 249, 0.3));
}

/* Glass cards inside heroes float gently (transform only). */
:is(.premium-hero-card, .ref-hero-card) {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 26px !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 30px 70px rgba(0, 8, 30, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  animation: pg-float 7s ease-in-out infinite alternate;
}
@keyframes pg-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.premium-hero-stat {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
}
.premium-hero-stat strong {
  background: linear-gradient(100deg, #ffffff, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
.premium-hero-card--message span {
  background: linear-gradient(135deg, #22e3f3, #0283de) !important;
  color: #00112d !important;
  box-shadow: 0 12px 30px rgba(3, 189, 249, 0.4);
}

/* Floating icon shapes some heroes add (PageShapes). */
.pg-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pg-shape {
  position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #22e3f3; font-size: 1.3rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: pg-float 8s ease-in-out infinite alternate;
}

/* ------------------------------------------------------- 2. closing CTA band */
.pc {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  padding-block: clamp(80px, 10vw, 136px);
  background:
    radial-gradient(45% 80% at 15% 20%, rgba(34, 227, 243, 0.32), transparent 60%),
    radial-gradient(50% 80% at 90% 85%, rgba(2, 131, 222, 0.5), transparent 60%),
    linear-gradient(135deg, #021b45, #00112d);
  border-top: 1px solid rgba(34, 227, 243, 0.18);
}
.pc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
}
.pc-inner { position: relative; width: min(900px, calc(100% - 32px)); margin: 0 auto; }
.pc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px;
  border: 1px solid rgba(34, 227, 243, 0.3); border-radius: 999px; background: rgba(34, 227, 243, 0.08);
  color: #a5f3fc; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.pc h2 {
  margin: 0 auto; max-width: 16ch; color: #fff !important; font-family: var(--font-heading, inherit);
  font-size: clamp(2rem, 4.6vw, 3.6rem) !important; line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance;
}
.pc p { margin: 18px auto 0; max-width: 36rem; color: rgba(222, 236, 252, 0.8); font-size: 1.08rem; line-height: 1.65; }
.pc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.pc-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.pc-btn--primary { background: linear-gradient(135deg, #22e3f3, #03bdf9 45%, #0283de); color: #00112d !important; box-shadow: 0 16px 40px rgba(3, 189, 249, 0.35); }
.pc-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(3, 189, 249, 0.5); }
.pc-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.pc-btn--ghost:hover { color: #22e3f3 !important; box-shadow: inset 0 0 0 1.5px #22e3f3; transform: translateY(-2px); }
.pc-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(222, 236, 252, 0.75); font-size: 0.9rem; }
.pc-trust i { color: #22e3f3; margin-right: 6px; }
.pc-shapes span {
  position: absolute; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; z-index: -1;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #22e3f3; font-size: 1.5rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: pg-float 7s ease-in-out infinite alternate;
}
.pc-shapes span:nth-child(1) { left: 8%; top: 22%; rotate: -10deg; }
.pc-shapes span:nth-child(2) { right: 10%; top: 16%; width: 64px; height: 64px; color: #fcfeaa; animation-delay: -2s; rotate: 8deg; }
.pc-shapes span:nth-child(3) { right: 17%; bottom: 14%; width: 56px; height: 56px; animation-delay: -4s; }
.pc-shapes span:nth-child(4) { left: 15%; bottom: 12%; width: 52px; height: 52px; animation-delay: -5s; rotate: 12deg; }
@media (max-width: 760px) { .pc-shapes { display: none; } }

/* ----------------------------------------- 3. cards: lift + pointer spotlight */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(3, 189, 249, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.35s ease;
}
[data-spot]:hover::before { opacity: 1; }
main :is(.stat-card, .review-card, .market-stat-card, .agent-property-card, .seo-agent-card, .mpl-card, .agent-lead-card,
  .svc-card, .mp-card, .listing-landing-card, .blog-card, .resource-card, .faq-item, .agent-card, .company-card, .cx-chip, .fh-ca__item, .value-card, .feature-card) {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
main :is(.stat-card, .review-card, .market-stat-card, .agent-property-card, .seo-agent-card, .mpl-card, .svc-card, .mp-card,
  .listing-landing-card, .blog-card, .resource-card, .agent-card, .company-card, .fh-ca__item, .value-card, .feature-card):hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 17, 45, 0.12);
  border-color: rgba(3, 189, 249, 0.35);
}

/* ------------------------------------------- 4. headings, reading, sections */
main :is(.section-title, .cms-heading, .section-header > h2) {
  letter-spacing: -0.03em;
  text-wrap: balance;
}
main :is(.section-title, .section-header > h2)::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #22e3f3, #0283de);
}
main :is(.section-header.sec-center, .text-center) > :is(.section-title, h2)::after { margin-inline: auto; }

/* Long-form content (CMS pages, legal, blog posts). */
main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) {
  font-size: 1.05rem;
  line-height: 1.8;
}
main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) :is(h2, h3) {
  margin-top: 2.2em; letter-spacing: -0.02em; scroll-margin-top: 110px;
}
main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) h2 {
  padding-left: 16px; border-left: 4px solid #03bdf9;
}
main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) a:not(.btn) {
  color: var(--ds-link); text-decoration: underline; text-decoration-color: rgba(3, 189, 249, 0.4); text-underline-offset: 3px;
}
main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) blockquote {
  margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid #22e3f3; border-radius: 0 16px 16px 0;
  background: var(--ds-bg-ice); font-size: 1.1rem;
}
main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) img { border-radius: 18px; }

/* Forms on inner pages: soft card + clear focus ring. */
main :is(.contact-form, .contact-form-card, .valuation-form, .sv-form, .inquiry-form, .br-card) :is(input, select, textarea):focus {
  border-color: #03bdf9 !important; box-shadow: 0 0 0 4px rgba(3, 189, 249, 0.16) !important; outline: none;
}

/* --------------------------------------------------------------- dark mode */
html[data-theme="dark"] main :is(.cms-content, .blog-content, .post-content, .legal-content, .page-content) blockquote { background: rgba(255, 255, 255, 0.05); }

/* ---------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  :is(.premium-hero, .page-hero, .market-hero, .mc-hero, .mp-hero, .agent-dir-hero, .ref-hero, .seo-landing-hero, .seo-agent-hero, .listing-landing-hero)::after,
  .premium-hero__kicker::before, :is(.premium-hero-card, .ref-hero-card), .pc-shapes span, .pg-shape { animation: none !important; }
}

/* ------------------------------------------------- seller valuation page */
.vx-hero { padding-bottom: clamp(3rem, 6vw, 5rem) !important; }
.vx-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.vx-copy h1 { font-size: clamp(2.4rem, 5vw, 4.2rem) !important; line-height: 1.04; }
.vx-points { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(222, 236, 252, 0.9); font-weight: 600; }
.vx-points i { width: 24px; height: 24px; display: inline-grid; place-items: center; margin-right: 8px; border-radius: 50%; background: rgba(34, 227, 243, 0.16); color: #22e3f3; font-size: 0.7rem; }
.vx-card {
  position: relative; z-index: 2; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #fff; color: var(--ds-text);
  box-shadow: 0 40px 90px rgba(0, 8, 30, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.4);
  margin-bottom: clamp(-120px, -8vw, -60px);
}
.vx-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.vx-card__head span { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1.3rem; box-shadow: 0 12px 28px rgba(3, 189, 249, 0.35); }
.vx-card__head h2 { margin: 0; font-size: 1.3rem; color: var(--ds-text-strong); }
.vx-card__head p { margin: 2px 0 0; color: var(--ds-text-muted); font-size: 0.9rem; }
.vx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.vx-wide { grid-column: 1 / -1; }
.vx-form .form-group { margin-bottom: 12px; }
.vx-form label { display: block; margin-bottom: 5px; font-size: 0.82rem; font-weight: 700; color: var(--ds-text-strong); }
.vx-form input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--ds-border); border-radius: 12px; font: inherit; background: var(--ds-bg-ice); color: var(--ds-text); }
.vx-form input:focus { outline: none; border-color: #03bdf9; background: #fff; box-shadow: 0 0 0 4px rgba(3, 189, 249, 0.15); }
.vx-submit { width: 100%; justify-content: center; padding: 14px 20px; font-size: 1rem; }
.vx-privacy { margin: 10px 0 0; font-size: 0.78rem; color: var(--ds-text-muted); text-align: center; }
.vx-done { text-align: center; padding: 20px 6px; }
.vx-done span { width: 64px; height: 64px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(22, 163, 74, 0.12); color: #16a34a; font-size: 1.8rem; }
.vx-done h3 { margin: 14px 0 6px; color: var(--ds-text-strong); }
.vx-steps-section { padding-top: clamp(140px, 13vw, 190px) !important; }
.vx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: none; }
.vx-step { position: relative; padding: 30px 26px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-sm); overflow: hidden; }
.vx-step__num { position: absolute; right: 18px; top: 6px; font-size: 3.6rem; font-weight: 800; color: rgba(3, 189, 249, 0.12); letter-spacing: -0.05em; }
.vx-step > i { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); font-size: 1.2rem; }
.vx-step h3 { margin: 16px 0 6px; font-size: 1.15rem; color: var(--ds-text-strong); }
.vx-step p { margin: 0; color: var(--ds-text-muted); line-height: 1.6; }
.vx-why { background: var(--ds-bg-ice); }
.vx-why__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.vx-why__lead { margin: 0 0 22px; color: var(--ds-text-muted); font-size: 1.05rem; line-height: 1.7; }
.vx-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vx-benefit { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--ds-border); }
.vx-benefit i { color: #03bdf9; font-size: 1.4rem; }
.vx-benefit h3 { margin: 12px 0 6px; font-size: 1.05rem; color: var(--ds-text-strong); }
.vx-benefit p { margin: 0; color: var(--ds-text-muted); font-size: 0.93rem; line-height: 1.6; }
.vx-benefit:nth-child(2) { transform: translateY(18px); }
.vx-benefit:nth-child(4) { transform: translateY(18px); }
.vx-faq__inner { max-width: 820px; }
.vx-faq__item { margin-top: 12px; padding: 18px 22px; border: 1px solid var(--ds-border); border-radius: 18px; background: #fff; }
.vx-faq__item summary { cursor: pointer; font-weight: 700; color: var(--ds-text-strong); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vx-faq__item summary::after { content: "+"; color: #03bdf9; font-size: 1.3rem; line-height: 1; transition: transform 0.2s ease; }
.vx-faq__item[open] summary::after { transform: rotate(45deg); }
.vx-faq__item p { margin: 12px 0 0; color: var(--ds-text-muted); line-height: 1.7; }
.vx-note { margin-top: 18px; color: var(--ds-text-muted); font-size: 0.88rem; }
@media (max-width: 991px) {
  .vx-hero__inner, .vx-why__inner { grid-template-columns: minmax(0, 1fr); }
  .vx-card { margin-bottom: 0; }
  .vx-steps-section { padding-top: clamp(56px, 8vw, 80px) !important; }
  .vx-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .vx-grid, .vx-benefits { grid-template-columns: minmax(0, 1fr); } .vx-benefit:nth-child(n) { transform: none; } }
html[data-theme="dark"] :is(.vx-card, .vx-step, .vx-benefit, .vx-faq__item) { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .vx-form input { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .vx-why { background: rgba(255, 255, 255, 0.02); }
/* The form card overlaps the next section, so this hero must not clip it (html clips sideways overflow). */
.vx-hero { overflow: visible !important; z-index: 2; }
.vx-hero::after { top: -5%; }
@media (min-width: 992px) {
  .vx-hero__inner { align-items: end; }
  .vx-copy { padding-bottom: 36px; }
  .vx-card { margin-bottom: -150px; }
  .vx-steps-section { padding-top: 220px !important; }
}
@media (max-width: 991px) { .pg-shapes { display: none; } }

/* --------------------------- listings: search panel floats over the hero */
.premium-hero--listings { padding-bottom: clamp(6.5rem, 9vw, 8.5rem) !important; }
.premium-hero--listings + .filter-bar {
  position: relative; z-index: 5; margin-top: clamp(-84px, -6vw, -56px);
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding-top: 0 !important;
}
.premium-hero--listings + .filter-bar > .container {
  padding: clamp(16px, 2.4vw, 24px) clamp(16px, 2.6vw, 28px);
  border-radius: 26px; background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 70px rgba(0, 17, 45, 0.18), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
html[data-theme="dark"] .premium-hero--listings + .filter-bar > .container { background: rgba(15, 28, 46, 0.96); border-color: rgba(255, 255, 255, 0.1); }

/* --------------------------- shared helpers */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section-subtitle { margin: 10px auto 0; max-width: 620px; color: var(--ds-text-muted); font-size: 1.05rem; line-height: 1.7; }

/* --------------------------- agents directory */
.ad-hero { padding-bottom: clamp(6.5rem, 9vw, 8.5rem) !important; }
.ad-section { position: relative; z-index: 3; padding-bottom: clamp(48px, 6vw, 80px); }
.ad-toolbar {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px) auto; gap: 12px; align-items: center;
  margin-top: clamp(-84px, -6vw, -56px); padding: clamp(14px, 2vw, 20px);
  border-radius: 24px; background: rgba(255, 255, 255, 0.97); border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 70px rgba(0, 17, 45, 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ad-search, .ad-select { position: relative; display: block; margin: 0; }
.ad-search > i, .ad-select > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ds-link); pointer-events: none; }
.ad-search input, .ad-select select {
  width: 100%; height: 52px; padding: 0 16px 0 44px; border: 1.5px solid var(--ds-border); border-radius: 14px;
  background: var(--ds-bg-ice); color: var(--ds-text); font: inherit;
}
.ad-search input:focus, .ad-select select:focus { outline: none; border-color: #03bdf9; background: #fff; box-shadow: 0 0 0 4px rgba(3, 189, 249, 0.15); }
.ad-count { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 52px; border-radius: 14px; background: #00112d; color: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.ad-count i { color: #22e3f3; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.ad-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 24px;
  background: #fff; border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ad-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 17, 45, 0.12); border-color: rgba(3, 189, 249, 0.45); }
.ad-card--featured { border-color: rgba(3, 189, 249, 0.5); background: linear-gradient(180deg, rgba(34, 227, 243, 0.08), #fff 40%); }
.ad-card__badge { position: absolute; top: 16px; right: 16px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: #00112d; color: #fcfeaa; font-size: 0.72rem; font-weight: 700; }
.ad-card__top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ad-card__avatar {
  width: 68px; height: 68px; flex: 0 0 68px; display: grid; place-items: center; overflow: hidden; border-radius: 20px;
  background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(3, 189, 249, 0.25);
}
.ad-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ad-card__who { min-width: 0; }
.ad-card__who h3 { margin: 0 0 4px; font-size: 1.1rem; line-height: 1.3; padding-right: 70px; }
.ad-card:not(.ad-card--featured) .ad-card__who h3 { padding-right: 0; }
.ad-card__who h3 a { color: var(--ds-text-strong); text-decoration: none; }
.ad-card__who h3 a:hover { color: var(--ds-link); }
.ad-card__who p { margin: 2px 0 0; color: var(--ds-text-muted); font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-card__who p i { width: 14px; margin-right: 4px; color: #03bdf9; }
.ad-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ad-card__stats div { padding: 12px 14px; border-radius: 14px; background: var(--ds-bg-ice); }
.ad-card__stats dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ds-text-muted); }
.ad-card__stats dd { margin: 4px 0 0; font-weight: 800; color: var(--ds-text-strong); font-size: 1.05rem; }
.ad-card__actions { display: flex; gap: 10px; margin-top: auto; }
.ad-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--ds-border); color: var(--ds-link); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.ad-icon:hover { background: #0283de; border-color: #0283de; color: #fff; }
.ad-card__btn { flex: 1; justify-content: center; }
.ad-empty { margin-top: 32px; padding: 56px 20px; text-align: center; border-radius: 24px; border: 1.5px dashed var(--ds-border); }
.ad-empty > span { width: 70px; height: 70px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); font-size: 1.6rem; }
.ad-empty h3 { margin: 16px 0 6px; color: var(--ds-text-strong); }
.ad-empty p { margin: 0 0 18px; color: var(--ds-text-muted); }
.ad-choose { background: var(--ds-bg-ice); }
.ad-join-wrap { padding: clamp(48px, 6vw, 80px) 0; }
.ad-join {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center;
  padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(34, 227, 243, 0.28), transparent 55%), linear-gradient(135deg, #00112d, #002a5c);
  box-shadow: 0 30px 70px rgba(0, 17, 45, 0.25);
}
.ad-join__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1.6rem; }
.ad-join h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.ad-join p { margin: 0; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 860px) {
  .ad-toolbar { grid-template-columns: minmax(0, 1fr); }
  .ad-count { justify-content: center; }
  .ad-join { grid-template-columns: minmax(0, 1fr); text-align: left; }
}
html[data-theme="dark"] .ad-toolbar { background: rgba(15, 28, 46, 0.96); border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] :is(.ad-card, .ad-search input, .ad-select select) { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .ad-card__stats div { background: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .ad-choose { background: rgba(255, 255, 255, 0.02); }

/* --------------------------- blog index */
.bl-hero__inner { grid-template-columns: minmax(0, 1fr) !important; }
.bl-hero .premium-hero__copy { max-width: 780px; }
.bl-clear { color: #22e3f3; text-decoration: underline; }
.bl-section { background: var(--ds-bg-ice); }
.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.bl-main { min-width: 0; }
.bl-lead {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: 28px;
  background: #fff; border: 1px solid var(--ds-border); box-shadow: 0 24px 60px rgba(0, 17, 45, 0.1);
}
.bl-lead__media, .bl-card__media { display: block; overflow: hidden; background: linear-gradient(135deg, #00112d, #0283de); }
.bl-lead__media img, .bl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bl-lead:hover img, .bl-card:hover img { transform: scale(1.05); }
.bl-lead__media { min-height: 320px; }
.bl-lead__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 38px); }
.bl-lead__body h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; }
.bl-lead__body h2 a, .bl-card h3 a { color: var(--ds-text-strong); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.3s ease, color 0.2s ease; }
.bl-lead__body h2 a:hover, .bl-card h3 a:hover { color: var(--ds-link); background-size: 100% 2px; }
.bl-tag { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: #00112d; color: #fcfeaa; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.bl-summary { margin: 0; color: var(--ds-text-muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--ds-text-muted); font-size: 0.82rem; font-weight: 600; }
.bl-meta i { color: #03bdf9; margin-right: 4px; }
.bl-heading { margin: clamp(34px, 4vw, 48px) 0 18px; font-size: 1.35rem; color: var(--ds-text-strong); }
.bl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bl-lead + .bl-grid { margin-top: 20px; }
.bl-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.bl-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 17, 45, 0.12); }
.bl-card__media { aspect-ratio: 16 / 9; }
.bl-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.bl-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.bl-read { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--ds-link); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.bl-read i { transition: transform 0.2s ease; }
.bl-read:hover i { transform: translateX(4px); }
.bl-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.bl-pages a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid var(--ds-border); color: var(--ds-text-strong); font-weight: 700; text-decoration: none; }
.bl-pages a:hover { border-color: #03bdf9; color: var(--ds-link); }
.bl-pages a.is-active { background: linear-gradient(135deg, #22e3f3, #0283de); border-color: transparent; color: #00112d; box-shadow: 0 10px 24px rgba(3, 189, 249, 0.3); }
@media (max-width: 1100px) { .bl-layout { grid-template-columns: minmax(0, 1fr); } .bl-layout > aside { position: relative !important; top: auto !important; } }
@media (max-width: 760px) { .bl-lead, .bl-grid { grid-template-columns: minmax(0, 1fr); } .bl-lead__media { min-height: 220px; } }
html[data-theme="dark"] :is(.bl-lead, .bl-card, .bl-pages a:not(.is-active)) { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .bl-section { background: rgba(255, 255, 255, 0.02); }

/* --------------------------- FAQ / help center */
.fq-hero .premium-hero__copy { max-width: 780px; }
.fq-section { background: var(--ds-bg-ice); }
.fq-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.fq-side { position: sticky; top: calc(var(--nav-height, 72px) + 24px); display: grid; gap: 18px; }
.fq-nav { padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--ds-border); box-shadow: 0 14px 40px rgba(0, 17, 45, 0.06); }
.fq-nav__title { margin: 0 0 10px 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ds-text-muted); }
.fq-nav__list { display: grid; gap: 4px; }
.fq-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 14px; background: transparent;
  font: inherit; font-weight: 700; font-size: 0.93rem; color: var(--ds-text-strong); text-align: left; cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.fq-nav button:hover { background: var(--ds-bg-ice); }
.fq-nav button:focus-visible { outline: 3px solid rgba(3, 189, 249, 0.45); outline-offset: 1px; }
.fq-nav__icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); font-size: 0.85rem; transition: inherit; }
.fq-nav__label { flex: 1; min-width: 0; }
.fq-nav__count { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: var(--ds-bg-ice); color: var(--ds-text-muted); font-size: 0.74rem; font-weight: 800; text-align: center; }
.fq-nav button.is-active { background: linear-gradient(135deg, #00112d, #062a5c); color: #fff; box-shadow: 0 10px 24px rgba(0, 17, 45, 0.22); }
.fq-nav button.is-active .fq-nav__icon { background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; }
.fq-nav button.is-active .fq-nav__count { background: rgba(255, 255, 255, 0.14); color: #fff; }

.fq-main { min-width: 0; }
.fq-search { position: relative; display: block; }
.fq-search > i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--ds-link); font-size: 1.05rem; pointer-events: none; }
.fq-search input {
  width: 100%; min-height: 62px; padding: 0 56px 0 56px; border-radius: 20px; border: 1.5px solid var(--ds-border); background: #fff;
  font: inherit; font-size: 1.02rem; color: var(--ds-text-strong); box-shadow: 0 14px 40px rgba(0, 17, 45, 0.06); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fq-search input::-webkit-search-cancel-button { display: none; }
.fq-search input:focus { outline: none; border-color: #03bdf9; box-shadow: 0 0 0 5px rgba(3, 189, 249, 0.16), 0 14px 40px rgba(0, 17, 45, 0.06); }
.fq-search__clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ds-bg-ice); color: var(--ds-text-muted); cursor: pointer; }
.fq-search__clear:hover { color: var(--ds-text-strong); }
.fq-found { margin: 14px 4px 0; color: var(--ds-text-muted); font-size: 0.9rem; font-weight: 600; }
.fq-group { margin-top: 34px; }
.fq-group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.3rem; color: var(--ds-text-strong); }
.fq-group__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1rem; box-shadow: 0 8px 18px rgba(3, 189, 249, 0.25); }
.fq-group__count { margin-left: auto; font-size: 0.78rem; font-weight: 700; color: var(--ds-text-muted); }
.fq-list { display: grid; gap: 10px; }
.fq-item { position: relative; overflow: hidden; border: 1px solid var(--ds-border); border-radius: 18px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.fq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #22e3f3, #0283de); opacity: 0; transition: opacity 0.2s ease; }
.fq-item:hover { border-color: rgba(3, 189, 249, 0.45); }
.fq-item[open] { border-color: rgba(3, 189, 249, 0.5); box-shadow: 0 18px 40px rgba(0, 17, 45, 0.08); }
.fq-item[open]::before { opacity: 1; }
.fq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 24px; cursor: pointer; list-style: none; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary:focus-visible { outline: 3px solid rgba(3, 189, 249, 0.45); outline-offset: -3px; border-radius: 18px; }
.fq-item__q { font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--ds-text-strong); }
.fq-item__toggle { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ds-bg-ice); color: var(--ds-link); font-size: 0.8rem; transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease; }
.fq-item[open] .fq-item__toggle { transform: rotate(180deg); background: #00112d; color: #22e3f3; }
.fq-item p { margin: 0; padding: 0 24px 20px; color: var(--ds-text-muted); line-height: 1.75; font-size: 0.97rem; animation: fq-in 0.25s ease; }
@keyframes fq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fq-none { margin-top: 28px; padding: 22px; border-radius: 18px; border: 1.5px dashed var(--ds-border); color: var(--ds-text-muted); background: #fff; }
.fq-contact {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 26px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, rgba(34, 227, 243, 0.25), transparent 55%), linear-gradient(160deg, #00112d, #002a5c);
  box-shadow: 0 30px 70px rgba(0, 17, 45, 0.25);
}
.fq-contact__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1.3rem; }
.fq-contact h2 { margin: 6px 0 0; color: #fff; font-size: 1.25rem; }
.fq-contact p { margin: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.6; font-size: 0.92rem; }
.fq-contact .btn { justify-content: center; white-space: nowrap; font-size: 0.9rem; padding-inline: 14px; }
.fq-contact .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.fq-contact .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.fq-contact__chat { font-size: 0.85rem; }
.fq-contact__chat i { color: #22e3f3; margin-right: 6px; }
@media (max-width: 991px) {
  .fq-layout { grid-template-columns: minmax(0, 1fr); }
  .fq-side { position: static; display: contents; }
  .fq-nav { order: -1; padding: 0; background: none; border: 0; box-shadow: none; }
  .fq-nav__title { display: none; }
  .fq-nav__list { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
  .fq-nav__list::-webkit-scrollbar { display: none; }
  .fq-nav button { width: auto; flex: 0 0 auto; padding: 7px 12px 7px 7px; background: #fff; border: 1px solid var(--ds-border); border-radius: 999px; font-size: 0.86rem; }
  .fq-nav__icon { flex-basis: 28px; width: 28px; height: 28px; border-radius: 50%; font-size: 0.75rem; }
  .fq-main { order: 0; }
  .fq-contact { order: 1; margin-top: 30px; }
}
@media (max-width: 640px) { .fq-item summary { padding: 16px 16px 16px 20px; } .fq-item p { padding: 0 20px 18px; } .fq-search input { min-height: 56px; } .fq-group__count { display: none; } }
@media (max-height: 760px) { .fq-side { position: static; } }
@media (prefers-reduced-motion: reduce) { .fq-item p { animation: none; } .fq-item__toggle { transition: none; } }
html[data-theme="dark"] :is(.fq-nav, .fq-item, .fq-search input, .fq-none) { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.12); color: #e6eef8; }
html[data-theme="dark"] :is(.fq-nav__count, .fq-item__toggle, .fq-search__clear) { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .fq-nav button:not(.is-active):hover { background: rgba(255, 255, 255, 0.05); }
@media (max-width: 991px) { html[data-theme="dark"] .fq-nav { background: none; border: 0; } html[data-theme="dark"] .fq-nav button:not(.is-active) { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.12); } }
html[data-theme="dark"] .fq-section { background: rgba(255, 255, 255, 0.02); }

/* --------------------------- services hub */
.sv-hero { padding-bottom: clamp(6rem, 8vw, 7.5rem) !important; }
.sv-jump-wrap { position: relative; z-index: 4; margin-top: clamp(-62px, -4.5vw, -44px); }
.sv-jump {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.97); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 24px 60px rgba(0, 17, 45, 0.16);
}
.sv-jump__label { padding: 0 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ds-text-muted); }
.sv-jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  background: var(--ds-bg-ice); color: var(--ds-text-strong); font-weight: 700; font-size: 0.9rem; transition: background 0.2s ease, color 0.2s ease;
}
.sv-jump a i { color: var(--ds-link); }
.sv-jump a small { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #fff; color: var(--ds-link); font-weight: 800; text-align: center; }
.sv-jump a:hover { background: #00112d; color: #fff; }
.sv-jump a:hover i { color: #22e3f3; }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.sv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.sv-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sv-card:hover { transform: translateY(-4px); border-color: rgba(3, 189, 249, 0.5); box-shadow: 0 22px 50px rgba(0, 17, 45, 0.12); }
.sv-card--hot { background: linear-gradient(180deg, rgba(34, 227, 243, 0.08), #fff 45%); }
.sv-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); font-size: 1.2rem; transition: background 0.25s ease, color 0.25s ease; }
.sv-card:hover .sv-card__icon { background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; }
.sv-card h3 { margin: 6px 0 0; font-size: 1.12rem; color: var(--ds-text-strong); }
.sv-card p { margin: 0; color: var(--ds-text-muted); line-height: 1.6; font-size: 0.94rem; }
.sv-card__more { margin-top: auto; padding-top: 6px; color: var(--ds-link); font-weight: 700; font-size: 0.9rem; }
.sv-card__more i { transition: transform 0.2s ease; }
.sv-card:hover .sv-card__more i { transform: translateX(4px); }
.sv-group { scroll-margin-top: 100px; }
.sv-group--soft { background: var(--ds-bg-ice); }
.sv-group__inner { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sv-group__head { position: sticky; top: 110px; }
.sv-group__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(135deg, #00112d, #0283de); color: #22e3f3; font-size: 1.4rem; box-shadow: 0 16px 36px rgba(0, 17, 45, 0.2); }
.sv-group__head h2 { margin: 16px 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ds-text-strong); }
.sv-group__head p { margin: 0; color: var(--ds-text-muted); font-weight: 600; }
.sv-steps { background: var(--ds-bg-ice); }
.sv-group--soft + .sv-steps { background: transparent; }
@media (max-width: 991px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-group__inner { grid-template-columns: minmax(0, 1fr); }
  .sv-group__head { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .sv-group__head h2 { margin: 0; }
  .sv-group__head p { grid-column: 2; }
  .sv-group__icon { grid-row: span 2; }
}
@media (max-width: 620px) { .sv-grid, .sv-grid--2 { grid-template-columns: minmax(0, 1fr); } .sv-jump__label { width: 100%; } }
html[data-theme="dark"] .sv-jump { background: rgba(15, 28, 46, 0.96); border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .sv-jump a { background: rgba(255, 255, 255, 0.06); color: #e6eef8; }
html[data-theme="dark"] .sv-jump a small { background: rgba(255, 255, 255, 0.1); color: #22e3f3; }
html[data-theme="dark"] .sv-card { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] :is(.sv-group--soft, .sv-steps) { background: rgba(255, 255, 255, 0.02); }

/* --------------------------- resources hub */
.rs-journey { padding: 24px !important; }
.rs-journey h2 { margin: 0 0 14px; color: #fff; font-size: 1.1rem; }
.rs-journey ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rs-journey a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.rs-journey a:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(4px); }
.rs-journey a > span:first-child { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; }
.rs-journey strong { display: block; font-size: 0.98rem; }
.rs-journey small { display: block; color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; }
.rs-journey a > i { color: #22e3f3; }
.rs-guides__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.rs-guides__head .section-title { margin: 0; }
.rs-profiles { padding: 26px 0; border-top: 1px solid var(--ds-border); font-size: 0.92rem; color: var(--ds-text-muted); }
.rs-profiles p { margin: 0; }
.rs-profiles a { color: var(--ds-link); }

/* --------------------------- reviews */
.rv-clients { background: var(--ds-bg-ice); }
.rv-hero .premium-hero-stat strong i { color: #22e3f3 !important; -webkit-text-fill-color: #22e3f3; font-size: 0.78em; margin-right: 4px; }
.rv-empty {
  position: relative; overflow: hidden; max-width: 760px; margin: 28px auto 0; padding: clamp(32px, 5vw, 52px) clamp(22px, 5vw, 56px); text-align: center;
  border-radius: 28px; background: #fff; border: 1px solid var(--ds-border); box-shadow: 0 24px 60px rgba(0, 17, 45, 0.08);
}
.rv-empty::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #22e3f3, #0283de, #fcd34d); }
.rv-empty__stars { display: inline-flex; gap: 6px; padding: 10px 16px; border-radius: 999px; background: rgba(252, 211, 77, 0.14); color: #f59e0b; font-size: 1.05rem; }
.rv-empty h3 { margin: 18px 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--ds-text-strong); }
.rv-empty p { margin: 0 auto; max-width: 52ch; color: var(--ds-text-muted); line-height: 1.7; }
.rv-empty__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.rv-empty__actions .btn-outline { color: var(--ds-text-strong) !important; border: 1.5px solid var(--ds-border) !important; background: #fff !important; }
.rv-empty__actions .btn-outline:hover { border-color: #03bdf9 !important; color: var(--ds-link) !important; }
html[data-theme="dark"] .rv-empty__actions .btn-outline { background: transparent !important; color: #e6eef8 !important; border-color: rgba(255, 255, 255, 0.2) !important; }
.rv-avatar { position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-weight: 800; font-family: "Outfit", "Inter", sans-serif; }
.rv-avatar > span { font-size: 0.95em; letter-spacing: 0.02em; }
.rv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.rv-score { position: sticky; top: 110px; padding: 28px; border-radius: 26px; background: linear-gradient(160deg, #00112d, #002a5c); color: #fff; text-align: center; }
.rv-score > strong { display: block; font-size: 3.4rem; line-height: 1; font-weight: 800; }
.rv-score p { margin: 8px 0 16px; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.rv-score ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; font-size: 0.82rem; }
.rv-score li { display: grid; grid-template-columns: 64px 1fr 28px; gap: 8px; align-items: center; }
.rv-score b { text-align: right; }
.rv-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.rv-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22e3f3, #fcfeaa); }
.rv-grid { columns: 2 300px; column-gap: 18px; }
.rv-card { break-inside: avoid; margin: 0 0 18px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-sm); }
.rv-card__text { margin: 12px 0; color: var(--ds-text); line-height: 1.7; }
.rv-card__reply { margin: 0 0 12px; padding: 12px 14px; border-left: 3px solid #03bdf9; border-radius: 0 12px 12px 0; background: var(--ds-bg-ice); font-size: 0.9rem; color: var(--ds-text-muted); }
.rv-card footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-card footer strong { display: block; color: var(--ds-text-strong); }
.rv-card footer small { display: block; color: var(--ds-text-muted); font-size: 0.82rem; }
.rv-badge { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 0.75rem; font-weight: 700; color: #16a34a; }
.rv-agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 32px; }
.rv-agent {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 0 22px 22px; border-radius: 24px; background: #fff;
  border: 1px solid var(--ds-border); box-shadow: 0 10px 30px rgba(0, 17, 45, 0.05); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rv-agent:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 17, 45, 0.12); border-color: rgba(3, 189, 249, 0.4); }
.rv-agent__band { height: 64px; margin: 0 -22px; background: radial-gradient(80% 140% at 100% 0%, rgba(34, 227, 243, 0.45), transparent 60%), linear-gradient(135deg, #00112d, #062a5c); }
.rv-agent header { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: -34px; }
.rv-agent header .rv-avatar { border: 4px solid #fff; box-shadow: 0 10px 24px rgba(0, 17, 45, 0.18); font-size: 1.15rem; }
.rv-agent__who { min-width: 0; }
.rv-agent__who strong { display: block; font-size: 1.08rem; color: var(--ds-text-strong); text-transform: capitalize; }
.rv-agent__who small { display: block; margin-top: 2px; color: var(--ds-text-muted); font-size: 0.84rem; }
.rv-agent p { margin: 0; color: var(--ds-text-muted); line-height: 1.6; font-size: 0.92rem; }
.rv-agent footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ds-border); }
.rv-agent__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--ds-link); text-decoration: none; }
.rv-agent__link i { transition: transform 0.2s ease; }
.rv-agent:hover .rv-agent__link i { transform: translateX(3px); }
.rv-tag { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); font-size: 0.74rem; font-weight: 700; }
.rv-agents { background: var(--ds-bg-ice); }
@media (max-width: 991px) { .rv-layout { grid-template-columns: minmax(0, 1fr); } .rv-score { position: static; } }
html[data-theme="dark"] :is(.rv-card, .rv-agent, .rv-empty) { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .rv-agent header .rv-avatar { border-color: #0f1c2e; }
html[data-theme="dark"] :is(.rv-clients, .rv-agents) { background: rgba(255, 255, 255, 0.02); }
html[data-theme="dark"] .rv-card__reply { background: rgba(255, 255, 255, 0.05); }

/* --------------------------- pricing access gate */
.pg-gate {
  position: relative; overflow: hidden; isolation: isolate; min-height: calc(100vh - 80px); display: flex; align-items: center;
  padding: clamp(110px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); color: #fff;
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(34, 227, 243, 0.22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(2, 131, 222, 0.28), transparent 60%),
    linear-gradient(160deg, #000a1c 0%, #00112d 50%, #002147 100%);
}
.pg-gate::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 75%);
}
.pg-gate__glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: 8%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(34, 227, 243, 0.28), transparent 65%); filter: blur(20px); animation: pgGlow 9s ease-in-out infinite alternate; }
@keyframes pgGlow { to { transform: translate(-40px, 30px) scale(1.08); } }
.pg-gate__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pg-gate__copy h1 { margin: 18px 0 16px; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.pg-gate__copy h1 em { font-style: normal; background: linear-gradient(100deg, #22e3f3, #7dd3fc 45%, #fcfeaa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-gate__copy > p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 1.7; }
.pg-gate__points { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pg-gate__points li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.pg-gate__points i { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(34, 227, 243, 0.14); color: #22e3f3; }
.pg-gate__card {
  position: relative; padding: clamp(26px, 3.4vw, 40px); border-radius: 30px; background: #fff; color: var(--ds-text);
  box-shadow: 0 40px 90px rgba(0, 8, 30, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4); text-align: center;
}
.pg-gate__icon { width: 68px; height: 68px; display: inline-grid; place-items: center; border-radius: 22px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1.6rem; box-shadow: 0 16px 34px rgba(3, 189, 249, 0.35); }
.pg-gate__card h2 { margin: 16px 0 6px; color: #00112d; font-size: 1.6rem; }
.pg-gate__lead { margin: 0 0 20px; color: var(--ds-text-muted); font-size: 0.92rem; }
.pg-gate__form { display: grid; gap: 12px; }
.pg-gate__form input {
  width: 100%; height: 62px; padding: 0 18px; border: 2px solid var(--ds-border); border-radius: 16px; background: #f4f8fc;
  font: 800 1.35rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 0.32em; text-align: center; color: #00112d; text-transform: uppercase;
}
.pg-gate__form input::placeholder { letter-spacing: 0.08em; font-weight: 600; font-size: 1rem; color: #94a3b8; }
.pg-gate__form input:focus { outline: none; border-color: #03bdf9; background: #fff; box-shadow: 0 0 0 5px rgba(3, 189, 249, 0.16); }
.pg-gate__form input[aria-invalid="true"] { border-color: #ef4444; animation: pgShake 0.35s ease; }
@keyframes pgShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pg-gate__error { margin: 0; color: #b91c1c; font-size: 0.88rem; font-weight: 600; text-align: left; }
.pg-gate__submit { width: 100%; justify-content: center; height: 56px; font-size: 1.02rem; }
.pg-gate__submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.pg-gate__divider { position: relative; margin: 22px 0 14px; color: #64748b; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.pg-gate__divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ds-border); }
.pg-gate__divider span { position: relative; padding: 0 12px; background: #fff; }
.pg-gate__alt { display: grid; gap: 8px; }
.pg-gate__link { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--ds-border); color: #00112d; font-weight: 700; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.pg-gate__link:hover { border-color: #03bdf9; background: #f0fdff; color: var(--ds-link); }
@media (max-width: 900px) { .pg-gate__inner { grid-template-columns: minmax(0, 1fr); } .pg-gate { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .pg-gate__glow, .pg-gate__form input[aria-invalid="true"] { animation: none; } }
html[data-theme="dark"] .pg-gate__card { background: #0f1c2e; color: #e6eef8; }
html[data-theme="dark"] .pg-gate__card h2, html[data-theme="dark"] .pg-gate__link, html[data-theme="dark"] .pg-gate__form input { color: #fff; }
html[data-theme="dark"] .pg-gate__form input { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .pg-gate__divider span { background: #0f1c2e; }
html[data-theme="dark"] .pg-gate__divider { color: #94a3b8; }
html[data-theme="dark"] .pg-gate__link { border-color: rgba(255, 255, 255, 0.14); }

/* --------------------------- contact */
.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ct-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease; font-weight: 700; font-size: 0.92rem;
}
.ct-chip > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; }
.ct-chip small { display: block; font-weight: 600; font-size: 0.72rem; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.04em; }
a.ct-chip:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.14); border-color: rgba(34, 227, 243, 0.5); }
.ct-chip--muted { font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.ct-chip--muted > i { background: rgba(255, 255, 255, 0.12); color: #22e3f3; }
.ct-form .form-group label { display: block; margin-bottom: 5px; font-size: 0.82rem; font-weight: 700; color: var(--ds-text-strong); }
.ct-form :is(input, textarea) { width: 100%; padding: 11px 14px; border: 1.5px solid var(--ds-border); border-radius: 12px; font: inherit; background: var(--ds-bg-ice); color: var(--ds-text); }
.ct-form :is(input, textarea):focus { outline: none; border-color: #03bdf9; background: #fff; box-shadow: 0 0 0 4px rgba(3, 189, 249, 0.15); }
.ct-form .btn-primary { justify-content: center; padding: 14px 20px; }
@media (max-width: 560px) { .ct-form .form-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.ct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.ct-card { text-decoration: none; }
.ct-value { margin-top: auto; padding-top: 8px; color: var(--ds-link); font-size: 0.95rem; word-break: break-word; }
.ct-map { position: relative; isolation: isolate; }
.ct-map iframe { filter: saturate(0.85) contrast(1.02); }
.ct-map::before { content: ""; position: absolute; inset: 0 0 auto; height: 90px; z-index: 1; pointer-events: none; background: linear-gradient(#fff, transparent); }
.ct-map__inner { position: absolute; inset: auto 0 0; z-index: 2; pointer-events: none; }
.ct-map__card {
  pointer-events: auto; width: min(360px, 100%); margin: 0 0 -60px; padding: 26px; border-radius: 26px; background: #fff;
  box-shadow: 0 30px 70px rgba(0, 17, 45, 0.22); border: 1px solid var(--ds-border);
}
.ct-map__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #00112d, #0283de); color: #22e3f3; font-size: 1.2rem; margin-bottom: 12px; }
.ct-map__card h2 { margin: 6px 0; font-size: 1.4rem; color: var(--ds-text-strong); }
.ct-map__card p { color: var(--ds-text-muted); }
.ct-map + .ad-join-wrap { padding-top: clamp(100px, 10vw, 130px); }
@media (max-width: 991px) {
  .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-map__inner { position: static; margin-top: -40px; }
  .ct-map__card { margin: 0 auto; }
  .ct-map + .ad-join-wrap { padding-top: clamp(48px, 6vw, 80px); }
}
@media (max-width: 560px) { .ct-grid { grid-template-columns: minmax(0, 1fr); } }
html[data-theme="dark"] .ct-map__card { background: #0f1c2e; border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .ct-map::before { background: linear-gradient(#0b1424, transparent); }
html[data-theme="dark"] .ct-form :is(input, textarea) { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }

/* --------------------------- property detail: gallery rises over the hero */
.premium-hero--property { padding-bottom: clamp(7rem, 11vw, 9.5rem) !important; }
.premium-hero--property + .property-detail { position: relative; z-index: 3; padding-top: 0 !important; margin-top: clamp(-120px, -8vw, -72px); background: transparent !important; }
.premium-hero--property + .property-detail > .container > :first-child {
  border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 17, 45, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.5);
}
@media (max-width: 767px) { .premium-hero--property + .property-detail { margin-top: -48px; } }

/* --------------------------- mortgage calculator: the calculator rises over the hero */
.mc-hero { padding-bottom: clamp(7rem, 10vw, 9rem) !important; }
.mc-hero + .mc-wrap { position: relative; z-index: 3; padding-top: 0 !important; margin-top: clamp(-110px, -7.5vw, -64px); background: linear-gradient(transparent 0 120px, var(--ds-bg-ice) 120px) !important; }
.mc-hero + .mc-wrap .mc-layout > * { box-shadow: 0 34px 80px rgba(0, 17, 45, 0.2) !important; border-radius: 26px !important; }
html[data-theme="dark"] .mc-hero + .mc-wrap { background: linear-gradient(transparent 0 120px, rgba(255, 255, 255, 0.02) 120px) !important; }

/* Property title under the gallery is an h2 (the hero holds the page h1); keep its size. */
.property-header .pd-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; color: var(--ds-text-strong); }

/* --------------------------- company pages (about, why, story, community, inclusion, press) */
.cp-hero {
  background:
    linear-gradient(100deg, rgba(0, 10, 28, 0.94) 0%, rgba(0, 17, 45, 0.82) 45%, rgba(0, 33, 71, 0.45) 100%),
    var(--cp-bg) center / cover no-repeat !important;
  padding-bottom: clamp(8rem, 12vw, 10rem) !important;
}
.cp-hero__inner { display: block; }
.cp-hero__copy { max-width: 720px; }
.cp-stats-wrap { position: relative; z-index: 4; margin-top: clamp(-104px, -7vw, -64px); }
.cp-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border-radius: 26px; overflow: hidden; background: var(--ds-bg, #fff);
  box-shadow: 0 34px 80px rgba(0, 17, 45, 0.2), 0 0 0 1px var(--ds-border);
}
.cp-stats li { display: grid; gap: 4px; padding: clamp(18px, 2.4vw, 28px); border-right: 1px solid var(--ds-border); }
.cp-stats li:last-child { border-right: 0; }
.cp-stats span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 8px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; }
.cp-stats strong { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; color: var(--ds-text-strong); letter-spacing: -0.02em; }
.cp-stats small { color: var(--ds-text-muted); font-weight: 600; font-size: 0.86rem; text-transform: capitalize; }

.cp-story { padding: clamp(64px, 8vw, 110px) 0; background: var(--ds-bg, #fff); }
.cp-story--alt { background: var(--ds-bg-ice); }
.cp-story__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cp-story__inner.is-reverse .cp-media { order: 2; }
.cp-media { position: relative; margin: 0; }
.cp-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 70px rgba(0, 17, 45, 0.22); }
.cp-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 30px;
  background: linear-gradient(135deg, rgba(34, 227, 243, 0.35), rgba(2, 131, 222, 0.25));
}
.cp-story__inner.is-reverse .cp-media::before { inset: 18px 18px -18px -18px; }
.cp-media__badge {
  position: absolute; left: -22px; bottom: 28px; display: flex; align-items: center; gap: 12px; max-width: 280px; padding: 14px 18px 14px 14px;
  border-radius: 20px; background: var(--ds-bg, #fff); box-shadow: 0 24px 50px rgba(0, 17, 45, 0.22); border: 1px solid var(--ds-border);
  animation: cpFloat 6s ease-in-out infinite;
}
.cp-story__inner.is-reverse .cp-media__badge { left: auto; right: -22px; }
.cp-media__badge > span:first-child { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #00112d, #0283de); color: #22e3f3; }
.cp-media__badge small { display: block; color: var(--ds-text-muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.cp-media__badge strong { display: block; color: var(--ds-text-strong); font-size: 0.98rem; }
/* The number sits on a navy glass chip: white straight on a bright photo was unreadable (~1.3:1). */
.cp-media__num {
  position: absolute; top: 18px; right: 22px; padding: 10px 16px 12px; border-radius: 20px; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1;
  color: #fff; letter-spacing: -0.04em; background: rgba(0, 17, 45, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 12px 30px rgba(0, 17, 45, 0.28);
}
@keyframes cpFloat { 50% { transform: translateY(-8px); } }
.cp-copy h2 { margin: 10px 0 16px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ds-text-strong); }
.cp-copy > p { color: var(--ds-text-muted); font-size: 1.05rem; line-height: 1.75; margin: 0 0 14px; }
.cp-points { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.cp-points li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--ds-bg, #fff); border: 1px solid var(--ds-border); transition: transform 0.25s ease, border-color 0.25s ease; }
.cp-story--alt .cp-points li { background: var(--ds-bg, #fff); }
.cp-points li:hover { transform: translateX(6px); border-color: rgba(3, 189, 249, 0.45); }
.cp-points li > span { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); }
.cp-points strong { display: block; color: var(--ds-text-strong); }
.cp-points p { margin: 2px 0 0; color: var(--ds-text-muted); font-size: 0.93rem; line-height: 1.6; }

.cp-values {
  position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(34, 227, 243, 0.22), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(2, 131, 222, 0.25), transparent 60%), linear-gradient(160deg, #000a1c, #00112d 55%, #002147);
}
.cp-values__head { max-width: 640px; margin-bottom: 36px; }
.cp-values__head h2 { margin: 14px 0 0; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; }
.cp-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-value {
  position: relative; padding: 30px 26px; border-radius: 24px; overflow: hidden;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.cp-value:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); border-color: rgba(34, 227, 243, 0.45); }
.cp-value__num { position: absolute; right: 20px; top: 12px; font-size: 3.4rem; font-weight: 800; color: rgba(255, 255, 255, 0.07); }
.cp-value__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1.2rem; }
.cp-value h3 { margin: 18px 0 8px; color: #fff; font-size: 1.2rem; }
.cp-value p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }

.cp-quote { padding: clamp(56px, 7vw, 90px) 0; background: var(--ds-bg-ice); }
.cp-quote__card { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--ds-bg, #fff); border: 1px solid var(--ds-border); box-shadow: 0 30px 70px rgba(0, 17, 45, 0.12); text-align: center; }
.cp-quote__card > i { font-size: 2rem; color: #03bdf9; }
.cp-quote__card blockquote { margin: 14px 0 18px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; color: var(--ds-text-strong); }
.cp-quote__card figcaption strong { display: block; color: var(--ds-text-strong); }
.cp-quote__card figcaption span { color: var(--ds-text-muted); font-size: 0.9rem; }

.cp-more { padding: 36px 0; border-top: 1px solid var(--ds-border); background: var(--ds-bg, #fff); }
.cp-more__label { margin: 0 0 12px; color: var(--ds-text-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.cp-more ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cp-more a {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; text-decoration: none;
  border: 1.5px solid var(--ds-border); color: var(--ds-text-strong); font-weight: 700; font-size: 0.92rem; background: var(--ds-bg-ice);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cp-more a i:first-child { color: var(--ds-link); }
.cp-more a i:last-child { font-size: 0.75rem; opacity: 0.5; transition: transform 0.2s ease, opacity 0.2s ease; }
.cp-more a:hover { border-color: #03bdf9; color: var(--ds-link); transform: translateY(-2px); }
.cp-more a:hover i:last-child { transform: translateX(3px); opacity: 1; }

@media (max-width: 991px) {
  .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-stats li:nth-child(2) { border-right: 0; }
  .cp-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--ds-border); }
  .cp-story__inner { grid-template-columns: minmax(0, 1fr); }
  .cp-story__inner.is-reverse .cp-media { order: 0; }
  .cp-media__badge, .cp-story__inner.is-reverse .cp-media__badge { left: 16px; right: auto; bottom: -22px; }
  .cp-media { margin-bottom: 22px; }
  .cp-media::before { display: none; }
  .cp-values__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cp-media__badge { animation: none; } }
html[data-theme="dark"] :is(.cp-stats, .cp-story:not(.cp-story--alt), .cp-media__badge, .cp-points li, .cp-quote__card, .cp-more) { background: #0c1a30; }
html[data-theme="dark"] .cp-story--alt .cp-points li { background: #0c1a30; }
html[data-theme="dark"] .cp-points li > span { background: rgba(34, 227, 243, 0.12); color: #4fd6f0; }
html[data-theme="dark"] .cp-more a { background: rgba(255, 255, 255, 0.04); }

/* --------------------------- dark mode: form fields and leftovers */
html[data-theme="dark"] main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]), select, textarea) {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--ds-text-strong) !important;
  border-color: var(--ds-border-strong) !important;
}
html[data-theme="dark"] main :is(input, textarea)::placeholder { color: var(--ds-text-muted) !important; }
html[data-theme="dark"] main select option { background: #0c1a30; color: var(--ds-text-strong); }
html[data-theme="dark"] .seo-agent-content { background: var(--ds-bg) !important; }

/* --------------------------- agent profile */
.ap-hero { padding-bottom: clamp(8rem, 11vw, 9.5rem) !important; }
.ap-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.ap-crumbs a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.ap-crumbs a:hover { color: #22e3f3; }
.ap-crumbs i { font-size: 0.6rem; color: #22e3f3; }
.ap-crumbs span { color: #fff; font-weight: 600; }
.ap-hero__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ap-photo { position: relative; width: clamp(180px, 22vw, 260px); aspect-ratio: 1; }
.ap-photo::before { content: ""; position: absolute; inset: -10px; border-radius: 40px; background: conic-gradient(from 140deg, #22e3f3, #0283de, #fcfeaa, #22e3f3); opacity: 0.85; filter: blur(0.5px); animation: apSpin 12s linear infinite; }
.ap-photo::after { content: ""; position: absolute; inset: -4px; border-radius: 36px; background: #00112d; }
.ap-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #0c1a30; }
.ap-photo__badge { position: absolute; z-index: 2; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: 999px; white-space: nowrap; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 0.78rem; font-weight: 800; box-shadow: 0 10px 24px rgba(3, 189, 249, 0.35); }
@keyframes apSpin { to { transform: rotate(360deg); } }
.ap-copy h1 { margin: 10px 0 8px; }
.ap-loc { margin: 0 0 10px; color: rgba(255, 255, 255, 0.85) !important; font-weight: 600; }
.ap-loc i { color: #22e3f3; margin-right: 6px; }
.ap-lead { max-width: 620px; }
.ap-social { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.ap-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); transition: background 0.2s ease, color 0.2s ease; }
.ap-social a:hover { background: #22e3f3; color: #00112d; }
.ap-stats-wrap { position: relative; z-index: 4; margin-top: clamp(-96px, -6.5vw, -60px); }
.ap-body { padding: clamp(40px, 5vw, 64px) 0 clamp(60px, 8vw, 100px); background: var(--ds-bg-ice); margin-top: -60px; padding-top: calc(clamp(40px, 5vw, 64px) + 60px); }
.ap-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.ap-main { display: grid; gap: 20px; min-width: 0; }
.ap-card { padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--ds-surface); border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-sm); }
.ap-card h2 { margin: 0 0 12px; font-size: 1.45rem; color: var(--ds-text-strong); }
.ap-card h3 { margin: 0 0 14px; font-size: 1.05rem; color: var(--ds-text-strong); }
.ap-card h3 i { color: #03bdf9; margin-right: 6px; }
.ap-bio { margin: 0; color: var(--ds-text); line-height: 1.8; white-space: pre-line; }
.ap-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 22px 0 0; }
.ap-facts div { padding: 12px 14px; border-radius: 14px; background: var(--ds-bg-ice); }
.ap-facts dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ds-text-muted); }
.ap-facts dd { margin: 4px 0 0; color: var(--ds-text-strong); font-weight: 700; word-break: break-word; }
.ap-facts a { color: var(--ds-link); }
.ap-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ap-chips li { padding: 7px 14px; border-radius: 999px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); font-weight: 700; font-size: 0.86rem; }
.ap-areas { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ap-areas li { color: var(--ds-text); font-weight: 600; }
.ap-areas i { color: #03bdf9; margin-right: 8px; }
.ap-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ap-card__head h2 { margin: 0; }
.ap-count { min-width: 30px; height: 30px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: 999px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-weight: 800; }
.ap-listings { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) !important; gap: 18px !important; margin: 0 !important; }
.ap-empty { margin: 0; padding: 22px; border-radius: 16px; border: 1.5px dashed var(--ds-border-strong); color: var(--ds-text-muted); }
.ap-empty i { color: #03bdf9; margin-right: 8px; }
.ap-side { position: sticky; top: 110px; display: grid; gap: 14px; }
.ap-side .agent-lead-card { padding: 24px; border-radius: 24px; background: var(--ds-surface); border: 1px solid var(--ds-border); box-shadow: 0 24px 60px rgba(0, 17, 45, 0.12); }
.ap-side .agent-lead-card h3 { margin: 0 0 4px; color: var(--ds-text-strong); font-size: 1.2rem; }
.ap-side .agent-lead-card p { margin: 0 0 14px; color: var(--ds-text-muted); font-size: 0.9rem; }
.ap-side .form-group { margin-bottom: 12px; }
.ap-side .form-group label { display: block; margin-bottom: 5px; font-size: 0.8rem; font-weight: 700; color: var(--ds-text-strong); }
.ap-side .form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--ds-border-strong); border-radius: 12px; background: var(--ds-bg-ice); color: var(--ds-text-strong); font: inherit; }
.ap-side .form-control:focus { outline: none; border-color: #03bdf9; box-shadow: 0 0 0 4px rgba(3, 189, 249, 0.15); }
.ap-side textarea.form-control { min-height: 110px; resize: vertical; }
.ap-side .btn-submit { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 800; color: #00112d; background: linear-gradient(135deg, #22e3f3, #0283de); box-shadow: 0 12px 28px rgba(3, 189, 249, 0.3); }
.ap-side .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.ap-quick { display: grid; gap: 10px; }
.ap-quick__btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-decoration: none; background: var(--ds-surface); border: 1px solid var(--ds-border); color: var(--ds-text-strong); font-weight: 700; word-break: break-all; transition: border-color 0.2s ease, transform 0.2s ease; }
.ap-quick__btn:hover { border-color: #03bdf9; transform: translateY(-2px); }
.ap-quick__btn > i { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(3, 189, 249, 0.12); color: var(--ds-link); }
.ap-quick__btn small { display: block; color: var(--ds-text-muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 1100px) { .ap-layout { grid-template-columns: minmax(0, 1fr); } .ap-side { position: static; } }
@media (max-width: 760px) {
  .ap-hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .ap-two { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ap-photo::before { animation: none; } }
html[data-theme="dark"] .ap-quick__btn > i, html[data-theme="dark"] .ap-chips li { color: #4fd6f0; }
html[data-theme="dark"] main .btn-outline:not(:hover) { color: var(--ds-text-strong) !important; border-color: var(--ds-border-strong) !important; }
html[data-theme="dark"] .mapp-feature-card :is(h4, li) { color: var(--ds-text-strong); }
html[data-theme="dark"] .mapp-feature-card p { color: var(--ds-text-muted); }
html[data-theme="dark"] .ref-trust-lead { color: var(--ds-text); }
html[data-theme="dark"] .ref-trust-lead strong { color: var(--ds-text-strong); }

/* Kicker pills on light sections: readable cyan-on-ice instead of the hero's pale text. */
.premium-kicker { display: inline-flex; align-items: center; gap: 8px; color: #035f93 !important; background: rgba(3, 189, 249, 0.1); border-color: rgba(3, 189, 249, 0.3); }
:is(.premium-hero, .page-hero, .cp-values, .pc, .ad-join, .fq-contact, .pf-hero, .ap-hero) .premium-kicker,
html[data-theme="dark"] .premium-kicker { color: #a5f3fc !important; background: rgba(34, 227, 243, 0.08); border-color: rgba(34, 227, 243, 0.32); }

/* --------------------------- referral network */
.rf-hero { padding-bottom: clamp(8.5rem, 12vw, 10rem) !important; }
.rf-gets { padding: 26px !important; }
.rf-gets h2 { margin: 0 0 14px; color: #fff; font-size: 1.2rem; }
.rf-gets ul { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.rf-gets li { display: flex; gap: 10px; color: rgba(255, 255, 255, 0.86); font-size: 0.93rem; line-height: 1.45; }
.rf-gets li i { color: #22e3f3; margin-top: 3px; }
.rf-gets__btn { width: 100%; justify-content: center; }
.rf-gets small { display: block; margin-top: 10px; color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; text-align: center; }
.rf-commit-wrap { position: relative; z-index: 4; margin-top: clamp(-104px, -7vw, -64px); }
.rf-commit {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; overflow: hidden;
  border-radius: 26px; background: var(--ds-surface); box-shadow: 0 34px 80px rgba(0, 17, 45, 0.2), 0 0 0 1px var(--ds-border);
}
.rf-commit li { display: flex; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-right: 1px solid var(--ds-border); }
.rf-commit li:last-child { border-right: 0; }
.rf-commit span { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-size: 1.05rem; }
.rf-commit strong { display: block; color: var(--ds-text-strong); font-size: 1.02rem; }
.rf-commit p { margin: 4px 0 0; color: var(--ds-text-muted); font-size: 0.9rem; line-height: 1.55; }
.rf-journey { padding-top: clamp(70px, 8vw, 110px) !important; }
.rf-pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rf-pillar { padding: 24px 20px; }
.rf-pillar h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.rf-pillar p { font-size: 0.88rem; }
.rf-pillar .cp-value__icon { width: 44px; height: 44px; font-size: 1rem; }
.rf-steps { background: var(--ds-bg-ice); }
.rf-audience__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.rf-aud { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(26px, 3.6vw, 40px); border-radius: 28px; }
.rf-aud h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; }
.rf-aud > p:not([class]) { margin: 0; line-height: 1.7; }
.rf-aud ul { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.rf-aud li { display: flex; gap: 10px; font-weight: 600; }
.rf-aud li i { margin-top: 4px; }
.rf-aud__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.rf-aud small { font-size: 0.82rem; }
.rf-aud--agents {
  color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(34, 227, 243, 0.25), transparent 55%), linear-gradient(150deg, #00112d, #002a5c);
  box-shadow: 0 30px 70px rgba(0, 17, 45, 0.25);
}
.rf-aud--agents h2 { color: #fff; }
.rf-aud--agents > p:not([class]) { color: rgba(255, 255, 255, 0.78); }
.rf-aud--agents li { color: rgba(255, 255, 255, 0.9); }
.rf-aud--agents li i { color: #22e3f3; }
.rf-aud--agents .btn-outline { color: #fff !important; border-color: rgba(255, 255, 255, 0.4) !important; background: transparent !important; }
.rf-aud--clients { background: var(--ds-surface); border: 1px solid var(--ds-border); box-shadow: var(--ds-shadow-md); }
.rf-aud--clients h2 { color: var(--ds-text-strong); }
.rf-aud--clients > p:not([class]), .rf-aud--clients small { color: var(--ds-text-muted); }
.rf-aud--clients li { color: var(--ds-text-strong); }
.rf-aud--clients li i { color: var(--ds-link); }
@media (max-width: 1100px) { .rf-pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .rf-commit, .rf-audience__grid { grid-template-columns: minmax(0, 1fr); }
  .rf-commit li { border-right: 0; border-bottom: 1px solid var(--ds-border); }
  .rf-commit li:last-child { border-bottom: 0; }
}
@media (max-width: 560px) { .rf-pillar-grid { grid-template-columns: minmax(0, 1fr); } }

/* Partnership hero: honest application card (replaces the old "live console" mock). */
.agent-apply-steps { display: grid; gap: 10px; margin: 6px 0 16px; padding: 0; list-style: none; }
.agent-apply-steps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.agent-apply-steps span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #22e3f3, #0283de); color: #00112d; font-weight: 800; }
.agent-apply-steps strong { display: block; color: #fff; font-size: 0.95rem; }
.agent-apply-steps small { display: block; color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; }
a.agent-lead-form__button { display: flex; justify-content: center; align-items: center; gap: 8px; text-decoration: none; }
.home2 .h2-partner-card > span { font-size: 0.74rem !important; line-height: 1.3; }
.agent-sample-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(252, 254, 170, 0.14); border: 1px solid rgba(252, 254, 170, 0.35); color: #fcfeaa; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; }

/* ==========================================================================
   Site-wide UI fixes (sweep, Dec 2026)
   ========================================================================== */

/* Back-to-top sat under the header (top-right) and covered page controls such as the
   save-heart on listing cards. The right corner belongs to the live-chat launcher and its
   greeting, so stack it bottom-left above the site assistant; phones scroll by swiping. */
.back-to-top { top: auto !important; bottom: 84px !important; left: 18px !important; right: auto !important; width: 46px !important; height: 46px !important; }
@media (max-width: 768px) { .back-to-top { display: none !important; } }

/* Listing-card price: white text on a near-white-to-teal gradient was unreadable. */
.property-card .property-price, .property-image .property-price {
  background: rgba(0, 17, 45, 0.84) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(0, 8, 30, 0.28); letter-spacing: -0.01em;
}

/* Property detail: Features / Amenities / Details are stacked sections, not a flex row. */
.property-main-content .property-features { display: block !important; padding: 28px 0 6px; gap: 0; }
.property-main-content .property-features h2 { margin-bottom: 14px !important; }
.property-main-content .features-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)) !important; gap: 12px 22px !important; margin: 0; padding: 0; }
.property-main-content .features-list li { align-items: flex-start; line-height: 1.45; }
.property-main-content .features-list li i { margin-top: 3px; }

/* Valuation: the privacy note sat in the white form card but inherited the hero's white text. */
.vx-form .vx-privacy, .vx-card .vx-privacy { color: var(--ds-text-muted, #64748b) !important; }
.vx-privacy i { color: var(--ds-link, #0283de); margin-right: 4px; }

/* Legacy .btn-outline is white-on-transparent (built for dark heroes). On light sections it vanished. */
.vx-why .btn-outline, .section:not([class*="hero"]) .vx-why__inner .btn-outline {
  color: var(--ds-text-strong, #00112d) !important; border-color: var(--ds-border-strong, #c7d6e8) !important; background: transparent !important;
}
.vx-why .btn-outline:hover { background: var(--ds-text-strong, #00112d) !important; color: #fff !important; border-color: transparent !important; }
html[data-theme="dark"] .vx-why .btn-outline { color: #e6f6ff !important; border-color: rgba(255, 255, 255, 0.3) !important; }

/* Service pages: cyan eyebrows on white were hard to read; "3-up" grids rendered as 4 columns. */
html:not([data-theme="dark"]) .svc-eyebrow { color: #0274c4 !important; }
.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) { .svc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .svc-grid--3 { grid-template-columns: 1fr !important; } }

/* Mobile-menu language picker: unselected options were navy on navy in dark mode. */
html[data-theme="dark"] .ds-lang--segmented button:not([aria-checked="true"]) { color: #cfe3f7 !important; }
html[data-theme="dark"] .ds-lang--segmented button[aria-checked="true"] { background: #0283de !important; color: #fff !important; }
/* Service pages, dark mode: "Learn more" links were navy on navy. */
html[data-theme="dark"] .svc-related__more, html[data-theme="dark"] .svc-card a:not(.btn) { color: #5fd4fb !important; }

/* ==========================================================================
   Site assistant (ChatAssistant.tsx): bottom-left launcher + chat panel
   ========================================================================== */
.ca {
  --ca-navy: #00112d; --ca-blue: #0283de; --ca-cyan: #22e3f3; --ca-ice: #f3f8fd; --ca-line: #dbe6f2; --ca-text: #24364d; --ca-muted: #66788f; --ca-card: #fff;
  position: fixed; left: 20px; bottom: 20px; z-index: 900; font-family: "Inter", var(--font-sans, system-ui), sans-serif;
}
html[data-theme="dark"] .ca { --ca-ice: #0b1729; --ca-line: rgba(255, 255, 255, 0.1); --ca-text: #d8e6f5; --ca-muted: #93a7bf; --ca-card: #0f2038; }

/* launcher */
.ca__launch {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--ca-navy) 0%, #062a5c 100%); color: #fff; font: 700 0.95rem/1 inherit;
  box-shadow: 0 16px 36px rgba(0, 17, 45, 0.38), inset 0 0 0 1px rgba(34, 227, 243, 0.28); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ca__launch:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 17, 45, 0.45), inset 0 0 0 1px rgba(34, 227, 243, 0.5); }
.ca__launch:focus-visible { outline: 3px solid rgba(34, 227, 243, 0.6); outline-offset: 3px; }
.ca__launch-icon { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--ca-cyan), var(--ca-blue)); color: var(--ca-navy); font-size: 1.05rem; }
.ca__launch-text { white-space: nowrap; }
.ca.is-open .ca__launch { width: 56px; padding: 0; justify-content: center; }
.ca.is-open .ca__launch-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ca__dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--ca-navy); }
.ca__launch .ca__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, 0.5); animation: ca-pulse 2s ease-out infinite; }
@keyframes ca-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* panel */
.ca__panel {
  position: absolute; left: 0; bottom: 70px; width: min(392px, calc(100vw - 40px)); max-height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column;
  background: var(--ca-card); border: 1px solid var(--ca-line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 12, 33, 0.35); animation: ca-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes ca-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.ca__top {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 14px 16px 18px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(34, 227, 243, 0.3), transparent 55%), linear-gradient(135deg, #00112d, #06295f);
}
.ca__avatar { position: relative; width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--ca-cyan), var(--ca-blue)); color: var(--ca-navy); font-size: 1.05rem; }
.ca__avatar .ca__dot { border-color: #031a3d; }
.ca__who { min-width: 0; flex: 1; }
.ca__top strong { display: block; font-family: "Outfit", "Inter", sans-serif; font-size: 1.05rem; letter-spacing: -0.01em; }
.ca__top small { display: block; margin-top: 2px; font-size: 0.78rem; color: rgba(226, 238, 252, 0.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca__status { color: #86efac; font-weight: 700; }
.ca__x { flex: 0 0 34px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background 0.15s ease; }
.ca__x:hover { background: rgba(255, 255, 255, 0.24); }
.ca__x:focus-visible { outline: 2px solid var(--ca-cyan); outline-offset: 2px; }

.ca__body { flex: 1; overflow-y: auto; padding: 18px 16px; display: grid; gap: 12px; align-content: start; background: var(--ca-ice); scrollbar-width: thin; }
.ca__msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.ca__msg--bot { flex-wrap: wrap; }
.ca__msg--bot p { flex: 1; }
.ca__mini { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg, var(--ca-cyan), var(--ca-blue)); color: var(--ca-navy); font-size: 0.68rem; }
.ca__msg p { margin: 0; padding: 11px 14px; border-radius: 18px; font-size: 0.9rem; line-height: 1.5; }
.ca__msg--bot p { background: var(--ca-card); color: var(--ca-text); border: 1px solid var(--ca-line); border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(0, 17, 45, 0.04); }
.ca__msg--me { justify-self: end; }
.ca__msg--me p { background: linear-gradient(135deg, var(--ca-blue), #0560b8); color: #fff; border-bottom-right-radius: 6px; }
.ca__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ca__links--bot { flex-basis: 100%; padding-left: 34px; }
.ca__links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 0.82rem; font-weight: 700;
  background: var(--ca-navy); color: #fff; transition: transform 0.15s ease, background 0.15s ease;
}
.ca__links a:hover { transform: translateY(-1px); background: var(--ca-blue); }
html[data-theme="dark"] .ca__links a { background: var(--ca-blue); }

/* quick options: 2-up tiles */
.ca__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ca__chips button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--ca-line); border-radius: 14px; cursor: pointer;
  background: var(--ca-card); color: var(--ca-text); font: 600 0.84rem/1.3 inherit; text-align: left; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.ca__chips button:hover { border-color: var(--ca-blue); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(2, 131, 222, 0.14); }
.ca__chips button:focus-visible { outline: 2px solid var(--ca-blue); outline-offset: 2px; }
.ca__chips--menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ca__chips--menu button { padding: 10px 12px; }
.ca__chips button i { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(2, 131, 222, 0.1); color: var(--ca-blue); font-size: 0.8rem; }
html[data-theme="dark"] .ca__chips button i { background: rgba(34, 227, 243, 0.12); color: var(--ca-cyan); }

.ca__foot { padding: 12px 14px 10px; border-top: 1px solid var(--ca-line); background: var(--ca-card); }
.ca__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 0.72rem; color: var(--ca-muted); text-align: center; }
.ca__note i { color: #f59e0b; }
.ca__form { display: grid; gap: 8px; }
.ca__form input, .ca__form textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--ca-line); border-radius: 12px; font: inherit; font-size: 0.9rem; background: var(--ca-card); color: var(--ca-text);
}
.ca__form input:focus, .ca__form textarea:focus { outline: none; border-color: var(--ca-blue); box-shadow: 0 0 0 4px rgba(2, 131, 222, 0.14); }
.ca__form--row { grid-template-columns: 1fr 46px; }
.ca__send { border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--ca-cyan), var(--ca-blue)); color: var(--ca-navy); cursor: pointer; font-size: 0.95rem; }
.ca__row { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.ca__row .btn { padding: 10px 18px; border-radius: 12px; }
.ca__ghost { border: 0; background: transparent; color: var(--ca-muted); font: inherit; font-weight: 600; cursor: pointer; }
.ca__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* phones: icon launcher and a bottom sheet */
@media (max-width: 600px) {
  .ca { left: 14px; bottom: 14px; }
  .ca__launch { width: 56px; padding: 0; justify-content: center; }
  .ca__launch-text { display: none; }
  .ca.is-open .ca__launch { display: none; }
  .ca__panel { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-height: 86vh; border-radius: 24px 24px 0 0; border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .ca__panel, .ca__launch .ca__dot::after { animation: none; } }
@media print { .ca { display: none; } }
/* One chat at a time: hide the live-chat widget while the assistant is open, and the
   assistant launcher while the live chat window is open. */
body.ca-open chat-widget { display: none !important; }
body:has(chat-widget[data-active="true"]) .ca { display: none !important; }

/* ==========================================================================
   Floating widgets, animated pass: back-to-top with progress ring, assistant
   ========================================================================== */
/* back to top */
.back-to-top.btt {
  position: fixed; left: 22px !important; bottom: 88px !important; right: auto !important; top: auto !important; z-index: 899;
  width: 48px !important; height: 48px !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
  display: grid !important; place-items: center; cursor: pointer; background: #00112d !important; color: #fff !important;
  box-shadow: 0 12px 28px rgba(0, 17, 45, 0.35) !important;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s, box-shadow 0.2s ease !important;
}
.back-to-top.btt.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top.btt.visible:hover { transform: translateY(-3px) !important; box-shadow: 0 16px 36px rgba(2, 131, 222, 0.45) !important; }
.btt__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btt__track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 3; }
.btt__bar { fill: none; stroke: #22e3f3; stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 0.15s linear; filter: drop-shadow(0 0 3px rgba(34, 227, 243, 0.7)); }
.btt__icon { position: relative; font-size: 0.95rem; }
.btt:hover .btt__icon { animation: btt-bounce 0.7s ease infinite; }
@keyframes btt-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.back-to-top.btt:focus-visible { outline: 3px solid rgba(34, 227, 243, 0.6); outline-offset: 3px; }
html[data-theme="dark"] .back-to-top.btt { background: #0f2038 !important; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important; }
@media (max-width: 768px) { .back-to-top.btt { display: grid !important; left: 20px !important; bottom: 80px !important; width: 44px !important; height: 44px !important; } }
body.ca-open .back-to-top.btt, body.nav-open .back-to-top.btt { opacity: 0 !important; visibility: hidden !important; }

/* assistant: slides in after load */
.ca { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ca.is-ready, .ca.is-open { opacity: 1; transform: none; }
/* label folds away once you scroll; icon stays */
.ca__launch { transition: padding 0.35s ease, gap 0.35s ease, transform 0.2s ease, box-shadow 0.2s ease !important; }
.ca__launch-text { display: inline-block; max-width: 150px; overflow: hidden; white-space: nowrap; transition: max-width 0.35s ease, opacity 0.25s ease; }
.ca.is-compact .ca__launch { padding: 0 8px !important; gap: 0 !important; }
.ca.is-compact .ca__launch-text { max-width: 0; opacity: 0; }
/* soft attention ring every few seconds */
.ca__launch::before {
  content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid rgba(34, 227, 243, 0.5);
  opacity: 0; pointer-events: none; animation: ca-ring 3.4s ease-out 2.5s infinite;
}
.ca.is-open .ca__launch::before { display: none; }
@keyframes ca-ring { 0% { opacity: 0.8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.16); } }
.ca__launch:hover .ca__launch-icon > i { animation: ca-wiggle 0.6s ease; }
@keyframes ca-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(10deg); } }
/* panel grows out of the launcher */
.ca__panel { transform-origin: bottom left; animation: ca-pop 0.34s cubic-bezier(0.34, 1.4, 0.64, 1) !important; }
@keyframes ca-pop { from { opacity: 0; transform: translateY(16px) scale(0.92); } to { opacity: 1; transform: none; } }
.ca__top::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%); background-size: 250% 100%; animation: ca-sheen 7s linear infinite;
}
@keyframes ca-sheen { from { background-position: 200% 0; } to { background-position: -200% 0; } }
/* messages and options ease in */
.ca__msg { animation: ca-msg 0.32s ease both; }
.ca__msg--me { animation-name: ca-msg-me; }
@keyframes ca-msg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ca-msg-me { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.ca__chips button { animation: ca-msg 0.35s ease backwards; }
.ca__chips button:nth-child(2) { animation-delay: 0.04s; }
.ca__chips button:nth-child(3) { animation-delay: 0.08s; }
.ca__chips button:nth-child(4) { animation-delay: 0.12s; }
.ca__chips button:nth-child(5) { animation-delay: 0.16s; }
.ca__chips button:nth-child(6) { animation-delay: 0.2s; }
.ca__chips button i { transition: transform 0.2s ease; }
.ca__chips button:hover i { transform: scale(1.12) rotate(-6deg); }
/* typing dots */
.ca__typing p { display: inline-flex !important; align-items: center; gap: 5px; flex: 0 0 auto !important; padding: 14px 16px !important; }
.ca__typing p span { width: 7px; height: 7px; border-radius: 50%; background: var(--ca-muted, #66788f); animation: ca-dot 1s ease-in-out infinite; }
.ca__typing p span:nth-child(2) { animation-delay: 0.15s; }
.ca__typing p span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ca-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-5px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ca, .ca__panel, .ca__msg, .ca__chips button, .ca__launch::before, .ca__top::after, .ca__typing p span, .btt__icon, .back-to-top.btt { animation: none !important; transition: none !important; }
  .ca { opacity: 1; transform: none; }
}

/* ==========================================================================
   Widget dock (bottom-right): live chat at the bottom, assistant above it,
   back-to-top on top. One family: 58px circles, navy + cyan, moving gradient rims.
   ========================================================================== */
:root { --dock-right: 20px; --dock-gap: 14px; --dock-size: 58px; }

/* assistant sits above the live-chat button */
.ca { left: auto !important; right: var(--dock-right) !important; bottom: calc(20px + var(--dock-size) + var(--dock-gap)) !important; }
.ca__panel { left: auto !important; right: 0 !important; transform-origin: bottom right !important; }
.ca__launch { isolation: isolate; height: var(--dock-size) !important; }
.ca__launch-icon { width: 44px !important; height: 44px !important; }
.ca.is-open .ca__launch, .ca.is-compact .ca__launch { width: var(--dock-size) !important; }
/* compact assistant: hovering brings its label back */
.ca.is-compact:not(.is-open) .ca__launch:hover { width: auto !important; padding: 0 22px 0 7px !important; gap: 10px !important; }
.ca.is-compact:not(.is-open) .ca__launch:hover .ca__launch-text { max-width: 150px; opacity: 1; }

/* moving gradient rim (works for the pill and the circle) */
.ca__launch::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #22e3f3, #0283de, #6d5dfc, #22e3f3, #0283de); background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: dock-rim 4s linear infinite;
}
@keyframes dock-rim { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }

/* idle float (uses the separate translate property so hover transforms still work) */
.ca:not(.is-open) .ca__launch { animation: dock-float 4.5s ease-in-out 2s infinite; }
@keyframes dock-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.ca__launch:hover { box-shadow: 0 20px 44px rgba(0, 17, 45, 0.45), 0 0 0 6px rgba(34, 227, 243, 0.12) !important; }

/* bigger entrance */
.ca { transform: translateY(40px) scale(0.8) !important; transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) !important; }
.ca.is-ready, .ca.is-open { transform: none !important; }

/* back-to-top tops the stack */
.back-to-top.btt {
  left: auto !important; right: calc(var(--dock-right) + 5px) !important;
  bottom: calc(20px + 2 * (var(--dock-size) + var(--dock-gap))) !important; width: 48px !important; height: 48px !important;
  background: radial-gradient(circle at 30% 25%, #0b4a8f, #00112d 70%) !important;
}
.back-to-top.btt.visible { animation: dock-float 4.5s ease-in-out 1s infinite; }
.btt__bar { stroke: url(#bttGrad); }
.btt::after {
  content: attr(aria-label); position: absolute; right: calc(100% + 10px); top: 50%; translate: 6px -50%; white-space: nowrap;
  padding: 6px 10px; border-radius: 8px; background: #00112d; color: #fff; font: 600 0.75rem/1 "Inter", sans-serif;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, translate 0.2s ease;
}
.btt:hover::after, .btt:focus-visible::after { opacity: 1; translate: 0 -50%; }

/* phones */
@media (max-width: 768px) {
  :root { --dock-right: 14px; --dock-gap: 12px; --dock-size: 54px; }
  .ca { left: auto !important; right: var(--dock-right) !important; bottom: calc(16px + var(--dock-size) + var(--dock-gap)) !important; }
  .ca.is-open { left: 0 !important; right: 0 !important; bottom: 0 !important; }
  .ca__launch { width: var(--dock-size) !important; padding: 0 !important; justify-content: center; }
  .back-to-top.btt { left: auto !important; right: calc(var(--dock-right) + 5px) !important; bottom: calc(16px + 2 * (var(--dock-size) + var(--dock-gap))) !important; width: 44px !important; height: 44px !important; }
  .btt::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ca__launch, .ca__launch::after, .back-to-top.btt.visible { animation: none !important; }
}
.ca { z-index: 1000 !important; }
.back-to-top.btt { z-index: 999 !important; }

/* Assistant back on the left (owner's choice); right side keeps live chat + back-to-top. */
.ca { right: auto !important; left: 20px !important; bottom: 20px !important; }
.ca__panel { right: auto !important; left: 0 !important; transform-origin: bottom left !important; }
.back-to-top.btt { bottom: calc(20px + var(--dock-size) + var(--dock-gap)) !important; }
@media (max-width: 768px) {
  .ca { right: auto !important; left: 14px !important; bottom: 16px !important; }
  .ca.is-open { left: 0 !important; right: 0 !important; bottom: 0 !important; }
  .back-to-top.btt { bottom: calc(16px + var(--dock-size) + var(--dock-gap)) !important; }
}

/* Property page: agent contact actions (Call + WhatsApp side by side, profile below) */
.ac-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ac-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 14px;
  border-radius: 14px; border: 0; font: 700 0.92rem/1.1 "Inter", sans-serif; text-decoration: none !important; cursor: pointer; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.ac-btn i { font-size: 1rem; }
.ac-btn:hover { transform: translateY(-2px); }
.ac-btn:focus-visible { outline: 3px solid rgba(2, 131, 222, 0.45); outline-offset: 2px; }
.ac-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s ease; }
.ac-btn:hover::after { transform: translateX(120%); }
.ac-btn--call { background: linear-gradient(135deg, #22e3f3, #0283de 60%, #0560b8) !important; color: #fff !important; box-shadow: 0 12px 26px rgba(2, 131, 222, 0.32); }
.ac-btn--call:hover { box-shadow: 0 16px 32px rgba(2, 131, 222, 0.42); }
.ac-btn--wa { background: linear-gradient(135deg, #25d366, #128c4a) !important; color: #fff !important; box-shadow: 0 12px 26px rgba(18, 140, 74, 0.3); }
.ac-btn--wa:hover { box-shadow: 0 16px 32px rgba(18, 140, 74, 0.42); }
.ac-btn--wa i { font-size: 1.15rem; }
.ac-btn--profile {
  grid-column: 1 / -1; justify-content: flex-start; min-height: 48px; padding: 0 16px; color: #0b1b33 !important;
  background: #f4f8fc !important; border: 1.5px solid #dbe6f2 !important; box-shadow: none;
}
.ac-btn--profile > i:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(2, 131, 222, 0.1); color: #0283de; font-size: 0.85rem; }
.ac-btn--profile .ac-btn__go { margin-left: auto; color: #0283de; font-size: 0.8rem; transition: transform 0.2s ease; }
.ac-btn--profile:hover { border-color: #0283de !important; background: #fff !important; }
.ac-btn--profile:hover .ac-btn__go { transform: translateX(4px); }
.ac-btn--profile::after { display: none; }
html[data-theme="dark"] .ac-btn--profile { background: rgba(255, 255, 255, 0.05) !important; border-color: rgba(255, 255, 255, 0.12) !important; color: #eaf3fc !important; }
html[data-theme="dark"] .ac-btn--profile > i:first-child { background: rgba(95, 212, 251, 0.12); color: #5fd4fb; }
@media (max-width: 380px) { .ac-actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ac-btn, .ac-btn::after, .ac-btn__go { transition: none; } .ac-btn:hover { transform: none; } }
.ac-btn span { white-space: nowrap; }
