/* Transparent estimator and delivery standard — a production console, not a sales-card row. */
.quote-section {
  display: block !important;
  min-height: 0;
  padding: clamp(6rem, 8vw, 9rem) 2rem clamp(7rem, 10vw, 11rem) !important;
  border-top: 0 !important;
}

.quote-section::before {
  background:
    linear-gradient(110deg, rgba(5, 7, 6, .76), rgba(5, 7, 6, .54) 48%, rgba(5, 7, 6, .82)),
    linear-gradient(to bottom, rgba(5, 7, 6, .3), #0b0d0c 96%) !important;
}

.quote-section::after { height: 28rem; }
.quote-shell { position: relative; z-index: 4; width: min(100%, 1880px); margin: 0 auto; }

.quote-header {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(17rem, .55fr);
  grid-template-rows: auto auto;
  column-gap: clamp(2rem, 6vw, 8rem);
  align-items: end;
  padding-bottom: clamp(3rem, 5vw, 5.5rem);
  border-bottom: 1px solid rgba(244, 243, 238, .38);
}

.quote-header > div:first-child { grid-column: 1; grid-row: 2; margin-top: 2rem; }
.quote-header .section-number { margin-bottom: 1.15rem; }
.quote-header .pricing-kicker { margin: 0; }
.quote-heading {
  display: contents;
}

.quote-heading h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: #f4f3ee;
  font: 600 clamp(4rem, 7.2vw, 9rem)/.82 var(--font-ui);
  letter-spacing: -.085em;
}

.quote-heading > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 30rem;
  margin: 0 0 .45rem;
  color: rgba(244, 243, 238, .72);
  font: 400 clamp(.85rem, 1vw, 1.05rem)/1.75 var(--font-ui);
}

.quote-overview { padding: clamp(2.5rem, 4vw, 4.5rem) 0 0; }
.quote-starters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 243, 238, .32);
  border-bottom: 1px solid rgba(244, 243, 238, .32);
}
.quote-starters article { min-height: 14rem; padding: clamp(1.5rem, 2.4vw, 2.5rem); }
.quote-starters article + article { border-left: 1px solid rgba(244, 243, 238, .24); }
.quote-starters article > p:first-child { margin: 0 0 clamp(2.5rem, 4vw, 4.5rem); font: 500 .78rem var(--font-mono); letter-spacing: .08em; opacity: .62; }
.quote-starters h3 { margin: 0 0 .8rem; font: 500 clamp(2.7rem, 4.4vw, 5.4rem)/.9 var(--font-ui); letter-spacing: -.065em; }
.quote-starters h3 span { font: 500 .72rem var(--font-mono); letter-spacing: .05em; opacity: .62; }
.quote-starters h3 small { font: 500 .82rem var(--font-ui); letter-spacing: 0; }
.quote-starters article > p:last-child { margin: 0; color: rgba(244, 243, 238, .64); font: 500 .86rem/1.5 var(--font-ui); }
.quote-details-toggle {
  min-width: min(100%, 24rem);
  min-height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  margin: clamp(2rem, 3vw, 3rem) auto 0;
  padding: 1rem 2rem;
  color: #151715;
  border: 1px solid #f4f3ee;
  border-radius: 999px;
  background: #f4f3ee;
  font: 600 .95rem var(--font-ui);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,.8,.24,1), color .25s ease, background .25s ease;
}
.quote-details-toggle:hover { transform: translateY(-3px); }
.quote-details-toggle span { transition: transform .45s cubic-bezier(.22,.8,.24,1); }
.quote-details-toggle[aria-expanded="true"] { color: #f4f3ee; background: rgba(244, 243, 238, .03); }
.quote-details-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.quote-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .8s cubic-bezier(.22,.8,.24,1), opacity .45s ease, visibility 0s linear .8s;
}
.quote-details__inner { min-height: 0; overflow: hidden; }
.quote-details.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.quote-details.is-open .quote-details__inner { overflow: visible; }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(20rem, .62fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  padding: clamp(2rem, 3vw, 3.5rem) 0 clamp(6rem, 8vw, 9rem);
}

