/* Photography-led homepage hero. The supplied copy stays in English. */
.company-hero { --hero-red: var(--brand-red); --hero-ink: var(--brand-charcoal); --hero-rule: var(--brand-border); padding: 86px 0 42px; background: #fff; color: var(--hero-ink); font-family: "Montserrat", "Noto Sans Bengali", sans-serif; }
.company-hero-masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--hero-rule); font-size: 10px; font-weight: 600; letter-spacing: 2px; }
.company-hero-masthead > span:last-child { display: flex; align-items: center; gap: 12px; }
.company-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-red); }
.company-hero-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 65px; padding: 55px 0 52px; }
.company-hero-title-block, .company-hero-copy { min-width: 0; }
.company-hero h1 { margin: 0; line-height: 1; }
.company-hero h1 > span { display: block; font-size: clamp(25px, 3vw, 39px); font-weight: 400; letter-spacing: -1.5px; margin-bottom: 12px; }
.company-hero h1 > strong { display: block; font-size: clamp(76px, 8.4vw, 120px); color: var(--hero-red); letter-spacing: -2px; font-weight: 800; }
.company-hero-experience { display: flex; align-items: center; gap: 18px; padding-top: 29px; margin-top: 32px; border-top: 1px solid var(--hero-rule); }
.company-hero-experience > strong { font-size: 58px; letter-spacing: -4px; line-height: 1; font-weight: 500; }
.company-hero-experience > strong > span { color: var(--hero-red); font-size: 37px; vertical-align: top; }
.company-hero-experience p { font-size: 13px; line-height: 1.7; margin: 0; color: var(--brand-muted); }
.company-hero-seal { display: grid; place-items: center; margin-left: auto; flex-shrink: 0; width: 55px; height: 55px; border: 1px solid #777777; border-radius: 50%; color: var(--hero-red); font-size: 30px; }
.company-hero-copy > p { font-size: 14px; line-height: 1.95; color: var(--brand-muted); margin: 0 0 18px; }
.company-hero-copy > .company-hero-lead { font-size: 17px; line-height: 1.85; color: var(--hero-ink); }
.company-hero-lead em { color: var(--hero-red); font-style: normal; font-weight: 600; }
.company-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 25px; }
.company-hero-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 49px; font-size: 12px; font-weight: 600; }
.company-hero-primary { padding: 12px 18px; background: var(--hero-red); color: #fff; border-radius: 3px; }
.company-hero-primary:hover { background: var(--brand-red-hover); color: #fff; }
.company-hero-actions a > span { font-size: 22px; line-height: 1; }
.company-hero-secondary { color: var(--hero-ink); }
.company-hero-secondary:hover { color: var(--hero-red); }
.company-hero a:focus-visible { outline: 3px solid var(--hero-red); outline-offset: 5px; }
.company-hero-services-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 35px; padding: 24px 0; border-top: 1px solid var(--hero-rule); }
.company-hero-services-heading > span:first-child { color: var(--hero-red); font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.company-hero-services-heading h2 { font-size: 27px; font-weight: 500; letter-spacing: -1px; margin: 0; line-height: 1.3; }
.company-hero-heading-arrow { margin-left: auto; color: var(--hero-red); font-size: 30px; }
.company-hero-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hero-rule); border-bottom: 1px solid var(--hero-rule); }
.company-hero-service { position: relative; padding: 27px 30px 52px; color: var(--hero-ink); }
.company-hero-service + .company-hero-service { border-left: 1px solid var(--hero-rule); }
.company-hero-service:first-child { padding-left: 0; }
.company-hero-service:last-child { padding-right: 0; }
.company-hero-service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; color: var(--hero-red); }
.company-hero-service-top > span { font-size: 11px; letter-spacing: 1px; }
.company-hero-service-top > i { font-size: 24px; }
.company-hero-service h3 { max-width: 290px; margin: 0 0 15px; font-size: 21px; font-weight: 600; line-height: 1.45; letter-spacing: -.6px; }
.company-hero-service p { margin: 0; color: var(--brand-muted); font-size: 13px; line-height: 1.9; }
.company-hero-service-arrow { position: absolute; bottom: 14px; font-size: 25px; color: var(--hero-red); }
.company-hero-service:hover { color: var(--hero-ink); }
.company-hero-partner { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px 65px; margin-top: 32px; padding: 52px 48px 0; min-height: 360px; background: var(--brand-charcoal) url("../images/remote/photo-1600047509807-ba8f99d2cdde.jpg") center 58% / cover no-repeat; color: var(--brand-surface); border-radius: 18px; box-shadow: 0 24px 60px rgba(17, 17, 17, .22); }
.company-hero-partner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 14, 14, .96) 0%, rgba(14, 14, 14, .86) 36%, rgba(110, 14, 24, .5) 68%, rgba(110, 14, 24, .12) 100%); }
.company-hero-partner::after { content: ""; position: absolute; top: 0; right: 0; z-index: -1; width: 46%; height: 6px; background: linear-gradient(90deg, transparent, var(--brand-red)); }
.company-hero-partner-label { position: relative; display: inline-block; padding: 7px 26px 7px 14px; margin-bottom: 18px; background: var(--brand-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%); }
.company-hero-partner h2 { max-width: 360px; font-size: 40px; letter-spacing: -1px; font-weight: 600; line-height: 1.15; margin: 0; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.company-hero-partner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.company-hero-partner-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; transition: background .2s ease, color .2s ease, transform .2s ease; }
.company-hero-partner-btn.primary { background: var(--brand-red); border-color: var(--brand-red); box-shadow: 0 10px 24px rgba(160, 20, 34, .45); }
.company-hero-partner-btn:hover { color: var(--brand-charcoal); background: #fff; border-color: #fff; transform: translateY(-2px); }
.company-hero-partner a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.company-hero-partner-copy { align-self: center; padding: 22px 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.company-hero-partner-copy p { margin: 0; color: #f1f1f1; font-size: 14px; line-height: 1.85; }
.company-hero-partner-copy .company-hero-partner-lead { font-size: 19px; font-weight: 500; color: #fff; margin-bottom: 12px; line-height: 1.55; }
.company-hero-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 4px -48px 0; padding: 16px 48px; background: rgba(0, 0, 0, .55); border-top: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 13px; color: #f1f1f1; }
.company-hero-contact-divider { color: rgba(255, 255, 255, .35); }
.company-hero-contact a { color: inherit; }
.company-hero-contact a > i { color: #ff8a95; }
.company-hero-contact a:hover { color: #fff; text-decoration: underline; }
.company-hero-contact a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 991.98px) {
  .company-hero { padding-top: 62px; }
  .company-hero-intro { gap: 32px; }
  .company-hero h1 > strong { font-size: clamp(64px, 9.5vw, 95px); }
  .company-hero-service { padding-inline: 19px; }
  .company-hero-service h3 { font-size: 18px; }
  .company-hero-partner { gap: 25px 32px; padding-inline: 30px; }
  .company-hero-contact { margin-inline: -30px; padding-inline: 30px; }
}
@media (max-width: 767.98px) {
  .company-hero-intro { grid-template-columns: 1fr; padding: 32px 0; }
  .company-hero h1 > strong { font-size: clamp(76px, 17vw, 115px); }
  .company-hero-experience { margin-top: 23px; padding-top: 22px; }
  .company-hero-services-heading { gap: 12px; }
  .company-hero-services-heading > span:first-child { width: 100%; }
  .company-hero-services-heading h2 { font-size: 25px; }
  .company-hero-services { grid-template-columns: 1fr; }
  .company-hero-service, .company-hero-service:first-child, .company-hero-service:last-child { padding: 24px 0 51px; }
  .company-hero-service + .company-hero-service { border-left: 0; border-top: 1px solid var(--hero-rule); }
  .company-hero-service-top { margin-bottom: 12px; }
  .company-hero-service h3 { max-width: none; font-size: 21px; }
  .company-hero-partner { grid-template-columns: 1fr; gap: 22px; padding: 32px 20px 0; border-radius: 14px; background-position: 70% center; }
  .company-hero-partner::before { background: linear-gradient(180deg, rgba(14, 14, 14, .92) 0%, rgba(14, 14, 14, .8) 55%, rgba(110, 14, 24, .7) 100%); }
  .company-hero-partner h2 { max-width: none; font-size: 31px; }
  .company-hero-partner-btn { flex: 1 1 auto; justify-content: center; }
  .company-hero-partner-copy { padding: 18px; }
  .company-hero-contact { gap: 12px; margin-inline: -20px; padding: 14px 20px; font-size: 12px; }
  .company-hero-contact-divider { display: none; }
}
@media (max-width: 399.98px) {
  .company-hero-masthead { font-size: 8px; letter-spacing: 1px; }
  .company-hero h1 > strong {
    font-size: clamp(56px, 20vw, 72px);
    white-space: nowrap;
  }
  .company-hero-contact { flex-direction: column; }
  .company-hero-contact-divider { display: none; }
}

/* The photo treatment applies only to the opening banner. */
.company-hero-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-charcoal); color: #fff; }
.company-hero-backdrop { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.company-hero-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.851) 0%, rgba(var(--brand-charcoal-rgb), 0.478) 52%, rgba(var(--brand-charcoal-rgb), 0.502) 100%), linear-gradient(0deg, rgba(var(--brand-charcoal-rgb), 0.702), transparent 45%); }
.company-hero-banner > .container { position: relative; padding-top: 28px; }
.company-hero-banner .company-hero-masthead { color: var(--brand-surface); border-color: #ffffff38; padding-bottom: 23px; }
.company-hero-banner .company-hero-dot { background: var(--brand-rose); box-shadow: 0 0 0 5px rgba(var(--brand-rose-rgb), .1); }
.company-hero-banner .company-hero-intro { grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 100px 0 94px; min-height: 610px; }
.company-hero-banner h1 > span { font-size: clamp(25px, 3vw, 38px); color: var(--brand-surface); font-weight: 400; }
.company-hero-banner h1 > strong { color: #fff; font-size: clamp(80px, 8.7vw, 126px); text-shadow: 0 3px 25px #00000014; }
.company-hero-banner .company-hero-title-block::before { content: ''; display: block; width: 48px; height: 4px; background: var(--brand-rose); margin-bottom: 25px; }
.company-hero-banner .company-hero-experience { max-width: 350px; border-color: #ffffff40; margin-top: 36px; padding-top: 24px; }
.company-hero-banner .company-hero-experience > strong { font-size: 61px; }
.company-hero-banner .company-hero-experience > strong > span { color: var(--brand-rose); }
.company-hero-banner .company-hero-experience p { color: #e5e5e5; }
.company-hero-banner .company-hero-seal { color: var(--brand-rose); border-color: #ffffff50; }
.company-hero-banner .company-hero-copy { padding: 30px 32px; border: 1px solid #ffffff30; border-top: 3px solid var(--brand-rose); border-radius: 3px 3px 28px 3px; background: rgba(var(--brand-charcoal-rgb), 0.91); box-shadow: 0 20px 50px #00000015; }
.company-hero-banner .company-hero-copy > p { color: #e5e5e5; font-size: 13px; line-height: 1.9; }
.company-hero-banner .company-hero-copy > .company-hero-lead { font-size: 16px; color: #fff; line-height: 1.85; }
.company-hero-banner .company-hero-lead em { color: var(--brand-rose); }
.company-hero-banner .company-hero-actions { gap: 12px 20px; margin-top: 23px; }
.company-hero-banner .company-hero-primary { background: var(--brand-red); min-height: 50px; }
.company-hero-banner .company-hero-primary:hover { background: var(--brand-red-hover); }
.company-hero-banner .company-hero-secondary { color: #fff; }
.company-hero-banner .company-hero-secondary:hover { color: var(--brand-rose); }
.company-hero-banner a:focus-visible { outline-color: var(--brand-rose); }
.company-hero-banner-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 0; border-top: 1px solid #ffffff38; }
.company-hero-banner-foot > span { color: #e5e5e5; font-size: 9px; letter-spacing: 2px; }
.company-hero-banner-foot a { display: inline-flex; align-items: center; gap: 20px; min-height: 32px; font-size: 11px; color: #fff; }
.company-hero-banner-foot a:hover { color: var(--brand-rose); }
.company-hero-banner-foot a > span { font-size: 21px; }
.company-hero-details { padding-top: 25px; scroll-margin-top: 100px; }
.company-hero-details .company-hero-services-heading { border-top: 0; }
@media (max-width: 1199.98px) {
  .company-hero-banner .company-hero-intro { gap: 35px; }
  .company-hero-banner .company-hero-copy { padding: 25px; }
}
@media (max-width: 991.98px) {
  .company-hero-banner .company-hero-intro { grid-template-columns: .85fr 1.15fr; gap: 25px; padding: 65px 0; }
  .company-hero-banner h1 > strong { font-size: 76px; }
  .company-hero-banner .company-hero-experience { gap: 12px; }
  .company-hero-banner .company-hero-seal { width: 42px; height: 42px; }
  .company-hero-banner .company-hero-copy { padding: 23px; }
}
@media (max-width: 767.98px) {
  .company-hero { padding-top: 66px; }
  .company-hero-banner > .container { padding-top: 12px; }
  .company-hero-banner .company-hero-intro { grid-template-columns: 1fr; gap: 30px; padding: 25px 0 48px; min-height: auto; }
  .company-hero-banner h1 > strong { font-size: clamp(80px, 18vw, 120px); }
  .company-hero-banner .company-hero-experience { margin-top: 25px; padding-top: 20px; max-width: 340px; }
  .company-hero-banner .company-hero-experience > strong { font-size: 48px; }
  .company-hero-banner .company-hero-copy { padding: 23px; }
  .company-hero-backdrop { object-position: 42% center; }
  .company-hero-banner-foot { gap: 8px; padding: 17px 0; }
  .company-hero-banner-foot > span { font-size: 8px; letter-spacing: 1px; }
}
@media (max-width: 399.98px) {
  .company-hero-banner h1 > strong { font-size: clamp(56px, 20vw, 72px); }
}

/* About page: supplied introduction, services, and vision only. */
.about-editorial { --about-red: var(--brand-red); --about-rule: var(--brand-border); padding: 0 0 64px; background: #fff; color: var(--brand-charcoal); font-family: "Montserrat", "Noto Sans Bengali", sans-serif; }
.about-editorial-hero { padding: 155px 0 74px; background: var(--inner-hero-overlay), var(--inner-hero-image) center/cover; color: #fff; }
.about-editorial .about-editorial-hero h1 { color: #fff; margin: 24px 0 0; }
.about-editorial-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: #fff; }
.about-editorial-breadcrumb a { display: inline-block; padding-block: 8px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.about-editorial-breadcrumb a:hover { color: #f2b7bd; }
.about-editorial-breadcrumb a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.about-editorial-number { display: block; color: var(--about-red); font-size: 11px; letter-spacing: 2px; font-weight: 600; }
.about-editorial-intro { max-width: 1000px; padding: 48px 0 57px; }
.about-editorial h1 { margin: 20px 0 0; color: var(--about-red); font-size: clamp(56px, 6.5vw, 88px); font-weight: 700; line-height: 1.05; letter-spacing: -5px; }
.about-editorial-intro > p { margin: 0; font-size: 20px; line-height: 1.9; letter-spacing: -.35px; }
.about-editorial-work { border-top: 1px solid var(--about-rule); padding-top: 34px; }
.about-editorial-section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; margin-bottom: 35px; }
.about-editorial h2 { margin: 0 0 15px; font-size: 34px; font-weight: 500; letter-spacing: -1.3px; line-height: 1.3; }
.about-editorial-section-head p { margin: 0; color: var(--brand-muted); font-size: 15px; line-height: 1.85; }
.about-editorial-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--about-rule); border-bottom: 1px solid var(--about-rule); }
.about-editorial-services article { padding: 29px 30px 33px; }
.about-editorial-services article:first-child { padding-left: 0; }
.about-editorial-services article:last-child { padding-right: 0; }
.about-editorial-services article + article { border-left: 1px solid var(--about-rule); }
.about-editorial-service-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 23px; border: 1px solid var(--brand-border); color: var(--about-red); border-radius: 50%; font-size: 23px; }
.about-editorial-services h3 { margin: 0 0 15px; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.6px; }
.about-editorial-services p { margin: 0; color: var(--brand-muted); font-size: 14px; line-height: 1.9; }
.about-editorial-vision { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; padding: 42px; margin-top: 42px; background: var(--brand-surface); color: var(--brand-charcoal); border-radius: 4px; }
.about-editorial-vision .about-editorial-number { color: var(--about-red); margin-bottom: 19px; }
.about-editorial-vision h2 { margin: 0; }
.about-editorial-vision p { margin: 0; color: var(--brand-charcoal); font-size: 22px; font-weight: 400; line-height: 1.75; letter-spacing: -.4px; }
@media (max-width: 991.98px) {
  .about-editorial-hero { padding-top: 132px; }
  .about-editorial-intro, .about-editorial-section-head, .about-editorial-vision { gap: 30px; }
  .about-editorial-intro > p { font-size: 18px; }
  .about-editorial-services article { padding-inline: 20px; }
  .about-editorial-services h3 { font-size: 18px; }
  .about-editorial-vision { padding: 30px; }
  .about-editorial-vision p { font-size: 20px; }
}
@media (max-width: 767.98px) {
  .about-editorial { padding: 0 0 36px; }
  .about-editorial-hero { padding: 118px 0 48px; }
  .about-editorial-intro, .about-editorial-section-head, .about-editorial-vision { grid-template-columns: 1fr; gap: 24px; }
  .about-editorial-intro { padding-bottom: 32px; }
  .about-editorial h1 { letter-spacing: -3px; margin-top: 14px; }
  .about-editorial h2 { font-size: 30px; }
  .about-editorial-services { grid-template-columns: 1fr; }
  .about-editorial-services article, .about-editorial-services article:first-child, .about-editorial-services article:last-child { padding: 25px 0; }
  .about-editorial-services article + article { border-left: 0; border-top: 1px solid var(--about-rule); }
  .about-editorial-service-icon { margin-bottom: 15px; }
  .about-editorial-services h3 { font-size: 21px; }
  .about-editorial-vision { margin-top: 28px; padding: 27px 23px; }
}

:root {
  --primary: var(--brand-red);
  --primary-dark: var(--brand-red-hover);
  --primary-coral: var(--brand-red);
  --primary-coral-dark: var(--brand-red);
  --secondary: var(--brand-surface-muted);
  --surface-soft: var(--brand-tint);
  --accent: var(--brand-rose);
  --accent-mint: var(--brand-rose);
  --accent-soft: var(--brand-tint);
  --soft-pink: var(--brand-tint);
  --soft-yellow: var(--brand-tint);
  --ink: var(--brand-charcoal);
  --muted: var(--brand-muted);
  --border: var(--brand-border);
  --brand-deep: var(--brand-red-deep);

  --white: #ffffff;
  --shadow: 0 18px 45px rgba(var(--brand-charcoal-rgb), 0.09);
  --shadow-soft: 0 12px 30px rgba(var(--brand-charcoal-rgb), 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Noto Sans Bengali", sans-serif;
  color: var(--ink);
  background: var(--secondary);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-padding {
  padding: 80px 0;
}

.section-soft {
  background: var(--white);
}

.section-eyebrow {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-text {
  color: var(--muted);
  max-width: 680px;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.25s ease;
}

.navbar.navbar-scrolled {
  box-shadow: 0 10px 30px rgba(var(--brand-charcoal-rgb), 0.08);
  padding: 0.7rem 0;
}

.navbar-brand {
  font-weight: 900;
  color: var(--primary);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 10px;
  margin-right: 0.55rem;
}

.nav-link {
  font-weight: 700;
  color: var(--brand-charcoal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

@media (min-width: 992px) {
  .navbar .container {
    position: relative;
  }

  .navbar-collapse {
    position: static;
    display: flex !important;
    justify-content: flex-end;
  }

  .navbar-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content;
    margin-inline: 0 !important;
    justify-content: center;
    transform: translate(-50%, -50%);
  }

  .navbar-actions {
    margin-left: auto !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .container {
    gap: 0.75rem;
  }

  .navbar-collapse {
    min-width: 0;
    gap: 0.5rem;
  }

  .navbar-menu {
    position: static;
    width: auto;
    gap: 0.2rem !important;
    margin-left: auto !important;
    transform: none;
  }

  .navbar-actions {
    gap: 0.25rem !important;
  }
}

/* Readable microcopy across the public website. */
:is(
  .company-hero-masthead,
  .company-hero-service-top > span,
  .company-hero-banner-foot > span,
  .company-hero-banner-foot a,
  .about-editorial-number,
  .section-eyebrow,
  .testimonial-date,
  .office-kicker,
  .news-list-item span,
  .blog-modern-body > span,
  .core-panel-head span,
  .core-footer-card span,
  .core-footer-contact span,
  .sales-product-stats span,
  .detail-related-card span,
  .district-map-credit,
  .appointment-process b,
  .appointment-fieldset legend span
) {
  font-size: 0.8125rem;
  line-height: 1.55;
}

:is(
  .listing-badges span,
  .sales-post-card span,
  .sales-price-card > span,
  .content-hero-panel > span,
  .team-badge,
  .property-detail-badges span,
  .property-review-item small
) {
  font-size: 0.75rem;
  line-height: 1.45;
}

.content-proof-stack::before {
  font-size: 0.75rem;
  line-height: 1.45;
}

.company-hero-banner-foot > span,
.company-hero-banner-foot a {
  color: var(--white);
}

:is(
  .core-panel-head span,
  .core-footer-card span,
  .core-footer-contact span,
  .b2b-process-shell .section-eyebrow,
  .b2b-cta .section-eyebrow,
  .legal-cta .section-eyebrow
) {
  color: rgba(255, 255, 255, 0.9);
}

:is(
  .sales-post-card span,
  .content-hero-panel > span,
  .content-proof-stack::before,
  .team-badge
) {
  color: var(--white);
}

/* Shared review presentation for property and blog detail pages. */
.property-review-item {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 12px;
  padding: 18px;
  background: var(--brand-surface-muted);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
}

.property-review-item:first-of-type {
  padding-top: 18px;
}

.property-review-item:last-child {
  margin-bottom: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
}

.property-review-item > img,
.property-full-description .property-review-item > img,
.property-review-avatar {
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
}

.property-review-heading {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.property-review-heading strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.property-review-heading span {
  font-size: 0.78rem;
}

.property-review-item small {
  margin-top: 3px;
  font-size: 0.75rem;
  line-height: 1.5;
}

.property-review-item p {
  max-width: 860px;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 575.98px) {
  .property-review-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .property-review-item > img,
  .property-full-description .property-review-item > img,
  .property-review-avatar {
    width: 46px;
    height: 46px;
  }
}

.dropdown-menu {
  min-width: 285px;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.dropdown-item {
  border-radius: 10px;
  color: var(--brand-charcoal);
  font-weight: 700;
  padding: 0.68rem 0.85rem;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
}

.lang-toggle {
  position: relative;
  min-width: 112px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 0;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lang-toggle::before,
.lang-toggle::after {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 30px;
  content: "";
  background: var(--brand-border);
  transform: translateY(-50%);
}

.lang-toggle::before {
  left: 0;
}

.lang-toggle::after {
  right: 0;
}

.lang-flag {
  position: relative;
  width: 23px;
  height: 16px;
  display: inline-block;
  overflow: hidden;
  background: #006a4e;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 106, 78, 0.18);
}

.lang-flag::after {
  position: absolute;
  left: 44%;
  top: 50%;
  width: 9px;
  height: 9px;
  content: "";
  background: #f42a41;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.lang-toggle span {
  letter-spacing: 0.02em;
}

.lang-toggle i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 1.5px solid var(--brand-muted);
  border-bottom: 1.5px solid var(--brand-muted);
  transform: rotate(45deg) translateY(-2px);
}

.lang-toggle:hover {
  color: var(--primary);
  background: var(--white);
  box-shadow: none;
  transform: none;
}

.lang-toggle:hover .lang-flag {
  box-shadow: 0 0 0 2px rgba(148, 42, 64, 0.12);
}

.lang-toggle:focus-visible {
  outline: 3px solid rgba(var(--brand-red-rgb), 0.42);
  outline-offset: 3px;
}

.auth-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  padding: 0.45rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 900;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}

.auth-link i {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  font-size: 0;
}

.auth-link i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.auth-link i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 13px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  transform: translateX(-50%);
}

.auth-link:hover {
  color: var(--primary);
  transform: none;
}

.auth-link:focus-visible {
  outline: 3px solid rgba(var(--brand-red-rgb), 0.16);
  outline-offset: 4px;
  border-radius: 6px;
}

.btn {
  border-radius: 999px;
  padding: 0.82rem 1.45rem;
  font-weight: 800;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
}

.btn-accent {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-accent:hover {
  color: var(--white);
  background: var(--brand-rose-hover);
  border-color: var(--brand-rose-hover);
}

.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  padding: 165px 0 72px;
  background: var(--brand-charcoal);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-charcoal) 100%);
  z-index: 0;
}

.hero::after {
  background: linear-gradient(180deg, rgba(var(--brand-charcoal-rgb), 0.78) 0%, rgba(var(--brand-charcoal-rgb), 0.66) 52%, rgba(var(--brand-charcoal-rgb), 0.76) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 18s ease-out both;
  transform: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hero .container .btn,
.hero .container a,
.district-map-panel {
  pointer-events: auto;
}

.hero-map .leaflet-tooltip {
  background: rgba(var(--brand-charcoal-rgb), 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-map .leaflet-tooltip::before {
  border-top-color: rgba(var(--brand-charcoal-rgb), 0.92);
}

.hero-map .property-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-rose);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--brand-rose-rgb), 0.35);
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.12);
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.45rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.hero .my-4 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero .section-eyebrow {
  color: var(--accent);
}

.hero .btn-outline-primary {
  --bs-btn-color: var(--white);
  --bs-btn-border-color: rgba(255, 255, 255, 0.72);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
}

.hero-media {
  position: relative;
}

.hero-media img,
.image-rounded {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.auth-body {
  min-height: 100vh;
  background: var(--brand-tint);
}

.auth-page {
  min-height: 100vh;
}

.auth-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 76px;
  background:
    linear-gradient(135deg, rgba(var(--brand-red-rgb), 0.08), rgba(var(--brand-rose-rgb), 0.08)),
    var(--brand-tint);
}

.auth-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(var(--brand-red-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-red-rgb), 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg, black, transparent 72%);
  pointer-events: none;
}

.auth-shell .container {
  position: relative;
  z-index: 1;
}

.auth-copy {
  max-width: 640px;
  padding: 2rem 0;
}

.auth-copy h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-copy p:not(.section-eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.auth-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.auth-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(var(--brand-charcoal-rgb), 0.06);
}

.auth-highlights i {
  color: var(--primary);
}

.auth-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 236, 234, 0.92);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.auth-card-head {
  margin-bottom: 1.5rem;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-weight: 900;
}

.auth-brand .brand-mark {
  margin-right: 0;
}

.auth-card h2 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.auth-card p {
  color: var(--muted);
}

.auth-alert {
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-form .form-label {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.auth-input-group {
  position: relative;
}

.auth-input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  z-index: 2;
  color: var(--muted);
  transform: translateY(-50%);
}

.auth-input-group .form-control {
  min-height: 52px;
  padding-left: 2.75rem;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 700;
  box-shadow: none;
}

.auth-input-group .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.22rem rgba(var(--brand-red-rgb), 0.12);
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.auth-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.auth-muted-link,
.auth-switch a {
  color: var(--primary);
  font-weight: 900;
}

.auth-muted-link:hover,
.auth-switch a:hover {
  color: var(--primary-dark);
}

.auth-switch {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.auth-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auth-role-option {
  cursor: pointer;
}

.auth-role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-role-option span {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 900;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-role-option input:checked + span {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border-color: rgba(var(--brand-red-rgb), 0.42);
  box-shadow: 0 10px 24px rgba(var(--brand-charcoal-rgb), 0.07);
}

.auth-role-option input:focus-visible + span {
  outline: 3px solid rgba(var(--brand-red-rgb), 0.18);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .auth-shell {
    padding-top: 96px;
  }

  .auth-copy {
    padding-bottom: 0;
    text-align: center;
  }

  .auth-copy p:not(.section-eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .auth-highlights {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .auth-role-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    border-radius: 18px;
  }
}

.floating-card {
  position: absolute;
  left: -24px;
  bottom: 28px;
  max-width: 235px;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}


.trust-strip {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-marquee {
  position: relative;
  overflow: hidden;
}

.trust-marquee::before,
.trust-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 74px;
  height: 100%;
  pointer-events: none;
}

.trust-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), transparent);
}

.trust-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), transparent);
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: trustMarquee 28s linear infinite;
}

.trust-marquee:hover .trust-marquee-track {
  animation-play-state: paused;
}

.trust-logo {
  min-width: 210px;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--brand-muted);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 18px;
  font-weight: 900;
  text-align: center;
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.market-card {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 1.25rem;
  color: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(rgba(var(--brand-charcoal-rgb), 0.1), rgba(var(--brand-charcoal-rgb), 0.82)), var(--market-image) center/cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.market-card span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card,
.service-card,
.team-card,
.timeline-item,
.contact-panel,
.testimonial-card,
.value-card {
  height: 100%;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-modern {
  background: var(--white);
}

.why-modern-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.why-modern-shell:before {
  display: none;
}

.why-image-panel {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.why-image-panel img {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: cover;
}

.why-floating-stat {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  color: var(--white);
  background: rgba(var(--brand-charcoal-rgb), 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.why-floating-stat strong {
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
}

.why-floating-stat span {
  font-size: 0.88rem;
}

.why-modern-card {
  position: relative;
  height: 100%;
  min-height: 220px;
  padding: 1.6rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(var(--brand-red-rgb), 0.13);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(var(--brand-charcoal-rgb), 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-modern-card:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.why-modern-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--brand-red-rgb), 0.34);
  box-shadow: var(--shadow);
}

.why-modern-card:hover:after {
  transform: scaleY(1);
}

.why-number {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  color: rgba(var(--brand-red-rgb), 0.1);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.why-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.25);
  border-radius: 16px;
  font-size: 1.45rem;
}

.why-modern-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
  font-weight: 600;
}

.why-modern-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.core-start-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(var(--brand-red-rgb), 0.1), rgba(var(--brand-red-rgb), 0.05) 45%, rgba(255, 255, 255, 0.96)),
    var(--white);
}

.core-start-card .icon-box {
  margin-bottom: 0.25rem;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.core-start-card h2,
.core-start-card .card-text {
  margin-bottom: 0;
}

.core-start-card h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}

.core-start-card .card-text {
  font-size: 0.95rem;
  line-height: 1.65;
}

.core-start-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.core-start-checks div {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.68rem 0.72rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(var(--brand-red-rgb), 0.1);
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.35;
  font-weight: 800;
}

.core-start-checks div:first-child {
  grid-column: 1 / -1;
}

.core-start-checks i {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.85rem;
}

.core-start-output {
  margin-top: auto;
  padding: 0.75rem 0.85rem;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: 14px;
}

.core-start-output span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.core-start-output strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
}

.core-start-card .btn {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.service-image-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-image-card > img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-image-card:hover > img {
  transform: scale(1.05);
}

.service-image-body {
  position: relative;
  padding: 2.2rem 2rem 2rem;
}

.service-image-body .icon-box {
  position: absolute;
  top: -32px;
  margin-bottom: 0;
  color: var(--primary);
  background: var(--brand-surface-muted);
  border: 5px solid var(--white);
  box-shadow: 0 12px 24px rgba(var(--brand-charcoal-rgb), 0.1);
}

.service-image-body h3 {
  margin-top: 0.75rem;
}

.service-listing-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(var(--brand-charcoal-rgb), 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-listing-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(var(--brand-charcoal-rgb), 0.13);
}

.published-property-card .listing-title {
  min-height: 3rem;
}

.published-property-card .listing-location {
  min-height: 1.5rem;
}

.property-public-empty {
  padding: 4rem 1.5rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.property-public-empty i {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 2.5rem;
}

.service-listing-media {
  position: relative;
  height: 178px;
  overflow: hidden;
  background: var(--secondary);
}

.service-listing-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-listing-card:hover .service-listing-media img {
  transform: scale(1.05);
}

.listing-star,
.listing-check,
.listing-count,
.listing-icon {
  position: absolute;
  z-index: 2;
}

.listing-star {
  left: 16px;
  top: 12px;
  color: var(--accent);
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.listing-check {
  right: 16px;
  top: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #1fbf75;
  border-radius: 50%;
  font-size: 0.85rem;
}

.listing-count {
  left: 14px;
  bottom: 14px;
  padding: 0.35rem 0.48rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
}

.listing-icon {
  right: 54px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.listing-icon-right {
  right: 14px;
}

.listing-icon:hover {
  background: var(--primary);
}

.service-listing-body {
  padding: 1rem;
}

.listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.listing-badges span {
  padding: 0.32rem 0.5rem;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border: 1px solid rgba(var(--brand-red-rgb), 0.35);
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
}

.listing-badges span:first-child {
  color: #111;
  background: var(--accent);
  border-color: var(--accent);
}

.service-listing-body h3 {
  margin-bottom: 0.85rem;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 900;
}

.listing-title {
  display: -webkit-box;
  min-height: 52px;
  margin-bottom: 0.35rem;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.listing-location {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}

.listing-meta i {
  color: var(--primary);
}

.listing-btn {
  width: 100%;
  min-height: 40px;
  display: grid;
  place-items: center;
  color: #111;
  background: var(--white);
  border: 1px solid var(--brand-border);
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.listing-btn:hover {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.hover-scale:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-red-rgb), 0.25);
}

.icon-box {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.1);
  border-radius: 16px;
  font-size: 1.7rem;
  margin-bottom: 1.35rem;
}

.accent-icon {
  color: var(--ink);
  background: rgba(var(--brand-red-rgb), 0.22);
}

.card-text,
.muted {
  color: var(--muted);
}

.process-step {
  position: relative;
  padding: 2rem 1.25rem;
  text-align: center;
}

.process-number {
  width: 66px;
  height: 66px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(var(--brand-red-rgb), 0.2);
}

.process-arrow {
  position: absolute;
  right: -16px;
  top: 43%;
  color: var(--accent);
  font-size: 2rem;
}

.stats-showcase {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.stats-showcase-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.stats-showcase-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.stat-item {
  position: relative;
  height: 100%;
  padding: 1.65rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
  background: var(--white);
}

.stat-item::before {
  content: "";
  width: 42px;
  height: 4px;
  display: block;
  margin-bottom: 1rem;
  background: var(--accent);
  border-radius: 999px;
}

.stat-number {
  color: var(--primary);
  font-size: clamp(2.25rem, 5vw, 3.9rem);
  font-weight: 900;
  line-height: 1;
}

.stat-item p {
  color: var(--muted);
}

.testimonial-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(var(--brand-red-deep-rgb), 0.92), rgba(var(--brand-red-deep-rgb), 0.68)),
    url("../images/remote/photo-1600585154340-be6161a56a0c.jpg") center/cover fixed;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background:
    radial-gradient(circle at 18% 25%, rgba(var(--brand-red-rgb), 0.28), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(var(--brand-red-rgb), 0.42), transparent 34%);
}

.testimonial-section .container {
  position: relative;
  z-index: 1;
}

.testimonial-heading .section-eyebrow {
  color: var(--accent);
}

.testimonial-heading .section-title {
  color: var(--white);
}

.testimonial-section .testimonial-card {
  position: relative;
  max-width: 860px !important;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.testimonial-section .testimonial-card::before {
  content: "\F6B0";
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-family: "bootstrap-icons";
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
}

.testimonial-section .testimonial-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
}

.testimonial-section .testimonial-card h3 {
  color: var(--white);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.testimonial-author img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.testimonial-section .testimonial-card .muted {
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-date {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}

.testimonial-date i {
  margin-right: 4px;
  color: var(--accent);
}

.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  top: auto;
  bottom: -56px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 1;
}

.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.testimonial-section .carousel-control-prev:hover,
.testimonial-section .carousel-control-next:hover {
  background: var(--accent);
}

.carousel-control-prev {
  left: calc(50% - 52px);
}

.carousel-control-next {
  right: calc(50% - 52px);
}

.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.07);
}

.faq-creative-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background: var(--white);
}

.faq-creative-section::before {
  display: none;
}

.faq-story-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(var(--brand-red-deep-rgb), 0.04), rgba(var(--brand-red-deep-rgb), 0.36) 310px, var(--brand-red-deep) 310px),
    url("../images/faq-child.jpg") center 62% / cover no-repeat,
    var(--brand-red-deep);
  box-shadow: 0 28px 70px rgba(var(--brand-red-deep-rgb), 0.18);
}

.faq-story-card img {
  position: relative;
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center 62%;
}

.faq-story-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 310px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(var(--brand-red-deep-rgb), 0.02), rgba(var(--brand-red-deep-rgb), 0.36));
}

.faq-story-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--white);
  background: linear-gradient(135deg, rgba(var(--brand-red-deep-rgb), 0.98), rgba(var(--brand-red-rgb), 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-story-content .section-eyebrow {
  color: var(--accent);
}

.faq-story-content .section-title,
.faq-story-content .section-text {
  color: var(--white);
}

.faq-story-content .section-title {
  margin-bottom: 0.85rem;
}

.faq-story-content .section-text {
  opacity: 0.86;
}

.faq-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.35rem;
}

.faq-mini-stats span {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 800;
}

.faq-mini-stats strong {
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-creative-accordion {
  position: relative;
  display: grid;
  height: 100%;
  gap: 0.95rem;
  align-content: center;
}

.faq-creative-accordion::before {
  content: "";
  position: absolute;
  inset: -22px -18px auto auto;
  width: 90px;
  height: 90px;
  background: var(--accent);
  border-radius: 8px;
  opacity: 0.24;
  transform: rotate(8deg);
}

.faq-creative-accordion .accordion-item {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(var(--brand-red-deep-rgb), 0.08);
}

.faq-creative-accordion .accordion-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--primary);
}

.faq-creative-accordion .accordion-button {
  gap: 0.8rem;
  padding: 1.05rem 1.35rem 1.05rem 1.6rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.faq-creative-accordion .accordion-button::before {
  content: "?";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-rose-rgb), 0.22);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
}

.faq-creative-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: linear-gradient(90deg, rgba(var(--brand-red-rgb), 0.08), rgba(var(--brand-rose-rgb), 0.08));
}

.faq-creative-accordion .accordion-body {
  padding: 0 1.6rem 1.35rem 4.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 991.98px) {
  .faq-creative-section {
    padding: 56px 0;
  }

  .faq-story-card img,
  .faq-story-card::before {
    height: 280px;
  }

  .faq-creative-accordion::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .faq-creative-section {
    padding: 44px 0;
  }

  .faq-story-card img,
  .faq-story-card::before {
    height: 230px;
  }

  .faq-story-content {
    padding: 1rem;
  }

  .faq-mini-stats {
    grid-template-columns: 1fr;
  }

  .faq-creative-accordion .accordion-button {
    align-items: flex-start;
    padding: 1rem 1rem 1rem 1.15rem;
    font-size: 0.95rem;
  }

  .faq-creative-accordion .accordion-body {
    padding: 0 1rem 1.15rem 4.25rem;
    font-size: 0.94rem;
  }
}

.office-list-wrap {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.faq-creative-section .office-list-wrap {
  margin-top: 2rem !important;
}

@media (max-width: 575.98px) {
  .faq-creative-section .office-list-wrap {
    margin-top: 1.5rem !important;
  }
}

.office-list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.office-kicker {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.office-list-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}

.office-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
}

.office-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-red-deep-rgb), 0.04), rgba(var(--brand-red-deep-rgb), 0.72));
}

.office-visual-badge {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.office-visual-badge span {
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.office-visual-badge p {
  margin: 0;
  font-weight: 800;
}

.office-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.office-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-red-rgb), 0.28);
  box-shadow: var(--shadow);
}

