.quote-header-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(220px, 30vw, 320px);
}

.quote-header-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-header-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(1.05);
}

.quote-header-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.1) 0%, rgba(10, 18, 32, 0.45) 100%),
    linear-gradient(90deg, rgba(10, 18, 32, 0.45) 0%, rgba(10, 18, 32, 0.08) 52%, rgba(10, 18, 32, 0.28) 100%);
  pointer-events: none;
}

.quote-page .claims-header--banner {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: none;
}

.quote-page .claims-header--banner .claims-header__nav a,
.quote-page .claims-header--banner .claims-header__phone,
.quote-page .claims-header--banner .claims-header__phone-mobile {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.quote-page .claims-header--banner .claims-header__nav a:hover,
.quote-page .claims-header--banner .claims-header__phone:hover,
.quote-page .claims-header--banner .claims-header__phone-mobile:hover {
  color: var(--green-light);
}

.quote-page .claims-header--banner .lang-switch__btn {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.quote-page .claims-header--banner .lang-switch__btn:hover {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
}

.quote-page .claims-header--banner .lang-switch__btn.is-active {
  background: rgba(0, 200, 83, 0.35);
  border-color: var(--green-light);
  color: var(--white);
}

.quote-page .claims-header--banner.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--gray-200);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(10, 18, 32, 0.1);
}

.quote-page .claims-header--banner.is-scrolled .claims-header__nav a,
.quote-page .claims-header--banner.is-scrolled .claims-header__phone,
.quote-page .claims-header--banner.is-scrolled .claims-header__phone-mobile {
  color: var(--navy);
  text-shadow: none;
}

.quote-page .claims-header--banner.is-scrolled .claims-header__nav a.is-active {
  color: var(--green-hover);
}

.quote-page .claims-header--banner.is-scrolled .lang-switch__btn {
  color: var(--gray-600);
  border-color: var(--gray-200);
  background: var(--white);
  text-shadow: none;
}

.quote-page .claims-header--banner.is-scrolled .lang-switch__btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.quote-page .claims-header__nav a.is-active {
  font-weight: 600;
}

.quote-page .claims-header--banner .claims-header__nav a.is-active {
  color: var(--green-light);
}

@media (max-width: 768px) {
  .quote-header-banner {
    min-height: clamp(180px, 42vw, 240px);
  }

  .quote-header-banner__media img {
    object-position: center 28%;
  }
}

.quote-page main {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3rem);
}

.quote-page .quote-page__intro {
  max-width: 960px;
  margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.quote-page .quote-page__intro p {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.02rem;
  line-height: 1.6;
}

.quote-page .contact-form-section--quote-only {
  padding: 0;
  background: transparent;
}

.quote-page .contact-form-section--quote-only .container {
  max-width: 1080px;
}

.quote-page .contact-form-section--quote-only .contact-form-grid {
  grid-template-columns: 1fr;
  max-width: none;
  margin: 0;
}

.quote-page .quote-chatbot {
  min-height: min(78vh, calc(100dvh - 140px));
  max-height: none;
}

.quote-page .quote-chatbot__messages {
  flex: 1 1 auto;
  min-height: 280px;
  max-height: min(52vh, 520px);
}

.quote-page .quote-chatbot__composer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
}

.quote-page .quote-chatbot__carrier-results:not([hidden]) {
  padding-bottom: 24px;
}

@media (max-width: 768px) {
  .quote-page .quote-chatbot {
    min-height: min(72vh, calc(100dvh - 120px));
    border-radius: 14px;
  }

  .quote-page .quote-chatbot__messages {
    max-height: min(48vh, 440px);
  }

  .quote-page .quote-chatbot__header {
    padding: 18px 16px 14px;
  }

  .quote-page .quote-chatbot__products {
    max-height: 120px;
  }
}