/* ==========================================================================
   GT FLOORS LTD — HANDCODED ARCHITECTURAL & TIMBER JOINERY STYLESHEET (v5)
   Aesthetic: British Architectural Joinery & Timber Specification
   Surfaces: Warm Chalk Plaster (#F6F3EC), Milled Stone (#EDE7DD),
             Smoked Oak (#161311), Solid Burnished Bronze (#9E7038)
   Geometry: Crisp Milled Corners (2px-3px), Exposed Hairline Rules, Zero AI Glows
   ========================================================================== */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Tactile Matte Architectural Surfaces */
  --walnut-950: #110e0c;
  --walnut-900: #171310;
  --walnut-850: #1f1a16;
  --walnut-800: #29221d;
  --walnut-700: #382f28;

  --parchment-50: #f7f4ee;
  --parchment-100: #eee8de;
  --parchment-200: #e2d9cb;
  --parchment-300: #cfc3b0;

  /* Solid Matte Bronze / Aged Oak Accents (Zero Neon Gold Gradients) */
  --brass-300: #d5b284;
  --brass-400: #be9560;
  --brass-500: #a67b44;
  --brass-600: #87602f;

  --ink-900: #171310;
  --ink-700: #3d352e;
  --ink-500: #695d53;
  --text-light: #f5f1ea;
  --text-muted: #b5a99c;

  --success: #2d7a4d;
  --line-dark: #2c251f;
  --line-light: #dad1c3;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Poppins', sans-serif;

  /* Crisp Milled Timber Geometry (No bubbly SaaS/AI rounded corners) */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --shadow-elevated: 0 12px 32px rgba(12, 9, 7, 0.28);
  --shadow-soft: 0 2px 8px rgba(23, 19, 16, 0.05);
  --container: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  background-color: var(--parchment-50);
  color: var(--ink-900);
  overflow-x: clip;
  max-width: 100%;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-900);
  background-color: var(--parchment-50);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px;
}

div, section, article, aside, header, footer, main, nav, form {
  min-width: 0;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

ul, ol {
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink-900);
  color: var(--text-light);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus {
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* Unified Architectural Display Typography (Removed AI italic-gold word swap) */
.serif-italic {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  padding-right: 0;
  display: inline;
}

.icon-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -2px;
}

.topbar-badge {
  display: inline-block;
  background: var(--walnut-800);
  color: var(--brass-300);
  border: 1px solid #3c3229;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.theme-light .topbar-badge,
.theme-parchment .topbar-badge {
  background: var(--parchment-200);
  color: var(--ink-900);
  border-color: var(--parchment-300);
}

.motion-toggle-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--line-dark);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.motion-toggle-btn:hover {
  color: var(--text-light);
  border-color: var(--brass-400);
}
.motion-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

/* ==========================================================================
   1. ARCHITECTURAL HEADER (CRISP WHITE / CHARCOAL STUDIO BAR)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #14110f;
  border-bottom: 1px solid #2b241e;
  color: var(--text-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid #3d332a;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 1.4px;
  line-height: 1;
  color: var(--text-light);
}

.brand-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--brass-300);
  margin-top: 2px;
}

.main-nav {
  display: none;
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  background: #14110f;
  border-bottom: 1px solid #2b241e;
  padding: 14px 16px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  padding: 0;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 500;
  color: #e6dfd5;
  padding: 11px 10px;
  border-bottom: 1px solid #241e19;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brass-300);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-phone {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid #382f27;
  background: #1c1815;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header-phone:hover {
  border-color: var(--brass-400);
  color: var(--brass-300);
}

.header-phone-text {
  display: none;
}

.mobile-menu-toggle {
  display: inline-flex;
  background: #1c1815;
  border: 1px solid #382f27;
  color: var(--text-light);
  width: 40px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: #14110f;
  border-top: 1px solid #2e2620;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.mobile-bottom-bar .btn {
  padding: 10px 12px;
  font-size: 12.5px;
  min-height: 42px;
  width: 100%;
}

/* ==========================================================================
   2. BUTTONS (MATTE ARCHITECTURAL FILLS, MILLED 2PX CORNERS, NO GLOW)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn.header-cta {
  display: none;
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.btn-primary {
  background: var(--brass-500);
  color: #ffffff;
  border-color: var(--brass-500);
}
.btn-primary:hover {
  background: var(--brass-600);
  border-color: var(--brass-600);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: #4a3e35;
}
.btn-outline:hover {
  background: var(--text-light);
  border-color: var(--text-light);
  color: var(--ink-900);
}

.section:not(.theme-dark-alt) .btn-outline,
.theme-light .btn-outline,
.theme-parchment .btn-outline {
  color: var(--ink-900);
  border-color: var(--ink-900);
  background: transparent;
}
.section:not(.theme-dark-alt) .btn-outline:hover,
.theme-light .btn-outline:hover,
.theme-parchment .btn-outline:hover {
  background: var(--ink-900);
  color: var(--parchment-50);
}

.dark-callout-card .btn-outline,
#book-survey .btn-outline {
  color: var(--text-light) !important;
  border-color: #4a3e35 !important;
  background: transparent !important;
}
.dark-callout-card .btn-outline:hover,
#book-survey .btn-outline:hover {
  background: var(--text-light) !important;
  color: var(--ink-900) !important;
}

/* ==========================================================================
   3. HERO SECTION — TACTILE ARCHITECTURAL SHOWCASE
   ========================================================================== */
.hero {
  position: relative;
  padding: 32px 0 44px;
  border-bottom: 1px solid #2b241e;
  background: #171310;
  color: var(--text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--brass-300);
  margin-bottom: 10px;
}

.section:not(.theme-dark-alt) .eyebrow,
.theme-light .eyebrow,
.theme-parchment .eyebrow {
  color: var(--brass-600);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 8.2vw, 50px);
  line-height: 0.98;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 14.5px;
  color: #c7bdb1;
  max-width: 560px;
  margin-bottom: 22px;
  line-height: 1.62;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 0;
}