.office-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.office-card h4 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.office-card p {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.office-card p i {
  flex: 0 0 auto;
  color: var(--primary);
  margin-top: 0.15rem;
}

.office-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 900;
}

.news-blog-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.news-blog-section .container {
  position: relative;
  z-index: 1;
}

.news-list-column {
  height: 100%;
  display: grid;
  gap: 0;
}

.news-list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0 0 1.55rem;
  margin-bottom: 1.55rem;
  border-bottom: 1px solid rgba(var(--brand-red-rgb), 0.14);
}

.news-list-item:last-child {
  margin-bottom: 0;
}

.news-list-item img {
  width: 120px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-list-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.news-list-item span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.news-list-item h3 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
  line-height: 1.45;
}

.news-list-item h3 a {
  color: var(--ink);
}

.news-list-item h3 a:hover {
  color: var(--primary);
}

.video-list-column {
  padding-left: 1rem;
  border-left: 1px solid rgba(var(--brand-red-rgb), 0.12);
}

.video-list-item {
  grid-template-columns: 120px 1fr;
}

.video-thumb {
  position: relative;
  width: 120px;
  height: 88px;
  overflow: hidden;
  border-radius: 6px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
}

.video-thumb i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
  font-size: 2rem;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--brand-red-rgb), 0.96), rgba(var(--brand-red-hover-rgb), 0.96)),
    url("../images/remote/photo-1560518883-ce09059eeffa.jpg") center/cover;
  border-radius: 30px;
  padding: 4.5rem 2rem;
}

.page-header {
  padding: 150px 0 82px;
  background: var(--white);
}

.about-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), 0.9), rgba(var(--brand-red-deep-rgb), 0.66), rgba(var(--brand-red-deep-rgb), 0.28)),
    url("../images/remote/photo-1556761175-b413da4baf72.jpg") center/cover;
}

.about-hero .section-eyebrow {
  color: var(--accent);
}

