/* Shared public-page components retained across the Phase 1 homepage system. */
.container.narrow { width: min(760px,calc(100% - 40px)); }
.eyebrow { margin: 0 0 10px; color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 19px; border: 1px solid var(--brand-dark); border-radius: 10px; background: var(--brand-dark); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; transition: background-color .2s, border-color .2s, transform .2s; }
.button:hover { background: #005a98; border-color: #005a98; color: #fff; transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 8px 14px; }
.button-wide { width: 100%; }
.button-light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.button-light:hover { background: #e8f4ff; border-color: #e8f4ff; color: var(--brand-dark); }
.button-ghost-light { border-color: rgba(255,255,255,.65); background: transparent; color: #fff; }
.button-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.button-secondary { border-color: #a9c6da; background: #fff; color: var(--ink); }
.button-secondary:hover { border-color: var(--brand-dark); background: var(--soft); color: var(--brand-dark); }
.service-grid--bento .service-card:first-child { grid-row: auto; min-height: 310px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; color: #fff; }
.cta-card h2 { color: #fff; }
.cta-card p:not(.eyebrow) { max-width: 650px; color: #dcedfa; }
.home-cta.cta-section { padding-top: 48px; }
.home-cta .cta-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.39fr); gap: clamp(34px,5vw,78px); overflow: hidden; min-height: 354px; padding: clamp(34px,5vw,64px); border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: linear-gradient(123deg,#073a6a 0%,#0079c6 59%,#07886e 100%); box-shadow: 0 24px 55px rgba(4,51,87,.17); }
.home-cta .cta-card:before { content: ""; position: absolute; right: 23%; bottom: -185px; width: 380px; height: 380px; border: 56px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.cta-card__glow { position: absolute; right: -110px; top: -125px; width: 360px; height: 360px; border: 52px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.cta-card__content, .cta-card__contact { position: relative; z-index: 1; }
.cta-card__content { align-self: center; max-width: 740px; }
.home-cta .eyebrow { margin-bottom: 17px; color: #a9dcfb; }
.home-cta .cta-card h2 { max-width: 730px; margin-bottom: 17px; font-size: clamp(32px,4vw,53px); letter-spacing: -2.2px; }
.home-cta .cta-card__content > p:not(.eyebrow) { max-width: 610px; margin-bottom: 0; color: #d9effb; font-size: 17px; }
.cta-card__reassurance { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: #fff; font-size: 13px; font-weight: 700; }
.cta-card__reassurance svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.14); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.cta-card__contact { align-self: center; display: grid; gap: 12px; padding: 25px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(5,43,76,.21); box-shadow: 0 18px 40px rgba(0,30,56,.13); backdrop-filter: blur(12px); }
.cta-card__contact-label { margin-bottom: 3px; color: #bfe8fa; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.cta-card__primary { width: 100%; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 15px 12px 18px; }
.cta-card__primary svg, .cta-card__secondary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.cta-card__secondary { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.56); border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; transition: background-color .2s,border-color .2s,transform .2s; }
.cta-card__secondary:hover { border-color: #fff; background: rgba(255,255,255,.13); color: #fff; transform: translateY(-1px); }
.home-cta .cta-card__contact p { margin: 3px 0 0; color: #c8e7f6; font-size: 12px; line-height: 1.55; }
.brand { white-space: nowrap; }
.cart-icon { display: none; width: 21px; height: 21px; }
.text-link, .back-link { color: var(--brand-dark); font-size: 14px; font-weight: 800; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-heading); }
h2 { margin: 0 0 20px; font-size: clamp(29px,3.5vw,46px); font-weight: 800; line-height: 1.12; letter-spacing: -1.5px; }
h3 { margin: 0 0 9px; font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.55px; }
p { margin: 0 0 15px; }
.page-hero { padding: 86px 0; background: linear-gradient(140deg,#f2f8fd 0%,#fff 67%); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding: 54px 0; }
.page-hero h1 { margin: 12px 0 24px; font-size: clamp(38px,5.2vw,68px); font-weight: 800; line-height: 1.05; letter-spacing: -2.6px; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .eyebrow { color: #85c7ff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #c5d3df; }
.prose { color: var(--muted); }
.prose > *:last-child { margin-bottom: 0; }
.prose h1, .prose h2, .prose h3 { margin: 22px 0 11px; color: var(--ink); font-size: 1.4em; letter-spacing: -.4px; }
.prose ul, .prose ol { padding-left: 22px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 35px; }
.info-card, .team-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-card p, .team-card p { color: var(--muted); }
.info-card ul { padding-left: 20px; color: var(--muted); font-size: 14px; }
.card-number { display: block; margin-bottom: 28px; color: var(--positive); font: 800 14px var(--font-heading); }
.split-section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 76px; align-items: center; }
.content-image { width: 100%; min-height: 360px; object-fit: cover; border-radius: var(--radius); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.project-card > img { width: 100%; height: 245px; object-fit: cover; }
.project-card > div { padding: 27px; }
.project-card p { color: var(--muted); }
.quote-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 38px; }
.quote-grid blockquote { margin: 0; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.quote-grid blockquote > p { font: 600 20px/1.45 var(--font-heading); }
.quote-grid footer { display: grid; color: #bcd1e3; font-size: 14px; }
.quote-grid strong { color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 35px; }
.team-card img { width: calc(100% + 52px); height: 250px; object-fit: cover; margin: -26px -26px 23px; border-radius: 17px 17px 0 0; }
.role { color: var(--brand-dark) !important; font-weight: 700; }
.project-detail { display: grid; gap: 42px; }
.project-feature { width: 100%; max-height: 580px; object-fit: cover; border-radius: var(--radius); }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-list span { padding: 6px 11px; border-radius: 99px; background: var(--soft); font-size: 13px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 34px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-image { display: block; flex: 0 0 210px; height: 210px; background: var(--soft); }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.product-card-body { display: block; min-width: 0; padding: 21px; }
.product-card-body strong { display: block; margin: 17px 0; color: var(--brand-dark); font-size: 17px; }
.inline-form { display: inline; }
.store-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 15px; padding: 20px; background: var(--soft); border-radius: var(--radius); }
label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 800; }
input, textarea, select { width: 100%; min-height: 44px; border: 1px solid #b8cbd9; border-radius: 8px; background: #fff; padding: 10px 11px; color: var(--ink); font-size: 15px; font-weight: 400; }
textarea { min-height: 112px; resize: vertical; }
.store-filter label { min-width: 215px; }
.product-detail { padding-top: 62px; }
.product-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 62px; align-items: start; }
.product-detail-image { width: 100%; min-height: 420px; object-fit: contain; background: var(--soft); border-radius: var(--radius); padding: 35px; }
.product-price { margin: 17px 0 24px; color: var(--brand-dark); font: 800 28px var(--font-heading); }
.purchase-form { display: flex; align-items: end; gap: 14px; margin-top: 28px; }
.purchase-form label { width: 100px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 26px; align-items: start; }
.cart-panel, .checkout-form, .contact-form, .contact-info { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-item { display: grid; grid-template-columns: 80px 1fr 100px auto auto; gap: 16px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-of-type { border-bottom: 0; }
.cart-item img { width: 80px; height: 80px; object-fit: contain; background: var(--soft); border-radius: 8px; }
.cart-item h2 { margin: 0 0 5px; font-size: 18px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 14px; }
.quantity-form label { font-size: 11px; }
.quantity-form input { padding: 6px; }
.text-button { min-height: 44px; border: 0; background: transparent; color: var(--brand-dark); cursor: pointer; font-size: 13px; font-weight: 800; }
.text-button.danger { color: #a61b1b; }
.cart-total { display: flex; justify-content: space-between; padding-top: 24px; font-size: 19px; }
.cart-total strong { color: var(--brand-dark); }
.checkout-form h2 { font-size: 26px; }
.checkout-form > p { color: var(--muted); font-size: 14px; }
.checkout-form form, .contact-form form { display: grid; gap: 15px; margin-top: 23px; }
.checkout-form label span { font-weight: 400; }
.empty-state { padding: 43px; text-align: center; }
.success-page { padding-top: 60px; padding-bottom: 60px; }
.success-page .button { margin: 24px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.contact-info { background: var(--dark); color: #fff; }
.contact-info .eyebrow { color: #85c7ff; }
.contact-info h2 { color: #fff; font-size: 28px; }
.contact-info-item { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.17); }
.contact-info-item span, .trust-note { color: #c2d2e1; font-size: 14px; }
.trust-note { margin-top: 24px; }
.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-list summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 800; }
.faq-list details p { margin: 12px 0 0; color: var(--muted); }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; }
.footer-grid { display: grid; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 18px; }
.flash-wrap { position: relative; z-index: 5; padding-top: 16px; }
.flash { padding: 12px 15px; border-radius: 8px; font-size: 14px; }
.flash ul { margin: 7px 0 0; padding-left: 20px; }
.flash-success { border: 1px solid #b9e6cc; background: #effbf4; color: #166534; }
.flash-error { border: 1px solid #f2b8b5; background: #fff5f5; color: #8f1d18; }
.field-error { margin: -2px 0 0; color: #a61b1b; font-size: 13px; font-weight: 700; }
[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180,35,24,.12); }

/* Phase 2 company, service, project, and quotation experiences */
.page-hero--left .narrow { margin-left: max(20px,calc((100vw - 1180px)/2)); }
.content-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: clamp(38px,6vw,78px); align-items: center; }
.content-split--image-left .content-split__copy { order: 2; }
.content-split--text-only { grid-template-columns: minmax(0,780px); }
.content-split__copy h2, .section-intro h2 { max-width: 850px; }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 36px; }
.value-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-card > span { color: var(--brand-dark); font: 800 12px var(--font-heading); letter-spacing: .08em; }
.value-card h3 { margin: 26px 0 8px; font-size: 20px; }
.value-card p { margin: 0; color: var(--muted); }
.section-dark .value-card { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.section-dark .value-card h3 { color: #fff; }
.section-dark .value-card p { color: #c2d2e1; }
.service-catalog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 38px; }
.service-catalog-grid--compact { grid-template-columns: 1fr; }
.service-detail-card { display: flex; flex-direction: column; min-height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 38px rgba(14,52,84,.06); transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.service-detail-card:hover { transform: translateY(-3px); border-color: #9fc9e5; box-shadow: 0 20px 46px rgba(14,52,84,.1); }
.service-detail-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service-group { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.service-detail-card h3 { margin: 24px 0 10px; font-size: 24px; }
.service-detail-card p { margin: 0 0 24px; color: var(--muted); }
.service-detail-card .text-link { margin-top: 22px; }
.timeline-estimate { display: grid; gap: 3px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.timeline-estimate span { color: var(--muted); font-size: 12px; font-weight: 700; }
.timeline-estimate strong { font-size: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 34px; }
.filter-chips a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 800; }
.filter-chips a:hover, .filter-chips a.active { border-color: var(--brand-dark); background: var(--brand-dark); color: #fff; }
.project-card h3 { margin: 10px 0; font-size: 24px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.project-meta span { color: var(--brand-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.project-meta span + span:before { content: "·"; margin-right: 8px; color: var(--muted); }
.project-client { color: var(--ink)!important; font-size: 13px; font-weight: 700; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 38px; }
.pagination a, .pagination span { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 700; }
.pagination span[aria-disabled="true"] { color: #8090a0; background: var(--soft); }
.quote-section { background: linear-gradient(180deg,#fff 0%,var(--soft) 100%); }
.contact-form form { gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field-help { color: var(--muted); font-size: 12px; font-weight: 400; }
.error-summary { margin: 22px 0; padding: 18px; border: 2px solid #b42318; border-radius: 10px; background: #fff5f5; color: #7a1712; }
.error-summary h3 { margin: 0 0 8px; font-size: 18px; }
.error-summary ul { margin: 0; padding-left: 21px; }
.error-summary a { text-decoration: underline; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label { min-height: 44px; display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; }
.choice-row input, .consent-row input { width: 18px; min-height: 18px; margin: 0; }
.consent-row { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 500; }
.consent-row .field-error { grid-column: 2; }
.honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.direct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.contact-facts { margin: 0; }
.contact-facts div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-facts dt { color: #85c7ff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-facts dd { margin: 3px 0 0; color: #fff; }
.breadcrumb-wrap { border-bottom: 1px solid var(--line); background: var(--soft); }
.breadcrumbs { min-height: 50px; display: flex; align-items: center; gap: 9px; margin-top: 0; margin-bottom: 0; padding-top: 8px; padding-bottom: 8px; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumbs li + li:before { content: "/"; margin-right: 9px; color: #91a2b2; }
.breadcrumbs a { color: var(--brand-dark); font-weight: 700; }
.service-hero, .case-hero { padding: clamp(64px,8vw,105px) 0; background: radial-gradient(circle at 85% 5%,rgba(0,124,208,.15),transparent 34%),linear-gradient(145deg,var(--soft),#fff 66%); }
.case-hero { border-top: 6px solid var(--case-from,var(--brand)); background: linear-gradient(145deg,color-mix(in srgb,var(--case-from,var(--soft)) 12%,white),color-mix(in srgb,var(--case-to,#fff) 12%,white)); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.55fr); gap: clamp(40px,7vw,90px); align-items: center; }
.service-hero h1, .case-hero h1 { margin: 12px 0 20px; font-size: clamp(40px,5vw,66px); line-height: 1.06; letter-spacing: -2.3px; }
.estimate-card { padding: 30px; border: 1px solid #bcd8e9; border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.estimate-card p { margin: 22px 0 4px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.estimate-card strong { display: block; font: 800 22px/1.35 var(--font-heading); }
.estimate-card small { display: block; margin-top: 16px; color: var(--muted); line-height: 1.55; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.42fr); gap: clamp(38px,7vw,86px); align-items: start; }
.detail-prose { max-width: 800px; }
.detail-aside { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.detail-aside h2 { margin-top: 0; font-size: 20px; }
.detail-aside h2:not(:first-child) { margin-top: 28px; }
.detail-aside ul { padding-left: 20px; }
.case-client { color: var(--muted); }
.case-study-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.case-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.case-panel--results { grid-column: 1/-1; background: var(--soft); }
.metric-band { padding: 34px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.metric-band h2 { color: #fff; }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.metric-grid div { display: grid; gap: 3px; padding: 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; }
.metric-grid strong { font: 800 18px var(--font-heading); }
.metric-grid span { color: #bdd0df; font-size: 13px; }
.case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.case-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; }
.case-taxonomy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.case-taxonomy .tag-list a { padding: 6px 11px; border-radius: 99px; background: var(--soft); color: var(--brand-dark); font-size: 13px; font-weight: 700; }
.case-quote { margin: 0; padding: clamp(28px,5vw,50px); border-radius: var(--radius); background: var(--soft); }
.case-quote > p { margin: 0; font: 700 clamp(22px,3vw,34px)/1.4 var(--font-heading); }
.case-quote footer { display: grid; margin-top: 22px; color: var(--muted); }
.empty-state { grid-column: 1/-1; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0 20px; }
.catalog-toolbar p { margin: 0; color: var(--muted); }
.catalog-toolbar .text-link, .back-link, .site-footer section:last-child .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.store-filter-actions { display: flex; gap: 9px; align-items: center; }
.product-card-sku { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 17px 0; }
.card-price span, .original-price { color: var(--muted); font-size: 13px; text-decoration: line-through; }
.card-price strong { margin: 0; }
.product-gallery { display: grid; gap: 14px; }
.product-gallery .product-detail-image:not(:first-child) { min-height: 0; aspect-ratio: 4/3; }
.product-summary { position: sticky; top: 104px; }
.product-reference { margin: -5px 0 10px; color: var(--muted); font-size: 13px; }
.product-price { display: flex; align-items: baseline; gap: 12px; }
.product-price strong { font: inherit; }
.availability-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 11px; border-radius: 99px; background: #e4f7ec; color: #0b7048; font-size: 13px; font-weight: 800; }
.availability-badge span { width: 8px; height: 8px; border-radius: 50%; background: #168c5e; }
.purchase-form small, .quantity-form small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.manual-order-note { margin: 25px 0; padding: 18px; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--soft); }
.manual-order-note p { margin: 4px 0 0; color: var(--muted); }
.specifications { margin-top: 35px; }
.specifications h2 { font-size: 23px; }
.specifications dl { margin: 0; border-top: 1px solid var(--line); }
.specifications dl div { display: grid; grid-template-columns: minmax(120px,.4fr) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specifications dt { color: var(--muted); font-weight: 700; }
.specifications dd { margin: 0; }
.notice { margin-bottom: 18px; padding: 14px 16px; border-radius: 10px; }
.notice.warning { border: 1px solid #e2b24e; background: #fff9e9; color: #6d4b00; }
.price-note, .form-help { color: var(--muted); font-size: 12px; }
.checkout-form { position: sticky; top: 98px; }
.checkout-form .consent-row { display: grid; }
.checkout-form .consent-row input { min-height: 24px; width: 24px; margin: 3px 0 0; }
.checkout-form .consent-row a { min-height: 24px; display: inline-flex; align-items: center; color: var(--brand-dark); text-decoration: underline; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #dff6e9; color: #0d764d; font-size: 31px; font-weight: 900; }
.order-number { display: inline-flex; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.receipt-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 28px 0; text-align: left; }
.receipt-summary div { display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.receipt-summary span { color: var(--muted); font-size: 12px; }
.policy-list { display: grid; gap: 12px; }
.policy-list article { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.policy-list h2 { margin: 0; font-size: 20px; }
.policy-list p { margin: 6px 0 0; color: var(--muted); }
.policy-body h2 { margin-top: 34px; }
.site-footer section:last-child .text-link { display: flex; margin-top: 10px; }

@media (max-width: 900px) { .nav-quote { display: none; } }

@media (max-width: 800px) {
    .nav-quote { display: none; }
    .page-hero { padding: 60px 0; }
    .split-section, .product-detail-grid, .checkout-grid, .contact-grid, .content-split, .service-hero-grid, .detail-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-summary, .checkout-form { position: static; }
    .content-split--image-left .content-split__copy { order: 0; }
    .card-grid, .team-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .project-grid, .quote-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 70px 1fr auto; }
    .cart-item img { width: 70px; height: 70px; }
    .cart-item .quantity-form { grid-column: 2; }
    .cart-item > strong { grid-column: 3; grid-row: 2; }
    .cart-item > form:last-child { grid-column: 1; grid-row: 2; }
    .store-filter { align-items: stretch; }
    .store-filter label { min-width: 0; flex: 1 1 45%; }
    .cta-card { display: grid; grid-template-columns: 1fr; }
    .home-cta .cta-card { grid-template-columns: 1fr; gap: 30px; min-height: 0; }
    .home-cta .cta-card__contact { max-width: 420px; }
    .value-grid, .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .policy-list article { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .container.narrow { width: min(760px,calc(100% - 28px)); }
    .cart-icon { display: block; }
    .lead { font-size: 17px; }
    .home-cta .cta-card { padding: 31px 23px; border-radius: 22px; }
    .home-cta.cta-section { padding-top: 32px; }
    .home-cta .cta-card h2 { font-size: clamp(30px,9vw,40px); letter-spacing: -1.7px; }
    .home-cta .cta-card__content > p:not(.eyebrow) { font-size: 16px; }
    .home-cta .cta-card__contact { padding: 20px; }
    .cta-card__reassurance { align-items: flex-start; font-size: 12px; }
    .card-grid, .team-grid, .product-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; }
    .store-filter label { flex-basis: 100%; }
    .purchase-form { align-items: stretch; flex-direction: column; }
    .purchase-form label { width: 100%; }
    .cart-item { gap: 10px; }
    .cart-item { grid-template-columns: 70px minmax(0,1fr); }
    .cart-item .quantity-form, .cart-item > strong, .cart-item > form:last-child { grid-column: 2; grid-row: auto; justify-self: start; }
    .footer-bottom { display: grid; }
    .service-catalog-grid, .form-grid, .value-grid, .metric-grid, .case-study-grid, .case-gallery, .case-taxonomy { grid-template-columns: 1fr; }
    .case-panel--results { grid-column: auto; }
    .pagination { justify-content: space-between; gap: 7px; }
    .pagination a, .pagination span { padding: 7px 9px; font-size: 12px; }
    .service-hero h1, .case-hero h1 { letter-spacing: -1.6px; }
    .catalog-toolbar, .policy-list article { align-items: flex-start; flex-direction: column; }
    .receipt-summary, .specifications dl div { grid-template-columns: 1fr; }
}