.hero-cta-row .btn {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #2e2620;
}

.hero-metric-item {
  min-width: 0;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--text-light);
  letter-spacing: 0.6px;
}

.metric-label {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #362d26;
  background: #211b17;
  aspect-ratio: 16 / 10.5;
  max-height: 300px;
  width: 100%;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-floating-card {
  margin-top: 10px;
  background: #1f1a16;
  border: 1px solid #362d26;
  border-left: 3px solid var(--brass-400);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
}

/* ==========================================================================
   4. SECTION SCAFFOLDING — LIGHT-FIRST ARCHITECTURAL PAPER & STONE
   ========================================================================== */
.section {
  padding: 52px 0;
  position: relative;
  background: var(--parchment-50);
  color: var(--ink-900);
  border-bottom: 1px solid var(--line-light);
}

.section.theme-light {
  background: #ffffff;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line-light);
}

.section.theme-parchment {
  background: var(--parchment-100);
  color: var(--ink-900);
  border-bottom: 1px solid var(--line-light);
}

/* Keep Estimator & Survey Sections in Rich Architectural Timber Charcoal */
.section.theme-dark-alt,
#book-survey {
  background: #181411;
  color: var(--text-light);
  border-bottom: 1px solid #2b241e;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.section.theme-dark-alt .section-header,
#book-survey .section-header {
  border-bottom-color: #2c251f;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 48px);
  line-height: 0.98;
  letter-spacing: 0.6px;
  max-width: 700px;
  color: inherit;
}

.section-desc {
  font-size: 14.5px;
  max-width: 520px;
  color: var(--ink-700);
  line-height: 1.6;
}

.section.theme-dark-alt .section-desc,
#book-survey .section-desc {
  color: var(--text-muted);
}

/* ==========================================================================
   5. ARCHITECTURAL SPECIFICATION CARDS (EXPOSED HAIRLINE GRIDS, SHARP EDGES)
   ========================================================================== */
.cards-grid-4,
.cards-grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.tilt-card {
  position: relative;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.section.theme-light .tilt-card {
  background: var(--parchment-50);
}

.tilt-card:hover {
  border-color: var(--ink-900);
}

/* Disable artificial AI radial glare spotlight */
.tilt-glare {
  display: none !important;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6dfd5;
  border-bottom: 1px solid var(--line-light);
}

.card-media.tall {
  aspect-ratio: 4 / 3.2;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tilt-card:hover .card-media img {
  transform: scale(1.03);
}

.card-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #171310;
  color: #f5f1ea;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--brass-600);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-text {
  font-size: 13.8px;
  color: var(--ink-700);
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-specs {
  list-style: none;
  padding: 10px 0 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
}

.card-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px dotted #e3dacb;
  color: var(--ink-700);
}

.card-specs li strong {
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-top: 4px;
  border-bottom: 1.5px solid var(--brass-500);
  align-self: flex-start;
}

.card-link:hover {
  color: var(--brass-600);
}

/* ==========================================================================
   6. INTERACTIVE 2026 FLOORING COST ESTIMATOR (ARCHITECTURAL SCHEDULE)
   ========================================================================== */
.estimator-shell {
  background: #1f1a16;
  border: 1px solid #362e27;
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  color: var(--text-light);
}

.estimator-group {
  margin-bottom: 22px;
}

.estimator-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.pill-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pill-selector-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.pill-option {
  background: #16120f;
  border: 1px solid #332b24;
  color: var(--text-light);
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  min-width: 0;
}

.pill-option:hover {
  border-color: #5c4d40;
}

.pill-option.active {
  background: #29211b;
  border-color: var(--brass-400);
  border-left: 3px solid var(--brass-400);
}

.pill-option-title {
  font-size: 12.5px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

.pill-option-sub {
  font-size: 11px;
  color: var(--brass-300);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-top: 2px;
}

.range-slider {
  width: 100%;
  accent-color: var(--brass-400);
  height: 6px;
  border-radius: 2px;
  cursor: pointer;
}

.range-scale-labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.prep-checks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.prep-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #16120f;
  border: 1px solid #332b24;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  cursor: pointer;
  min-height: 42px;
}

.prep-check-label input {
  accent-color: var(--brass-400);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.estimator-result {
  background: #14110e;
  border: 1px solid #382f27;
  border-top: 3px solid var(--brass-400);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.est-price-range {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 52px);
  color: var(--text-light);
  line-height: 1;
  margin: 8px 0;
  font-variant-numeric: tabular-nums;
}

.est-breakdown {
  list-style: none;
  padding: 14px 0;
  margin: 14px 0;
  border-top: 1px solid #2b241e;
  border-bottom: 1px solid #2b241e;
  font-size: 12.5px;
}

.est-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-muted);
}