.about-hero .section-text,
.about-hero h1 {
  color: var(--white);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 110px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.9), rgba(var(--brand-charcoal-rgb), 0.62)),
    url("../images/remote/photo-1497366754035-f200968a6e72.jpg") center/cover;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(var(--brand-red-rgb), 0.22), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(var(--brand-charcoal-rgb), 0.35) 100%);
  pointer-events: none;
}

.blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 1.4rem;
}

.blog-hero .section-eyebrow {
  color: var(--accent);
}

.blog-hero .section-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.blog-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.blog-hero-tags span {
  padding: 0.55rem 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.blog-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 1.55rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.blog-hero-panel::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  background: rgba(var(--brand-red-rgb), 0.2);
  border-radius: 50%;
}

.blog-hero-panel span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 16px;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.blog-hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.55rem;
}

.blog-hero-panel p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.blog-feature-section {
  background: var(--white);
}

.blog-feature-card {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.12);
}

.blog-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-charcoal-rgb), 0.04), rgba(var(--brand-charcoal-rgb), 0.82));
}

.blog-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.65s ease;
}

.blog-feature-card:hover img {
  transform: scale(1.09);
}

.blog-feature-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  color: var(--white);
}

.blog-feature-content h2 {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 1rem 0;
}

.blog-feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.06rem;
  margin-bottom: 1.5rem;
}

.blog-insight-panel {
  height: 100%;
  padding: clamp(1.35rem, 4vw, 2rem);
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.82), var(--white)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.14), transparent 40%);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.blog-insight-panel h2 {
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.blog-mini-list {
  display: grid;
  gap: 1rem;
}

.blog-mini-list a {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-mini-list a:hover {
  transform: translateX(8px);
  border-color: rgba(var(--brand-red-rgb), 0.25);
  box-shadow: var(--shadow-soft);
}

.blog-mini-list img {
  width: 96px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
}

.blog-mini-list span {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.blog-mini-list small {
  display: block;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.blog-grid-section {
  background: var(--white);
}

.blog-modern-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(var(--brand-charcoal-rgb), 0.07);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.blog-modern-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--brand-red-rgb), 0.3);
  box-shadow: 0 30px 65px rgba(var(--brand-charcoal-rgb), 0.13);
}

.blog-modern-img {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-modern-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(var(--brand-charcoal-rgb), 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-modern-card:hover .blog-modern-img::after {
  opacity: 1;
}

.blog-modern-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.blog-modern-card:hover .blog-modern-img img {
  transform: scale(1.08);
}

.blog-modern-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.blog-modern-body > span {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.blog-modern-body h3 {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-modern-body p {
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.blog-modern-body > a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
}

.blog-modern-body > a i {
  transition: transform 0.25s ease;
}

.blog-modern-body > a:hover i {
  transform: translateX(5px);
}

.blog-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 150px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.92), rgba(var(--brand-charcoal-rgb), 0.72)),
    url("../images/remote/photo-1560518883-ce09059eeffa.jpg") center/cover;
}

.blog-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(var(--brand-red-rgb), 0.2), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(var(--brand-charcoal-rgb), 0.42) 100%);
}

.blog-detail-hero .container {
  position: relative;
  z-index: 1;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.blog-back-link:hover {
  color: var(--accent);
}

.blog-detail-hero h1 {
  max-width: 960px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.blog-detail-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.blog-author-line {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.blog-author-line img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.blog-author-line span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.blog-author-line strong {
  display: block;
  color: var(--white);
  font-weight: 900;
}

.blog-detail-cover {
  position: relative;
  z-index: 2;
  margin-top: -92px;
}

.blog-detail-cover img {
  width: 100%;
  height: min(58vw, 540px);
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(var(--brand-charcoal-rgb), 0.16);
}

.blog-detail-page {
  background: var(--white);
}

.blog-article {
  width: 100%;
  max-width: none;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: anywhere;
}

/* Remove fixed colors and narrow widths copied from external editors. */
.blog-article div,
.blog-article section,
.blog-article article,
.blog-article header,
.blog-article main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

.blog-article p,
.blog-article span,
.blog-article li,
.blog-article strong,
.blog-article em,
.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5,
.blog-article h6 {
  max-width: 100% !important;
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.blog-article img,
.blog-article video {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 16px;
}

.blog-article iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(220px, 50vw, 620px) !important;
  border: 0;
  border-radius: 16px;
}

.blog-article pre {
  max-width: 100%;
  overflow-x: hidden;
  padding: 1rem;
  color: var(--ink) !important;
  background: var(--secondary) !important;
  border-radius: 14px;
  white-space: pre-wrap !important;
}

.blog-article table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
}

.blog-article .lead {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.75;
}

.blog-article h2 {
  margin: 2.35rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
}

.blog-article p,
.blog-article li {
  color: var(--muted);
  font-size: 1.06rem;
}

.blog-article ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
  padding-left: 1.25rem;
}

.blog-article blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.7rem 1.8rem 1.7rem 5rem;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(var(--brand-red-rgb), 0.08), rgba(var(--brand-red-rgb), 0.12));
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 22px;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.65;
}

.blog-article blockquote::before {
  content: "\F6B0";
  position: absolute;
  left: 1.4rem;
  top: 1.35rem;
  font-family: "bootstrap-icons";
  color: var(--accent);
  font-size: 2.2rem;
}

.blog-note-box {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.35rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.blog-note-box > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 16px;
  font-size: 1.6rem;
}

.blog-note-box h3 {
  margin-bottom: 0.35rem;
  font-weight: 900;
}

.blog-note-box p {
  margin: 0;
}

.blog-detail-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.45rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.sidebar-card h3 {
  font-weight: 900;
  margin-bottom: 1rem;
}

.sidebar-card a:not(.btn) {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0;
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid var(--border);
}

.sidebar-card a:not(.btn):last-child {
  border-bottom: 0;
}

.sidebar-card i {
  color: var(--primary);
}

.sidebar-cta {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.96)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.22), transparent 42%);
  border-color: rgba(255, 255, 255, 0.12);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.b2b-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 82px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), 0.9), rgba(var(--brand-red-deep-rgb), 0.66), rgba(var(--brand-red-deep-rgb), 0.28)),
    url("../images/remote/photo-1556761175-b413da4baf72.jpg") center/cover;
}

.b2b-hero::before {
  display: none;
}

.b2b-hero .container {
  position: relative;
  z-index: 1;
}

.b2b-hero h1 {
  max-width: 940px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: 1.35rem;
}

.b2b-hero .section-eyebrow {
  color: var(--accent);
}

.b2b-hero .section-text {
  color: var(--white);
  font-size: 1.08rem;
}

.b2b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.content-marketing-hero {
  background:
    linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), 0.94), rgba(var(--brand-red-hover-rgb), 0.76), rgba(var(--brand-red-deep-rgb), 0.35)),
    url("../images/remote/photo-1552664730-d307ca884978.jpg") center/cover;
}

.content-marketing-hero .container {
  max-width: 980px;
}

.content-marketing-hero .section-text {
  margin-left: auto;
  margin-right: auto;
}

.core-sales-hero {
  background:
    linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), 0.92), rgba(var(--brand-red-hover-rgb), 0.7), rgba(var(--brand-red-deep-rgb), 0.34)),
    url("../images/remote/photo-1554224155-6726b3ff858f.jpg") center/cover;
}

.core-sales-hero .container {
  max-width: 980px;
}

.core-sales-hero .section-text {
  margin-left: auto;
  margin-right: auto;
}

.core-sales-page .core-topbar {
  box-sizing: border-box;
  top: 18px;
  left: 0;
  right: 0;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(var(--brand-charcoal-rgb), 0.14);
  backdrop-filter: blur(18px);
}

.core-sales-page .core-topbar.navbar-scrolled {
  top: 10px;
  padding: 0.6rem 1rem;
  box-shadow: 0 18px 42px rgba(var(--brand-charcoal-rgb), 0.18);
}

.core-sales-page .core-topbar .brand-mark {
  background: linear-gradient(135deg, var(--brand-charcoal), var(--brand-red));
  border-radius: 8px;
}

.core-sales-page .core-topbar .nav-link {
  color: var(--brand-charcoal);
}

.core-sales-page .core-topbar .nav-link:hover,
.core-sales-page .core-topbar .nav-link.active {
  color: var(--brand-red);
}

.core-sales-page {
  overflow-x: hidden;
}

.core-command-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 165px 0 95px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(var(--brand-charcoal-rgb), 0.98) 0%, rgba(var(--brand-charcoal-rgb), 0.88) 47%, rgba(var(--brand-rose-rgb), 0.76) 100%),
    url("../images/remote/photo-1552664730-d307ca884978.jpg") center/cover;
}

.core-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
}

.core-command-hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -16vw;
  z-index: -1;
  width: 44vw;
  min-width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.core-command-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3.1rem, 6.5vw, 6.4rem);
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 1.45rem;
}

.core-command-hero .section-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.85;
}

.core-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  padding: 0.5rem 0.8rem;
  color: var(--brand-charcoal);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.core-hero-kicker i {
  font-size: 1.05rem;
}

.core-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.core-command-panel {
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  color: var(--white);
  background: rgba(var(--brand-charcoal-rgb), 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.core-command-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.core-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.core-panel-head span,
.core-footer-card span,
.core-footer-contact span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.core-panel-head strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.core-pipeline-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.core-pipeline-row span,
.core-pipeline-row small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.core-pipeline-row b {
  color: var(--white);
  font-size: 1.35rem;
}

.core-pipeline-row small {
  min-width: 52px;
  padding: 0.2rem 0.45rem;
  color: var(--brand-charcoal);
  background: rgba(var(--brand-red-rgb), 0.95);
  border-radius: 8px;
  text-align: center;
}

.core-pipeline-row.hot {
  background: rgba(var(--brand-red-rgb), 0.32);
  border-color: rgba(255, 255, 255, 0.2);
}

.core-panel-chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 0.75rem;
  margin: 1.45rem 0 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.core-panel-chart span {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, var(--brand-rose), var(--brand-rose));
  border-radius: 8px 8px 2px 2px;
}

.core-panel-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.55;
}

.core-panel-note i {
  color: var(--accent);
}

.core-footer {
  padding: 82px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, var(--brand-charcoal) 0%, var(--brand-charcoal) 52%, var(--brand-charcoal) 100%);
}

.core-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(180px, 1fr));
  gap: 1rem;
  padding-bottom: 2.5rem;
}

.core-footer-brand,
.core-footer-card,
.core-footer-contact {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.core-footer-brand .navbar-brand,
.core-footer h2 {
  color: var(--white);
}

.core-footer h2 {
  max-width: 440px;
  margin-bottom: 0.9rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.08;
}

.core-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.core-footer a:hover {
  color: var(--accent);
}

.core-footer-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.core-footer-card a {
  font-weight: 800;
}

.core-footer-contact p {
  display: flex;
  gap: 0.55rem;
  margin: 0.8rem 0;
}

.core-footer-contact i {
  color: var(--accent);
}

.core-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.core-footer-bottom div {
  display: flex;
  gap: 0.6rem;
}

.core-footer-bottom a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.sales-product-page {
  background: var(--brand-tint);
}

.sales-product-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 96px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(var(--brand-charcoal-rgb), 0.97), rgba(var(--brand-charcoal-rgb), 0.9) 52%, rgba(var(--brand-rose-rgb), 0.8)),
    url("../images/remote/photo-1560518883-ce09059eeffa.jpg") center/cover;
}

.sales-product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.38;
  pointer-events: none;
}

.sales-product-hero .container {
  position: relative;
  z-index: 1;
}

.sales-product-hero .section-eyebrow {
  color: var(--accent);
}

.sales-product-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 900;
  line-height: 1.03;
  margin-bottom: 1.4rem;
}

.sales-product-hero .section-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.85;
}

.sales-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.sales-product-preview {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32);
}

.sales-product-preview img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.sales-product-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgba(var(--brand-charcoal-rgb), 0.9) 100%);
}

.sales-post-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 1.25rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.sales-post-card span,
.sales-price-card > span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.65rem;
  color: var(--brand-charcoal);
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
}

.sales-post-card h2 {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sales-post-card p {
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.sales-post-card strong {
  display: block;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.sales-product-band {
  padding-top: 0;
}

.sales-product-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -44px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(var(--brand-charcoal-rgb), 0.13);
}

.sales-product-stats div {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}

.sales-product-stats div:last-child {
  border-right: 0;
}

.sales-product-stats strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.sales-product-stats span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.sales-feature-card,
.sales-price-card {
  height: 100%;
  padding: 1.55rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(var(--brand-charcoal-rgb), 0.08);
}

.sales-feature-card i {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--brand-charcoal));
  border-radius: 8px;
  font-size: 1.35rem;
}

.sales-feature-card h3,
.sales-price-card h3,
.sales-process-grid h3 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

.sales-feature-card p,
.sales-price-card p,
.sales-price-card li,
.sales-process-grid p {
  color: var(--muted);
}

.sales-price-card {
  display: flex;
  flex-direction: column;
}

.sales-price-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--brand-charcoal), var(--brand-red));
  transform: translateY(-14px);
}

.sales-price-card.featured h3,
.sales-price-card.featured p,
.sales-price-card.featured li {
  color: var(--white);
}

.sales-price-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.sales-price-card li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 700;
}

.sales-price-card li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--primary);
  font-family: "bootstrap-icons";
}

.sales-price-card.featured li::before {
  color: var(--accent);
}

.sales-price-card .btn {
  margin-top: auto;
}

.sales-process-shell,
.sales-product-cta {
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(var(--brand-charcoal-rgb), 0.1);
}

.sales-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sales-process-grid div {
  min-height: 190px;
  padding: 1.25rem;
  background: var(--brand-tint);
  border: 1px solid rgba(var(--brand-red-rgb), 0.1);
  border-radius: 8px;
}

.sales-process-grid span {
  display: inline-flex;
  margin-bottom: 1.6rem;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.sales-product-cta {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--brand-charcoal-rgb), 0.96), rgba(var(--brand-red-rgb), 0.92)),
    url("../images/remote/photo-1556761175-4b46a572b786.jpg") center/cover;
  text-align: center;
}

.sales-product-cta .section-eyebrow {
  color: var(--accent);
}

.sales-product-cta h2 {
  max-width: 820px;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
}

.sales-product-cta p {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.82);
}

.services-product-page {
  background: var(--brand-surface-muted);
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), 0.9), rgba(var(--brand-red-deep-rgb), 0.66), rgba(var(--brand-red-deep-rgb), 0.28)),
    url("../images/remote/photo-1497366754035-f200968a6e72.jpg") center/cover;
}

.services-hero .container {
  max-width: 980px;
}

.services-hero .section-text {
  margin-left: auto;
  margin-right: auto;
}

.services-product-section {
  padding-top: 96px;
}

.services-product-section.sale-post-listings {
  padding-bottom: 32px;
}

.services-product-heading {
  position: relative;
  isolation: isolate;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.45rem, 3vw, 2.25rem) clamp(1.15rem, 4vw, 3rem) clamp(1.8rem, 3vw, 2.45rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(var(--brand-red-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--brand-red-rgb), 0.05) 1px, transparent 1px),
    var(--white);
  background-size: auto, 28px 28px, 28px 28px, auto;
  border: 1px solid rgba(var(--brand-red-rgb), 0.14);
  border-radius: 8px;
  box-shadow: none;
}

.services-product-heading::before,
.services-product-heading::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.services-product-heading::before {
  left: 1.25rem;
  right: 1.25rem;
  top: -8px;
  z-index: 1;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 18px, var(--accent) 18px 30px, var(--ink) 30px 48px);
  border-radius: 999px 999px 0 0;
  opacity: 1;
}

.services-product-heading::after {
  display: none;
}

.services-product-section .section-title {
  color: var(--ink);
  font-size: clamp(2.15rem, 3.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  text-transform: none;
}

.services-product-heading .section-title {
  display: block;
  margin-bottom: 1rem;
}

.services-product-heading .title-highlight {
  display: inline;
  width: auto;
  padding: 0;
  color: inherit;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.services-product-section .section-text {
  max-width: 850px;
  font-size: 1rem;
  line-height: 1.9;
}

.services-product-page .service-listing-card {
  min-height: 468px;
}

.services-product-page .service-listing-body {
  display: flex;
  min-height: 290px;
  flex-direction: column;
}

.services-product-page .listing-btn {
  margin-top: auto;
}

.content-hero-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.content-hero-panel > span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.content-hero-panel h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.4rem;
}

.content-hero-list {
  display: grid;
  gap: 0.8rem;
}

.content-hero-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
}

.content-hero-list i {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--white);
  border-radius: 8px;
  font-size: 1.25rem;
}

.content-hero-list strong,
.content-hero-list small {
  display: block;
}

.content-hero-list small {
  color: rgba(255, 255, 255, 0.72);
}

.content-marketing-strip {
  margin-top: -28px;
}

.content-metric {
  height: 100%;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.content-metric strong,
.content-metric span {
  display: block;
}

.content-metric strong {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.content-metric span {
  margin-top: 0.5rem;
  color: var(--muted);
  font-weight: 800;
}

.content-marketing-page {
  overflow-x: hidden;
}

.content-marketing-page h1,
.content-marketing-page h2,
.content-marketing-page h3,
.content-marketing-page p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Content marketing page: distinct studio-style body sections */
.content-studio-section,
.content-package-section,
.content-brief-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(var(--brand-red-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--brand-red-rgb), 0.035) 1px, transparent 1px),
    var(--brand-surface-muted);
  background-size: 42px 42px;
}

.content-section-head {
  position: relative;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.2rem clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 8px;
}

.content-section-head::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  top: -8px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 18px, var(--accent) 18px 30px, var(--brand-charcoal) 30px 42px);
  border-radius: 8px 8px 0 0;
}

.content-studio-card {
  min-height: 285px;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-charcoal-rgb), 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(var(--brand-charcoal-rgb), 0.07);
}

.content-studio-card::before {
  content: "01";
  top: auto;
  right: 1rem;
  bottom: 1rem;
  z-index: 0;
  color: rgba(var(--brand-charcoal-rgb), 0.05);
  font-size: 4rem;
}

.content-studio-card::after {
  left: 0;
  right: auto;
  top: 0;
  bottom: auto;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--brand-charcoal));
  border-radius: 8px 8px 0 0;
}

.content-studio-card i {
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--brand-charcoal);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(var(--brand-red-rgb), 0.24);
}

.content-studio-card:hover i {
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-3px);
}

.content-signal-strip {
  position: relative;
  z-index: 2;
  margin-top: -18px;
}

.content-signal-strip .content-metric {
  position: relative;
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--brand-charcoal), var(--brand-red) 62%, var(--brand-red-hover));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(var(--brand-charcoal-rgb), 0.16);
}

.content-signal-strip .content-metric::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  pointer-events: none;
}

.content-signal-strip .content-metric strong {
  color: var(--accent);
  min-width: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  overflow-wrap: anywhere;
}

.content-signal-strip .content-metric span {
  max-width: 150px;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .content-signal-strip .content-metric {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
  }

  .content-signal-strip .content-metric span {
    max-width: 100%;
    margin-top: 0;
    text-align: left;
  }
}

.content-workflow-section {
  background: linear-gradient(180deg, var(--brand-surface-muted), var(--brand-surface-muted));
}

.content-workflow-shell {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--brand-charcoal-rgb), 0.97), rgba(var(--brand-red-hover-rgb), 0.95)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 16px);
  border: 0;
  border-radius: 8px;
}

.content-workflow-shell::before {
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.content-workflow-shell .section-eyebrow {
  color: var(--accent);
}

.content-workflow-shell .section-title,
.content-workflow-shell .section-text {
  color: var(--white);
}

.content-workflow-grid {
  gap: 0.85rem;
}

.content-workflow-grid div {
  --b2b-float-base: 0rem;
  min-height: 0;
  padding: 1rem 1rem 1rem 4.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  animation: none;
}

.content-workflow-grid div:nth-child(even),
.content-workflow-grid div:nth-child(even):hover {
  transform: none;
}

.content-workflow-grid span {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.95rem;
}

.content-workflow-grid h3,
.content-workflow-grid p {
  color: var(--white);
}

.content-workflow-grid p {
  opacity: 0.76;
}

.content-proof-section {
  background: #ffffff;
}

.content-proof-stack {
  min-height: 560px;
}

.content-proof-stack::before {
  content: "CONTENT / COPY / CAMPAIGN";
  position: absolute;
  left: 8%;
  top: 22px;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.content-proof-stack .main {
  width: 80%;
  height: 440px;
  border-radius: 8px;
  filter: saturate(0.92) contrast(1.05);
}

.content-proof-stack .small {
  border-radius: 8px;
  border: 8px solid var(--white);
  box-shadow: 0 26px 60px rgba(var(--brand-charcoal-rgb), 0.16);
}

.content-proof-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.content-proof-list div {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  background: var(--brand-surface-muted);
  border: 1px solid rgba(var(--brand-charcoal-rgb), 0.1);
  border-radius: 8px;
}

.content-proof-list i {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--primary);
}

.content-package-section {
  background-color: var(--brand-surface-muted);
}

.content-package-card {
  position: relative;
  overflow: hidden;
  padding-top: 1.7rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-charcoal-rgb), 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(var(--brand-charcoal-rgb), 0.08);
}

