.fraser-services-bg {
  background: linear-gradient(135deg, #0f2747 0%, #153761 60%, #0f2747 100%);
}
.fraser-service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 161, 74, 0.2);
  border-radius: 16px;
  padding: 40px 32px 36px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.fraser-service-card:hover {
  transform: translateY(-10px);
  background: rgba(201, 161, 74, 0.07);
  border-color: rgba(201, 161, 74, 0.6);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(201, 161, 74, 0.25);
}
.fraser-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a14a 0%, #3f6b45 100%);
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.fraser-service-card:hover .fraser-card-accent {
  transform: scaleX(1);
}
.fraser-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a14a 0%, #b38d38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(201, 161, 74, 0.35);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.fraser-card-icon i {
  font-size: 1.55rem;
  color: #0f2747;
}
.fraser-service-card:hover .fraser-card-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 12px 36px rgba(201, 161, 74, 0.55);
}
.fraser-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
  line-height: 1.35;
}
.fraser-card-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.fraser-card-link {
  display: inline-flex;
  align-items: center;
  color: #3f6b45;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition:
    color 0.2s ease,
    letter-spacing 0.2s ease;
}
.fraser-card-link:hover {
  color: #c9a14a;
  text-decoration: none;
  letter-spacing: 1.5px;
}
.fraser-service-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(201, 161, 74, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.fraser-service-card:hover::after {
  opacity: 1;
}
.fraser-services-label {
  color: #c9a14a;
  letter-spacing: 3px;
  font-size: 0.8rem;
}

/* ============================================
   CONVERSION CTA SECTION
   ============================================ */

.fraser-cta-section {
  display: flex;
  min-height: 480px;
}

/* ---- Left dark panel ---- */
.fraser-cta-left {
  position: relative;
  flex: 1 1 55%;
  background: linear-gradient(130deg, #0f2747 0%, #153761 100%);
  padding: 80px 64px 80px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* dot-grid watermark */
.fraser-cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(201, 161, 74, 0.2) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.fraser-cta-left-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.fraser-cta-eyebrow {
  display: inline-block;
  background: rgba(201, 161, 74, 0.15);
  color: #c9a14a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  border: 1px solid rgba(201, 161, 74, 0.3);
}

.fraser-cta-headline {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.fraser-cta-dot {
  color: #c9a14a;
}

.fraser-cta-subtext {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Gold estimate button */
.fraser-cta-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #c9a14a 0%, #b38d38 100%);
  color: #0f2747;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 28px rgba(201, 161, 74, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  margin-right: 20px;
  margin-bottom: 20px;
}

.fraser-cta-btn-primary:hover {
  color: #0f2747;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201, 161, 74, 0.55);
}

/* pulse ring on button */
.fraser-cta-btn-primary::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 2px solid rgba(201, 161, 74, 0.5);
  animation: ctaPulse 2.2s ease-out infinite;
  opacity: 0;
}

@keyframes ctaPulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

/* Phone CTA pill */
.fraser-cta-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
  margin-bottom: 20px;
}

.fraser-cta-btn-phone:hover {
  color: #ffffff;
  text-decoration: none;
  border-color: rgba(201, 161, 74, 0.5);
  background: rgba(201, 161, 74, 0.08);
}

.fraser-cta-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3f6b45;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

/* ---- Right gold panel ---- */
.fraser-cta-right {
  flex: 1 1 45%;
  background: linear-gradient(145deg, #c9a14a 0%, #b38d38 100%);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* large circle watermark */
.fraser-cta-right::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.fraser-cta-right::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  pointer-events: none;
}

/* 2×2 stats grid */
.fraser-cta-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
  max-width: 380px;
}

.fraser-cta-stat {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
  backdrop-filter: blur(4px);
}

.fraser-cta-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.32);
}

.fraser-cta-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f2747;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1rem;
  color: #c9a14a;
}

.fraser-cta-stat-number {
  color: #0f2747;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.fraser-cta-stat-label {
  color: rgba(15, 39, 71, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .fraser-cta-section {
    flex-direction: column;
  }
  .fraser-cta-left {
    padding: 60px 36px;
    flex-basis: auto;
  }
  .fraser-cta-right {
    flex-basis: auto;
    padding: 48px 36px 56px;
  }
  .fraser-cta-stats-grid {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .fraser-cta-left {
    padding: 52px 24px;
  }
  .fraser-cta-btn-primary {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }
  .fraser-cta-btn-phone {
    width: 100%;
    justify-content: center;
  }
  .fraser-cta-stats-grid {
    gap: 16px;
  }
}

/* ============================================
   HOMEPAGE HEADER CAROUSEL
   ============================================ */

#header-carousel .carousel-item {
  height: 600px;
  max-height: 600px;
  overflow: hidden;
  background-color: #0f2747;
}

#header-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#header-carousel .carousel-item:first-child img {
  object-position: center 10%;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    min-height: 420px;
    height: 420px;
    max-height: none;
  }

  #header-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  #header-carousel .carousel-item:first-child img {
    object-position: center 10%;
  }

  #header-carousel .carousel-caption {
    padding: 20px 20px 55px 20px !important;
    background: linear-gradient(
      180deg,
      rgba(15, 39, 71, 0.45) 0%,
      rgba(15, 39, 71, 0.88) 100%
    );
  }

  /* Shift Indicators to the Very Bottom on Mobile */
  #header-carousel .carousel-indicators {
    width: auto !important;
    top: auto !important;
    bottom: 12px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    flex-direction: row !important;
    justify-content: center !important;
    margin: 0 !important;
    z-index: 15;
  }

  #header-carousel .carousel-indicators li {
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
    border-radius: 50% !important;
    background-color: rgba(201, 161, 74, 0.6) !important;
    border: none;
    transition: all 0.3s ease;
  }

  #header-carousel .carousel-indicators li.active {
    background-color: #3f6b45 !important;
    width: 24px !important;
    border-radius: 10px !important;
  }

  #header-carousel .carousel-caption h5 {
    font-size: 0.82rem !important;
    letter-spacing: 1.5px;
    margin-bottom: 8px !important;
  }

  #header-carousel .carousel-caption h1 {
    font-size: 1.6rem !important;
    line-height: 1.3;
    margin-bottom: 16px !important;
    font-weight: 700 !important;
  }

  #header-carousel .carousel-caption .btn {
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 50px;
    margin-bottom: 5px;
  }
}

