:root {
  scroll-behavior: smooth;
}

.quote-page {
  --quote-ink: #11110f;
  --quote-paper: #f0eee8;
  --quote-soft: #d9d4ca;
  --quote-line: rgba(17, 17, 15, .18);
  --quote-red: #a52b20;
  --quote-red-light: #d15343;
  --quote-gold: #b2875b;
  --quote-font: "PingFang SC", "PingFang HK", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  min-width: 0;
  overflow: clip;
  background: var(--quote-paper);
  color: var(--quote-ink);
  font-family: var(--quote-font);
}

.quote-page *,
.quote-page *::before,
.quote-page *::after {
  box-sizing: border-box;
  font-family: var(--quote-font);
}

.quote-page a {
  color: inherit;
  text-decoration: none;
}

.quote-page button,
.quote-page textarea,
.quote-page input {
  font: inherit;
}

.quote-nav {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 3.2vw;
  color: #f5f3ed;
}

.quote-brand,
.quote-brand picture {
  display: block;
}

.quote-brand img {
  display: block;
  width: clamp(190px, 14vw, 230px);
  height: auto;
}

.quote-nav nav {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
  font-size: 11px;
  letter-spacing: .12em;
}

.quote-nav nav a {
  position: relative;
  padding-bottom: 6px;
}

.quote-nav nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: right .3s ease;
}

.quote-nav nav a:hover::after,
.quote-nav nav a:focus-visible::after {
  right: 0;
}

.quote-hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: #111;
  color: #f3f1eb;
}

.quote-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .48) 54%, rgba(0, 0, 0, .18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .74) 0%, transparent 55%),
    url("/assets/images/quote/coastal-road-32.jpg") center / cover no-repeat;
  filter: grayscale(.9) contrast(1.14);
  transform: scale(1.02);
}

.quote-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 145px 7vw 8vh;
}

.quote-hero-copy > p,
.detail-hero-copy > p {
  margin: 0 0 30px;
  color: #c6c1b7;
  font-family: monospace;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .22em;
}

.quote-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--quote-font);
  font-size: clamp(58px, 8.8vw, 134px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.065em;
}

.quote-hero h1 em {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--quote-red-light);
  font-family: inherit;
  font-size: .9em;
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
}

.quote-hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(52px, 8vh, 95px);
  padding-left: 43%;
}

.quote-hero-foot p {
  margin: 0;
  color: #d0ccc3;
  font-family: var(--quote-font);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .05em;
}

.quote-hero-foot a {
  display: flex;
  min-width: 205px;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  font-size: 10px;
  letter-spacing: .14em;
}

.quote-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #605d55;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}

.quote-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--quote-red);
}

.quote-principle,
.budget-assistant,
.quote-services,
.quote-process,
.quote-end,
.detail-intro,
.detail-packages,
.detail-notes {
  padding: clamp(88px, 10vw, 156px) 7vw;
}

.quote-principle {
  display: grid;
  grid-template-columns: .7fr 1.6fr;
  gap: 8vw;
  background:
    linear-gradient(90deg, rgba(240, 238, 232, .97), rgba(240, 238, 232, .84)),
    url("/assets/images/quote/road-canopy-51.jpg") center / cover no-repeat;
}

.quote-principle > div {
  max-width: 920px;
}

.quote-principle h2,
.assistant-intro h2,
.quote-section-head h2,
.quote-process h2,
.detail-intro h2 {
  margin: 0;
  font-family: var(--quote-font);
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.05em;
}

.quote-principle p:last-child {
  max-width: 660px;
  margin: 42px 0 0;
  color: #5d5a53;
  font-family: var(--quote-font);
  font-size: 16px;
  line-height: 2;
}

.budget-assistant {
  position: relative;
  isolation: isolate;
  background: var(--quote-ink);
  color: var(--quote-paper);
}

.budget-assistant::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 15, .93), rgba(17, 17, 15, .98)),
    url("/assets/images/quote/city-bridge-night-86.jpg") center / cover no-repeat;
  filter: grayscale(.85) contrast(1.08);
}

.assistant-intro {
  display: grid;
  grid-template-columns: .68fr 1fr;
  gap: 34px 7vw;
  margin-bottom: clamp(56px, 7vw, 100px);
}

.assistant-intro .quote-kicker {
  grid-column: 1 / -1;
  color: #aaa69d;
}

.assistant-intro h2 {
  color: #f2efe8;
}

.assistant-intro > p:last-child {
  max-width: 620px;
  margin: 8px 0 0;
  color: #aaa69d;
  font-size: 14px;
  line-height: 2;
}