.quote-builder,
.quote-summary {
  border: 1px solid rgba(244, 243, 238, .3);
  background: rgba(12, 14, 13, .68);
  backdrop-filter: blur(16px);
}

.quote-builder { min-width: 0; }
.quote-fieldset { min-width: 0; margin: 0; padding: clamp(2rem, 2.8vw, 3rem) clamp(1.2rem, 2vw, 2rem) clamp(1.2rem, 2vw, 2rem); border: 0; border-bottom: 1px solid rgba(244, 243, 238, .22); }
.quote-fieldset:last-child { border-bottom: 0; }
.quote-fieldset legend {
  float: left;
  width: 100%;
  margin: 0 0 1.2rem;
  padding: 0;
  color: rgba(244, 243, 238, .84);
  font: 500 .72rem var(--font-mono);
  letter-spacing: .08em;
}
.quote-fieldset > .quote-options,
.quote-fieldset > .quote-addons { clear: both; }
.quote-fieldset legend span { display: inline-block; width: 2.8rem; opacity: .46; }
.quote-fieldset legend b { font-weight: 500; }

.quote-fieldset-pair { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(244, 243, 238, .22); }
.quote-fieldset-pair .quote-fieldset { border-bottom: 0; }
.quote-fieldset-pair .quote-fieldset + .quote-fieldset { border-left: 1px solid rgba(244, 243, 238, .22); }