.content-package-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 24px, var(--accent) 24px 36px, var(--brand-charcoal) 36px 48px);
}

.content-package-card.featured {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(var(--brand-red-rgb), 0.12), transparent 32%),
    var(--white);
  border-color: rgba(var(--brand-red-rgb), 0.58);
  transform: none;
}

.content-package-card > span {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.09);
  border-radius: 999px;
}

.content-brief-section {
  background:
    linear-gradient(180deg, #ffffff, var(--brand-surface-muted));
}

.content-brief-card {
  position: sticky;
  top: 112px;
  min-height: 100%;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--brand-charcoal) 0%, var(--brand-red) 100%);
  border: 0;
  border-radius: 8px;
}

.content-brief-card .card-text {
  color: rgba(255, 255, 255, 0.78);
}

.content-brief-card .icon-box {
  color: var(--ink);
  background: var(--accent);
}

.content-brief-tile {
  min-height: 214px;
  background: var(--white);
  border: 1px solid rgba(var(--brand-charcoal-rgb), 0.1);
  border-radius: 8px;
  box-shadow: none;
}

.content-brief-tile .why-number {
  color: rgba(var(--brand-red-rgb), 0.14);
}

.content-brief-tile .why-icon {
  color: var(--white);
  background: var(--primary);
  border-radius: 8px;
}

.content-final-cta {
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.95), rgba(var(--brand-red-rgb), 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px);
  border-radius: 8px;
}

.b2b-hero-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.b2b-hero-card::after {
  content: "";
  position: absolute;
  right: -64px;
  top: -64px;
  width: 170px;
  height: 170px;
  background: rgba(var(--brand-red-rgb), 0.18);
  border-radius: 50%;
}

.b2b-hero-card > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 18px;
  font-size: 1.7rem;
  margin-bottom: 1.35rem;
}

.b2b-hero-card h2 {
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.b2b-hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

.b2b-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.b2b-mini-grid div {
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.b2b-mini-grid strong,
.b2b-mini-grid small {
  display: block;
}

.b2b-mini-grid strong {
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 900;
}

.content-studio-section .row > div:nth-child(2) .content-studio-card::before {
  content: "02";
}

.content-studio-section .row > div:nth-child(3) .content-studio-card::before {
  content: "03";
}

.content-studio-section .row > div:nth-child(4) .content-studio-card::before {
  content: "04";
}

.b2b-mini-grid small {
  color: rgba(255, 255, 255, 0.72);
}

.b2b-audience {
  background: var(--white);
}

.b2b-audience-card {
  position: relative;
  height: 100%;
  min-height: 270px;
  overflow: hidden;
  padding: 1.45rem;
  background:
    linear-gradient(145deg, var(--white), rgba(245, 247, 250, 0.84)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.08), transparent 36%);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.b2b-audience-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  background: rgba(var(--brand-red-rgb), 0.12);
  border-radius: 50%;
}

.b2b-audience-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--brand-red-rgb), 0.3);
  box-shadow: 0 30px 65px rgba(var(--brand-charcoal-rgb), 0.13);
}

.b2b-audience-card i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.09);
  border-radius: 16px;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.b2b-audience-card:hover i {
  color: var(--ink);
  background: var(--accent);
  transform: rotate(-5deg) translateY(-4px);
}

.b2b-audience-card h3 {
  font-weight: 900;
}

.b2b-audience-card p {
  color: var(--muted);
  margin: 0;
}

.b2b-process-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 5vw, 3rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.96)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.2), transparent 42%);
  border-radius: 30px;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.14);
}

.b2b-process-shell .section-eyebrow {
  color: var(--accent);
}

.b2b-process-shell .section-text {
  color: rgba(255, 255, 255, 0.76);
}

.b2b-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.b2b-process-grid div {
  position: relative;
  min-height: 190px;
  padding: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
}

.b2b-process-grid span {
  position: absolute;
  right: 1rem;
  top: 0.75rem;
  color: rgba(255, 255, 255, 0.14);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.b2b-process-grid h3 {
  position: relative;
  z-index: 1;
  margin-top: 3.6rem;
  font-weight: 900;
}

.b2b-process-grid p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.b2b-benefits {
  background: var(--white);
}

.b2b-image-stack {
  position: relative;
  min-height: 560px;
}

.b2b-image-stack .main {
  width: 82%;
  height: 520px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.14);
}

.b2b-image-stack .small {
  position: absolute;
  width: 230px;
  height: 160px;
  object-fit: cover;
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: aboutFloat 5s ease-in-out infinite;
}

.b2b-image-stack .one {
  right: 0;
  top: 70px;
}

.b2b-image-stack .two {
  right: 7%;
  bottom: 20px;
  animation-delay: 1s;
}

.b2b-benefit-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.b2b-benefit-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.b2b-benefit-list i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border-radius: 50%;
  font-size: 1.25rem;
}

.b2b-benefit-list span {
  color: var(--ink);
  font-weight: 400;
}

.b2b-package-card {
  height: 100%;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.b2b-package-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--brand-red-rgb), 0.3);
  box-shadow: 0 30px 65px rgba(var(--brand-charcoal-rgb), 0.13);
}

.b2b-package-card.featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.96)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.2), transparent 40%);
  box-shadow: 0 30px 75px rgba(var(--brand-red-rgb), 0.2);
}

.b2b-package-card > span {
  display: inline-flex;
  padding: 0.42rem 0.75rem;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.b2b-package-card h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.b2b-package-card p,
.b2b-package-card li {
  color: var(--muted);
}

.b2b-package-card.featured p,
.b2b-package-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.b2b-package-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0;
  padding-left: 1.15rem;
}

.b2b-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.94), rgba(var(--brand-charcoal-rgb), 0.7)),
    url("../images/remote/photo-1497366754035-f200968a6e72.jpg") center/cover;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.14);
}

.b2b-cta .section-eyebrow {
  color: var(--accent);
}

.b2b-cta h2 {
  max-width: 820px;
  margin: 0 auto 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
}

.b2b-cta p {
  max-width: 640px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.78);
}

/* B2B page content polish: unique sections below the hero. */
.b2b-audience {
  position: relative;
  overflow: hidden;
}

.b2b-audience::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--brand-red-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-red-rgb), 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0 46%, transparent 78%);
}

.b2b-audience .container {
  position: relative;
  z-index: 1;
}

.b2b-audience .row {
  position: relative;
}

.b2b-audience-card {
  isolation: isolate;
  padding: 1.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 18% 0%, rgba(var(--brand-red-rgb), 0.16), transparent 30%);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(var(--brand-charcoal-rgb), 0.08);
}

.b2b-audience-card::before {
  content: "01";
  position: absolute;
  right: 1.15rem;
  top: 0.85rem;
  z-index: -1;
  color: rgba(var(--brand-red-rgb), 0.06);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
}

.b2b-audience .row > div:nth-child(2) .b2b-audience-card::before {
  content: "02";
}

.b2b-audience .row > div:nth-child(3) .b2b-audience-card::before {
  content: "03";
}

.b2b-audience .row > div:nth-child(4) .b2b-audience-card::before {
  content: "04";
}

.b2b-audience-card::after {
  right: auto;
  left: 1.75rem;
  bottom: 1.35rem;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
}

.b2b-audience-card i {
  border-radius: 20px 20px 8px 20px;
  box-shadow: inset 0 0 0 1px rgba(var(--brand-red-rgb), 0.08);
}

.b2b-process-shell {
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(var(--brand-charcoal-rgb), 0.94), rgba(var(--brand-red-hover-rgb), 0.9)),
    url("../images/remote/photo-1497366811353-6870744d04b2.jpg") center/cover;
}

.b2b-process-shell::before,
.b2b-process-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.b2b-process-shell::before {
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.b2b-process-shell::after {
  right: -90px;
  top: -90px;
  width: 250px;
  height: 250px;
  background: rgba(var(--brand-red-rgb), 0.16);
  filter: blur(4px);
}

.b2b-process-grid {
  position: relative;
}

.b2b-process-grid::before {
  content: "";
  position: absolute;
  inset: 50% 2rem auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-red-rgb), 0.65), transparent);
}

.b2b-process-grid div {
  --b2b-float-base: 0rem;
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  animation: b2bCardFloat 4.8s ease-in-out infinite;
}

.b2b-process-grid div:nth-child(even) {
  --b2b-float-base: 1.2rem;
}

.b2b-process-grid div:nth-child(2) {
  animation-delay: 0.7s;
}

.b2b-process-grid div:nth-child(3) {
  animation-delay: 1.4s;
}

.b2b-process-grid div:nth-child(4) {
  animation-delay: 2.1s;
}

.b2b-process-grid div:hover {
  transform: translateY(-0.35rem);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(var(--brand-red-rgb), 0.36);
  animation-play-state: paused;
}

.b2b-process-grid div:nth-child(even):hover {
  transform: translateY(0.65rem);
}

.b2b-benefits {
  position: relative;
  overflow: hidden;
}

.b2b-benefits::before {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - 1320px) / 2));
  top: 50%;
  width: min(44vw, 560px);
  height: min(44vw, 560px);
  background: linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.08), rgba(var(--brand-red-rgb), 0.11));
  border-radius: 38% 62% 54% 46%;
  transform: translateY(-50%);
}

.b2b-benefits .container {
  position: relative;
  z-index: 1;
}

.b2b-image-stack .main {
  border-radius: 32px 32px 90px 32px;
}

.b2b-image-stack::after {
  content: "B2B";
  position: absolute;
  left: 1.4rem;
  bottom: 1.8rem;
  padding: 0.85rem 1rem;
  color: var(--white);
  background: rgba(var(--brand-charcoal-rgb), 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
}

.b2b-benefit-list div {
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.b2b-benefit-list div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--brand-red-rgb), 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.b2b-benefit-list div:hover {
  transform: translateX(8px);
  box-shadow: 0 24px 50px rgba(var(--brand-charcoal-rgb), 0.1);
}

.b2b-benefit-list div:hover::after {
  opacity: 1;
}

.content-marketing-page .content-proof-list div {
  display: block;
  min-height: 0;
  padding: 1rem 1.1rem 1rem 3.55rem;
  overflow: visible;
  background: var(--brand-surface-muted);
  border: 1px solid rgba(var(--brand-charcoal-rgb), 0.1);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.content-marketing-page .content-proof-list div::after {
  display: none;
}

.content-marketing-page .content-proof-list div:hover {
  background: var(--white);
  border-color: rgba(var(--brand-red-rgb), 0.24);
  transform: none;
  box-shadow: 0 16px 34px rgba(var(--brand-charcoal-rgb), 0.08);
}

.content-marketing-page .content-proof-list i {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 32px;
  height: 32px;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border-radius: 50%;
  font-size: 1rem;
}

.content-marketing-page .content-proof-list span {
  display: block;
  width: 100%;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.75;
}

.content-marketing-page .content-proof-stack::after {
  display: none;
}

.b2b-package-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 28px;
}

.b2b-package-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.b2b-package-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -55%;
  width: 65%;
  height: 300%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: rotate(22deg);
  transition: left 0.65s ease;
}

.b2b-package-card:hover::after {
  left: 115%;
}

.b2b-package-card.featured {
  transform: translateY(-14px);
}

.b2b-package-card.featured:hover {
  transform: translateY(-22px);
}

.b2b-package-card ul {
  list-style: none;
  padding-left: 0;
}

.b2b-package-card li {
  position: relative;
  padding-left: 1.55rem;
}

.b2b-package-card li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--primary);
  font-family: "bootstrap-icons";
  font-weight: 400;
}

.b2b-package-card.featured li::before {
  color: var(--white);
}

/* Keep the content-marketing metrics and workflow legible after shared B2B styles. */
.content-workflow-shell {
  border-radius: 24px;
}

.content-workflow-shell::before {
  inset: 14px;
  border-radius: 16px;
}

.content-workflow-shell .section-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.content-signal-strip .content-metric {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.5rem;
}

.content-signal-strip .content-metric strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
}

.content-signal-strip .content-metric span {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

.content-workflow-grid div {
  min-height: 210px;
  padding: 1.35rem;
}

.content-workflow-grid span {
  position: static;
  width: 42px;
  height: 42px;
  margin: 0 0 1rem;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.content-workflow-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.content-workflow-grid p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  opacity: 1;
}

.b2b-cta::before,
.b2b-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.b2b-cta::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}

.b2b-cta::after {
  right: -40px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  background: rgba(var(--brand-red-rgb), 0.18);
  border-radius: 50%;
  animation: b2bPulse 5s ease-in-out infinite;
}

.b2b-cta > * {
  position: relative;
  z-index: 1;
}

@keyframes b2bPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.28;
  }
}

@keyframes b2bCardFloat {
  0%,
  100% {
    transform: translateY(var(--b2b-float-base));
  }

  50% {
    transform: translateY(calc(var(--b2b-float-base) - 0.75rem));
  }
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 82px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), 0.9), rgba(var(--brand-red-deep-rgb), 0.66), rgba(var(--brand-red-deep-rgb), 0.28)),
    url("../images/remote/photo-1450101499163-c8848c66ca85.jpg") center/cover;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--brand-red-rgb), 0.2), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(var(--brand-charcoal-rgb), 0.36) 100%);
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 960px;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.35rem;
}

.legal-hero .section-eyebrow {
  color: var(--accent);
}

.legal-hero .section-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.legal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.legal-hero-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.legal-hero-card::after {
  content: "";
  position: absolute;
  right: -64px;
  top: -64px;
  width: 170px;
  height: 170px;
  background: rgba(var(--brand-red-rgb), 0.18);
  border-radius: 50%;
}

.legal-hero-card > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 18px;
  font-size: 1.7rem;
  margin-bottom: 1.35rem;
}

.legal-hero-card h2 {
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.legal-hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.legal-hero-meta div {
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.legal-hero-meta strong,
.legal-hero-meta small {
  display: block;
}

.legal-hero-meta strong {
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 900;
}

.legal-hero-meta small {
  color: rgba(255, 255, 255, 0.72);
}

.legal-intro-section,
.legal-process-section {
  background: var(--white);
}

.legal-collage .about-experience-badge {
  background: rgba(var(--brand-charcoal-rgb), 0.92);
}

.legal-step-card {
  position: relative;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  padding: 1.45rem;
  background:
    linear-gradient(145deg, var(--white), rgba(245, 247, 250, 0.84)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.08), transparent 36%);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.legal-step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--brand-red-rgb), 0.3);
  box-shadow: 0 30px 65px rgba(var(--brand-charcoal-rgb), 0.13);
}

.legal-step-card span {
  display: inline-flex;
  margin-bottom: 2.2rem;
  color: rgba(var(--brand-red-rgb), 0.16);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.legal-step-card h3 {
  font-weight: 900;
}

.legal-step-card p {
  color: var(--muted);
  margin: 0;
}

.legal-doc-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.96)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.2), transparent 42%);
  border-radius: 30px;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.14);
}

.legal-doc-shell .section-eyebrow {
  color: var(--accent);
}

.legal-doc-shell h2 {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-doc-shell p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-doc-grid span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  font-weight: 900;
}

.legal-doc-grid i {
  color: var(--accent);
}

.legal-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.94), rgba(var(--brand-charcoal-rgb), 0.72)),
    url("../images/remote/photo-1521791136064-7986c2920216.jpg") center/cover;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.14);
}

.legal-cta .section-eyebrow {
  color: var(--accent);
}

.legal-cta h2 {
  max-width: 820px;
  margin: 0 auto 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
}

.legal-cta p {
  max-width: 680px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Legal vetting page body: distinct from the about page sections. */
.legal-review-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.legal-review-visual {
  position: relative;
  min-height: 520px;
}

.legal-review-main {
  width: 88%;
  height: 500px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(var(--brand-charcoal-rgb), 0.14);
}

.legal-review-visual::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2rem;
  width: 68%;
  height: 76%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(var(--brand-red-rgb), 0.1), rgba(var(--brand-red-rgb), 0.16)),
    repeating-linear-gradient(135deg, rgba(var(--brand-red-rgb), 0.12) 0 1px, transparent 1px 18px);
  border-radius: 34px;
}

.legal-review-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--brand-red-rgb), 0.14);
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(var(--brand-charcoal-rgb), 0.12);
  backdrop-filter: blur(14px);
  animation: legalNoteFloat 5s ease-in-out infinite;
}

.legal-review-note i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.1);
  border-radius: 14px;
  font-size: 1.35rem;
}

.legal-review-note strong {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 600;
}

.legal-review-note span {
  color: var(--ink);
  font-weight: 600;
}

.legal-review-note.note-top {
  right: 0;
  top: 70px;
}

.legal-review-note.note-bottom {
  left: 2rem;
  bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  animation-delay: 1.1s;
}

.legal-review-copy {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.legal-review-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 28px 0 0 28px;
}

.legal-proof-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.legal-proof-stack div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
  background: rgba(245, 247, 250, 0.9);
  border: 1px solid rgba(var(--brand-red-rgb), 0.1);
  border-radius: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.legal-proof-stack div:hover {
  transform: translateX(8px);
  background: rgba(var(--brand-red-rgb), 0.07);
}

.legal-proof-stack i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 14px;
}

.legal-proof-stack span {
  font-weight: 400;
}

.legal-checklist-section {
  background: var(--white);
}

.legal-checklist-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 5vw, 3rem);
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.82), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 85% 8%, rgba(var(--brand-red-rgb), 0.14), transparent 34%);
  border: 1px solid rgba(var(--brand-red-rgb), 0.1);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(var(--brand-charcoal-rgb), 0.08);
}

.legal-checklist-shell::before {
  content: "";
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  border: 1px dashed rgba(var(--brand-red-rgb), 0.16);
  border-radius: 24px;
}

.legal-checklist-head {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 2rem;
}

.legal-risk-card {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 285px;
  overflow: hidden;
  padding: 1.65rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.legal-risk-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  background: rgba(var(--brand-red-rgb), 0.16);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.legal-risk-card span {
  position: absolute;
  right: 1rem;
  bottom: 0.35rem;
  color: rgba(var(--brand-red-rgb), 0.07);
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
}

.legal-risk-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.09);
  border-radius: 18px 18px 6px 18px;
  font-size: 1.55rem;
  margin-bottom: 1.4rem;
}

.legal-risk-card h3 {
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.legal-risk-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  margin: 0;
}

.legal-risk-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--brand-red-rgb), 0.28);
  box-shadow: 0 30px 65px rgba(var(--brand-charcoal-rgb), 0.12);
}

.legal-risk-card:hover::after {
  transform: scale(1.4);
}

.legal-risk-card.is-featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.94)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.18), transparent 36%);
}

.legal-risk-card.is-featured i {
  color: var(--ink);
  background: var(--accent);
}

.legal-risk-card.is-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-risk-card.is-featured span {
  color: rgba(255, 255, 255, 0.12);
}

.legal-process-section {
  position: relative;
  overflow: hidden;
}

.legal-process-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-red-rgb), 0.24), transparent);
}

.legal-process-section .container {
  position: relative;
  z-index: 1;
}

.legal-step-card {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 20% 0%, rgba(var(--brand-red-rgb), 0.14), transparent 34%);
  border-radius: 26px;
}

.legal-step-card::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.45rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(var(--brand-red-rgb), 0.16);
}

.legal-step-card span {
  display: block;
  margin-left: auto;
  margin-bottom: 3rem;
  text-align: right;
}

.legal-doc-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(var(--brand-charcoal-rgb), 0.95), rgba(var(--brand-red-hover-rgb), 0.92)),
    url("../images/remote/photo-1554224155-6726b3ff858f.jpg") center/cover;
}

.legal-doc-shell::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
}

.legal-doc-grid span {
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.legal-doc-grid span:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.18);
}

.legal-cta::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}

.legal-cta > * {
  position: relative;
  z-index: 1;
}

@keyframes legalNoteFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-collage {
  position: relative;
  min-height: 560px;
}

.about-collage-main {
  width: 82%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-collage-small {
  position: absolute;
  width: 220px;
  height: 150px;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: aboutFloat 5.5s ease-in-out infinite;
}

.about-collage-top {
  right: 0;
  top: 42px;
  animation-delay: 0.2s;
}

.about-collage-bottom {
  right: 8%;
  bottom: 38px;
  animation-delay: 1.1s;
}

@keyframes aboutFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.about-experience-badge {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 260px;
  padding: 1rem 1.1rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-experience-badge strong {
  color: var(--accent);
  font-size: 2.4rem;
  line-height: 1;
}

.about-experience-badge span {
  font-weight: 800;
  line-height: 1.4;
}

.about-intro-copy {
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.about-proof-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-proof-list span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
}

.about-proof-list i {
  color: var(--primary);
}

.values-showcase {
  background: var(--white);
}

.values-showcase-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 251, 0.96));
  border: 1px solid rgba(var(--brand-red-rgb), 0.1);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(var(--brand-charcoal-rgb), 0.08);
}