.est-breakdown li strong {
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ==========================================================================
   7. BEFORE / AFTER INTERACTIVE SLIDER (LIGHT STONE EDITORIAL SECTION)
   ========================================================================== */
.ba-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.ba-slider {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  border: 1px solid var(--line-light);
  user-select: none;
  touch-action: pan-y;
}

.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: #ffffff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #171310;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1.5px solid #ffffff;
}

.ba-badge {
  position: absolute;
  padding: 5px 10px;
  background: #171310;
  color: #f5f1ea;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 3;
  pointer-events: none;
}
.ba-badge.left {
  top: 12px;
  left: 12px;
}
.ba-badge.right {
  bottom: 12px;
  right: 12px;
}

.ba-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

/* ==========================================================================
   8. AEO STRUCTURED HTML COMPARISON TABLE
   ========================================================================== */
.table-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brass-600);
  margin-bottom: 8px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  background: #ffffff;
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
  color: var(--ink-900);
}

.spec-table caption {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  background: var(--parchment-100);
  color: var(--ink-700);
  border-bottom: 1px solid var(--line-light);
}

.spec-table th, .spec-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
}

.spec-table th {
  background: #171310;
  color: #f5f1ea;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--parchment-50);
}

/* ==========================================================================
   9. PORTFOLIO FILTER & GALLERY (ARCHITECTURAL CASE STUDIES)
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  background: #ffffff;
  color: var(--ink-700);
  border: 1px solid var(--line-light);
  padding: 8px 14px;
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--ink-900);
  color: #ffffff;
  border-color: var(--ink-900);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #171310;
  aspect-ratio: 4 / 3.2;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.03);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,14,12,0) 35%, rgba(17,14,12,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

.play-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #171310;
  color: #ffffff;
  border: 1px solid var(--brass-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-loc {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brass-300);
  margin-bottom: 3px;
}

.portfolio-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.28;
}

.portfolio-spec {
  font-size: 12px;
  color: #cfc6bc;
  margin-top: 4px;
}

/* ==========================================================================
   10. FOUNDERS, STORY & MEDIA FEATURE (E-E-A-T)
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.two-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.press-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--parchment-50);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 24px;
}

.press-card img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}

.press-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accolades-grid,
.accolades-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.accolade-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #211b17;
  border: 1px solid #342b24;
  border-radius: var(--radius-sm);
}

.accolade-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.accolade-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.25;
}

.accolade-sub {
  font-size: 11.5px;
  color: var(--brass-300);
  margin-top: 2px;
}

/* ==========================================================================
   11. VERIFIED GOOGLE REVIEWS (CLEAN EDITORIAL QUOTE CARDS)
   ========================================================================== */
.review-card {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--ink-900);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink-900);
}

.review-stars {
  color: var(--brass-600);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 18px;
  font-style: normal;
  line-height: 1.62;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
}

.review-author strong {
  color: var(--ink-900) !important;
}

.review-author span {
  color: var(--ink-500) !important;
}

/* ==========================================================================
   12. ACCESSIBLE FAQ ACCORDION
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--ink-900);
}

.faq-question-heading {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-900);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff;
}

.faq-panel {
  padding: 0 18px 18px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.65;
}

.faq-panel[hidden] {
  display: none;
}

/* ==========================================================================
   13. CONTACT & FREE SITE SURVEY FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.form-card {
  background: #211b17;
  border: 1px solid #362e27;
  border-top: 3px solid var(--brass-400);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-light);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  background: #14110e;
  border: 1px solid #382f27;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  min-height: 44px;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brass-400);
}

/* ==========================================================================
   14. LOCAL AREAS COVERAGE GRID
   ========================================================================== */