.assistant-shell {
  scroll-margin-top: 32px;
  border: 1px solid #4e4c47;
  background: rgba(13, 13, 12, .86);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.assistant-one-shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 18px 24px;
  border-bottom: 1px solid #4e4c47;
}

.assistant-one-shot-head span {
  color: var(--quote-red-light);
  font-family: monospace;
  font-size: 9px;
  letter-spacing: .16em;
}

.assistant-one-shot-head p {
  margin: 0;
  color: #76736c;
  font-size: 10px;
  line-height: 1.7;
  text-align: right;
}

.assistant-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid #4e4c47;
}

.assistant-progress span {
  position: relative;
  padding: 18px;
  color: #5f5d58;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: .1em;
}

.assistant-progress span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

.assistant-progress span.is-current {
  color: #f0eee8;
}

.assistant-progress span.is-current::after {
  background: var(--quote-red-light);
}

.assistant-progress span.is-done {
  color: var(--quote-gold);
}

.assistant-stage {
  min-height: 540px;
  padding: clamp(36px, 5vw, 74px);
}

.assistant-input-stage {
  min-height: 620px;
}

.assistant-stage[hidden] {
  display: none;
}

.assistant-step {
  margin: 0 0 25px;
  color: var(--quote-red-light);
  font-family: monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.assistant-stage h3 {
  max-width: 900px;
  margin: 0 0 42px;
  color: #f1eee7;
  font-family: var(--quote-font);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.assistant-hint {
  margin: -26px 0 32px;
  color: #8f8c84;
  font-size: 12px;
  line-height: 1.8;
}

.assistant-textarea {
  position: relative;
  display: block;
}

.assistant-textarea textarea,
#result-summary {
  width: 100%;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid #5c5953;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #efede7;
  font-family: var(--quote-font);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.75;
}

.assistant-textarea textarea {
  min-height: 185px;
  padding: 18px 66px 18px 0;
}

.assistant-textarea textarea::placeholder {
  color: #625f59;
}

.assistant-textarea textarea:focus,
#result-summary:focus {
  border-color: var(--quote-red-light);
}

.assistant-textarea > small {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: #6d6962;
  font-family: monospace;
  font-size: 9px;
}

.assistant-voice {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}

.assistant-voice-button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid #5a5751;
  border-radius: 999px;
  background: transparent;
  color: #d2cfc7;
  cursor: pointer;
  font-size: 11px;
}

.assistant-voice-button span {
  margin-right: 7px;
  color: var(--quote-red-light);
}

.assistant-voice-button.is-listening {
  border-color: var(--quote-red-light);
  color: #fff;
}

.assistant-voice p {
  margin: 0;
  color: #6f6c65;
  font-size: 10px;
  line-height: 1.7;
}

.assistant-options {
  display: grid;
  gap: 12px;
}

.assistant-options-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistant-options label {
  position: relative;
  cursor: pointer;
}

.assistant-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.assistant-options label > span {
  position: relative;
  display: grid;
  grid-template-columns: minmax(175px, .55fr) 1fr;
  gap: 22px;
  min-height: 84px;
  align-items: center;
  padding: 22px 54px 22px 24px;
  border: 1px solid #484640;
  background: rgba(255, 255, 255, .015);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.assistant-options label > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 12px;
  height: 12px;
  border: 1px solid #716e67;
  border-radius: 50%;
  transform: translateY(-50%);
}

.assistant-options label:hover > span {
  border-color: #77736b;
  transform: translateY(-1px);
}

.assistant-options input:focus-visible + span {
  outline: 2px solid var(--quote-red-light);
  outline-offset: 3px;
}

.assistant-options input:checked + span {
  border-color: var(--quote-red-light);
  background: rgba(165, 43, 32, .12);
}

.assistant-options input:checked + span::after {
  border: 4px solid var(--quote-red-light);
  background: #f0eee8;
}

.assistant-options b {
  color: #e9e6de;
  font-family: var(--quote-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.assistant-options small {
  color: #8d8a82;
  font-size: 12px;
  line-height: 1.7;
}

.assistant-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 40px;
}

.assistant-primary,
.assistant-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .08em;
}

.assistant-primary {
  background: var(--quote-red);
  color: #fff;
}

.assistant-secondary {
  border-color: #56534d;
  background: transparent;
  color: #cbc8c0;
}

.assistant-primary:hover,
.assistant-primary:focus-visible {
  background: #bd382c;
}

.assistant-secondary:hover,
.assistant-secondary:focus-visible {
  border-color: #918d84;
}