.values-showcase-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.values-showcase-shell::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 340px;
  height: 340px;
  background:
    radial-gradient(circle, rgba(var(--brand-red-rgb), 0.18), transparent 62%),
    radial-gradient(circle at 35% 65%, rgba(var(--brand-red-rgb), 0.12), transparent 55%);
  pointer-events: none;
}

.values-showcase-head {
  max-width: 620px;
  margin-bottom: 2rem;
}

.value-vision-card {
  position: relative;
  height: 100%;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 85% 15%, rgba(var(--brand-red-rgb), 0.08), transparent 34%);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(var(--brand-charcoal-rgb), 0.05);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.value-vision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 32%, rgba(var(--brand-red-rgb), 0.16) 46%, transparent 60%),
    linear-gradient(180deg, rgba(var(--brand-red-rgb), 0.05), transparent 42%);
  opacity: 0;
  transform: translateX(-26%);
  transition: opacity 0.32s ease, transform 0.48s ease;
}

.value-vision-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: top;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.value-vision-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--brand-red-rgb), 0.32);
  box-shadow: 0 28px 60px rgba(var(--brand-charcoal-rgb), 0.13);
}

.value-vision-card:hover::before {
  opacity: 1;
  transform: translateX(22%);
}

.value-vision-card:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.value-featured {
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.96)),
    radial-gradient(circle at 90% 20%, rgba(var(--brand-red-rgb), 0.18), transparent 35%);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 24px 55px rgba(var(--brand-red-rgb), 0.24);
}

.value-count {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  color: rgba(var(--brand-red-rgb), 0.09);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.32s ease, opacity 0.32s ease, color 0.32s ease;
}

.value-featured .value-count {
  color: rgba(255, 255, 255, 0.12);
}

.value-vision-card:hover .value-count {
  color: rgba(var(--brand-red-rgb), 0.16);
  transform: translate(-8px, 8px) scale(1.08);
}

.value-featured:hover .value-count {
  color: rgba(255, 255, 255, 0.2);
}

.value-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.1), rgba(var(--brand-red-rgb), 0.04));
  border: 1px solid rgba(var(--brand-red-rgb), 0.08);
  border-radius: 14px;
  font-size: 1.75rem;
  margin-bottom: 2.4rem;
  box-shadow: inset 0 -10px 20px rgba(var(--brand-red-rgb), 0.04);
  transition: transform 0.32s ease, color 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
}

.value-featured .value-symbol {
  color: var(--ink);
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.2);
}

.value-vision-card:hover .value-symbol {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 18px 34px rgba(var(--brand-red-rgb), 0.22);
  transform: translateY(-6px) rotate(-4deg);
}

.value-featured:hover .value-symbol {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 18px 34px rgba(var(--brand-red-rgb), 0.22);
}

.value-vision-card h3 {
  font-weight: 900;
  margin-bottom: 0.75rem;
  transition: color 0.32s ease;
}

.value-vision-card p {
  margin: 0;
  color: var(--muted);
  transition: color 0.32s ease;
}

.value-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-mini-stats div {
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.about-mini-stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.team-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--white) 0%, rgba(245, 247, 250, 0.62) 100%);
}

.team-section::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 18%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(var(--brand-red-rgb), 0.16);
  border-radius: 50%;
  opacity: 0.55;
}

.team-section::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(var(--brand-red-rgb), 0.18), transparent 66%);
  pointer-events: none;
}

.team-section .container {
  position: relative;
  z-index: 1;
}

.team-section-head {
  position: relative;
}

.team-profile-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(var(--brand-charcoal-rgb), 0.08);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, transparent 0 50%, rgba(var(--brand-red-rgb), 0.08) 50% 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-profile-card:hover {
  transform: translateY(-12px);
  border-color: rgba(var(--brand-red-rgb), 0.28);
  box-shadow: 0 34px 75px rgba(var(--brand-charcoal-rgb), 0.16);
}

.team-profile-card:hover::before {
  opacity: 1;
}

.team-photo-wrap {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: var(--secondary);
}

.team-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(var(--brand-charcoal-rgb), 0.76));
  pointer-events: none;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.team-profile-card:hover .team-photo-wrap img {
  transform: scale(1.09);
  filter: saturate(1.06) contrast(1.08);
}

.team-badge {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(var(--brand-red-rgb), 0.25);
}

.team-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.team-card-body {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  padding: 0 1.4rem 1.45rem;
}

.team-card-body > div:first-child {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(var(--brand-charcoal-rgb), 0.12);
  backdrop-filter: blur(12px);
}

.team-card-body h3 {
  margin-bottom: 0.2rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.team-card-body p {
  margin: 0;
  color: var(--muted);
}

.team-bio {
  padding: 1.1rem 0.25rem 1.15rem;
  min-height: 112px;
}

.team-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.team-card-foot span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.86rem;
}

.team-card-foot div {
  display: flex;
  gap: 0.45rem;
}

.team-card-foot a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.14);
  border-radius: 50%;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.team-card-foot a:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-4px);
}

.about-mini-stats span {
  color: var(--muted);
  font-weight: 800;
}

.page-header h1 {
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.service-list {
  padding-left: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.service-list i {
  color: var(--primary);
}

.detail-header {
  padding-bottom: 48px;
}

.detail-gallery,
.detail-content,
.detail-sidebar,
.detail-related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.detail-gallery {
  overflow: hidden;
}

.detail-main-img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
}

.detail-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.4rem) / 4);
  gap: 0.8rem;
  padding: 0.9rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--border);
}

.detail-thumbs.has-overflow {
  overflow-x: auto;
  scrollbar-gutter: stable;
}

.detail-thumbs.has-overflow::-webkit-scrollbar { height: 9px; }
.detail-thumbs.has-overflow::-webkit-scrollbar-track { background: var(--border); border-radius: 999px; }
.detail-thumbs.has-overflow::-webkit-scrollbar-thumb { background: var(--primary); border: 2px solid var(--border); border-radius: 999px; }

.detail-thumbs-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: -.3rem .9rem .75rem;
  color: var(--muted);
  font-size: .72rem;
}

.detail-thumbs img {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.detail-thumbs img:hover,
.detail-thumbs img.active {
  border-color: var(--primary);
  opacity: 0.92;
  transform: translateY(-2px);
}

.detail-content,
.detail-sidebar {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.detail-content h2,
.detail-sidebar h2,
.detail-sidebar h3 {
  color: var(--ink);
  font-weight: 900;
}

.detail-content p,
.detail-location {
  color: var(--muted);
}

.detail-feature {
  height: 100%;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 800;
}

.detail-feature i {
  color: var(--primary);
  font-size: 1.35rem;
}

.detail-sidebar {
  position: sticky;
  top: 110px;
}

.detail-sidebar h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.detail-location {
  display: flex;
  gap: 0.5rem;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.detail-meta-grid div {
  display: grid;
  gap: 0.15rem;
  place-items: center;
  padding: 1rem 0.5rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.detail-meta-grid i {
  color: var(--primary);
  font-size: 1.25rem;
}

.detail-meta-grid strong {
  font-size: 1.3rem;
  line-height: 1;
}

.detail-meta-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

/* Property finder */
.property-search-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) minmax(220px, 1fr) auto;
  width: 100%;
  max-width: 100%;
  gap: 0;
  margin: -1.5rem auto 3.5rem;
  padding: .65rem;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(var(--brand-red-rgb), .14);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(var(--brand-charcoal-rgb), .13);
}

.property-search-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: .18rem;
  padding: .55rem 1rem .55rem 2.75rem;
  border-right: 1px solid var(--border);
}

.property-search-field > i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--primary);
  font-size: 1.05rem;
  transform: translateY(-50%);
}

.property-search-field label {
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 900;
}

.property-search-field input,
.property-search-field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 27px;
  padding: 0 1.7rem 0 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: .9rem;
}

.property-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 145px;
  padding: .8rem 1.25rem;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 13px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.property-search-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.property-results-header {
  padding-bottom: 4rem;
}


.property-results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.property-results-summary h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.property-results-summary a {
  color: var(--primary);
  font-weight: 800;
}

.property-result-card .listing-title {
  margin-top: .8rem;
}

.property-search-empty {
  padding: 4rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.property-search-empty i {
  color: var(--primary);
  font-size: 3rem;
}

@media (max-width: 991.98px) {
  .property-search-bar {
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .75rem;
  }

  .property-search-keyword {
    grid-column: 1 / -1;
  }

  .property-search-field {
    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .property-search-submit {
    width: 100%;
    min-height: 58px;
  }
}

@media (max-width: 575.98px) {
  .property-search-bar {
    grid-template-columns: 1fr;
    gap: .65rem;
    margin-top: -1rem;
    margin-bottom: 2.5rem;
    padding: .65rem;
    border-radius: 15px;
  }

  .property-search-keyword {
    grid-column: auto;
  }

  .property-search-field {
    min-height: 62px;
    padding: .55rem .85rem .55rem 2.6rem;
  }

  .property-search-field > i {
    left: .9rem;
  }

  .property-search-submit {
    min-height: 54px;
  }

  .property-results-page .property-search-bar {
    margin-top: -5.25rem;
  }

  .property-results-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.detail-check-list i {
  color: var(--primary);
  margin-right: 0.45rem;
}

.detail-related-card {
  height: 100%;
  overflow: hidden;
}

.detail-related-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.detail-related-card div {
  padding: 1.25rem;
}

.detail-related-card span {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
}

.detail-related-card h3 {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.5;
}

.detail-related-card a {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline {
  position: relative;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-left: 64px;
  margin-bottom: 1.5rem;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -52px;
  top: 30px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--primary);
}

.map-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(var(--brand-red-rgb), 0.88), rgba(var(--brand-red-rgb), 0.88)),
    url("../images/remote/photo-1524661135-423995f22d0b.jpg") center/cover;
  border-radius: 24px;
  color: var(--white);
  text-align: center;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 120px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.92), rgba(var(--brand-charcoal-rgb), 0.58)),
    url("../images/remote/photo-1556761175-b413da4baf72.jpg") center/cover;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--brand-red-rgb), 0.18), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(var(--brand-charcoal-rgb), 0.32) 100%);
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.9rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.35rem;
}

.contact-hero .section-eyebrow {
  color: var(--accent);
}

.contact-hero .section-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-hero-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.contact-hero-card::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -55px;
  width: 150px;
  height: 150px;
  background: rgba(var(--brand-red-rgb), 0.18);
  border-radius: 50%;
}

.contact-live-dot {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-bottom: 1.2rem;
  background: #28c76f;
  border: 4px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(40, 199, 111, 0.16);
}