/* ============================================
   5. MARKETS WE SERVE SECTION & CARDS
   ============================================ */

.markets-bg {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
}

.markets-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 161, 74, 0.3),
    transparent
  );
}

.market-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 4px 20px rgba(15, 39, 71, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
  z-index: 1;
}

/* Top subtle accent bar on hover */
.market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a14a 0%, #3f6b45 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 16px 16px 0 0;
}

.market-card:hover::before {
  transform: scaleX(1);
}

.market-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 161, 74, 0.5);
  box-shadow:
    0 20px 40px rgba(15, 39, 71, 0.09),
    0 0 0 1px rgba(201, 161, 74, 0.2);
}

/* Watermark Index Number */
.market-card-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: #edf2f7;
  font-family: "Inter", sans-serif;
  letter-spacing: -1px;
  transition:
    color 0.35s ease,
    transform 0.35s ease;
  user-select: none;
  pointer-events: none;
}

.market-card:hover .market-card-num {
  color: rgba(201, 161, 74, 0.22);
  transform: translateX(-4px);
}

/* Icon Box */
.market-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(201, 161, 74, 0.15) 0%,
    rgba(201, 161, 74, 0.05) 100%
  );
  border: 1px solid rgba(201, 161, 74, 0.25);
  color: #0f2747;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 22px;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
  flex-shrink: 0;
}

.market-card:hover .market-card-icon {
  background: linear-gradient(135deg, #c9a14a 0%, #b38d38 100%);
  color: #0f2747;
  border-color: #c9a14a;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(201, 161, 74, 0.35);
}

/* Title & Description */
.market-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f2747;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.market-card:hover .market-card-title {
  color: #0f2747;
}

.market-card-desc {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Residential card specific treatment */
.market-card--residential {
  border-color: rgba(63, 107, 69, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

.market-card--residential::before {
  background: linear-gradient(90deg, #3f6b45 0%, #c9a14a 100%);
}

.market-card--residential .market-card-icon {
  background: rgba(63, 107, 69, 0.1);
  border-color: rgba(63, 107, 69, 0.25);
  color: #3f6b45;
}

.market-card--residential:hover .market-card-icon {
  background: linear-gradient(135deg, #3f6b45 0%, #2f5334 100%);
  color: #ffffff;
  border-color: #3f6b45;
  box-shadow: 0 8px 20px rgba(63, 107, 69, 0.35);
}

/* ============================================
   FRASER MISSION STATEMENT SECTION
   ============================================ */

.fraser-mission-section {
  background: linear-gradient(135deg, #0f2747 0%, #153761 100%);
  position: relative;
  overflow: hidden;
  border-top: 3px solid #c9a14a;
  border-bottom: 3px solid #c9a14a;
}

.fraser-mission-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(201, 161, 74, 0.15) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  pointer-events: none;
}

.fraser-mission-badge {
  display: inline-block;
  background: #c9a14a;
  color: #0f2747;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.fraser-mission-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.fraser-mission-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.12rem;
  line-height: 1.85;
  max-width: 860px;
  margin: 0 auto 36px;
}

.fraser-mission-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 161, 74, 0.3);
  border-radius: 16px;
  padding: 22px 20px;
  height: 100%;
  display: flex;
  align-items: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.fraser-mission-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 161, 74, 0.6);
}

.fraser-mission-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201, 161, 74, 0.2);
  color: #c9a14a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.fraser-mission-card:hover .fraser-mission-card-icon {
  transform: scale(1.1) rotate(-4deg);
}

.fraser-mission-card-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.fraser-mission-card-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ============================================
   FRASER FOUNDER BIO & MESSAGE SECTION
   ============================================ */

.fraser-founder-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.fraser-founder-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 39, 71, 0.12);
  border: 2px solid rgba(201, 161, 74, 0.35);
  background: #0f2747;
}

.fraser-founder-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.fraser-founder-photo-wrap:hover .fraser-founder-img {
  transform: scale(1.02);
}

.fraser-founder-caption {
  background: #0f2747;
  border-top: 2px solid #c9a14a;
  padding: 16px 20px;
  text-align: center;
}

.fraser-founder-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.fraser-founder-role {
  color: #c9a14a;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.fraser-founder-company {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin-top: 2px;
}

.fraser-founder-eyebrow {
  color: #3f6b45;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.fraser-founder-title {
  color: #0f2747;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.fraser-founder-text {
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.fraser-founder-signoff {
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.fraser-founder-sign-name {
  color: #0f2747;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.fraser-founder-sign-cred {
  font-size: 0.92rem;
  font-weight: 500;
  color: #64748b;
}

.fraser-founder-sign-title {
  color: #c9a14a;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.fraser-founder-sign-org {
  color: #94a3b8;
  font-size: 0.82rem;
}

.fraser-founder-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f2747;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
}

.fraser-founder-badge-pill i {
  color: #c9a14a;
}

@media (max-width: 991px) {
  .fraser-founder-photo-wrap {
    max-width: 440px;
    margin: 0 auto;
  }
}