.assistant-error {
  min-height: 20px;
  margin: 16px 0 0;
  color: #e78376;
  font-size: 11px;
}

.assistant-result {
  min-height: 650px;
}

.result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 38px;
  border-bottom: 1px solid #4d4a44;
}

.result-heading p {
  margin: 0 0 10px;
  color: #8b887f;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: .14em;
}

.result-heading h3 {
  margin: 0;
}

.result-heading strong {
  flex: 0 0 auto;
  color: #d1a176;
  font-family: var(--quote-font);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #4d4a44;
}

.result-grid article {
  min-height: 130px;
  padding: 28px 26px 28px 0;
  border-bottom: 1px solid #3f3d38;
}

.result-grid article:nth-child(odd) {
  border-right: 1px solid #3f3d38;
}

.result-grid article:nth-child(even) {
  padding-left: 28px;
}

.result-grid small {
  color: #77746d;
  font-size: 9px;
  letter-spacing: .12em;
}

.result-grid p {
  margin: 14px 0 0;
  color: #c3c0b8;
  font-size: 13px;
  line-height: 1.8;
}

.result-note {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 35px;
  margin: 42px 0;
}

.result-advice {
  padding: 30px;
  border-left: 2px solid var(--quote-red-light);
  background: rgba(165, 43, 32, .08);
}

.result-advice p {
  color: #c7c3bb;
  font-size: 14px;
}

.result-note h4 {
  margin: 0;
  color: #d1a176;
  font-family: var(--quote-font);
  font-size: 22px;
  font-weight: 400;
}

.result-note p {
  margin: 0;
  color: #96928a;
  font-size: 12px;
  line-height: 1.9;
}

.result-summary-label {
  display: block;
  margin-bottom: 14px;
  color: #77746d;
  font-size: 9px;
  letter-spacing: .12em;
}

#result-summary {
  min-height: 225px;
  padding: 20px;
  border: 1px solid #4d4a44;
  color: #c8c5bd;
  font-family: var(--quote-font);
  font-size: 12px;
  line-height: 1.85;
}

.copy-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #d1a176;
  font-size: 11px;
  text-align: right;
}

.quote-services {
  background: var(--quote-soft);
}

.quote-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.quote-section-head .quote-kicker {
  margin-bottom: 45px;
}

.quote-section-head > p {
  max-width: 360px;
  margin: 0;
  color: #6b675f;
  font-size: 12px;
  line-height: 1.9;
  text-align: right;
}

.service-card-grid {
  border-top: 1px solid rgba(17, 17, 15, .35);
}

.service-card {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(300px, 1.7fr) minmax(210px, .8fr);
  align-items: center;
  gap: clamp(22px, 4vw, 60px);
  min-height: 150px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(17, 17, 15, .24);
  color: var(--quote-ink);
  transition: border-color .2s ease, color .2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--quote-red);
  color: var(--quote-red);
}

.service-card > span {
  color: #6c685f;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: .16em;
  transition: color .2s ease;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--quote-font);
  font-size: clamp(23px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.service-card p {
  max-width: 470px;
  margin: 0;
  color: #79756d;
  font-size: 12px;
  line-height: 1.7;
}

.service-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  padding: 0;
  background: transparent;
  color: currentColor;
}

.service-card strong {
  color: currentColor;
  font-family: var(--quote-font);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 400;
  white-space: nowrap;
}

.service-card i {
  font-size: 17px;
  font-style: normal;
  line-height: 1;
}

.service-card:hover > span,
.service-card:focus-visible > span {
  color: currentColor;
}

.quote-fineprint {
  max-width: 820px;
  margin: 36px 0 0 auto;
  color: #716d64;
  font-size: 11px;
  line-height: 1.9;
}

.quote-process {
  position: relative;
  isolation: isolate;
  background: var(--quote-ink);
  color: var(--quote-paper);
}

.quote-process::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 15, .94), rgba(17, 17, 15, .98)),
    url("/assets/images/quote/road-canopy-51.jpg") center / cover no-repeat;
  filter: grayscale(.85) contrast(1.1);
}

.quote-process .quote-kicker {
  color: #aaa69c;
}

.quote-process .quote-section-head > p {
  color: #77746d;
}

.quote-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #4e4c47;
  border-left: 1px solid #4e4c47;
}

.quote-flow article {
  min-height: 185px;
  padding: 27px;
  border-right: 1px solid #4e4c47;
  border-bottom: 1px solid #4e4c47;
}

.quote-flow span {
  color: var(--quote-red-light);
  font-family: monospace;
  font-size: 9px;
}

.quote-flow h3 {
  margin: 42px 0 12px;
  font-family: var(--quote-font);
  font-size: 23px;
  font-weight: 400;
}