.quote-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.quote-options--duration,
.quote-options--resolution { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quote-options--projects { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.quote-option { position: relative; min-width: 0; cursor: pointer; }
.quote-option input { position: absolute; opacity: 0; pointer-events: none; }
.quote-option > span {
  min-height: 4.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .85rem;
  padding: 1rem;
  color: rgba(244, 243, 238, .76);
  border: 1px solid rgba(244, 243, 238, .28);
  border-radius: 1rem;
  background: rgba(244, 243, 238, .025);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .3s cubic-bezier(.22,.8,.24,1);
}
.quote-option b { overflow: hidden; font: 500 clamp(.72rem, .78vw, .86rem) var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.quote-option small { font: 500 .62rem var(--font-mono); letter-spacing: .02em; opacity: .65; }
.quote-option i { font-style: normal; }
.quote-option em { font: 500 .62rem var(--font-mono); font-style: normal; opacity: .68; }
.quote-options--levels .quote-option > span { min-height: 7.25rem; }
.quote-options--levels .quote-option small { white-space: normal; line-height: 1.45; }
.quote-option:hover > span { transform: translateY(-2px); border-color: rgba(244, 243, 238, .62); }
.quote-option input:checked + span { color: #151715; border-color: #f4f3ee; background: #f4f3ee; }
.quote-option input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }

.quote-addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.quote-addons label {
  position: relative;
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 1.2rem 1fr auto;
  gap: .55rem;
  align-items: start;
  padding: .9rem;
  color: rgba(244, 243, 238, .76);
  border: 1px solid rgba(244, 243, 238, .24);
  border-radius: 1rem;
  cursor: pointer;
}
.quote-addons input { width: 1rem; height: 1rem; margin: .05rem 0 0; accent-color: #f4f3ee; }
.quote-addons span { font: 500 clamp(.68rem, .72vw, .8rem)/1.35 var(--font-ui); }
.quote-addons small { font: 500 .58rem var(--font-mono); opacity: .62; }
.quote-addons label:has(input:checked) { color: #151715; border-color: #f4f3ee; background: #f4f3ee; }
.quote-addons label:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }

.quote-summary {
  position: sticky;
  top: 7rem;
  min-width: 0;
  padding: clamp(1.4rem, 2vw, 2.2rem);
  color: #f4f3ee;
}
.quote-summary__eyebrow { margin: 0 0 clamp(3rem, 6vw, 7rem); font: 500 .68rem var(--font-mono); letter-spacing: .13em; opacity: .58; }
.quote-summary__price { padding-bottom: 1.4rem; border-bottom: 1px solid rgba(244, 243, 238, .3); }
.quote-summary__price span { display: block; margin-bottom: .35rem; font: 500 .72rem var(--font-mono); opacity: .62; }
.quote-summary__price strong { display: block; overflow-wrap: anywhere; font: 500 clamp(2.35rem, 3.2vw, 4.8rem)/.9 var(--font-ui); letter-spacing: -.07em; }
.quote-summary__scope { margin: 1rem 0 2.5rem; font: 500 .82rem var(--font-ui); }
.quote-breakdown { margin: 0; }
.quote-breakdown > div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid rgba(244, 243, 238, .16); }
.quote-breakdown dt,
.quote-breakdown dd { margin: 0; font: 500 .66rem/1.35 var(--font-mono); }
.quote-breakdown dt { opacity: .62; }
.quote-revisions { display: flex; justify-content: space-between; align-items: baseline; margin: 2rem 0 1rem; }
.quote-revisions span { font: 500 .68rem var(--font-mono); opacity: .62; }
.quote-revisions strong { font: 600 1.15rem var(--font-ui); }
.quote-disclaimer { margin: 0; color: rgba(244, 243, 238, .58); font: 400 .68rem/1.6 var(--font-ui); }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1.5rem; }
.quote-copy,
.quote-send { min-height: 3.2rem; display: grid; place-items: center; padding: .75rem; border: 1px solid rgba(244, 243, 238, .5); border-radius: 999px; font: 600 .72rem var(--font-ui); text-align: center; text-decoration: none; cursor: pointer; }
.quote-copy { color: #151715; background: #f4f3ee; }
.quote-send { color: #f4f3ee; background: rgba(244, 243, 238, .03); }
.quote-copy:hover,
.quote-send:hover { transform: translateY(-2px); }

.delivery-process { padding-top: clamp(3rem, 5vw, 5rem); border-top: 1px solid rgba(244, 243, 238, .38); }
.delivery-process > header { display: grid; grid-template-columns: 16% 1fr; align-items: start; margin-bottom: clamp(3rem, 5vw, 5rem); }
.delivery-process > header p { margin: .6rem 0 0; font: 500 .8rem var(--font-mono); letter-spacing: .1em; opacity: .58; }
.delivery-process h3 { max-width: 62rem; margin: 0; font: 600 clamp(3rem, 5.2vw, 6.5rem)/.88 var(--font-ui); letter-spacing: -.075em; }
.delivery-process ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(244, 243, 238, .28); border-bottom: 1px solid rgba(244, 243, 238, .28); }
.delivery-process li { min-height: 16rem; padding: 1.35rem 1.1rem 1.6rem; border-right: 1px solid rgba(244, 243, 238, .22); }
.delivery-process li:last-child { border-right: 0; }
.delivery-process li > span { display: block; margin-bottom: 4rem; font: 500 .78rem var(--font-mono); opacity: .48; }
.delivery-process li b { display: block; margin-bottom: .75rem; font: 600 1.08rem var(--font-ui); }
.delivery-process li p { margin: 0; color: rgba(244, 243, 238, .58); font: 400 .86rem/1.55 var(--font-ui); }
.delivery-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 1.4rem; }
.delivery-terms p { margin: 0; color: rgba(244, 243, 238, .72); font: 500 .88rem/1.6 var(--font-ui); }

body.theme-dark .quote-section,
body.theme-dark .quote-builder,
body.theme-dark .quote-summary { color: #f4f3ee !important; }

@media (min-width: 701px) {
  .quote-section { padding-inline: var(--editorial-content-gutter) !important; }
  .quote-shell { width: 100%; max-width: none; padding-inline: 0; }
  .quote-header .section-number,
  .quote-header .pricing-kicker { font-size: .8rem; }
  .quote-heading > p { font-size: clamp(1rem, 1.12vw, 1.2rem); }
  .quote-fieldset legend { margin-bottom: 1.45rem; font-size: 1rem; }
  .quote-option > span { min-height: 5.35rem; }
  .quote-option b { font-size: clamp(.86rem, .92vw, 1rem); }
  .quote-option small,
  .quote-option em { font-size: .76rem; }
  .quote-options--levels .quote-option > span { min-height: 8.25rem; }
  .quote-addons span { font-size: clamp(.82rem, .86vw, .94rem); }
  .quote-addons small { font-size: .72rem; }
  .quote-summary__eyebrow { font-size: .82rem; }
  .quote-summary__price span { font-size: .86rem; }
  .quote-summary__price strong { font-size: clamp(2.6rem, 3.45vw, 5.05rem); }
  .quote-summary__scope { font-size: .96rem; }
  .quote-breakdown dt,
  .quote-breakdown dd { font-size: .8rem; }
  .quote-revisions span { font-size: .82rem; }
  .quote-revisions strong { font-size: 1.3rem; }
  .quote-disclaimer { font-size: .82rem; }
  .quote-copy,
  .quote-send { min-height: 3.45rem; font-size: .86rem; }
}

@media (max-width: 1100px) {
  .quote-layout { grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr); }
  .quote-options--projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-addons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .delivery-process ol { grid-template-columns: repeat(3, 1fr); }
  .delivery-process li:nth-child(3) { border-right: 0; }
  .delivery-process li:nth-child(-n + 3) { border-bottom: 1px solid rgba(244, 243, 238, .22); }
}

@media (max-width: 700px) {
  .quote-section { padding: 5.5rem 1.1rem 7rem !important; }
  .quote-header { display: block; padding-bottom: 3rem; }
  .quote-header > div:first-child { margin-bottom: 3.5rem; }
  .quote-heading { display: block; }
  .quote-heading h2 { font-size: clamp(3.25rem, 14vw, 5rem); }
  .quote-heading > p { margin-top: 2rem; font-size: .9rem; }
  .quote-overview { padding-top: 2.5rem; }
  .quote-starters { grid-template-columns: 1fr; }
  .quote-starters article { min-height: 0; padding: 1.5rem 0; }
  .quote-starters article + article { border-top: 1px solid rgba(244, 243, 238, .24); border-left: 0; }
  .quote-starters article > p:first-child { margin-bottom: 2.5rem; font-size: .68rem; }
  .quote-starters h3 { font-size: clamp(2.6rem, 13vw, 3.7rem); }
  .quote-starters article > p:last-child { font-size: .78rem; }
  .quote-details-toggle { min-height: 3.7rem; font-size: .88rem; }
  .quote-layout { display: block; padding: 1.1rem 0 6rem; }
  .quote-builder,
  .quote-summary { backdrop-filter: blur(10px); }
  .quote-fieldset { padding: 2rem 1rem 1.3rem; }
  .quote-fieldset-pair { display: block; border-bottom: 0; }
  .quote-fieldset-pair .quote-fieldset { border-bottom: 1px solid rgba(244, 243, 238, .22); }
  .quote-fieldset-pair .quote-fieldset + .quote-fieldset { border-left: 0; }
  .quote-options,
  .quote-options--projects,
  .quote-options--duration,
  .quote-options--resolution { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-option > span { min-height: 4.4rem; }
  .quote-addons { grid-template-columns: 1fr 1fr; }
  .quote-addons label { grid-template-columns: 1.1rem 1fr; }
  .quote-addons small { grid-column: 2; }
  .quote-summary { position: static; margin-top: 1rem; }
  .quote-summary__eyebrow { margin-bottom: 3.5rem; }
  .quote-summary__price strong { font-size: clamp(2.6rem, 12vw, 4rem); }
  .delivery-process > header { display: block; }
  .delivery-process > header p { margin-bottom: 2.5rem; }
  .delivery-process h3 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .delivery-process ol { display: block; border-bottom: 0; }
  .delivery-process li,
  .delivery-process li:nth-child(3) { min-height: 0; padding: 1.2rem 0 1.5rem; border-right: 0; border-bottom: 1px solid rgba(244, 243, 238, .22); }
  .delivery-process li > span { margin-bottom: 2rem; }
  .delivery-terms { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-option > span,
  .quote-copy,
  .quote-send,
  .quote-details,
  .quote-details-toggle,
  .quote-details-toggle span { transition: none; }
}
