html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-nav {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #d8e2ef;
}

.public-nav .navbar-brand {
  color: #0f172a;
  font-size: 1.2rem;
  letter-spacing: .2px;
}

.public-nav .nav-link {
  color: #2d4654;
  font-weight: 500;
}

.hero-section {
  padding: 92px 0 72px;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.hero-section img {
  width: 100%;
  object-fit: cover;
}

.broker-hero {
  padding: 88px 0 44px;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(135deg, #0b2447 0%, #123766 54%, #eef6ff 54%, #ffffff 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

.broker-hero .eyebrow {
  color: #86c5ff;
}

.broker-hero .hero-title {
  color: #ffffff;
}

.broker-hero .hero-text {
  color: rgba(255, 255, 255, .82);
}

.broker-hero .hero-points {
  color: rgba(255, 255, 255, .9);
}

.broker-hero .hero-points i {
  color: #62d5bd;
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #c8d9ec;
  box-shadow: 0 28px 70px rgba(9, 31, 62, .22);
}

.hero-media img {
  aspect-ratio: 16 / 10;
  height: 100%;
}

.brokerdesk-console {
  position: relative;
  background: #102a4d;
}

.brokerdesk-console::before {
  content: "";
  display: block;
  height: 34px;
  background:
    linear-gradient(90deg, #e73d52 0 10px, transparent 10px 18px, #f4b44d 18px 28px, transparent 28px 36px, #45c07a 36px 46px, transparent 46px),
    linear-gradient(90deg, #102a4d, #143b6e);
}

.brokerdesk-console img {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.console-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(280px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(11, 36, 71, .9);
  color: #ffffff;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(7, 24, 48, .22);
}

.console-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
}

.console-topline strong {
  color: #ffffff;
}

.console-pipeline {
  display: grid;
  gap: .45rem;
  margin-bottom: .9rem;
}

.console-pipeline span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f8df4, #62d5bd);
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}

.console-metrics div {
  display: grid;
  gap: .1rem;
  min-height: 62px;
  align-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  padding: .65rem;
}

.console-metrics strong {
  font-size: 1.35rem;
  line-height: 1;
}

.console-metrics span {
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
}

.eyebrow,
.section-label,
.quote-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  color: #2268d8;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 4.25rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 760px;
}

.hero-text,
.section-text,
.cta-text,
.quote-disclaimer {
  color: #47606b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.footer-copy {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-points {
  display: grid;
  gap: .7rem;
  color: #18323d;
  font-weight: 500;
}

.hero-points i {
  color: #2268d8;
}

.agency-proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  margin-top: 52px;
  padding: .85rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 44px rgba(7, 24, 48, .16);
}

.agency-proof-row div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .1rem .8rem;
  min-height: 106px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(216, 226, 239, .8);
  border-radius: 8px;
}

.agency-proof-row i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef6ff;
  color: #2268d8;
}

.agency-proof-row strong {
  color: #14323f;
  font-size: 1.02rem;
}

.agency-proof-row span {
  color: #5d7480;
  font-size: .94rem;
}

.quote-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.quote-card-body {
  padding: 2rem;
}

.quote-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0;
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: #dbe2ea;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: #2268d8;
  border-color: #2268d8;
}

.btn-primary:hover {
  background: #174fba;
  border-color: #174fba;
}

.btn-outline-primary {
  color: #2268d8;
  border-color: #2268d8;
}

.btn-outline-primary:hover {
  background: #2268d8;
  border-color: #2268d8;
}

.broker-hero .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .66);
}

.broker-hero .btn-outline-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #123766;
}

.btn-light {
  color: #123640;
}

.section-block {
  padding: 84px 0;
}

.section-soft {
  background: #f4f7fb;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.6rem;
}

.about-panel {
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(37,99,235,.14), rgba(15,23,42,.06)),
    linear-gradient(180deg, #dbeafe, #f8fafc);
  border: 1px solid #dbeafe;
}

.services-lead {
  max-width: 720px;
}

.service-card,
.contact-card {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 1.6rem;
  box-shadow: 0 .75rem 2rem rgba(18, 55, 102, .045);
  overflow: hidden;
  border-top: 4px solid #2268d8;
}

.service-card h3,
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: #14323f;
}

.service-card p,
.contact-card p {
  color: #5d7480;
  margin-bottom: 0;
  line-height: 1.7;
}

.service-icon,
.contact-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  background: #eef6ff;
  color: #2268d8;
}