.quote-flow p {
  margin: 0;
  color: #99968e;
  font-size: 12px;
  line-height: 1.8;
}

.quote-boundary {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 7vw;
  margin-top: 90px;
}

.quote-boundary h3 {
  margin: 0;
  color: #d1a176;
  font-family: var(--quote-font);
  font-size: 32px;
  font-weight: 400;
}

.quote-boundary > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.quote-boundary p {
  margin: 0;
  color: #aaa69d;
  font-size: 13px;
  line-height: 2;
}

.quote-payment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
}

.quote-payment article {
  padding: 34px 24px;
  border: 1px solid #4e4c47;
  text-align: center;
}

.quote-payment article + article {
  border-left: 0;
}

.quote-payment strong {
  color: #d1a176;
  font-family: var(--quote-font);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 400;
}

.quote-payment h3 {
  margin: 15px 0 10px;
  font-family: var(--quote-font);
  font-size: 20px;
  font-weight: 400;
}

.quote-payment p {
  margin: 0;
  color: #8e8b84;
  font-size: 11px;
  line-height: 1.8;
}

.quote-end {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--quote-red);
  color: var(--quote-paper);
}

.quote-end::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(133, 24, 18, .82), rgba(133, 24, 18, .92)),
    url("/assets/images/quote/sunset-bridge-91.jpg") center / cover no-repeat;
  filter: grayscale(.3) contrast(1.05);
}

.quote-end > p {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0;
  font-family: var(--quote-font);
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.04em;
}

.quote-end > div {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 35px;
  margin-top: 75px;
}

.quote-end a {
  min-width: 190px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  font-size: 10px;
  letter-spacing: .12em;
}

.quote-footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 3.2vw;
  background: var(--quote-ink);
  color: #817e77;
  font-size: 8px;
  letter-spacing: .12em;
}

.quote-footer p {
  margin: 0;
}

.quote-footer a {
  color: #d1cec6;
}

/* Detail pages */
.detail-page {
  background: var(--quote-paper);
}

.detail-hero {
  position: relative;
  min-height: 68svh;
  overflow: hidden;
  background: #111;
  color: #f1efe9;
}

.detail-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .87), rgba(0, 0, 0, .43)),
    var(--detail-image, url("/assets/images/quote/coastal-road-32.jpg")) center / cover no-repeat;
  filter: grayscale(.88) contrast(1.12);
}

.detail-page.brand-page { --detail-image: url("/assets/images/quote/city-bridge-night-86.jpg"); }
.detail-page.place-page { --detail-image: url("/assets/images/quote/road-canopy-51.jpg"); }
.detail-page.corporate-page { --detail-image: url("/assets/images/quote/sunset-bridge-91.jpg"); }

.detail-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 68svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 7vw 7vh;
}

.detail-hero-copy h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--quote-font);
  font-size: clamp(50px, 7.8vw, 118px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.06em;
}

.detail-hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.detail-hero-meta p {
  max-width: 680px;
  margin: 0;
  color: #bbb7ae;
  font-size: 13px;
  line-height: 1.9;
}

.detail-hero-meta strong {
  flex: 0 0 auto;
  color: #e0b184;
  font-family: var(--quote-font);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
}

.detail-intro {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 8vw;
}

.detail-intro-copy {
  max-width: 720px;
}

.detail-intro-copy p {
  margin: 0 0 24px;
  color: #5c5952;
  font-size: 14px;
  line-height: 2;
}

.detail-intro-copy .detail-lead {
  color: var(--quote-ink);
  font-family: var(--quote-font);
  font-size: 21px;
  line-height: 1.85;
}

.detail-packages {
  background: var(--quote-soft);
}

.detail-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-package {
  border: 1px solid rgba(17, 17, 15, .2);
  background: rgba(240, 238, 232, .84);
}

.detail-package header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  padding: 30px;
  border-bottom: 1px solid rgba(17, 17, 15, .16);
}

.detail-package h3 {
  margin: 0 0 9px;
  font-family: var(--quote-font);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}

.detail-package header p {
  margin: 0;
  color: #706d65;
  font-size: 11px;
  line-height: 1.75;
}

.detail-package header strong {
  flex: 0 0 auto;
  color: #936d46;
  font-family: var(--quote-font);
  font-size: clamp(25px, 2.7vw, 40px);
  font-weight: 400;
}

.detail-package dl {
  margin: 0;
}

.detail-package dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(17, 17, 15, .12);
}

.detail-package dl > div:last-child {
  border-bottom: 0;
}

