html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #0f172a;
}

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

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

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

.hero-section {
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

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

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

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

.hero-text,
.section-text,
.cta-text,
.quote-disclaimer {
  color: #475569;
  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: #1e293b;
  font-weight: 500;
}

.hero-points i {
  color: #2563eb;
}

.quote-card {
  background: #ffffff;
  border-radius: 24px;
  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: 14px;
  border-color: #dbe2ea;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

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

.btn-primary {
  background: #2563eb;
  border-color: #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

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

.section-soft {
  background: #f8fafc;
}

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

.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 #e5e7eb;
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: 0 .75rem 2rem rgba(15,23,42,.04);
  overflow: hidden;
}

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

.service-card p,
.contact-card p {
  color: #64748b;
  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: 16px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  background: #eff6ff;
  color: #2563eb;
}

.cta-band {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

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

.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;
  }
}

.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;
  }
}
