/* Shared contact features: opening quote form and polished gold call widget. */
.home-hero .hero-inner,
.page-intro--quote,
.quote-hero,
.not-found--quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.home-hero .hero-inner {
  min-height: 0;
  padding-top: 46px;
  padding-bottom: 72px;
}
.home-hero .hero-copy {
  width: 100%;
  max-width: none;
}
.home-hero h1 {
  font-size: clamp(66px, 6.5vw, 96px);
}
.home-hero .hero-photo-caption {
  display: none;
}
.page-intro--quote,
.quote-hero,
.not-found--quote {
  padding-top: 40px;
  padding-bottom: 50px;
}
.page-intro--quote h1,
.quote-hero h1 {
  font-size: clamp(46px, 4.6vw, 66px);
}
.page-intro--quote .lede,
.quote-hero .lede {
  font-size: 15px;
}
.top-quote-card {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 24px 26px 20px;
  border: 1px solid #e9dfc9;
  border-top: 4px solid var(--gold);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 18px 48px #0003;
  color: var(--ink);
  scroll-margin-top: 105px;
}
.top-quote-card .top-quote-kicker {
  margin: 0 0 9px;
  color: var(--bronze);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
}
.top-quote-card h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.top-quote-card .top-quote-intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.top-quote-card .form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 13px;
}
.top-quote-card .form-grid label {
  gap: 5px;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.5;
}
.top-quote-card .form-grid__wide {
  grid-column: 1 / -1;
}
.top-quote-card input:not([type="checkbox"]),
.top-quote-card textarea {
  min-height: 44px;
  padding: 9px 10px;
  border-color: #cbd0c4;
  border-radius: 2px;
  background: #fafbf8;
  font-size: 16px;
}
.top-quote-card input::placeholder,
.top-quote-card textarea::placeholder {
  font-size: 10px;
}
.top-quote-card textarea {
  min-height: 87px;
}
.quote-extras {
  margin-top: 13px;
  border-bottom: 1px solid var(--line);
}
.quote-extras summary {
  position: relative;
  min-height: 39px;
  padding: 10px 20px 10px 0;
  color: #45503b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.quote-extras summary::-webkit-details-marker {
  display: none;
}
.quote-extras summary:after {
  position: absolute;
  right: 1px;
  top: 6px;
  content: "+";
  color: var(--bronze);
  font-size: 18px;
  font-weight: 400;
}
.quote-extras[open] summary:after {
  content: "−";
}
.quote-extras summary span {
  font-weight: 400;
}
.quote-extras .form-grid {
  padding: 7px 0 17px;
}
.top-quote-card .consent {
  margin: 16px 0 10px;
  color: #3c4633;
  font-size: 10px;
  line-height: 1.7;
}
.top-quote-card .form-note {
  margin-bottom: 14px;
  color: #636b5c;
  font-size: 9px;
  line-height: 1.7;
}
.top-quote-card .button {
  width: 100%;
  min-height: 46px;
  font-size: 11px;
}
.top-quote-card .form-alternate {
  margin: 11px 0 0;
  color: #56604c;
  text-align: center;
  font-size: 9px;
}
.top-quote-card .form-status {
  margin: 0 0 16px;
  padding: 12px;
}
.quote-preparation h2 {
  font-size: 40px;
}
.quote-preparation p,
.contact-form-wrap > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* A genuine telephone link; no pop-up, bottom bars or automatic calling. */
.floating-call {
  position: fixed;
  z-index: 25;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  width: 64px;
  height: 64px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #fff0a4;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #fff2b5 0%,
    #ffdb62 23%,
    #ffcb36 48%,
    #e9a919 75%,
    #ffc648 100%
  );
  box-shadow:
    inset 0 2px 2px #fff9,
    inset 0 -3px 5px #9b5f0066,
    0 5px 19px #b982003d,
    0 0 0 5px #f6c64b20;
  color: #2f2102;
  text-decoration: none;
  transition:
    filter 0.16s,
    box-shadow 0.16s;
}
.floating-call:before {
  position: absolute;
  top: 7px;
  left: 11px;
  width: 29px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff9, #fff0);
  transform: rotate(-28deg);
  pointer-events: none;
  content: "";
}
.floating-call svg {
  position: relative;
  width: 28px;
  height: 28px;
}
.floating-call:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 2px 2px #fffb,
    inset 0 -3px 5px #9b5f0066,
    0 6px 24px #b9820060,
    0 0 0 5px #f6c64b30;
}
.floating-call:focus-visible {
  outline: 3px solid #14180e;
  outline-offset: 5px;
}

@media (max-width: 1050px) and (min-width: 981px) {
  .home-hero .hero-inner,
  .page-intro--quote,
  .quote-hero,
  .not-found--quote {
    grid-template-columns: minmax(0, 1fr) minmax(0, 370px);
    gap: 28px;
  }
  .home-hero h1 {
    font-size: 68px;
  }
}
@media (max-width: 980px) {
  .home-hero .hero-inner,
  .page-intro--quote,
  .quote-hero,
  .not-found--quote {
    grid-template-columns: minmax(0, 1fr);
    gap: 31px;
    align-items: start;
  }
  .home-hero .hero-inner {
    padding-top: 36px;
    padding-bottom: 64px;
  }
  .home-hero h1 {
    font-size: clamp(60px, 10vw, 86px);
  }
  .top-quote-card {
    max-width: 540px;
  }
  .page-intro--quote,
  .quote-hero,
  .not-found--quote {
    padding-top: 30px;
  }
  .page-intro--quote .page-intro__content {
    max-width: 650px;
  }
}
@media (max-width: 760px) {
  body {
    padding-bottom: 0;
  }
  .home-hero .hero-inner {
    padding-top: 31px;
  }
  .top-quote-card {
    scroll-margin-top: 90px;
  }
  .floating-call {
    display: flex;
    right: 17px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 58px;
    height: 58px;
    min-height: 58px;
  }
  .floating-call svg {
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 480px) {
  .home-hero h1 {
    font-size: clamp(48px, 15.7vw, 76px);
  }
  .page-intro--quote h1,
  .quote-hero h1 {
    font-size: 43px;
  }
  .top-quote-card {
    padding: 21px 19px 18px;
  }
  .top-quote-card h2 {
    font-size: 24px;
  }
  .top-quote-card .top-quote-intro {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-call {
    transition: none;
  }
}
@media print {
  .floating-call {
    display: none;
  }
}