.detail-package dt {
  color: #936d46;
  font-size: 11px;
  letter-spacing: .08em;
}

.detail-package dd {
  margin: 0;
  color: #4b4842;
  font-size: 13px;
  line-height: 1.85;
}

.detail-notes {
  background: var(--quote-paper);
}

.detail-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-note {
  padding: 32px;
  border-top: 2px solid var(--quote-red);
  background: #e6e2da;
}

.detail-note h3 {
  margin: 0 0 20px;
  color: #8b6742;
  font-family: var(--quote-font);
  font-size: 26px;
  font-weight: 400;
}

.detail-note p,
.detail-note li {
  color: #555149;
  font-size: 13px;
  line-height: 1.9;
}

.detail-note p {
  margin: 0;
}

.detail-note ul {
  margin: 0;
  padding-left: 18px;
}

.detail-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 7vw;
  background: var(--quote-ink);
  color: #c4c1b9;
}

.detail-back a {
  padding-bottom: 8px;
  border-bottom: 1px solid #66635c;
  font-size: 11px;
  letter-spacing: .08em;
}

.detail-back p {
  margin: 0;
  color: #77746d;
  font-size: 10px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .quote-nav {
    padding: 22px 20px;
  }

  .quote-nav nav {
    gap: 16px;
  }

  .quote-nav nav a:nth-child(2),
  .quote-nav nav a:nth-child(3) {
    display: none;
  }

  .quote-hero-copy,
  .detail-hero-copy {
    padding: 130px 25px 58px;
  }

  .quote-hero h1 {
    font-size: clamp(52px, 15vw, 78px);
  }

  .quote-hero-foot,
  .detail-hero-meta {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 0;
  }

  .quote-hero-foot a {
    width: 100%;
  }

  .quote-principle,
  .budget-assistant,
  .quote-services,
  .quote-process,
  .quote-end,
  .detail-intro,
  .detail-packages,
  .detail-notes {
    padding: 84px 25px;
  }

  .quote-principle,
  .assistant-intro,
  .detail-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .assistant-intro .quote-kicker {
    grid-column: 1;
  }

  .assistant-progress {
    grid-template-columns: repeat(3, 1fr);
  }

  .assistant-one-shot-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .assistant-one-shot-head p {
    text-align: left;
  }

  .assistant-progress span {
    padding: 13px 12px;
  }

  .assistant-stage {
    min-height: 570px;
    padding: 34px 20px;
  }

  .assistant-options-two,
  .detail-package-grid,
  .detail-notes-grid {
    grid-template-columns: 1fr;
  }

  .assistant-options label > span {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px 48px 18px 18px;
  }

  .assistant-voice {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .result-grid article,
  .result-grid article:nth-child(even) {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
  }

  .result-note {
    grid-template-columns: 1fr;
  }

  .assistant-result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .assistant-result-actions > * {
    width: 100%;
  }

  .quote-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-section-head > p {
    text-align: left;
  }

  .service-card {
    grid-template-columns: minmax(112px, .55fr) minmax(260px, 1.45fr) minmax(180px, .7fr);
    min-height: 135px;
  }

  .quote-flow {
    grid-template-columns: 1fr;
  }

  .quote-flow article {
    min-height: 0;
  }

  .quote-boundary,
  .quote-boundary > div {
    grid-template-columns: 1fr;
  }

  .quote-payment {
    grid-template-columns: 1fr;
  }

  .quote-payment article + article {
    border-top: 0;
    border-left: 1px solid #4e4c47;
  }

  .quote-end > div {
    flex-direction: column;
  }

  .quote-end a {
    width: 100%;
  }

  .detail-hero-copy h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .detail-package header {
    flex-direction: column;
  }

  .detail-package dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-back {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .quote-brand img {
    width: 103px;
  }
}

@media (max-width: 520px) {
  .quote-nav nav a:first-child {
    display: none;
  }

  .assistant-progress span {
    font-size: 8px;
    letter-spacing: .04em;
  }

  .assistant-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .assistant-actions > * {
    width: 100%;
  }

  .service-card footer {
    align-items: center;
  }

  .service-card {
    grid-template-columns: 1fr auto;
    gap: 16px 20px;
    min-height: 0;
    padding: 25px 0;
  }

  .service-card > span {
    grid-column: 1 / -1;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-card p {
    margin-top: 7px;
    font-size: 11px;
  }

  .service-card footer {
    align-self: end;
    gap: 14px;
  }

  .service-card footer i {
    display: none;
  }

  .detail-hero-meta strong {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .quote-page *,
  .quote-page *::before,
  .quote-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