.borough-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.borough-card {
  background: #211b17;
  border: 1px solid #342c25;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text-light);
}
.borough-card:hover {
  border-color: var(--brass-400);
}
.borough-postcode {
  font-size: 11px;
  font-weight: 600;
  color: var(--brass-300);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.borough-name {
  font-size: 15.5px;
  font-weight: 600;
  margin: 4px 0 6px;
  color: var(--text-light);
}
.borough-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   15. FOOTER & LEGAL
   ========================================================================== */
.site-footer {
  background: #120f0d;
  border-top: 1px solid #2b241e;
  padding: 48px 0 28px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid #26201b;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--brass-300);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
}

/* ==========================================================================
   16. MODAL LIGHTBOX & PROSE
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal[hidden] {
  display: none;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #171310;
  border: 1px solid #3c3229;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #171310;
  color: #fff;
  border: 1px solid var(--brass-400);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.lightbox-media-wrap {
  background: #000;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media-wrap video,
.lightbox-media-wrap img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
}

.lightbox-caption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-light);
}

.prose {
  max-width: 840px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.6px;
  color: var(--ink-900);
  margin: 32px 0 12px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 22px 0 8px;
}
.prose p {
  margin-bottom: 14px;
}
.prose ul, .prose ol {
  margin: 0 0 18px 20px;
}
.prose li {
  margin-bottom: 7px;
}

/* ==========================================================================
   17. PROGRESSIVE ENHANCEMENT MEDIA QUERIES (MOBILE-FIRST -> DESKTOP)
   ========================================================================== */
@media (min-width: 420px) {
  .header-phone-text {
    display: inline;
  }
}

@media (min-width: 520px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-cta-row .btn {
    width: auto;
  }
  .pill-selector-2,
  .accolades-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
  .cards-grid-4,
  .cards-grid-3,
  .portfolio-grid,
  .borough-grid,
  .accolades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .hero-metric-item + .hero-metric-item {
    border-left: 1px solid #2a231d;
    padding-left: 18px;
  }
  .pill-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .range-scale-labels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .prep-checks,
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .press-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .press-card img {
    max-height: none;
  }
  .hero-frame {
    max-height: 360px;
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
  .mobile-bottom-bar {
    display: none;
  }
  .header-inner {
    height: 70px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 24px;
  }
  .btn.header-cta {
    display: inline-flex;
  }
  .main-nav {
    top: 70px;
  }
  .section {
    padding: 68px 0;
  }
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 40px;
  }
  .estimator-shell,
  .form-card {
    padding: 28px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 28px;
  }
  .header-inner {
    height: 72px;
    gap: 16px;
  }
  .header-phone-text {
    display: inline;
  }
  .mobile-menu-toggle,
  .nav-mobile-only {
    display: none !important;
  }
  .main-nav {
    display: block !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .main-nav a {
    font-size: 13px;
    padding: 6px 2px;
    border-bottom: none;
    position: relative;
    white-space: nowrap;
  }
  .main-nav a[aria-current="page"] {
    border-bottom: 2px solid var(--brass-400);
  }
  .hero {
    padding: 40px 0 52px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 40px;
    align-items: center;
  }
  .hero-title {
    font-size: clamp(38px, 3.8vw, 54px);
    line-height: 0.96;
    margin-bottom: 14px;
  }
  .hero-lead {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .hero-cta-row {
    flex-wrap: nowrap;
    margin-bottom: 0;
  }
  .hero-cta-row .btn {
    padding: 11px 16px;
    font-size: 12.5px;
  }
  .hero-metrics {
    margin-top: 38px;
    padding-top: 26px;
    gap: 28px;
  }
  .hero-metric-item + .hero-metric-item {
    padding-left: 24px;
  }
  .hero-frame {
    aspect-ratio: 4 / 3.4;
    max-height: 420px;
  }
  .hero-floating-card {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    max-width: 310px;
    margin-top: 0;
    z-index: 4;
  }
  .cards-grid-3,
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .estimator-shell {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 32px;
    padding: 32px;
  }
  .ba-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
  }
  .story-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
  }
  .faq-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 44px;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 44px;
  }
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 36px;
  }
  .table-scroll-hint {
    display: none;
  }
}

@media (min-width: 1220px) {
  .main-nav ul {
    gap: 22px;
  }
  .main-nav a {
    font-size: 13.5px;
  }
  .cards-grid-4,
  .borough-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
}
