:root {
  --cp-navy-soft: #0b426f;
  --cp-light: var(--cp-offwhite);
  --cp-dark: var(--cp-navy-dark);
  --cp-line: rgba(2, 30, 58, 0.14);
  --cp-logo-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--cp-dark);
  background: var(--cp-white);
  font-family: var(--cp-font-body);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

section {
  scroll-margin-top: 96px;
}

.site-nav {
  min-height: 86px;
  padding: 0.55rem 0;
  background: rgba(2, 30, 58, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, min-height 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(14px);
}

.site-nav.is-scrolled {
  min-height: 68px;
  background: rgba(2, 30, 58, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.brand-logo {
  width: auto;
  height: var(--cp-logo-height);
  max-width: 230px;
  object-fit: contain;
  transition: height 0.2s ease;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(216, 154, 43, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.site-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0.55rem;
  padding: 0.7rem 0;
  text-transform: uppercase;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: #fff;
}

.site-nav .nav-link::after {
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 0;
  height: 2px;
  content: "";
  background: var(--cp-gold);
  transition: width 0.18s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  width: 100%;
}

.btn-cp {
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.82rem;
  --bs-btn-border-radius: 0;
  --bs-btn-font-size: 0.82rem;
  --bs-btn-font-weight: 800;
  --bs-btn-color: var(--cp-navy-dark);
  --bs-btn-bg: var(--cp-gold);
  --bs-btn-border-color: var(--cp-gold);
  --bs-btn-hover-color: var(--cp-navy-dark);
  --bs-btn-hover-bg: var(--cp-gold-dark);
  --bs-btn-hover-border-color: var(--cp-gold-dark);
  text-transform: uppercase;
}

.btn-outline-cp {
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.82rem;
  --bs-btn-border-radius: 0;
  --bs-btn-font-size: 0.82rem;
  --bs-btn-font-weight: 800;
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.62);
  --bs-btn-hover-color: var(--cp-dark);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  text-transform: uppercase;
}

.hero-section {
  position: relative;
  min-height: 760px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 30, 58, 0.94) 0%, rgba(6, 47, 91, 0.76) 42%, rgba(2, 30, 58, 0.22) 100%),
    url("../assets/hero-real-estate.png") center right / cover no-repeat,
    var(--cp-navy);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 38, 0.08), rgba(0, 20, 38, 0.34));
}

.hero-title {
  max-width: 760px;
  margin: 0 0 1.35rem;
  font-family: var(--cp-font-headline);
  font-size: clamp(3rem, 7vw, 6.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title span,
.cta-section h2 span {
  color: var(--cp-gold);
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--cp-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.text-gold {
  color: var(--cp-gold) !important;
}

.section-title {
  color: var(--cp-navy);
  font-family: var(--cp-font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
}

.section-copy {
  max-width: 780px;
  color: var(--cp-muted);
  line-height: 1.76;
}

.services-section {
  background: #fff;
}

.service-grid {
  border-left: 1px solid var(--cp-line);
}

.service-card {
  height: 100%;
  min-height: 410px;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-right: 1px solid var(--cp-line);
  background: var(--cp-white);
}

.service-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: var(--cp-gold);
  border: 1px solid rgba(216, 154, 43, 0.45);
  border-radius: 50%;
  font-size: 1.65rem;
}

.service-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--cp-gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-card-featured {
  background: var(--cp-navy);
}

.service-card-featured h2,
.service-card-featured .check-list li {
  color: #fff;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.74);
}

.service-icon {
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 1.4rem;
  object-fit: contain;
}

.service-card h2,
.property-card h3,
.reference-card h3,
.value-item h3 {
  color: var(--cp-navy);
  font-family: var(--cp-font-headline);
  font-weight: 700;
}

.service-card h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.service-card p {
  color: var(--cp-muted);
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 1.7rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  color: #2f4056;
  font-size: 0.95rem;
}

.check-list li::before {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 0.18rem;
  color: #fff;
  border-radius: 50%;
  content: "\2713";
  background: var(--cp-gold);
  font-size: 0.68rem;
  line-height: 16px;
  text-align: center;
}

.text-link {
  color: var(--cp-navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.footer a:hover {
  color: var(--cp-gold);
}

.process-section {
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(214, 160, 58, 0.12), transparent 48%),
    linear-gradient(135deg, #001426, #002d4c);
}

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

.process-step {
  position: relative;
  text-align: center;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 35px;
  right: -50%;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cp-gold), rgba(255, 255, 255, 0.38));
}

.process-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: var(--cp-white);
  overflow: hidden;
}

.process-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.process-icon i {
  color: var(--cp-gold);
  font-size: 1.55rem;
}

.process-intro {
  max-width: 720px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.process-number {
  display: block;
  color: var(--cp-gold);
  font-weight: 800;
}

.process-step h3 {
  margin: 0.25rem 0 0.5rem;
  color: #fff;
  font-family: var(--cp-font-headline);
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.62;
}

.bg-light-cp {
  background: var(--cp-light);
}

.property-card,
.reference-card {
  height: 100%;
  padding: 1.65rem;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-card);
  background: var(--cp-white);
  box-shadow: var(--cp-shadow-soft);
}

.property-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--cp-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.property-card p,
.reference-card p {
  margin: 0;
  color: var(--cp-muted);
  line-height: 1.65;
}

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

.about-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  padding: clamp(3rem, 7vw, 6rem);
}

.value-item {
  text-align: center;
}

.value-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.9rem;
  color: var(--cp-gold);
  border: 1px solid rgba(216, 154, 43, 0.55);
  border-radius: 50%;
  font-size: 1.35rem;
}