.contact-hero-card h2 {
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.contact-hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-hero-meta div {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.contact-hero-meta strong,
.contact-hero-meta span {
  display: block;
}

.contact-hero-meta strong {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-hero-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-channel-section {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}

.contact-channel-card {
  height: 100%;
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem;
  color: var(--ink);
  background: var(--brand-tint);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(var(--brand-charcoal-rgb), 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-channel-card:hover {
  color: var(--ink);
  transform: translateY(-8px);
  border-color: rgba(var(--brand-red-rgb), 0.28);
  box-shadow: 0 30px 70px rgba(var(--brand-charcoal-rgb), 0.16);
}

.contact-channel-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border-radius: 16px;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.contact-channel-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-channel-card strong {
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-workspace {
  background: var(--secondary);
}

.contact-form-shell {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: clamp(1.35rem, 4vw, 2.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 251, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.12), transparent 34%);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(var(--brand-charcoal-rgb), 0.09);
}

.contact-form-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.contact-form-head {
  margin-bottom: 1.8rem;
}

.contact-form-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.contact-form-head p {
  color: var(--muted);
  max-width: 580px;
}

.contact-form-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 12px;
  font-size: 0.9rem;
}

.contact-info-stack {
  display: grid;
  gap: 1rem;
  height: 100%;
}

.contact-info-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.contact-info-card.primary {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(var(--brand-red-rgb), 0.98), rgba(var(--brand-red-hover-rgb), 0.96)),
    radial-gradient(circle at 100% 0%, rgba(var(--brand-red-rgb), 0.22), transparent 40%);
}

.contact-info-card.primary .section-eyebrow {
  color: var(--accent);
}

.contact-info-card h2 {
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.contact-info-card p {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: inherit;
}

.contact-info-card p i {
  color: var(--accent);
}

.contact-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-hours-row strong {
  color: var(--primary);
  text-align: right;
}

.contact-info-card .social-link {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.09);
}

.contact-map-shell {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background:
    linear-gradient(90deg, rgba(var(--brand-charcoal-rgb), 0.92), rgba(var(--brand-charcoal-rgb), 0.5)),
    url("../images/remote/photo-1524661135-423995f22d0b.jpg") center/cover;
  border-radius: 30px;
  box-shadow: 0 30px 75px rgba(var(--brand-charcoal-rgb), 0.14);
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--white);
}

.contact-map-copy .section-eyebrow {
  color: var(--accent);
}

.contact-map-copy h2 {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-map-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-map-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.contact-map-visual::before,
.contact-map-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.contact-map-visual::before {
  width: 280px;
  height: 280px;
}

.contact-map-visual::after {
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-map-visual i {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-size: 2.35rem;
  box-shadow: 0 0 0 18px rgba(var(--brand-red-rgb), 0.16);
}

.contact-map-visual span {
  position: absolute;
  left: 50%;
  bottom: 86px;
  z-index: 2;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.contact-live-map {
  overflow: hidden;
  min-height: 430px;
  background: var(--brand-border);
}

.contact-live-map::before,
.contact-live-map::after {
  display: none;
}

.contact-live-map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contact-live-map > a {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: #fff;
  background: var(--brand-red);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(var(--brand-charcoal-rgb), .25);
  font-weight: 800;
  text-decoration: none;
}

.contact-live-map > a i {
  position: static;
  width: auto;
  height: auto;
  display: inline;
  color: var(--brand-red);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
}

.contact-live-map > a span {
  position: static;
  min-width: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  transform: none;
  backdrop-filter: none;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 14px;
  border-color: var(--border);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--brand-red-rgb), 0.14);
}

.footer {
  color: rgba(255, 255, 255, 0.75);
  background: var(--brand-charcoal);
  padding-top: 82px;
}

.footer h5,
.footer .navbar-brand {
  color: var(--white);
}

.footer a:hover {
  color: var(--accent);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.65;
}

.footer-contact-list i {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 1.05rem;
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.social-link:hover,
.social-link:focus-visible,
.footer .social-link:hover,
.footer .social-link:focus-visible {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-3px);
}

.social-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.contact-panel .social-link {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.09);
}

.contact-panel .social-link:hover,
.contact-panel .social-link:focus-visible,
.contact-info-card .social-link:hover,
.contact-info-card .social-link:focus-visible {
  color: var(--white);
  background: var(--primary);
}

.contact-panel .social-link:focus-visible,
.contact-info-card .social-link:focus-visible {
  outline-color: var(--primary);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.back-to-top.show {
  display: grid;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner-border {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .sales-product-hero {
    padding: 132px 0 74px;
  }

  .sales-product-hero h1 {
    font-size: clamp(2.35rem, 8vw, 4.5rem);
  }

  .sales-product-preview,
  .sales-product-preview img {
    min-height: 430px;
    height: 430px;
  }

  .sales-product-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .sales-product-stats div:nth-child(2) {
    border-right: 0;
  }

  .sales-product-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .sales-price-card.featured {
    transform: none;
  }

  .sales-process-grid {
    grid-template-columns: 1fr;
  }

  .core-sales-page .core-topbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 0.62rem 0.75rem;
  }

  .core-sales-page .core-topbar .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .core-sales-page .core-topbar .navbar-toggler {
    margin-left: auto;
  }

  .core-sales-page .core-topbar .navbar-menu {
    gap: 0 !important;
  }

  .core-command-hero {
    min-height: auto;
    padding: 132px 0 70px;
  }

  .core-command-hero h1 {
    max-width: 720px;
    font-size: clamp(2.35rem, 9vw, 4.5rem);
  }

  .core-command-panel {
    max-width: 560px;
  }

  .core-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-footer-brand {
    grid-column: 1 / -1;
  }

  .core-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-padding {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .hero-search {
    margin-top: 36px;
  }

  .process-arrow {
    display: none;
  }

  .testimonial-section {
    background-attachment: scroll;
  }

  .blog-hero {
    padding: 140px 0 80px;
  }

  .blog-feature-card {
    min-height: 480px;
  }

  .blog-detail-hero {
    padding: 140px 0 120px;
  }

  .blog-detail-sidebar {
    position: static;
  }

  .contact-hero {
    padding: 140px 0 90px;
  }

  .contact-channel-section {
    margin-top: -34px;
  }

  .contact-map-shell {
    grid-template-columns: 1fr;
  }

  .b2b-hero {
    padding: 140px 0 90px;
  }

  .b2b-process-grid {
    grid-template-columns: 1fr;
  }

  .b2b-process-grid::before {
    display: none;
  }

  .b2b-process-grid div:nth-child(even),
  .b2b-process-grid div:nth-child(even):hover {
    transform: none;
  }

  .b2b-process-grid div {
    --b2b-float-base: 0rem;
    animation: none;
  }

  .b2b-benefits::before {
    width: 72vw;
    height: 72vw;
    opacity: 0.7;
  }

  .b2b-image-stack {
    min-height: auto;
  }

  .b2b-image-stack .main {
    width: 100%;
    height: 420px;
  }

  .b2b-image-stack .small {
    display: none;
  }

  .legal-hero {
    padding: 140px 0 90px;
  }

  .legal-doc-shell {
    grid-template-columns: 1fr;
  }

  .legal-review-lab {
    grid-template-columns: 1fr;
  }

  .legal-review-visual {
    min-height: auto;
  }

  .legal-review-main {
    width: 100%;
    height: 420px;
  }

  .legal-review-note {
    position: static;
    margin-top: 1rem;
    animation: none;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-collage {
    min-height: auto;
  }

  .about-collage-main {
    width: 100%;
    height: 420px;
  }

  .about-collage-small {
    display: none;
  }

  .values-showcase-shell {
    border-radius: 14px;
  }

  .value-vision-card {
    min-height: 260px;
  }

  .video-list-column {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 575.98px) {
  .sales-product-page {
    overflow-x: hidden;
  }

  .services-product-page {
    overflow-x: hidden;
  }

  .services-hero {
    padding: 132px 0 76px;
  }

  .services-hero h1 {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.7rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .services-hero .section-text {
    max-width: 330px;
    font-size: 0.94rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .services-product-section {
    padding-top: 70px;
  }

  .services-product-heading {
    max-width: 360px;
    padding: 1.15rem 0.85rem 1.55rem;
  }

  .services-product-heading::before {
    top: -10px;
    width: 170px;
    height: 20px;
  }

  .services-product-heading::after {
    bottom: 0.75rem;
    width: 110px;
    height: 4px;
  }

  .services-product-section .text-center .section-title {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.65rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .services-product-heading .section-title {
    gap: 0.25rem;
  }

  .services-product-section .text-center .section-text {
    max-width: 320px;
    font-size: 0.94rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .sales-product-hero {
    padding: 124px 0 60px;
  }

  .sales-product-hero h1 {
    max-width: 350px;
    font-size: 2.12rem;
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .sales-product-hero .section-text {
    max-width: 350px;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
  }

  .sales-product-actions .btn {
    width: 100%;
  }

  .sales-product-preview,
  .sales-product-preview img {
    min-height: 390px;
    height: 390px;
  }

  .sales-product-preview {
    width: calc(100vw - 24px);
    max-width: 100%;
    box-sizing: border-box;
  }

  .sales-post-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 1rem;
    box-sizing: border-box;
  }

  .sales-post-card h2 {
    font-size: 1.18rem;
  }

  .sales-post-card p,
  .sales-post-card strong {
    max-width: 290px;
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
  }

  .sales-product-stats {
    grid-template-columns: 1fr;
  }

  .sales-product-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 1.2rem;
  }

  .sales-product-stats div:last-child {
    border-bottom: 0;
  }

  .sales-feature-card,
  .sales-price-card,
  .sales-process-grid div {
    padding: 1.15rem;
  }

  .sales-product-cta h2 {
    font-size: 1.75rem;
  }

  .core-sales-page .core-topbar {
    width: calc(100% - 16px);
    border-radius: 8px;
  }

  .core-command-hero {
    padding: 122px 0 56px;
  }

  .core-command-hero h1 {
    max-width: 360px;
    font-size: 2.18rem;
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .core-command-hero .section-text {
    max-width: 350px;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
  }

  .core-hero-actions .btn {
    width: 100%;
  }

  .core-command-panel {
    padding: 1rem;
    width: calc(100vw - 64px);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .core-panel-head strong {
    display: none;
  }

  .core-command-panel::before {
    inset: 9px;
  }

  .core-pipeline-row {
    display: block;
  }

  .core-pipeline-row b {
    display: none;
  }

  .core-pipeline-row small {
    display: inline-flex;
    margin-top: 0.9rem;
  }

  .core-panel-chart {
    height: 130px;
    gap: 0.45rem;
    padding: 0.8rem;
  }

  .core-panel-chart span:last-child {
    display: none;
  }

  .core-panel-chart span:nth-last-child(2) {
    display: none;
  }

  .core-footer {
    padding-top: 58px;
  }

  .core-footer-grid {
    grid-template-columns: 1fr;
  }

  .core-footer-brand {
    grid-column: auto;
  }

  .core-footer h2 {
    font-size: 1.65rem;
  }

  .btn {
    width: 100%;
  }

  .input-group .btn {
    width: auto;
  }

  .section-padding {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .blog-hero h1 {
    font-size: 3rem;
  }

  .blog-hero-tags span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .blog-feature-card {
    min-height: 430px;
    border-radius: 22px;
  }

  .blog-detail-hero h1 {
    font-size: 2.8rem;
  }

  .blog-author-line {
    align-items: flex-start;
    border-radius: 20px;
  }

  .blog-detail-cover {
    margin-top: -70px;
  }

  .blog-detail-cover img {
    height: 300px;
    border-width: 6px;
    border-radius: 22px;
  }

  .blog-article blockquote {
    padding: 1.35rem;
  }

  .blog-article blockquote::before {
    position: static;
    display: block;
    margin-bottom: 0.4rem;
  }

  .blog-note-box {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 2.85rem;
  }

  .contact-hero-actions .btn {
    width: 100%;
  }

  .contact-hero-meta {
    grid-template-columns: 1fr;
  }

  .contact-hours-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-hours-row strong {
    text-align: left;
  }

  .contact-map-shell {
    border-radius: 22px;
  }

  .contact-map-visual {
    min-height: 260px;
  }

  .contact-map-visual::before {
    width: 220px;
    height: 220px;
  }

  .b2b-hero h1 {
    font-size: 2.75rem;
  }

  .content-marketing-page .page-header {
    padding: 132px 0 76px;
  }

  .content-marketing-page .page-header h1 {
    max-width: 320px;
    font-size: 1.52rem;
    line-height: 1.18;
    margin-left: auto;
    margin-right: auto;
  }

  .content-marketing-page .page-header .section-text {
    max-width: 330px;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .content-marketing-page .section-title {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.38rem;
    line-height: 1.25;
  }

  .content-hero-panel {
    margin-top: 1.5rem;
  }

  .content-hero-panel h2,
  .content-hero-list strong,
  .content-hero-list small,
  .content-marketing-page .section-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .content-marketing-page main .container {
    overflow: visible;
  }

  .content-marketing-page .text-center .section-title,
  .content-marketing-page .text-center .section-text {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    margin-left: auto;
    margin-right: auto;
  }

  .core-sales-page {
    overflow-x: hidden;
  }

  .core-sales-page .page-header {
    padding: 132px 0 76px;
  }

  .core-sales-page .page-header h1 {
    max-width: 292px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .core-sales-page .page-header .section-text,
  .core-sales-page .text-center .section-title,
  .core-sales-page .text-center .section-text {
    width: calc(100vw - 150px);
    max-width: calc(100vw - 150px);
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .core-sales-page .text-center .section-title {
    font-size: 1.24rem;
    line-height: 1.32;
  }

  .core-sales-page .text-center .section-text {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .core-sales-page .b2b-audience-card h3,
  .core-sales-page .b2b-audience-card p {
    max-width: calc(100vw - 120px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .content-marketing-strip {
    margin-top: 0;
  }

  .content-section-head {
    padding: 1rem;
  }

  .content-signal-strip .content-metric {
    min-height: 112px;
  }

  .content-workflow-grid div {
    padding: 1rem;
  }

  .content-proof-stack {
    min-height: auto;
  }

  .content-proof-stack .main {
    width: 100%;
    height: 320px;
  }

  .content-proof-stack::before {
    left: 1rem;
    top: 1rem;
  }

  .content-brief-card {
    position: relative;
    top: auto;
  }

  .b2b-hero-actions .btn {
    width: 100%;
  }

  .b2b-mini-grid {
    grid-template-columns: 1fr;
  }

  .b2b-process-shell,
  .b2b-cta {
    border-radius: 22px;
  }

  .b2b-process-shell::before,
  .b2b-cta::before {
    inset: 10px;
    border-radius: 16px;
  }

  .b2b-package-card.featured,
  .b2b-package-card.featured:hover {
    transform: none;
  }

  .b2b-process-grid div {
    min-height: 170px;
  }

  .legal-hero h1 {
    font-size: 2.75rem;
  }

  .legal-hero-actions .btn {
    width: 100%;
  }

  .legal-hero-meta,
  .legal-doc-grid {
    grid-template-columns: 1fr;
  }

  .legal-doc-shell,
  .legal-cta {
    border-radius: 22px;
  }

  .legal-checklist-shell {
    border-radius: 22px;
  }

  .legal-checklist-shell::before,
  .legal-doc-shell::before,
  .legal-cta::before {
    inset: 10px;
    border-radius: 16px;
  }

  .legal-review-main {
    height: 320px;
    border-radius: 22px;
  }

  .blog-mini-list a {
    grid-template-columns: 82px 1fr;
  }

  .blog-mini-list img {
    width: 82px;
    height: 70px;
  }

  .cta-band {
    border-radius: 22px;
    padding: 3rem 1.1rem;
  }

  .about-mini-stats {
    grid-template-columns: 1fr;
  }

  .values-showcase-shell {
    padding: 1rem;
  }

  .value-vision-card {
    min-height: 235px;
    padding: 1.25rem;
  }

  .value-count {
    font-size: 3.5rem;
  }

  .value-symbol {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
    margin-bottom: 1.75rem;
  }

  .news-list-item,
  .video-list-item {
    grid-template-columns: 92px 1fr;
    gap: 0.85rem;
  }

  .news-list-item img,
  .video-thumb {
    width: 92px;
    height: 72px;
  }

  .news-list-item h3 {
    font-size: 0.98rem;
  }
}

/* Final header font-size lock */
.navbar .navbar-brand,
.navbar .nav-link,
.navbar .dropdown-item,
.navbar .lang-toggle,
.navbar .auth-link {
  font-size: 0.88rem;
  line-height: 1.2;
}

.navbar .navbar-brand {
  font-size: 0.94rem;
}

.navbar .nav-link,
.navbar .dropdown-item,
.navbar .lang-toggle,
.navbar .auth-link {
  font-weight: 600;
}

.navbar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

@media (max-width: 575.98px) {
  .navbar .navbar-brand,
  .navbar .nav-link,
  .navbar .dropdown-item,
  .navbar .lang-toggle,
  .navbar .auth-link {
    font-size: 0.86rem;
  }
}

/* Header typography consistency */
.navbar-brand,
.nav-link,
.dropdown-item,
.lang-toggle,
.auth-link {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.lang-toggle,
.auth-link {
  letter-spacing: 0;
}

.auth-link span,
.lang-toggle span,
.nav-link {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .navbar-brand,
  .nav-link,
  .dropdown-item,
  .lang-toggle,
  .auth-link {
    font-size: 0.92rem;
  }
}

/* Site-wide responsive stabilizers */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
header,
footer {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.7rem 0;
  }

  .navbar .container {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navbar-brand {
    min-width: 0;
    font-size: 1.02rem;
  }

  .navbar-toggler {
    flex: 0 0 auto;
    margin-left: auto;
    border-color: transparent;
    box-shadow: none;
  }

  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    outline: 0;
  }

  .navbar-collapse {
    flex-basis: 100%;
    max-height: calc(100vh - 86px);
    margin-top: 0.8rem;
    padding: 0.85rem;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .nav-link,
  .dropdown-item {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
  }

  .dropdown-menu {
    width: 100%;
    min-width: 0;
    margin: 0.35rem 0 0;
    box-shadow: none;
  }

  .navbar-actions {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .navbar-actions .btn,
  .navbar-actions .lang-toggle,
  .navbar-actions .auth-link {
    width: 100%;
  }

  .navbar-actions .auth-link {
    padding: 0.85rem;
    background: var(--secondary);
    border-radius: 6px;
  }

  .page-header,
  .hero,
  .about-hero,
  .blog-hero,
  .blog-detail-hero,
  .b2b-hero,
  .legal-hero,
  .contact-hero,
  .services-hero,
  .sales-product-hero,
  .content-marketing-hero,
  .core-sales-hero,
  .core-command-hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 76px;
  }

  .hero h1,
  .page-header h1,
  .about-hero h1,
  .blog-hero h1,
  .blog-detail-hero h1,
  .b2b-hero h1,
  .legal-hero h1,
  .contact-hero h1,
  .services-hero h1,
  .sales-product-hero h1,
  .content-marketing-hero h1,
  .core-sales-hero h1,
  .core-command-hero h1 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 8vw, 4.1rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .section-title,
  .testimonial-heading .section-title,
  .sales-product-cta h2,
  .legal-cta h2,
  .b2b-cta h2,
  .contact-map-copy h2 {
    font-size: clamp(1.8rem, 5.5vw, 3rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .section-text,
  .page-header .section-text {
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
  }

  .hero-search,
  .service-card,
  .service-listing-card,
  .blog-modern-card,
  .testimonial-card,
  .sidebar-card,
  .b2b-package-card,
  .legal-step-card,
  .contact-panel,
  .contact-info-card,
  .office-card,
  .sales-feature-card,
  .sales-price-card {
    max-width: 100%;
  }

  .about-intro-grid,
  .legal-doc-shell,
  .legal-review-lab,
  .legal-checklist-shell,
  .contact-map-shell,
  .contact-hero-meta,
  .b2b-mini-grid,
  .b2b-process-grid,
  .sales-process-grid {
    grid-template-columns: 1fr;
  }

  .sales-product-stats,
  .legal-doc-grid,
  .b2b-package-grid,
  .core-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-list-head,
  .b2b-hero-actions,
  .legal-hero-actions,
  .contact-hero-actions,
  .sales-product-actions,
  .core-hero-actions {
    flex-wrap: wrap;
  }

  .footer {
    padding-top: 64px;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 1.5rem;
  }

  .section-padding {
    padding: 48px 0;
  }

  .page-header,
  .hero,
  .about-hero,
  .blog-hero,
  .blog-detail-hero,
  .b2b-hero,
  .legal-hero,
  .contact-hero,
  .services-hero,
  .sales-product-hero,
  .content-marketing-hero,
  .core-sales-hero,
  .core-command-hero {
    padding-top: 118px;
    padding-bottom: 58px;
    text-align: center;
  }

  .hero h1,
  .page-header h1,
  .about-hero h1,
  .blog-hero h1,
  .blog-detail-hero h1,
  .b2b-hero h1,
  .legal-hero h1,
  .contact-hero h1,
  .services-hero h1,
  .sales-product-hero h1,
  .content-marketing-hero h1,
  .core-sales-hero h1,
  .core-command-hero h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .section-title,
  .testimonial-heading .section-title,
  .sales-product-cta h2,
  .legal-cta h2,
  .b2b-cta h2,
  .contact-map-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2.3rem);
  }

  .section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  .hero-search {
    padding: 1rem;
    border-radius: 16px;
  }

  .hero .container {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 620px;
  }

  .hero-search .row {
    --bs-gutter-y: 0.75rem;
  }

  .blog-feature-card,
  .blog-detail-cover img,
  .contact-map-shell,
  .legal-doc-shell,
  .legal-cta,
  .b2b-process-shell,
  .b2b-cta,
  .cta-band,
  .values-showcase-shell {
    border-radius: 18px;
  }

  .news-list-item,
  .video-list-item,
  .blog-mini-list a {
    grid-template-columns: 86px 1fr;
    gap: 0.8rem;
  }

  .news-list-item img,
  .video-thumb,
  .blog-mini-list img {
    width: 86px;
    height: 68px;
  }

  .listing-meta,
  .listing-badges,
  .blog-hero-tags,
  .contact-hours-row,
  .office-list-head {
    flex-wrap: wrap;
  }

  .service-listing-body,
  .blog-modern-body,
  .b2b-package-card,
  .sales-price-card,
  .sidebar-card,
  .contact-panel,
  .contact-info-card {
    padding: 1.15rem;
  }

  .sales-product-stats,
  .legal-doc-grid,
  .contact-hero-meta,
  .core-footer-grid {
    grid-template-columns: 1fr;
  }

  .sales-product-stats div {
    border-right: 0;
  }

  .contact-map-visual,
  .legal-review-main,
  .about-collage-main,
  .b2b-image-stack .main {
    min-height: 260px;
    height: 300px;
  }

  .footer {
    padding-top: 70px;
    text-align: left;
  }

  .footer > .container > .row {
    --bs-gutter-y: 2rem;
  }

  .footer .col-lg-4:first-child > p {
    max-width: 360px;
    margin-bottom: 1.25rem;
    line-height: 1.75;
  }

  .footer h5 {
    margin-bottom: 0.85rem !important;
    font-size: 1.05rem;
  }

  .footer .list-unstyled {
    row-gap: 0.6rem !important;
  }

  .footer-contact-list {
    row-gap: 0.8rem !important;
  }

  .footer .border-top {
    font-size: 0.92rem;
  }
}

/* Home hero — cinematic, dynamic property showcase */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(920px, 100svh);
  padding: 0;
}

.home-hero::before,
.home-hero::after {
  display: none;
}

.home-hero-carousel {
  position: relative;
  width: 100%;
}

.home-hero-carousel .carousel-inner {
  position: relative;
  width: 100%;
}

.home-hero-carousel .carousel-item {
  position: relative;
  width: 100%;
  min-height: min(920px, 100svh);
}

.home-hero-carousel.carousel-fade .carousel-item {
  transition: opacity 0.8s ease-in-out;
}

.home-hero-carousel .hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--brand-charcoal-rgb), 0.14) 0%, rgba(var(--brand-charcoal-rgb), 0.58) 68%, rgba(var(--brand-charcoal-rgb), 0.88) 100%),
    linear-gradient(180deg, rgba(var(--brand-charcoal-rgb), 0.48) 0%, rgba(var(--brand-charcoal-rgb), 0.38) 48%, rgba(var(--brand-charcoal-rgb), 0.88) 100%);
}

.home-hero-carousel .hero-slide-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(920px, 100svh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 155px 0 92px;
}

.home-hero-carousel .hero-slide-wrapper .container {
  position: relative;
  z-index: 3;
}

.home-hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  animation: none;
  transform: none;
}

.home-hero-controls {
  position: absolute;
  z-index: 5;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-hero-controls > button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.home-hero-controls button:focus-visible {
  outline: 2px solid var(--brand-rose);
  outline-offset: 3px;
}

.home-hero-controls > button:hover {
  background: #176b4d;
}

.home-hero-controls .carousel-indicators {
  position: static;
  margin: 0;
}

.home-hero-controls .carousel-indicators button {
  width: 10px;
  height: 10px;
  margin-inline: 5px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-radius: 0;
}

.home-hero h1 {
  max-width: 1050px;
  margin-inline: auto;
  text-wrap: balance;
}

.home-hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--brand-rose);
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.42);
}

.home-hero h1 span::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -5px;
  width: 72%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand-rose));
  transform: rotate(-1.5deg);
}

.home-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 9px 16px;
  border: 1px solid rgba(var(--brand-rose-rgb), 0.38);
  border-radius: 999px;
  background: rgba(var(--brand-charcoal-rgb), 0.58);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.home-hero .hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.home-hero .hero-actions {
  pointer-events: auto;
}

.home-hero .hero-actions .btn {
  min-width: 190px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
}

.home-hero .hero-glass-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.home-hero .hero-glass-btn:hover {
  color: var(--brand-charcoal);
  border-color: #fff;
  background: #fff;
}

.home-hero .hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 38px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(var(--brand-charcoal-rgb), 0.48);
  backdrop-filter: blur(14px);
}

.home-hero .hero-proof span {
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.home-hero .hero-proof span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.home-hero .hero-proof strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.home-hero-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(var(--brand-rose-rgb), 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.home-hero-orbit-one {
  top: 21%;
  left: -85px;
  width: 230px;
  height: 230px;
}

.home-hero-orbit-two {
  right: -50px;
  bottom: 12%;
  width: 150px;
  height: 150px;
}

@media (max-width: 767.98px) {
  .home-hero,
  .home-hero-carousel .carousel-inner,
  .home-hero-carousel .carousel-item,
  .home-hero-carousel .hero-slide-wrapper {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 78px;
  }

  .home-hero .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .home-hero .hero-proof span {
    padding: 0 7px;
    font-size: 0.69rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-image {
    animation: none;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .container > .row {
    margin-left: 0;
    margin-right: 0;
  }

  .container > .row > [class*="col"] {
    padding-left: 0;
    padding-right: 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-right: 0.45rem;
  }

  .navbar-brand {
    font-size: 0.98rem;
  }

  .navbar-toggler {
    padding: 0.35rem 0.55rem;
  }

  .page-header,
  .hero,
  .about-hero,
  .blog-hero,
  .blog-detail-hero,
  .b2b-hero,
  .legal-hero,
  .contact-hero,
  .services-hero,
  .sales-product-hero,
  .content-marketing-hero,
  .core-sales-hero,
  .core-command-hero {
    padding-top: 108px;
    padding-bottom: 48px;
  }

  .hero h1,
  .page-header h1,
  .about-hero h1,
  .blog-hero h1,
  .blog-detail-hero h1,
  .b2b-hero h1,
  .legal-hero h1,
  .contact-hero h1,
  .services-hero h1,
  .sales-product-hero h1,
  .content-marketing-hero h1,
  .core-sales-hero h1,
  .core-command-hero h1 {
    font-size: clamp(1.72rem, 9.5vw, 2.45rem);
    line-height: 1.18;
  }

  .section-title,
  .testimonial-heading .section-title,
  .sales-product-cta h2,
  .legal-cta h2,
  .b2b-cta h2,
  .contact-map-copy h2 {
    font-size: clamp(1.38rem, 7.5vw, 1.95rem);
    line-height: 1.22;
  }

  .section-text,
  .page-header .section-text,
  .hero p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .hero h1 {
    max-width: 330px;
    font-size: clamp(1.7rem, 8.2vw, 2rem);
    line-height: 1.22;
  }

  .hero .my-4 {
    max-width: 330px;
  }

  .hero .d-flex.flex-column.flex-sm-row {
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-proof {
    width: 100%;
    max-width: 330px;
    padding: 0.85rem;
    border-radius: 14px;
  }

  .hero-search {
    width: 100%;
    margin-top: 34px;
    padding: 1rem;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-tab {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .btn,
  .listing-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .input-group {
    align-items: stretch;
  }

  .input-group .form-control {
    min-width: 0;
  }

  .input-group .btn {
    width: 52px;
    flex: 0 0 52px;
    padding-left: 0;
    padding-right: 0;
  }

  .service-listing-media,
  .blog-modern-img {
    min-height: 210px;
  }

  .service-listing-media img,
  .blog-modern-img img,
  .blog-feature-card img,
  .blog-detail-cover img {
    object-fit: cover;
  }

  .news-list-item,
  .video-list-item,
  .blog-mini-list a {
    grid-template-columns: 1fr;
  }

  .news-list-item img,
  .video-thumb,
  .blog-mini-list img {
    width: 100%;
    height: 160px;
  }

  .contact-map-visual span {
    bottom: 48px;
    min-width: 0;
    width: calc(100% - 48px);
  }

  .modal-dialog {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* Unified inner-page heroes, excluding the home page hero. */
:root {
  --inner-hero-image: url("../images/real-estate-hero.jpg");
  --inner-hero-overlay: linear-gradient(90deg, rgba(var(--brand-red-deep-rgb), .82), rgba(var(--brand-red-deep-rgb), .56), rgba(var(--brand-red-deep-rgb), .2));
}

.about-hero,
.blog-hero,
.blog-detail-hero,
.b2b-hero,
.legal-hero,
.contact-hero,
.services-hero,
.sales-product-hero,
.content-marketing-hero,
.core-sales-hero,
.core-command-hero,
.detail-header {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 150px 0 82px;
  color: var(--white);
  text-align: left;
  background:
    var(--inner-hero-overlay),
    var(--page-hero-image, var(--inner-hero-image)) center/cover !important;
}

.property-results-header,
.district-dash-header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    var(--inner-hero-overlay),
    var(--inner-hero-image) center/cover;
}
.property-results-header::before,
.district-dash-header::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent, rgba(var(--brand-charcoal-rgb), .28)); pointer-events: none; }
.property-results-header .container,
.district-dash-header .container { position: relative; z-index: 1; }
.property-results-header :is(h1, .section-text),
.district-dash-header :is(h1, .section-text, .section-eyebrow, .section-eyebrow a) { color: var(--white); }

.about-hero::before,
.blog-hero::before,
.blog-detail-hero::before,
.b2b-hero::before,
.legal-hero::before,
.contact-hero::before,
.services-hero::before,
.sales-product-hero::before,
.content-marketing-hero::before,
.core-sales-hero::before,
.core-command-hero::before,
.detail-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(var(--brand-charcoal-rgb), 0.28) 100%);
  pointer-events: none;
}

.about-hero .container,
.blog-hero .container,
.blog-detail-hero .container,
.b2b-hero .container,
.legal-hero .container,
.contact-hero .container,
.services-hero .container,
.sales-product-hero .container,
.content-marketing-hero .container,
.core-sales-hero .container,
.core-command-hero .container,
.detail-header .container {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.blog-hero .row,
.b2b-hero .row,
.contact-hero .row,
.core-command-hero .row {
  display: block;
}

.blog-hero [class*="col-"],
.b2b-hero [class*="col-"],
.contact-hero [class*="col-"],
.core-command-hero [class*="col-"] {
  width: 100%;
  max-width: 980px;
}

.about-hero .section-eyebrow,
.blog-hero .section-eyebrow,
.blog-detail-hero .section-eyebrow,
.b2b-hero .section-eyebrow,
.legal-hero .section-eyebrow,
.contact-hero .section-eyebrow,
.services-hero .section-eyebrow,
.sales-product-hero .section-eyebrow,
.content-marketing-hero .section-eyebrow,
.core-sales-hero .section-eyebrow,
.detail-header .section-eyebrow {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(var(--brand-charcoal-rgb), 0.75);
}

.about-hero h1,
.blog-hero h1,
.blog-detail-hero h1,
.b2b-hero h1,
.legal-hero h1,
.contact-hero h1,
.services-hero h1,
.sales-product-hero h1,
.content-marketing-hero h1,
.core-sales-hero h1,
.core-command-hero h1,
.detail-header h1 {
  max-width: 960px;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.35rem;
}

.about-hero .section-text,
.blog-hero .section-text,
.blog-detail-hero p,
.b2b-hero .section-text,
.legal-hero .section-text,
.contact-hero .section-text,
.services-hero .section-text,
.sales-product-hero .section-text,
.content-marketing-hero .section-text,
.core-sales-hero .section-text,
.core-command-hero .section-text,
.detail-header .section-text {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-hero-tags,
.blog-hero-panel,
.b2b-hero-actions,
.contact-hero-actions,
.core-hero-actions,
.core-command-panel,
.core-hero-kicker {
  display: none !important;
}

.core-command-hero::after {
  display: none;
}

@media (max-width: 767.98px) {
  .about-hero,
  .blog-hero,
  .blog-detail-hero,
  .b2b-hero,
  .legal-hero,
  .contact-hero,
  .services-hero,
  .sales-product-hero,
  .content-marketing-hero,
  .core-sales-hero,
  .core-command-hero,
  .detail-header {
    padding: 118px 0 58px;
    text-align: center;
  }

  .about-hero h1,
  .blog-hero h1,
  .blog-detail-hero h1,
  .b2b-hero h1,
  .legal-hero h1,
  .contact-hero h1,
  .services-hero h1,
  .sales-product-hero h1,
  .content-marketing-hero h1,
  .core-sales-hero h1,
  .core-command-hero h1,
  .detail-header h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .about-hero .section-text,
  .blog-hero .section-text,
  .blog-detail-hero p,
  .b2b-hero .section-text,
  .legal-hero .section-text,
  .contact-hero .section-text,
  .services-hero .section-text,
  .sales-product-hero .section-text,
  .content-marketing-hero .section-text,
  .core-sales-hero .section-text,
  .core-command-hero .section-text,
  .detail-header .section-text {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
  }
}

/* Project-wide typography normalization */
body {
  font-size: 1rem;
  line-height: 1.7;
}

.navbar-brand {
  font-size: 1.18rem;
}

.nav-link,
.dropdown-item,
.auth-link,
.lang-toggle,
.btn,
.listing-btn {
  font-size: 0.94rem;
}

.section-eyebrow,
.listing-badges span,
.search-tab,
.content-hero-panel > span,
.b2b-package-card > span,
.sales-product-stats span,
.content-metric span {
  font-size: 0.8125rem;
}

.hero h1 {
  font-size: 4.35rem;
  line-height: 1.05;
}

.about-hero h1,
.blog-hero h1,
.blog-detail-hero h1,
.b2b-hero h1,
.legal-hero h1,
.contact-hero h1,
.services-hero h1,
.sales-product-hero h1,
.content-marketing-hero h1,
.core-sales-hero h1,
.core-command-hero h1,
.detail-header h1,
.page-header h1 {
  font-size: 3.6rem;
  line-height: 1.12;
}

.section-title,
.testimonial-heading .section-title,
.services-product-section .section-title,
.sales-product-cta h2,
.legal-cta h2,
.b2b-cta h2,
.contact-map-copy h2,
.content-marketing-page .section-title {
  font-size: 2.45rem;
  line-height: 1.18;
}

.section-text,
.page-header .section-text,
.hero p,
.about-hero .section-text,
.blog-hero .section-text,
.blog-detail-hero p,
.b2b-hero .section-text,
.legal-hero .section-text,
.contact-hero .section-text,
.services-hero .section-text,
.sales-product-hero .section-text,
.content-marketing-hero .section-text,
.core-sales-hero .section-text,
.core-command-hero .section-text,
.detail-header .section-text {
  font-size: 1rem;
  line-height: 1.8;
}

.service-card h2,
.content-hero-panel h2,
.blog-feature-copy h2,
.contact-map-copy h2,
.legal-doc-shell h2,
.content-workflow-shell .section-title {
  font-size: 2rem;
  line-height: 1.22;
}

.service-card h3,
.service-listing-body h3,
.listing-title,
.blog-modern-body h3,
.blog-feature-copy h3,
.news-list-item h3,
.why-modern-card h3,
.b2b-audience-card h3,
.b2b-package-card h3,
.legal-step-card h3,
.legal-risk-card h3,
.sales-feature-card h3,
.sales-price-card h3,
.sales-process-grid h3,
.content-studio-card h3,
.content-package-card h3,
.content-brief-tile h3,
.contact-info-card h3,
.detail-related-card h3,
.sidebar-card h3 {
  font-size: 1.25rem;
  line-height: 1.35;
}

.service-card p,
.service-listing-body p,
.blog-modern-body p,
.why-modern-card p,
.b2b-audience-card p,
.b2b-package-card p,
.b2b-package-card li,
.legal-step-card p,
.sales-feature-card p,
.sales-price-card p,
.sales-price-card li,
.content-studio-card p,
.content-package-card p,
.content-package-card li,
.content-brief-tile p,
.contact-info-card p,
.detail-related-card p,
.sidebar-card p,
.content-proof-list span {
  font-size: 0.98rem;
  line-height: 1.75;
}

.sales-product-stats strong,
.content-metric strong,
.value-count,
.legal-step-card span,
.b2b-audience-card::before {
  font-size: 2.65rem;
}

@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .about-hero h1,
  .blog-hero h1,
  .blog-detail-hero h1,
  .b2b-hero h1,
  .legal-hero h1,
  .contact-hero h1,
  .services-hero h1,
  .sales-product-hero h1,
  .content-marketing-hero h1,
  .core-sales-hero h1,
  .core-command-hero h1,
  .detail-header h1,
  .page-header h1 {
    font-size: 2.8rem;
  }

  .section-title,
  .testimonial-heading .section-title,
  .services-product-section .section-title,
  .sales-product-cta h2,
  .legal-cta h2,
  .b2b-cta h2,
  .contact-map-copy h2,
  .content-marketing-page .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 0.96rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .nav-link,
  .dropdown-item,
  .auth-link,
  .lang-toggle,
  .btn,
  .listing-btn {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .about-hero h1,
  .blog-hero h1,
  .blog-detail-hero h1,
  .b2b-hero h1,
  .legal-hero h1,
  .contact-hero h1,
  .services-hero h1,
  .sales-product-hero h1,
  .content-marketing-hero h1,
  .core-sales-hero h1,
  .core-command-hero h1,
  .detail-header h1,
  .page-header h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-title,
  .testimonial-heading .section-title,
  .services-product-section .section-title,
  .sales-product-cta h2,
  .legal-cta h2,
  .b2b-cta h2,
  .contact-map-copy h2,
  .content-marketing-page .section-title {
    font-size: 1.55rem;
    line-height: 1.28;
  }

  .section-text,
  .page-header .section-text,
  .hero p,
  .about-hero .section-text,
  .blog-hero .section-text,
  .blog-detail-hero p,
  .b2b-hero .section-text,
  .legal-hero .section-text,
  .contact-hero .section-text,
  .services-hero .section-text,
  .sales-product-hero .section-text,
  .content-marketing-hero .section-text,
  .core-sales-hero .section-text,
  .core-command-hero .section-text,
  .detail-header .section-text {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .service-card h2,
  .content-hero-panel h2,
  .blog-feature-copy h2,
  .contact-map-copy h2,
  .legal-doc-shell h2,
  .content-workflow-shell .section-title {
    font-size: 1.45rem;
  }

  .service-card h3,
  .service-listing-body h3,
  .listing-title,
  .blog-modern-body h3,
  .blog-feature-copy h3,
  .news-list-item h3,
  .why-modern-card h3,
  .b2b-audience-card h3,
  .b2b-package-card h3,
  .legal-step-card h3,
  .legal-risk-card h3,
  .sales-feature-card h3,
  .sales-price-card h3,
  .sales-process-grid h3,
  .content-studio-card h3,
  .content-package-card h3,
  .content-brief-tile h3,
  .contact-info-card h3,
  .detail-related-card h3,
  .sidebar-card h3 {
    font-size: 1.12rem;
  }
}

/* Final header font-size lock */
.navbar .navbar-brand,
.navbar .nav-link,
.navbar .dropdown-item,
.navbar .lang-toggle,
.navbar .auth-link {
  font-size: 0.95rem;
  line-height: 1.2;
}

.navbar .navbar-brand {
  font-size: 1rem;
}

.navbar .nav-link,
.navbar .dropdown-item,
.navbar .lang-toggle,
.navbar .auth-link {
  font-weight: 600;
}

.navbar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

@media (max-width: 575.98px) {
  .navbar .navbar-brand,
  .navbar .nav-link,
  .navbar .dropdown-item,
  .navbar .lang-toggle,
  .navbar .auth-link {
    font-size: 0.92rem;
  }
}

.mobile-drawer-brand {
  display: none;
}

/* Mobile right-side drawer menu */
@media (max-width: 991.98px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1028;
    background: rgba(var(--brand-charcoal-rgb), 0.46);
    backdrop-filter: blur(2px);
  }

  .navbar {
    z-index: 1030;
  }

  .navbar .container {
    flex-wrap: nowrap;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1040;
    width: min(86vw, 360px);
    height: 100vh;
    max-height: none;
    display: block !important;
    visibility: hidden;
    margin-top: 0;
    padding: 5.25rem 1.1rem 1.25rem;
    overflow-y: auto;
    background: var(--white);
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    box-shadow: -28px 0 70px rgba(var(--brand-charcoal-rgb), 0.2);
    transform: translateX(100%);
    transition: transform 0.32s ease, visibility 0.32s ease;
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    visibility: visible;
    transform: translateX(0);
  }

  .navbar-collapse.collapsing {
    height: 100vh !important;
  }

  .mobile-drawer-brand {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    display: block;
    width: 140px;
    max-width: calc(100% - 5rem);
  }

  .mobile-drawer-brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  .navbar-nav {
    gap: 0.35rem !important;
  }

  .navbar-menu {
    margin-bottom: 1rem !important;
  }

  .navbar .nav-link,
  .navbar .dropdown-item {
    padding: 0.78rem 0.85rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .navbar .dropdown-menu {
    position: static !important;
    width: 100%;
    min-width: 0;
    margin: 0.25rem 0 0.45rem;
    padding: 0.45rem;
    transform: none !important;
    border-radius: 8px;
  }

  .navbar-actions {
    gap: 0.6rem !important;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .navbar-actions .nav-item,
  .navbar-actions .lang-toggle,
  .navbar-actions .auth-link {
    width: 100%;
  }

  .navbar-actions .lang-toggle {
    justify-content: center;
    background: var(--white);
  }

  .navbar-actions .auth-link {
    padding: 0.85rem;
    background: var(--secondary);
    border-radius: 8px;
  }

  .navbar-toggler {
    position: relative;
    z-index: 1050;
  }

  .navbar-toggler[aria-expanded="true"] {
    position: fixed;
    top: 1.1rem;
    right: 1.1rem;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none;
    position: relative;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 22px;
    height: 2px;
    background: var(--brand-charcoal);
    border-radius: 999px;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
  }
}

/* Home news/blog tablet layout */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .news-blog-section .row.g-4.g-xl-5 > .col-lg-4 {
    width: 50%;
  }

  .news-blog-section .row.g-4.g-xl-5 > .col-lg-4:last-child {
    width: 100%;
  }

  .news-blog-section .video-list-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding-left: 0;
    border-left: 0;
  }

  .news-blog-section .video-list-column .news-list-item {
    margin-bottom: 0;
  }

  .news-list-item,
  .video-list-item {
    grid-template-columns: 104px 1fr;
    gap: 0.9rem;
  }

  .news-list-item img,
  .video-thumb {
    width: 104px;
    height: 78px;
  }

  .news-list-item h3 {
    font-size: 1.02rem;
    line-height: 1.42;
  }
}

@media (max-width: 575.98px) {
  .services-product-heading {
    max-width: calc(100vw - 30px);
    padding: 1rem 0.85rem 1.45rem;
  }

  .services-product-heading .section-eyebrow {
    font-size: 0.72rem;
  }

  .services-product-heading .section-title {
    font-size: 1.7rem;
    line-height: 1.22;
  }

  .services-product-heading .title-highlight {
    padding-left: 0.16em;
    padding-right: 0.16em;
  }

  .services-product-heading .section-text {
    font-size: 0.94rem;
    line-height: 1.65;
  }
}

@media (max-width: 575.98px) {
  .services-product-section .services-product-heading {
    padding: 1.25rem 1rem 1.35rem;
  }

  .services-product-section .services-product-heading::before {
    left: 1.4rem;
    right: 1.4rem;
    top: -7px;
    width: auto;
    height: 8px;
    transform: none;
  }

  .services-product-section .services-product-heading .section-title {
    max-width: 100%;
    font-size: 1.55rem;
    line-height: 1.28;
  }

  .services-product-section .services-product-heading .section-text {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}

/* ==========================================================================
   District selector map (homepage hero) + district properties dashboard
   ========================================================================== */

.district-map-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 54px;
}

.district-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.district-map-head p,
.district-map-head h2 {
  color: var(--white);
}

.district-map {
  height: 560px;
  overflow: hidden;
  background: var(--secondary);
  border: 3px solid var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.district-map .leaflet-container {
  background: var(--secondary);
  cursor: pointer;
  font-family: inherit;
}

.district-map path.leaflet-interactive {
  transition: filter 0.18s ease;
  cursor: pointer;
}

.district-map path.district-raised {
  filter: drop-shadow(0 10px 16px rgba(var(--brand-charcoal-rgb), 0.45));
}

.district-tooltip {
  padding: 4px 10px;
  color: var(--white);
  background: rgba(var(--brand-charcoal-rgb), 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.district-map-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
  text-align: right;
}

.district-map-credit a {
  color: var(--white);
  font-weight: 700;
}

/* District properties dashboard page */

.district-dash-header {
  padding-bottom: 32px;
}

.district-dashboard-section {
  padding: 0 0 1.5rem;
}

.district-dashboard {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  height: calc(100vh - 260px);
  min-height: 480px;
  border-top: 1px solid var(--border);
}

.district-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.district-sidebar-head {
  padding: 1rem 1.25rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.district-sidebar-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.district-sidebar-loading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0;
  color: var(--muted);
}

.district-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 3rem 1rem;
  color: var(--muted);
  text-align: center;
}

.district-empty-state i {
  font-size: 2.2rem;
  color: var(--primary);
}

.district-property-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 0.9rem;
  cursor: pointer;
}

.district-property-card .service-listing-media {
  width: 112px;
  height: auto;
  flex: 0 0 112px;
}

.district-property-card .service-listing-body {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.9rem;
}

.district-property-card .service-listing-body h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.district-property-card .listing-title {
  min-height: auto;
  margin-bottom: 0.2rem;
  -webkit-line-clamp: 1;
}

.district-property-card .listing-location {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.district-property-card:hover,
.district-property-card:focus-visible {
  outline: none;
  box-shadow: 0 14px 30px rgba(var(--brand-charcoal-rgb), 0.14);
  transform: translateY(-3px);
}

.district-map-wrap {
  position: relative;
  height: 100%;
}

.dashboard-map {
  height: 100%;
  width: 100%;
}

.dashboard-map .property-pin {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--brand-red-rgb), 0.28);
}


.property-detail-carousel .carousel-item img {
  height: 360px;
  object-fit: cover;
  border-radius: 14px;
}

.property-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.property-detail-badges span {
  padding: 0.32rem 0.6rem;
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.08);
  border: 1px solid rgba(var(--brand-red-rgb), 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.property-detail-price {
  color: var(--ink);
  font-weight: 900;
}

.property-detail-address {
  color: var(--muted);
  font-weight: 600;
}

.property-detail-description {
  color: var(--ink);
}

.property-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 991.98px) {
  .district-dashboard {
    grid-template-columns: 1fr;
    grid-template-rows: auto 60vh;
    height: auto;
  }

  .district-sidebar {
    max-height: 46vh;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

/* Home testimonial section fix */
.testimonial-section {
  min-height: auto;
  padding: 84px 0 98px;
  background-attachment: scroll;
}

.testimonial-section .testimonial-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-section .carousel {
  padding-bottom: 0 !important;
}

.testimonial-section .carousel-inner,
.testimonial-section .carousel-item {
  min-height: auto;
}

.testimonial-section .testimonial-card {
  height: auto;
  min-height: 0;
  max-width: 760px !important;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.testimonial-section .testimonial-card::before {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.testimonial-section .testimonial-card p {
  margin-bottom: 0;
}

.testimonial-section .testimonial-author {
  margin-top: 1.1rem;
}

.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.testimonial-section .carousel-control-prev {
  left: max(16px, calc(50% - 470px));
}

.testimonial-section .carousel-control-next {
    right: max(16px, calc(50% - 470px));
}

/* Functional bilingual selector */
.language-menu .lang-toggle.dropdown-toggle::after {
  display: none;
}

.lang-toggle.is-english .lang-flag {
  display: inline-grid;
  color: #fff;
  background: linear-gradient(135deg, #173b72, #245da8);
  border-radius: 4px;
  font-size: 0;
  place-items: center;
}

.lang-toggle.is-english .lang-flag::after {
  position: static;
  width: auto;
  height: auto;
  content: "EN";
  color: #fff;
  background: transparent;
  border-radius: 0;
  font-size: 8px;
  font-weight: 900;
  transform: none;
}

.language-dropdown {
  min-width: 225px;
  margin-top: 12px !important;
  padding: 8px;
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(var(--brand-charcoal-rgb), 0.16);
}

.language-dropdown .lang-option {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  color: var(--ink);
  border-radius: 9px;
}

.language-dropdown .lang-option:hover,
.language-dropdown .lang-option.active {
  color: var(--primary);
  background: rgba(var(--brand-red-rgb), 0.07);
}

.language-option-flag {
  width: 32px;
  height: 23px;
  display: inline-grid;
  overflow: hidden;
  color: #fff;
  background: #245da8;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 900;
  place-items: center;
}

.language-option-flag.flag-bn {
  position: relative;
  background: #006a4e;
}

.language-option-flag.flag-bn::after {
  width: 12px;
  height: 12px;
  content: "";
  background: #f42a41;
  border-radius: 50%;
}

.language-dropdown .lang-option span:nth-child(2),
.language-dropdown .lang-option strong,
.language-dropdown .lang-option small {
  display: block;
}

.language-dropdown .lang-option strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.language-dropdown .lang-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.language-dropdown .lang-option > i {
  visibility: hidden;
  color: var(--primary);
}

.language-dropdown .lang-option.active > i {
  visibility: visible;
}

@media (max-width: 767.98px) {
  .testimonial-section {
    padding: 64px 0 82px;
  }

  .testimonial-section .carousel-control-prev,
  .testimonial-section .carousel-control-next {
    top: auto;
    bottom: -58px;
    transform: none;
  }

  .testimonial-section .carousel-control-prev {
    left: calc(50% - 58px);
  }

  .testimonial-section .carousel-control-next {
    right: calc(50% - 58px);
  }
}

/* Brand image assets */
.brand-logo-image {
  width: clamp(126px, 12vw, 164px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.navbar-brand:has(.brand-logo-image) {
  min-width: 0;
  padding: 0;
}

.auth-brand {
  min-height: 54px;
}

.auth-brand-logo {
  width: 150px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.footer-brand {
  display: inline-flex !important;
  width: fit-content;
  padding: 0 !important;
  background: transparent;
}

.footer-brand .brand-logo-image {
  width: clamp(180px, 17vw, 220px);
  max-height: 74px;
}

@media (max-width: 575.98px) {
  .footer > .container > .row > [class*="col-"] {
    width: 100%;
  }

  .brand-logo-image {
    width: 112px;
    max-height: 46px;
  }

  .footer-brand .brand-logo-image {
    width: 148px;
    max-height: 50px;
  }

  .footer-brand {
    margin-bottom: 1.1rem !important;
  }

  .auth-brand-logo {
    width: 132px;
  }
}

/* Homepage property categories */
.home-category-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: -12px 0 42px; }
.home-category-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; border: 1px solid var(--brand-border); border-radius: 8px; background: #fff; color: var(--primary); font-weight: 700; }
.home-category-nav a:hover { background: var(--primary); color: #fff; }
.home-property-category { scroll-margin-top: 110px; }
.home-property-category + .home-property-category { margin-top: clamp(64px, 7vw, 100px); }
.home-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.home-category-heading h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 25px; font-weight: 700; }
.home-category-heading h3 i { color: var(--primary); }
.home-category-heading > a { color: var(--primary); font-size: 14px; font-weight: 600; }
.home-category-nav a:focus-visible, .home-category-heading > a:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.home-property-category .published-property-card { height: 100%; }
@media (max-width: 575.98px) {
  .home-category-nav { gap: 8px; margin-bottom: 30px; }
  .home-category-nav a { padding: 10px 20px; }
  .home-category-heading { flex-wrap: wrap; gap: 12px; }
  .home-category-heading h3 { font-size: 22px; }
  .home-category-heading > a { font-size: 12px; }
}

/* Published property card actions. */
.listing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.listing-actions .listing-btn {
  min-height: 44px;
  padding: 0.65rem 0.35rem;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.listing-actions .listing-appointment-btn {
  color: var(--white);
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.listing-actions .listing-appointment-btn:hover {
  background: var(--brand-red-hover, #7d0e18);
  border-color: var(--brand-red-hover, #7d0e18);
}

.listing-actions .listing-btn:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 3px;
}

/* Keep content usable at narrow widths, including long authored text. */
.row > *,
.about-editorial-vision > *,
.district-dashboard > *,
.listing-actions > * {
  min-width: 0;
}

main :where(h1, h2, h3, h4, p, a, label),
footer :where(p, a) {
  overflow-wrap: anywhere;
}

.form-control,
.form-select {
  min-width: 0;
  max-width: 100%;
}

.property-detail-description :where(img, video, iframe) {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  /* Large Bootstrap gutters exceed the container padding on tablets. */
  main .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .navbar-collapse,
  .navbar-collapse.collapsing {
    height: 100dvh !important;
    overscroll-behavior: contain;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .navbar .dropdown-item,
  .navbar .nav-link,
  .navbar .auth-link span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 575.98px) {
  .auth-form :is(input, select, textarea),
  main :is(input.form-control, select.form-select, textarea.form-control) {
    font-size: 16px;
  }

  .district-property-card {
    flex-direction: column;
  }

  .district-property-card .service-listing-media {
    flex: auto;
    width: 100%;
    height: 160px;
  }

  .property-detail-carousel .carousel-item img {
    height: clamp(180px, 60vw, 300px);
  }
}

/* Property previews show the title and subtitle; full information lives in details. */

/* Property details page: scoped so every other inner page keeps its existing layout. */
.property-detail-hero {
  min-height: 350px;
  padding: 132px 0 64px;
}

.property-detail-hero .container { max-width: 1140px; }
.property-detail-hero-copy { min-width: 0; }
.property-detail-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; }
.property-detail-breadcrumb a { color: #fff; text-decoration: none; }
.property-detail-breadcrumb a:hover { color: var(--accent); }
.property-detail-breadcrumb i { font-size: .62rem; }
.property-detail-hero h1 { max-width: 900px; margin-bottom: 14px; overflow: hidden; overflow-wrap: anywhere; font-size: clamp(2.2rem, 4.2vw, 3.55rem); line-height: 1.08; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.property-detail-hero .section-text { max-width: 760px; margin-bottom: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.property-detail-page { padding: clamp(42px, 6vw, 76px) 0 88px; background: linear-gradient(180deg, #fafafa 0%, #fff 100%); }
.property-detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 28px; align-items: start; }
.property-detail-gallery-column { display: contents; }
.property-detail-layout .detail-gallery { grid-column: 1; grid-row: 1; min-width: 0; border-radius: 18px; }
.property-detail-info-column { grid-column: 2; grid-row: 1; min-width: 0; width: auto; padding: 0; }
.property-detail-layout .detail-sidebar { top: 96px; border-radius: 18px; }
.property-detail-layout .detail-main-img { display: block; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #f3f1ed; }
.property-detail-layout .property-detail-review-card { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 8px 0 0 !important; border-radius: 18px; }
.property-detail-layout .property-detail-tab-content { min-height: 220px; }

@media (max-width: 991.98px) {
  .property-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .property-detail-layout .detail-gallery { grid-column: 1; grid-row: 1; }
  .property-detail-info-column { grid-column: 1; grid-row: 2; }
  .property-detail-layout .property-detail-review-card { grid-column: 1; grid-row: 3; margin-top: 0 !important; }
  .property-detail-layout .detail-sidebar { position: static; }
}

@media (max-width: 575.98px) {
  .property-detail-hero { min-height: 300px; padding: 112px 0 48px; text-align: left; }
  .property-detail-hero h1 { font-size: 2rem; }
  .property-detail-hero .section-text { margin-inline: 0; }
  .property-detail-breadcrumb { margin-bottom: 13px; }
  .property-detail-page { padding: 24px 0 58px; }
  .property-detail-layout { gap: 16px; }
  .property-detail-layout .detail-gallery,
  .property-detail-layout .detail-sidebar,
  .property-detail-layout .property-detail-review-card { border-radius: 12px; }
}

/* Blog details page: mirrors the property details hierarchy without affecting the blog listing. */
.blog-detail-show-hero {
  min-height: 350px;
  padding: 132px 0 64px;
}

.blog-detail-show-hero .container { max-width: 1140px; }
.blog-detail-show-hero-copy { min-width: 0; }
.blog-detail-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: rgba(255, 255, 255, .72); font-size: .78rem; font-weight: 700; }
.blog-detail-breadcrumb a { color: #fff; text-decoration: none; }
.blog-detail-breadcrumb a:hover { color: var(--accent); }
.blog-detail-breadcrumb i { font-size: .62rem; }
.blog-detail-show-hero h1 { max-width: 900px; margin-bottom: 14px; overflow: hidden; overflow-wrap: anywhere; font-size: clamp(2.2rem, 4.2vw, 3.55rem); line-height: 1.08; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.blog-detail-show-hero .section-text { max-width: 760px; margin-bottom: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.blog-detail-show-page { padding: clamp(42px, 6vw, 76px) 0 72px; background: linear-gradient(180deg, #fafafa 0%, #fff 100%); }
.blog-detail-show-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 28px; align-items: start; }
.blog-detail-featured { display: block; min-width: 0; height: auto; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #f3f1ed; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); }
.blog-detail-featured img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.blog-modern-img { min-height: 0; }
.blog-detail-summary { position: sticky; top: 96px; min-width: 0; height: 100%; padding: clamp(1.4rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); }
.blog-detail-summary .listing-badges { margin-bottom: 18px; }
.blog-detail-summary h2 { margin-bottom: 12px; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.18; overflow-wrap: anywhere; }
.blog-detail-summary-excerpt { margin-bottom: 0; color: var(--muted); }
.blog-detail-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.blog-detail-meta-grid > div { display: grid; min-width: 0; gap: 3px; place-items: center; padding: 16px 8px; text-align: center; background: var(--secondary); border: 1px solid var(--border); border-radius: 10px; }
.blog-detail-meta-grid i { color: var(--primary); font-size: 1.2rem; }
.blog-detail-meta-grid strong { max-width: 100%; color: var(--ink); font-size: .94rem; overflow-wrap: anywhere; }
.blog-detail-meta-grid small { color: var(--muted); }
.blog-detail-information { margin-bottom: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.blog-detail-information h3 { margin-bottom: 14px; color: var(--ink); font-size: 1.35rem; font-weight: 900; }
.blog-detail-information p { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 9px; color: var(--muted); overflow-wrap: anywhere; }
.blog-detail-information p i { flex: 0 0 auto; margin-top: .28rem; color: var(--primary); }
.blog-detail-article-card { grid-column: 1 / -1; width: 100%; margin-top: 8px; padding: clamp(22px, 4vw, 40px); background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); }
.blog-detail-article-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.blog-detail-article-heading > i { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; color: var(--primary); background: var(--brand-tint); border-radius: 14px; font-size: 1.4rem; }
.blog-detail-article-heading .section-eyebrow { margin-bottom: 2px; color: var(--primary) !important; }
.blog-detail-article-heading h2 { margin: 0; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2rem); }
.blog-review-card { grid-column: 1 / -1; width: 100%; scroll-margin-top: 110px; padding: clamp(22px, 4vw, 40px); background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); }
.blog-review-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.blog-review-card-heading .section-eyebrow { margin-bottom: 3px; color: var(--primary) !important; }
.blog-review-card-heading h2 { margin: 0; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2rem); }
.blog-review-count { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; color: var(--white); background: var(--primary); border-radius: 50%; font-weight: 600; }
.blog-review-list { max-width: 860px; }
.blog-detail-related { background: #fff; }

@media (max-width: 991.98px) {
  .blog-detail-show-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .blog-detail-featured { height: auto; }
  .blog-detail-featured img { height: 100%; object-fit: cover; }
  .blog-detail-summary { position: static; height: auto; }
  .blog-detail-article-card { grid-column: 1; margin-top: 0; }
  .blog-review-card { grid-column: 1; }
}

@media (max-width: 575.98px) {
  .blog-detail-show-hero { min-height: 300px; padding: 112px 0 48px; text-align: left; }
  .blog-detail-show-hero h1 { font-size: 2rem; }
  .blog-detail-show-hero .section-text { margin-inline: 0; }
  .blog-detail-breadcrumb { margin-bottom: 13px; }
  .blog-detail-show-page { padding: 24px 0 52px; }
  .blog-detail-show-layout { gap: 16px; }
  .blog-detail-featured,
  .blog-detail-summary,
  .blog-detail-article-card,
  .blog-review-card { border-radius: 12px; }
  .blog-detail-meta-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-detail-article-heading { align-items: flex-start; }
}

.property-detail-review-card { padding: 0 !important; overflow: hidden; }
.property-detail-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; background: var(--brand-tint); border-bottom: 1px solid var(--brand-border); }
.property-detail-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; color: var(--brand-muted); background: transparent; border: 0; border-radius: 10px; font-weight: 800; transition: .2s ease; }
.property-detail-tabs button:hover { color: var(--brand-red); }
.property-detail-tabs button.active { color: #fff; background: var(--brand-red); box-shadow: 0 8px 20px rgba(var(--brand-red-rgb), .2); }
.property-detail-tabs button small { display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; color: var(--brand-red); background: #fff; border-radius: 999px; font-size: 10px; }
.property-detail-tab-content { padding: clamp(22px, 3vw, 32px); }
.property-detail-tab-content h2 { margin-bottom: 18px; }
.property-review-item { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--brand-border); }
.property-review-item:first-of-type { padding-top: 2px; }
.property-review-item:last-child { padding-bottom: 0; border-bottom: 0; }
.property-review-item > img, .property-review-avatar { display: grid; width: 50px; height: 50px; object-fit: cover; place-items: center; color: #fff; background: var(--brand-red); border-radius: 50%; font-weight: 800; }
.property-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.property-review-heading strong { color: var(--brand-charcoal); font-size: 14px; }
.property-review-heading span { display: flex; gap: 2px; color: var(--brand-red); font-size: 11px; }
.property-review-item small { display: block; margin-top: 2px; color: var(--brand-muted); font-size: 10px; }
.property-review-item p { margin: 9px 0 0; color: var(--brand-muted); font-size: 13px; line-height: 1.7; }
.property-review-empty { padding: 25px 10px; color: var(--brand-muted); text-align: center; }
.property-review-empty i { display: block; margin-bottom: 10px; color: var(--brand-red); font-size: 30px; }
.property-review-empty p { margin: 0; }
.property-review-form-wrap { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--brand-border); }
.property-review-form-wrap h3 { margin: 0 0 5px; color: var(--brand-charcoal); font-size: 18px; font-weight: 800; }
.property-review-form-wrap > p { margin: 0 0 18px; color: var(--brand-muted); font-size: 14px; }
.property-review-form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.property-review-form label { display: block; margin-bottom: 6px; color: var(--brand-charcoal); font-size: 13px; font-weight: 800; }
.property-review-form label small { color: var(--brand-muted); font-weight: 500; }
.property-review-form .form-control, .property-review-form .form-select { min-height: 45px; border-color: var(--brand-border); border-radius: 10px; font-size: 13px; }
.property-review-form .property-review-message, .property-review-form button { grid-column: 1 / -1; }
.property-review-form textarea.form-control { min-height: 110px; resize: vertical; }
.property-review-form button { justify-self: start; min-width: 170px; }
.property-review-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575.98px) { .property-detail-tabs button { padding-inline: 8px; font-size: 13px; } .property-detail-tab-content { padding: 20px 17px; } .property-review-heading { align-items: flex-start; flex-direction: column; gap: 4px; } }
@media (max-width: 575.98px) { .property-review-form { grid-template-columns: minmax(0, 1fr); } .property-review-form .property-review-message, .property-review-form button { grid-column: auto; } .property-review-form button { width: 100%; } }
.published-property-card,
.property-result-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.published-property-card .service-listing-body,
.property-result-card .service-listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  gap: 0.75rem;
}

.service-listing-body h3.listing-title {
  min-height: 0;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

.listing-subtitle {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.published-property-card .listing-actions,
.property-result-card .listing-btn {
  margin-top: auto;
}

.published-property-card .listing-actions {
  padding-top: 1rem;
}

.property-full-description {
  overflow-wrap: anywhere;
}

.property-full-description :is(img, video, iframe) {
  max-width: 100%;
}

.property-full-description img {
  height: auto;
}

.property-full-description :is(table, pre) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.detail-price {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Homepage appointment request, directly above the footer. */
.home-appointment {
  scroll-margin-top: 110px;
  background: #fff;
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 6vw, 80px);
}

.appointment-intro {
  padding-top: 16px;
}

.appointment-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.appointment-kicker i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  font-size: 18px;
}

.home-appointment h2 {
  max-width: 510px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: -1.4px;
  line-height: 1.2;
  font-weight: 600;
}

.appointment-intro .section-text {
  max-width: 510px;
  margin-left: 0;
  margin-right: 0;
  font-size: 15px;
  line-height: 1.85;
}

.appointment-process {
  display: grid;
  gap: 18px;
  margin: 32px 0;
}

.appointment-process > span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 14px;
}

.appointment-process b {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  padding-block: 4px;
}

.appointment-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
}

.appointment-form {
  padding: 30px 0 0 clamp(24px, 3vw, 44px);
  background: #fff;
  border: 0;
  border-top: 3px solid var(--primary);
  border-left: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  scroll-margin-top: 110px;
}

.appointment-fieldset {
  margin: 0 0 28px;
  padding: 0;
  min-width: 0;
}

.appointment-fieldset legend {
  float: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: auto;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.appointment-fieldset legend span {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 1px;
}

.appointment-form .form-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.appointment-form .form-control,
.appointment-form .form-select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.appointment-form .form-select {
  padding-right: 40px;
  background-color: #fff;
  background-image: var(--bs-form-select-bg-img);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  cursor: pointer;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--brand-red-rgb), .08);
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.appointment-submit-row > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.appointment-submit-row .btn {
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .appointment-form {
    margin-top: 12px;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 575.98px) {
  .appointment-submit-row .btn {
    width: 100%;
  }
}

/* Keep uploaded article content inside the screen at every text size. */
:is(.property-full-description, .blog-article) {
  min-width: 0;
  overflow-wrap: anywhere;
}
:is(.property-full-description, .blog-article) :is(img, video, iframe) {
  max-width: 100%;
}
:is(.property-full-description, .blog-article) :is(img, video) {
  height: auto;
}
:is(.property-full-description, .blog-article) :is(table, pre) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
@media (max-width: 767.98px) {
  .btn, .social-link, .navbar-toggler { min-height: 44px; }
  .navbar-nav .nav-link, .navbar-nav .dropdown-item { padding-block: 12px; }
  .contact-channel-card a, .footer-contact-list a, .appointment-phone { overflow-wrap: anywhere; }
  .detail-thumbs { max-width: 100%; }
  .auth-body :is(input, select, textarea) { font-size: 16px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link,
  .navbar .auth-link {
    font-size: 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .core-command-hero {
    padding-top: 92px;
    padding-bottom: 28px;
  }

  .core-command-hero .row > .col-lg-5 {
    display: none;
  }

  .legal-step-card {
    min-height: 0;
    padding: 1.25rem;
  }

  .legal-step-card span {
    margin-bottom: 1rem;
    font-size: 2.2rem;
  }

  .legal-intro-section {
    padding-bottom: 20px;
  }

  .legal-checklist-section {
    padding-top: 20px;
  }
}

.blog-grid-heading .btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.85rem;
}

@media (max-width: 991.98px) {
  .contact-workspace {
    padding-top: 36px;
  }

  .about-editorial-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .blog-grid-heading {
    flex-wrap: wrap;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .navbar-collapse {
    min-width: 0;
    justify-content: flex-end;
    gap: 8px;
  }

  .navbar .navbar-menu {
    position: static;
    width: auto;
    margin-left: auto !important;
    margin-right: 0 !important;
    gap: 0 !important;
    transform: none;
  }

  .navbar .navbar-menu .nav-link {
    padding-inline: 0.4rem;
  }

  .navbar .navbar-actions {
    flex-shrink: 0;
    margin-left: auto !important;
  }
}

/* Blog discussions reuse the existing review card and brand controls. */
.blog-comment-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.blog-comment .property-review-heading .badge { color: var(--white); }
#blogReviews, #blogCommentForm, .blog-comment { scroll-margin-top: 110px; }
.blog-comment time { display: block; color: var(--muted); font-size: .8rem; margin: .35rem 0; }
.blog-comment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.blog-comment-replies { margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--border); }
.blog-comment-replies summary, .blog-own-comment summary { cursor: pointer; overflow-wrap: anywhere; }
.blog-comment-replies .property-review-item { grid-template-columns: 32px minmax(0, 1fr); gap: .5rem; margin-top: 1rem; padding-bottom: .5rem; }
.blog-comment-replies .property-review-avatar { width: 32px; height: 32px; flex: 0 0 32px; font-size: .85rem; }
#blogReviews .property-review-message { grid-column: 1 / -1; }
#blogReviews .pagination { flex-wrap: wrap; gap: .25rem; }
@media (max-width: 575.98px) {
    .blog-comment-replies { padding-left: .5rem; }
    .blog-comment .property-review-avatar { width: 28px; height: 28px; flex: 0 0 28px; }
    .blog-comment.property-review-item { grid-template-columns: 28px minmax(0, 1fr); gap: .5rem; }
}

/* Inner-page heroes align with the header logo and page content (standard Bootstrap container widths)
   instead of a narrower 980px column, so every page header starts at the same left edge. */
:is(.about-hero, .blog-hero, .blog-detail-hero, .b2b-hero, .legal-hero, .contact-hero, .services-hero, .sales-product-hero, .content-marketing-hero, .core-sales-hero, .core-command-hero, .detail-header) > .container { max-width: 100%; }
@media (min-width: 576px) { :is(.about-hero, .blog-hero, .blog-detail-hero, .b2b-hero, .legal-hero, .contact-hero, .services-hero, .sales-product-hero, .content-marketing-hero, .core-sales-hero, .core-command-hero, .detail-header) > .container { max-width: 540px; } }
@media (min-width: 768px) { :is(.about-hero, .blog-hero, .blog-detail-hero, .b2b-hero, .legal-hero, .contact-hero, .services-hero, .sales-product-hero, .content-marketing-hero, .core-sales-hero, .core-command-hero, .detail-header) > .container { max-width: 720px; } }
@media (min-width: 992px) { :is(.about-hero, .blog-hero, .blog-detail-hero, .b2b-hero, .legal-hero, .contact-hero, .services-hero, .sales-product-hero, .content-marketing-hero, .core-sales-hero, .core-command-hero, .detail-header) > .container { max-width: 960px; } }
@media (min-width: 1200px) { :is(.about-hero, .blog-hero, .blog-detail-hero, .b2b-hero, .legal-hero, .contact-hero, .services-hero, .sales-product-hero, .content-marketing-hero, .core-sales-hero, .core-command-hero, .detail-header) > .container { max-width: 1140px; } }
@media (min-width: 1400px) { :is(.about-hero, .blog-hero, .blog-detail-hero, .b2b-hero, .legal-hero, .contact-hero, .services-hero, .sales-product-hero, .content-marketing-hero, .core-sales-hero, .core-command-hero, .detail-header) > .container { max-width: 1320px; } }
.property-results-header .section-eyebrow { color: var(--white); font-weight: 900; letter-spacing: .1em; text-shadow: 0 2px 8px rgba(var(--brand-charcoal-rgb), .75); }