.cta-band {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, #0b2447 0%, #123766 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

.cta-band .cta-text {
  color: rgba(255,255,255,.82);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.broker-cta .cta-text {
  margin-left: 0;
  margin-right: 0;
}

.workflow-list {
  display: grid;
  gap: .9rem;
  margin-top: 1.5rem;
  color: #243f4a;
  font-weight: 500;
}

.workflow-list div {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.workflow-list i {
  color: #2268d8;
  font-size: 1.1rem;
  line-height: 1.5;
}

.workflow-board {
  border: 1px solid #dbe8ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 54, 68, .1);
  padding: 1.25rem;
}

.board-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5eef2;
  color: #647983;
}

.board-topline strong {
  color: #14323f;
}

.board-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: .9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e9f0f3;
}

.board-row strong {
  color: #14323f;
}

.board-row p {
  margin: .15rem 0 0;
  color: #5d7480;
}

.board-status {
  width: 12px;
  height: 12px;
  margin-top: .4rem;
  border-radius: 50%;
}

.status-new {
  background: #2268d8;
}

.status-call {
  background: #3b82f6;
}

.status-renew {
  background: #f59e0b;
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding-top: 1rem;
}

.board-metrics div {
  display: grid;
  gap: .15rem;
  min-height: 82px;
  align-content: center;
  border-radius: 8px;
  background: #f4f8f9;
  padding: .9rem;
}

.board-metrics strong {
  color: #14323f;
  font-size: 1.55rem;
  line-height: 1;
}

.board-metrics span {
  color: #647983;
  font-size: .88rem;
}

.site-preview-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #dbe8ee;
  box-shadow: 0 18px 48px rgba(18, 54, 68, .1);
  object-fit: cover;
}

.mini-feature {
  display: grid;
  gap: .35rem;
  min-height: 145px;
  padding: 1.1rem;
  border: 1px solid #dfe8ed;
  border-radius: 8px;
  background: #ffffff;
}

.mini-feature i {
  color: #2268d8;
  font-size: 1.3rem;
}

.mini-feature strong {
  color: #14323f;
}

.mini-feature span {
  color: #5d7480;
  line-height: 1.55;
}

.public-footer {
  padding: 28px 0;
  background: #0f172a;
  color: #e2e8f0;
}

.public-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.public-footer a:hover {
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 64px;
  }

  .quote-card-body {
    padding: 1.35rem;
  }

  .agency-proof-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .agency-proof-row,
  .board-metrics {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-bottom: 52px;
  }
}

.public-footer .fw-semibold {
  color: #ffffff;
}

.public-footer .row {
  min-height: 72px;
}

html, body {
  overflow-x: clip;
}

.hero-section,
.section-block,
.cta-band,
.public-nav,
.public-footer {
  overflow-x: clip;
}

.row > *,
.quote-card,
.service-card,
.contact-card,
.about-panel {
  min-width: 0;
}

img,
svg,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.quote-shell {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
}

.quote-main-panel {
  background: #ffffff;
  height: 100%;
}

.quote-side-panel {
  background: #f8fafc;
  border-left: 1px solid #dbe4f0;
}

.quote-contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.quote-contact-title {
  margin-bottom: .75rem;
  color: #0f172a;
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  line-height: 1.12;
  font-weight: 800;
}

.quote-contact-copy {
  margin-bottom: 1.5rem;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
}

.agent-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.agent-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.agent-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.55rem;
}

.agent-name {
  margin: 0;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 800;
}

.agent-role {
  margin: .35rem 0 0;
  color: #64748b;
  font-weight: 500;
}

.quote-contact-list {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid #e2e8f0;
}

.quote-contact-row,
.quote-office-note {
  display: grid;
  grid-template-columns: 34px 96px minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.quote-contact-row {
  transition: color .15s ease;
}

.quote-contact-row:hover {
  color: #2563eb;
}

.quote-contact-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
}

.quote-contact-label {
  display: block;
  color: #64748b;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.quote-office-note {
  margin-top: 0;
  color: #334155;
  line-height: 1.55;
  align-items: flex-start;
}

.quote-office-note > span:last-child {
  grid-column: 2 / -1;
}

.quote-office-note .quote-contact-icon {
  margin-top: .15rem;
}

.quote-schedule-btn {
  width: 100%;
  margin-top: 1.25rem;
}

@media (max-width: 991.98px) {
  .quote-side-panel {
    border-left: 0;
    border-top: 1px solid #dbe4f0;
  }
}

@media (max-width: 575.98px) {
  .agent-avatar {
    width: 120px;
    height: 120px;
  }

  .quote-contact-row,
  .quote-office-note {
    grid-template-columns: 34px 1fr;
    gap: .45rem .75rem;
  }

  .quote-contact-row .quote-contact-label,
  .quote-office-note .quote-contact-label {
    grid-column: 2;
  }

  .quote-contact-row strong {
    grid-column: 2;
  }
}
