/*
 * Shared stylesheet for Total Epoxy Care static SEO pages.
 *
 * Matches the homepage (React) visual style so the pre-rendered static pages
 * are visually consistent with the main site:
 *   - /garage-epoxy-perth/
 *   - /workshop-epoxy-perth/
 *   - /patio-epoxy-perth/
 *   - /epoxy-flooring-cost-perth/
 *
 * Load /styles/brand-tokens.css first, then /styles/static-pages.css.
 *
 * Orange and font source: client/public/styles/brand-tokens.css.
 * Preserve the established neutral surfaces of existing static pages.
 * On light backgrounds, small text uses charcoal with a canonical-orange
 * underline or adjacent rule. Do not darken orange into a copper/red hue.
 */

:root {
  --tec-black: #1A1A1A;
  --tec-deep: #0E0E0E;
  --tec-orange: var(--color-brand-orange);
  --tec-orange-bright: var(--color-brand-orange-bright);
  --tec-cream: #F5F2EC;
  --tec-wa: #25D366;
  --tec-wa-dark: #1ebe5d;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: #1A1A1A; background: #fff; -webkit-font-smoothing: antialiased; }

/* ----- Top utility bar (desktop) ----- */
.utility { display: none; background: var(--tec-deep); color: #9ca3af; font-size: 0.75rem; }
.utility-inner { max-width: var(--tec-content-max); margin: 0 auto; padding: 0 var(--tec-gutter-desktop); height: 36px; display: flex; align-items: center; justify-content: space-between; }
.utility a { color: #9ca3af; text-decoration: none; }
.utility a:hover { color: var(--tec-orange); }
.utility .utility-right { display: flex; gap: 1.25rem; align-items: center; }
@media (min-width: 768px) { .utility { display: block; } }

/* ----- Header (sticky, matte black, logo + nav) ----- */
header.site-header { position: sticky; top: 0; z-index: 50; background: var(--tec-black); border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { max-width: var(--tec-content-max); margin: 0 auto; padding: 0 var(--tec-gutter-mobile); min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 40px; width: auto; display: block; }
.header-nav { display: none; align-items: center; gap: clamp(.6rem, 1.15vw, 1.5rem); }
.header-nav a { color: #e5e7eb; text-decoration: none; font-size: .875rem; font-weight: 500; white-space: nowrap; transition: color 0.15s; }
.header-nav a:hover { color: var(--tec-orange); }
.header-nav a[aria-current="page"] { color: var(--tec-orange); }
.header-cta { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.header-cta .header-phone { display: none; color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.header-cta .header-phone:hover { color: var(--tec-orange); }
@media (min-width: 640px) { .header-inner { padding: 0 var(--tec-gutter-tablet); } .header-logo img { height: 48px; } }
@media (min-width: 1024px) { .header-inner { min-height: 96px; padding: 0 var(--tec-gutter-desktop); } .header-logo img { height: 56px; } }
@media (min-width: 1280px) { .utility-inner, .header-inner { max-width: var(--tec-content-max-xl); } .header-nav { display: flex; } }
@media (min-width: 1536px) { .utility-inner, .header-inner { max-width: var(--tec-content-max-2xl); } .header-cta .header-phone { display: inline-flex; } }
@media (max-width: 1279px) { header.site-header .header-cta > .btn { display: none; } }

/* Native details menu keeps click, Enter and Space support before JavaScript. */
.site-mobile-menu { display: block; }
.site-mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; cursor: pointer; list-style: none; }
.site-mobile-menu summary::-webkit-details-marker { display: none; }
.site-mobile-menu .menu-bars { display: grid; gap: 4px; }
.site-mobile-menu .menu-bars i { width: 20px; height: 2px; background: currentColor; }
.site-mobile-menu .menu-close { display: none; font-size: 2rem; line-height: 1; }
.site-mobile-menu[open] .menu-bars { display: none; }
.site-mobile-menu[open] .menu-close { display: block; }
.site-mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; background: var(--tec-black); border-top: 1px solid rgba(255,255,255,.1); padding: 1rem var(--tec-gutter-mobile) 1.5rem; max-height: calc(100dvh - 80px - 56px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 28px rgba(0,0,0,.3); }
.site-mobile-menu nav a:not(.btn) { color: #e5e5e5; border-bottom: 1px solid rgba(255,255,255,.06); padding: .75rem 0; font-size: 1rem; font-weight: 500; text-decoration: none; }
.site-mobile-menu nav a[aria-current], .site-mobile-menu nav a.nav-visualiser { color: var(--tec-orange); }
.site-mobile-menu nav :is(.btn, .site-mobile-call, .site-mobile-wa) { margin-top: .75rem; text-align: center; }
.site-mobile-menu nav :is(.site-mobile-call, .site-mobile-wa) { border: 1px solid rgba(255,255,255,.25); padding: .85rem; color: #fff; font-weight: 700; text-decoration: none; text-transform: uppercase; }
@media (min-width: 768px) { .site-mobile-menu nav { max-height: calc(100dvh - 96px - 56px); } }
@media (min-width: 1280px) { .site-mobile-menu { display: none; } }
body:has(.site-mobile-menu[open]) :is(.float-wa, .sticky-cta) { visibility: hidden; pointer-events: none; }
:is(.site-mobile-menu summary, .site-mobile-menu nav a, .header-nav a, .shared-footer a):focus-visible { outline: 3px solid var(--tec-orange-bright); outline-offset: 3px; }
#quote-form, #contact { scroll-margin-top: 110px; }

/* Primary branded button uses the exact same orange as the React homepage. */
.btn { display: inline-block; background: var(--tec-orange); color: #fff; font-weight: 800; padding: 0.85rem 2rem; border-radius: 3px; text-decoration: none; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 2px 0 rgba(0,0,0,0.4); transition: background 0.15s, box-shadow 0.15s, transform 0.12s; }
.btn:hover { background: var(--tec-orange-bright); box-shadow: 0 4px 0 rgba(0,0,0,0.4); }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }

/* ----- Hero ----- */
.hero { background: linear-gradient(135deg, var(--tec-black) 0%, var(--tec-deep) 100%); color: #fff; padding: 4.5rem 1.5rem 4rem; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 1.25rem; line-height: 1.12; letter-spacing: -0.01em; }
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 640px; margin: 0 auto 2rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .85rem; }
.hero-phone { color: #fff; font-weight: 800; padding: .75rem .25rem; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tec-orange) 75%, transparent); text-underline-offset: 5px; }
.hero-phone:hover { color: var(--tec-orange-bright); }

/* ----- Content sections ----- */
.section { padding: 4rem 1.5rem; max-width: 960px; margin: 0 auto; }
.section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; color: #1A1A1A; }
.section h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: #1A1A1A; }
.section p { font-size: 1.05rem; line-height: 1.75; color: #374151; margin-bottom: 1rem; }
.section ul { margin: 0 0 1rem 1.25rem; color: #374151; line-height: 1.8; }

/* Benefit/feature cards */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.benefit-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.5rem; background: #fff; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; color: #1A1A1A; margin: 0 0 0.5rem; }
.benefit-card p { font-size: 0.95rem; color: #6b7280; margin: 0; }

/* Suburbs band */
.suburbs { background: var(--tec-cream); padding: 3rem 1.5rem; }
.suburbs-inner { max-width: 960px; margin: 0 auto; }
.suburbs h2 { font-size: 1.6rem; font-weight: 800; color: #1A1A1A; margin-bottom: 1rem; }
.suburbs p { color: #475569; line-height: 1.8; }

/* Price table (cost page) */
.price-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table.prices { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
table.prices th, table.prices td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
table.prices thead th { background: #1A1A1A; color: #fff; font-weight: 700; }
table.prices tbody tr.popular { background: #fff7ed; }
table.prices .price { font-weight: 800; color: #1A1A1A; white-space: nowrap; font-size: 1.1rem; }
@media (max-width: 640px) {
  .price-table-wrap { overflow-x: visible; }
  table.prices { display: block; min-width: 0; }
  table.prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table.prices thead th { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; }
  table.prices tbody { display: grid; gap: 1rem; }
  table.prices tr { display: block; border: 1px solid #e5e7eb; border-top: 4px solid var(--tec-orange); background: #fff; }
  table.prices td { display: grid; grid-template-columns: minmax(85px, 34%) minmax(0, 1fr); gap: .75rem; overflow-wrap: anywhere; }
  table.prices td::before { content: attr(data-label); font: 700 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--tec-black); }
  table.prices td.price { white-space: normal; font-size: 1rem; }
}
.badge { display: inline-block; background: var(--tec-orange); color: var(--tec-black); font-size: 0.7rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 3px; margin-left: 0.4rem; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.03em; }
.callout { background: #1A1A1A; color: #fff; border-radius: 8px; padding: 1.5rem 1.75rem; margin: 1.5rem 0; font-size: 1.15rem; font-weight: 600; }
.callout strong { color: var(--tec-orange-bright); }
.fineprint { font-size: 0.9rem; color: #6b7280; line-height: 1.6; }
.fineprint a { color: var(--tec-black); font-weight: 700; text-decoration-color: var(--tec-orange); text-underline-offset: 3px; }
.price-option-card { border-top: 5px solid var(--tec-orange); }
.price-kicker { color: var(--tec-black); border-left: 3px solid var(--tec-orange); padding-left: .65rem; display: block; font-size: .8rem; font-weight: 900; letter-spacing: .05em; margin-bottom: .45rem; text-transform: uppercase; }

/* Real project evidence on the garage landing page */
.project-proof { background: #1A1A1A; color: #fff; padding: 4rem 1.5rem; }
.project-proof-inner { max-width: 1120px; margin: 0 auto; }
.project-proof-copy { max-width: 780px; margin-bottom: 2rem; }
.project-proof .section-eyebrow { color: var(--tec-orange-bright); }
.project-proof h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.08; margin-bottom: 1rem; }
.project-proof-copy > p { color: #d1d5db; font-size: 1rem; line-height: 1.7; margin-bottom: .8rem; }
.project-proof .fineprint { color: #a3a3a3; }
.project-proof-grid { display: grid; gap: 1rem; }
.project-proof-card { background: #0E0E0E; border: 1px solid rgba(255,255,255,.12); min-width: 0; overflow: hidden; }
.project-proof-card img { aspect-ratio: 4 / 3; display: block; height: auto; object-fit: cover; width: 100%; }
.project-proof-card:first-child img { object-position: center 56%; }
.project-proof-card figcaption { border-top: 4px solid var(--tec-orange); display: grid; gap: .35rem; padding: 1rem; }
.project-proof-card figcaption strong { font-size: 1rem; }
.project-proof-card figcaption span { color: #bdbdbd; font-size: .85rem; line-height: 1.5; }
@media (min-width: 760px) { .project-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hero-actions { align-items: stretch; flex-direction: column; } .hero-actions .btn, .hero-actions .hero-phone { text-align: center; width: 100%; } }

/* Two individually sourced garage reviews; not an aggregate rating or commercial proof. */
.garage-reviews { background: var(--tec-cream); padding: clamp(3.5rem, 6vw, 6rem) 1.5rem; }
.garage-reviews-inner { max-width: 1120px; margin: 0 auto; }
.garage-reviews h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.1; margin: 0 0 1rem; }
.garage-reviews-inner > p { color: #404040; line-height: 1.7; max-width: 680px; margin-bottom: 2rem; }
.garage-reviews-grid { display: grid; gap: 1.25rem; }
.garage-review-card { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-top: 4px solid var(--tec-orange); padding: clamp(1.5rem, 3vw, 2rem); }
.garage-review-context { font: 600 .75rem var(--font-mono); color: #404040; text-transform: uppercase; letter-spacing: .04em; }
.garage-review-card blockquote { margin: 1rem 0 1.25rem; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; overflow-wrap: anywhere; }
.garage-review-card figcaption { color: #404040; font-size: .9rem; line-height: 1.6; }
.garage-review-card a { color: var(--tec-black); font-weight: 700; text-decoration-color: var(--tec-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.garage-review-card a:hover { text-decoration-color: var(--tec-orange-bright); }
.garage-review-card a:focus-visible { outline: 3px solid var(--tec-orange); outline-offset: 3px; }
@media (min-width: 760px) { .garage-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq { padding: 4rem 1.5rem; background: var(--tec-cream); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq h2 { font-size: 2rem; font-weight: 800; color: #1A1A1A; margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid #e5e7eb; padding: 1.25rem 0; }
.faq-item h3 { font-size: 1.05rem; font-weight: 700; color: #1A1A1A; margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.95rem; line-height: 1.7; color: #374151; }

/* Final CTA band */
.cta { background: #1A1A1A; color: #fff; text-align: center; padding: 4rem 1.5rem; }
.cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.cta p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 2rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta a:not(.btn) { color: var(--tec-orange-bright); text-underline-offset: 3px; }

/* Related links nav */
.related { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem; text-align: center; }
.related a { display: inline-block; margin: 0 0.75rem 0.5rem; color: var(--tec-black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tec-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.related a:hover { text-decoration-color: var(--tec-orange-bright); }

/* Footer */
footer.site-footer { background: var(--tec-deep); color: #9ca3af; text-align: center; padding: 2.5rem 1.5rem; font-size: 0.875rem; }
footer.site-footer a { color: #d1d5db; }
footer.site-footer.shared-footer { background: #0a0a0a; padding: 0; text-align: left; font-size: .875rem; }
.shared-footer .footer-container { max-width: var(--tec-content-max); margin: 0 auto; padding-left: var(--tec-gutter-mobile); padding-right: var(--tec-gutter-mobile); }
.shared-footer .footer-areas { border-bottom: 1px solid rgba(255,255,255,.05); padding: 3.5rem 0 4rem; }
.shared-footer .footer-eyebrow, .shared-footer .footer-columns h2 { font: 500 .75rem var(--font-mono); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.25rem; }
.shared-footer .footer-eyebrow { color: var(--tec-orange); border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 1rem; }
.shared-footer .footer-areas h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: .75rem; }
.shared-footer .footer-areas p, .shared-footer .footer-brand p, .shared-footer .footer-contact p { color: #a3a3a3; line-height: 1.65; }
.shared-footer .footer-areas > .footer-container > p:not(.footer-eyebrow) { max-width: 680px; }
.shared-footer .footer-suburbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; margin: 2rem 0 1.5rem; }
.shared-footer .footer-fineprint { font-size: .875rem; }
.shared-footer .footer-columns { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.shared-footer .footer-columns > * { min-width: 0; }
.shared-footer .footer-brand img { display: block; height: 56px; width: auto; max-width: 100%; margin-bottom: 1rem; }
.shared-footer .footer-brand p { max-width: 450px; }
.shared-footer .footer-columns h2 { color: #fff; }
.shared-footer .footer-columns :is(nav, .footer-contact) a { display: block; color: #a3a3a3; text-decoration: none; margin-bottom: .75rem; overflow-wrap: anywhere; }
.shared-footer .footer-columns a:hover { color: var(--tec-orange-bright); }
.shared-footer .footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.shared-footer .footer-social a { display: flex !important; justify-content: center; align-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.15); font-size: 1.1rem; font-weight: 800; color: #fff !important; margin: 0 !important; }
.shared-footer .footer-social a:hover { background: var(--tec-orange); border-color: var(--tec-orange); }
.shared-footer .footer-legal, .shared-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 1.5rem 0; color: #737373; font-size: .75rem; }
.shared-footer :is(.footer-legal, .footer-bottom) .footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.25rem; }
@media (min-width: 640px) { .shared-footer .footer-container { padding-left: var(--tec-gutter-tablet); padding-right: var(--tec-gutter-tablet); } .shared-footer .footer-suburbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shared-footer .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .shared-footer .footer-suburbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shared-footer .footer-container { padding-left: var(--tec-gutter-desktop); padding-right: var(--tec-gutter-desktop); } .shared-footer .footer-columns { grid-template-columns: 5fr 2fr 2fr 3fr; } }
@media (min-width: 1280px) { .shared-footer .footer-container { max-width: var(--tec-content-max-xl); } }
@media (min-width: 1536px) { .shared-footer .footer-container { max-width: var(--tec-content-max-2xl); } }

/* Video reel block (service pages) */
.reel { background: #1A1A1A; color: #fff; padding: 4rem 1.5rem; }
.reel-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .reel-inner { grid-template-columns: 280px 1fr; } }
.reel h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.reel p { font-size: 1.05rem; line-height: 1.7; color: #cbd5e1; margin-bottom: 1rem; }
.reel video { width: 100%; max-width: 280px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: #000; display: block; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }

/* ----- Sticky bottom CTA bar (mobile only) ----- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--tec-black); border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 -4px 24px rgba(0,0,0,0.3); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 0.5rem; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; }
.sticky-cta .sticky-call { background: var(--tec-black); color: #fff; }
.sticky-cta .sticky-call svg { color: var(--tec-orange); }
.sticky-cta .sticky-wa { background: var(--tec-orange); color: #fff; }
.sticky-cta .sticky-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ----- Floating WhatsApp button ----- */
.float-wa { position: fixed; right: 1rem; z-index: 60; bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); width: 48px; height: 48px; border-radius: 9999px; background: var(--tec-wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.2); ring: 1px solid rgba(0,0,0,0.05); transition: opacity 0.2s ease-out, transform 0.2s ease-out, background 0.15s; }
.float-wa:hover { background: var(--tec-wa-dark); }
.float-wa svg { width: 24px; height: 24px; }
.float-wa[data-visible="false"] { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (min-width: 640px) { .float-wa { right: 1.5rem; width: 56px; height: 56px; } .float-wa svg { width: 28px; height: 28px; } }
@media (min-width: 1024px) { .float-wa { bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); } }

/* Add bottom breathing room on mobile so sticky bar doesn't cover footer content */
@media (max-width: 1023px) { body { padding-bottom: 56px; } footer.site-footer { padding-bottom: 7rem; } footer.site-footer.shared-footer { padding-bottom: 7rem; } }

/* ----- Public warranty page ----- */
.warranty-hero { background: radial-gradient(circle at 82% 22%, color-mix(in srgb, var(--tec-orange) 15%, transparent), transparent 28%), linear-gradient(135deg, var(--tec-black) 0%, var(--tec-deep) 100%); }
.warranty-kicker, .section-eyebrow { color: var(--tec-black); border-left: 3px solid var(--tec-orange); padding-left: .65rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; margin-bottom: 0.8rem; }
.warranty-hero .warranty-kicker { color: var(--tec-orange-bright); border: 0; padding-left: 0; }
.warranty-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.warranty-summary h2, .warranty-two-column h2, .warranty-claims h2, .acl-section h2 { max-width: 760px; }
.warranty-band { background: var(--tec-cream); }
.warranty-two-column { display: grid; gap: 3rem; }
.warranty-two-column > div { min-width: 0; }
.warranty-two-column ul { margin-top: 1rem; }
.warranty-contact { margin-top: 2rem; padding: 1.15rem 1.25rem; background: var(--tec-cream); border-left: 4px solid var(--tec-orange); }
.warranty-contact a { color: var(--tec-black); font-weight: 700; text-decoration-color: var(--tec-orange); text-underline-offset: 3px; }
.acl-section { background: #fff; border-top: 1px solid #e5e7eb; }
.acl-section .callout { margin-bottom: 1.25rem; }
@media (min-width: 768px) { .warranty-two-column { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (max-width: 520px) { .warranty-hero-actions { flex-direction: column; align-items: stretch; } .warranty-hero-actions .btn { text-align: center; } }

/* Warranty preview refinements */
.warranty-summary .benefits { grid-template-columns: 1fr; }
.acl-section .fineprint a { color: var(--tec-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--tec-orange); text-underline-offset: 3px; }
.acl-section .fineprint a:hover { text-decoration-color: var(--tec-orange-bright); }
@media (min-width: 640px) { .warranty-summary .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ----- Commercial / workshop page: no second palette or CTA overrides ----- */
.commercial-page .commercial-hero .section-eyebrow,
.commercial-page .project-feature .section-eyebrow { color: var(--tec-orange-bright); border: 0; padding-left: 0; }
.commercial-hero { background: var(--tec-black); color: #fff; overflow: hidden; }
.commercial-hero-inner { max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.5rem; display: grid; gap: 2.5rem; align-items: center; }
.commercial-hero-copy { min-width: 0; }
.commercial-hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.15rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.045em; max-width: 850px; margin-bottom: 1.5rem; }
.commercial-hero-copy > p { max-width: 690px; color: #d4d4d4; font-size: 1.08rem; line-height: 1.75; margin-bottom: 2rem; }
.commercial-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .85rem; }
.commercial-phone { color: #fff; font-weight: 800; line-height: 1.3; padding: .75rem .25rem; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tec-orange) 75%, transparent); text-underline-offset: 5px; }
.commercial-phone:hover { color: var(--tec-orange-bright); }
.commercial-hero-media { position: relative; margin: 0; min-width: 0; }
.commercial-hero-media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid color-mix(in srgb, var(--tec-orange) 62%, transparent); pointer-events: none; }
.commercial-hero-media img { display: block; width: 100%; max-height: 690px; object-fit: cover; object-position: center; background: #272727; }
.commercial-hero-media figcaption { position: relative; background: #0e0e0e; border-left: 4px solid var(--tec-orange); color: #d4d4d4; font-size: .8rem; font-weight: 700; line-height: 1.45; padding: .9rem 1rem; }

.quote-form-section { max-width: 1020px; }
.commercial-form-section { background: var(--tec-cream); border-top: 8px solid var(--tec-orange); box-shadow: 0 24px 70px rgba(15,23,42,.11); margin-top: 4rem; margin-bottom: 4rem; padding: 3rem clamp(1.25rem, 4vw, 3.5rem); }
.commercial-form-section > p { max-width: 780px; }
.commercial-form-section [data-quote-form-island] { margin-top: 2rem; }
.quote-form-island button, .quote-form-island a { font-family: var(--font-body); }

.assessment-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.assessment-card { border: 1px solid #d4d4d4; border-top: 5px solid var(--tec-orange); background: #fff; padding: 1.5rem; }
.assessment-card > span { color: var(--tec-black); font-family: var(--font-mono); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.assessment-card h3 { margin: .8rem 0 .55rem; }
.assessment-card p { font-size: .95rem; line-height: 1.65; margin: 0; }

.project-feature { background: #28312f; color: #fff; padding: 4rem 1.5rem; }
.project-feature-inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 2.5rem; align-items: center; }
.project-feature picture { min-width: 0; }
.project-feature img { display: block; width: 100%; max-height: 650px; object-fit: cover; object-position: center; box-shadow: 18px 18px 0 rgba(14,14,14,.38); }
.project-feature-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.4rem; }
.project-feature-copy p { color: #d1d5db; font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.project-feature-link { color: var(--tec-orange-bright); font-weight: 800; text-underline-offset: 4px; }
.project-feature-link:hover { color: #fff; }

.commercial-process { background: var(--tec-cream); }
.commercial-process-inner { display: grid; gap: 2.5rem; max-width: 1120px; }
.commercial-callout { background: var(--tec-black); color: #fff; border-left: 6px solid var(--tec-orange); padding: 2rem; align-self: start; }
.commercial-callout h3 { color: #fff; font-size: 1.4rem; line-height: 1.2; margin: 0 0 1rem; }
.commercial-callout p { color: #d1d5db; font-size: .98rem; line-height: 1.7; margin: 0; }

.quote-factors { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 2rem; }
.quote-factors span { background: var(--tec-black); border-left: 4px solid var(--tec-orange); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .03em; padding: .8rem 1rem; }
.commercial-pricing-note { background: var(--tec-cream); border-left: 5px solid var(--tec-orange); margin-top: 1.5rem; padding: 1.25rem 1.5rem; }
.commercial-pricing-note p { font-size: .95rem; margin: 0 0 .65rem; }
.commercial-pricing-note a { color: var(--tec-black); font-weight: 800; text-decoration: underline; text-decoration-color: var(--tec-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.commercial-pricing-note a:hover { text-decoration-color: var(--tec-orange-bright); }
.faq a { color: var(--tec-black); font-weight: 700; text-decoration-color: var(--tec-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (min-width: 760px) {
  .assessment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commercial-process-inner { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); }
}
@media (min-width: 920px) {
  .commercial-hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); padding-top: 5rem; padding-bottom: 5rem; }
  .project-feature-inner { grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: 4.5rem; }
}
@media (max-width: 640px) {
  .commercial-hero-inner { padding-top: 2.75rem; padding-bottom: 3rem; }
  .commercial-hero-actions { align-items: stretch; flex-direction: column; }
  .commercial-hero-actions .btn, .commercial-hero-actions .commercial-phone { text-align: center; width: 100%; }
  .commercial-hero-media img, .project-feature img { max-height: 540px; }
  .commercial-form-section { margin-top: 0; margin-bottom: 0; }
  .project-feature img { box-shadow: 10px 10px 0 rgba(14,14,14,.38); }
}

/* ----- Projects: same source tokens and responsive rhythm as the React homepage ----- */
.projects-page {
  --tec-orange: var(--color-brand-orange);
  --tec-orange-bright: var(--color-brand-orange-bright);
  font-family: var(--font-body);
  background: var(--color-brand-cream);
  color: var(--color-brand-charcoal);
}
.projects-page :is(h1, h2, h3) { font-family: var(--font-display); letter-spacing: -.02em; }
.projects-page :is(a, summary):focus-visible { outline: 3px solid var(--color-brand-orange-bright); outline-offset: 3px; }
.projects-page .utility { background: #0e0e0e; }
.projects-page .utility-inner > span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; }
.projects-page header.site-header { background: #1a1a1a; }
.header-nav a.nav-visualiser { color: var(--tec-orange); font-weight: 700; }
.projects-page .btn { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; background: var(--color-brand-orange); color: #fff; padding: 1rem 1.75rem; border: 0; border-radius: 2px; font-size: .875rem; font-weight: 700; letter-spacing: .05em; box-shadow: 0 3px 0 rgba(0,0,0,.4); transition: background 160ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.projects-page .btn:hover { background: var(--color-brand-orange-bright); box-shadow: 0 5px 0 rgba(0,0,0,.4); }
.projects-page .btn-sm { padding: .65rem 1.25rem; }
.projects-page .btn-ghost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.3); box-shadow: none; }
.projects-page .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.projects-hero { color: #fff; background: var(--color-brand-charcoal); border-bottom: 6px solid var(--color-brand-orange); overflow: hidden; }
.projects-hero-inner, .projects-container { max-width: var(--tec-content-max); margin: auto; padding-left: var(--tec-gutter-mobile); padding-right: var(--tec-gutter-mobile); }
.projects-hero-inner { padding-top: clamp(4rem, 7vw, 8rem); padding-bottom: clamp(4rem, 7vw, 8rem); display: grid; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.projects-kicker { display: flex; align-items: center; gap: 1rem; font: 500 .75rem var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--color-brand-orange); margin-bottom: 2rem; }
.projects-kicker::before { content: ""; width: 48px; height: 4px; background: var(--color-brand-orange); flex-shrink: 0; }
.projects-intro h1 { max-width: 680px; font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 900; margin-bottom: 1.25rem; }
.projects-intro h1 span { color: var(--color-brand-orange); }
.projects-lead { color: #d4d4d4; font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.7; max-width: 650px; }
.projects-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.5rem; }
.projects-text-link, .projects-call { color: #fff; font-weight: 700; line-height: 1.4; text-underline-offset: 5px; padding: .85rem; }
.projects-text-link:hover, .projects-call:hover { color: var(--color-brand-orange-bright); }
.projects-hero-image { min-width: 0; background: var(--color-brand-deep); }
.projects-hero-image img { width: 100%; height: auto; max-height: 650px; object-fit: contain; display: block; }
.projects-hero-image figcaption { border-left: 4px solid var(--color-brand-orange); padding: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font: 500 .75rem var(--font-mono); color: #d4d4d4; }
.projects-case { background: var(--color-brand-cream); padding: clamp(4rem, 6vw, 7rem) 0; scroll-margin-top: 110px; }
.projects-case .projects-kicker, .projects-service .projects-kicker { color: var(--tec-black); }
.projects-case-heading { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 2.5rem; }
.projects-case-heading h2, .projects-service h2 { font-size: clamp(2rem, 3.7vw, 3.5rem); font-weight: 900; line-height: 1.08; }
.projects-case-heading > p { color: #404040; font-size: 1.06rem; line-height: 1.7; max-width: 600px; }
.projects-image-grid { display: grid; gap: 1rem; }
.projects-shot { min-width: 0; background: var(--color-brand-charcoal); color: #fff; }
.projects-shot img { display: block; width: 100%; height: clamp(260px, 36vw, 520px); object-fit: contain; background: #202020; }
.projects-shot figcaption { padding: 1rem 1.25rem; border-top: 4px solid var(--color-brand-orange); display: grid; gap: .25rem; }
.projects-shot figcaption span { color: #d4d4d4; font-size: .9rem; }
.projects-index { background: var(--color-brand-deep); padding: 1rem 0; }
.projects-index .projects-container { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 2rem; }
.projects-index a { color: #fff; font: 500 .8rem var(--font-mono); text-decoration-color: var(--color-brand-orange); text-underline-offset: 5px; padding: .55rem 0; }
.projects-index a:hover, .projects-index a:focus-visible { color: var(--color-brand-orange-bright); }
.projects-case--light { background: #fff; }
.projects-evidence-note { border-left: 4px solid var(--color-brand-orange); padding: .8rem 1rem; margin-top: 1.75rem; color: #404040; font-size: .92rem; line-height: 1.65; background: rgba(255,255,255,.75); }
.projects-service { background: #fff; padding: clamp(4rem, 6vw, 6rem) 0; }
.projects-service-grid { display: grid; gap: 2rem; }
.projects-service p { line-height: 1.8; color: #374151; margin-bottom: 1rem; }
.projects-page .related a, .projects-service a { color: var(--tec-black); text-decoration-color: var(--tec-orange); }
.projects-cta .projects-kicker { color: var(--color-brand-orange); opacity: 1; justify-content: center; }
.projects-actions-centred { justify-content: center; }
@media (min-width: 640px) {
  .projects-hero-inner, .projects-container { padding-left: var(--tec-gutter-tablet); padding-right: var(--tec-gutter-tablet); }
}
@media (min-width: 900px) {
  .projects-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr); }
  .projects-case-heading, .projects-service-grid { grid-template-columns: 1fr 1fr; }
  .projects-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-image-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .projects-hero-inner, .projects-container { padding-left: var(--tec-gutter-desktop); padding-right: var(--tec-gutter-desktop); }
}
@media (min-width: 1280px) {
  .projects-hero-inner, .projects-container { max-width: var(--tec-content-max-xl); }
}
@media (min-width: 1536px) {
  .projects-hero-inner, .projects-container { max-width: var(--tec-content-max-2xl); }
}
@media (max-width: 640px) {
  .projects-actions { flex-direction: column; align-items: stretch; }
  .projects-actions .btn, .projects-text-link, .projects-call { text-align: center; }
  .projects-shot img { height: min(110vw, 460px); }
}