.value-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
}

.value-item p {
  margin: 0;
  color: var(--cp-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.stats-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--cp-white);
  box-shadow: inset 0 1px 0 var(--cp-line), inset 0 -1px 0 var(--cp-line);
}

.stats-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.stats-heading h2 {
  max-width: 280px;
  margin: 0;
  color: var(--cp-navy);
  font-family: var(--cp-font-headline);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid var(--cp-line);
  text-align: center;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.stat-item strong {
  display: block;
  color: var(--cp-navy);
  font-family: var(--cp-font-headline);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.stat-item strong small {
  font-size: 0.48em;
  font-weight: 700;
}

.stat-item > span {
  display: block;
  margin-top: 0.65rem;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-card {
  text-align: center;
}

.reference-card i {
  color: var(--cp-gold);
  font-size: 2rem;
}

.reference-card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.35rem;
}

.cta-section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 30, 58, 0.97), rgba(6, 47, 91, 0.86)),
    url("../assets/hero-real-estate.png") center / cover no-repeat;
}

.cta-section h2 {
  margin: 0;
  font-family: var(--cp-font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.cta-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.footer {
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  background: var(--cp-navy-dark);
}

.footer-logo {
  width: 190px;
  max-width: 100%;
}

.footer h2 {
  margin-bottom: 1rem;
  color: var(--cp-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer address {
  margin: 0;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

@media (max-width: 1199.98px) {
  .process-grid {
    gap: 1.25rem;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    min-height: 72px;
  }

  .site-nav .container {
    align-items: center;
  }

  .brand-logo {
    height: min(var(--cp-logo-height), 56px);
  }

  .site-nav .navbar-collapse {
    padding: 1rem 0 1.25rem;
  }

  .site-nav .navbar-nav {
    gap: 0.15rem;
    padding-top: 0.6rem;
  }

  .site-nav .nav-link {
    margin: 0;
    padding: 0.65rem 0;
  }

  .site-nav .nav-link::after {
    bottom: 0.45rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 92px;
    background-position: 58% center;
  }

  .hero-section .min-vh-100 {
    min-height: 720px !important;
  }

  .service-grid {
    border-left: 0;
  }

  .service-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--cp-line);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 1rem;
    text-align: left;
  }

  .process-icon {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .about-image {
    min-height: 360px;
  }

  .about-content {
    min-height: auto;
  }

  .cta-section .btn {
    width: 100%;
  }

  .stat-item {
    padding-inline: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    background:
      linear-gradient(90deg, rgba(0, 20, 38, 0.96) 0%, rgba(0, 20, 38, 0.82) 58%, rgba(0, 20, 38, 0.5) 100%),
      url("../assets/hero-real-estate.png") 62% center / cover no-repeat,
      var(--cp-navy);
  }

  .hero-section .min-vh-100 {
    min-height: 620px !important;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }

  .about-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .stats-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .stats-heading {
    text-align: center;
  }

  .stats-heading h2 {
    max-width: none;
  }

  .stat-item {
    padding-inline: 0.75rem;
  }

  .footer .row {
    row-gap: 2rem;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    max-width: 168px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .hero-section .min-vh-100 {
    min-height: 590px !important;
  }

  .section-pad {
    padding: 3.75rem 0;
  }

  .hero-copy,
  .section-copy {
    line-height: 1.62;
  }

  .hero-section .btn {
    width: 100%;
  }

  .service-card,
  .property-card,
  .reference-card {
    padding: 1.4rem;
  }

  .process-step {
    grid-template-columns: 58px 1fr;
  }

  .process-icon {
    width: 58px;
    height: 58px;
  }

  .process-icon img {
    width: 42px;
    height: 42px;
  }

  .about-content {
    padding: 2.5rem 1rem;
  }

  .value-item {
    text-align: left;
  }

  .footer {
    padding-top: 2.4rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 399.98px) {
  .site-nav {
    min-height: 66px;
  }

  .brand-logo {
    max-width: 142px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }

  .hero-section {
    padding-top: 82px;
  }

  .hero-section .min-vh-100 {
    min-height: 560px !important;
  }

  .stat-item {
    padding: 0.85rem 0.35rem;
  }

  .stat-item strong {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .stat-item > span {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
  }
}
