/* =====================================================================
   Edinburgh Hardwood Flooring - Design System
   Premium engineered-wood brand. Charcoal, honey oak & amber; refined serif.
   (Brand variable names kept for cascade; values are the hardwood palette.)
   ===================================================================== */

:root {
  /* Brand palette - graphite charcoal + honey oak + golden amber */
  --walnut: #201F1C;        /* primary near-black graphite (headers, dark sections) */
  --walnut-dark: #161512;
  --walnut-deep: #0D0C0A;   /* deepest overlay */
  --burnt-orange: #C18A1C;  /* golden amber accent */
  --burnt-orange-dark: #9F6F15;
  --oak: #F4EFE5;           /* warm honey-cream background */
  --oak-deep: #E8DECE;
  --charcoal: #29251F;
  --charcoal-soft: #6A625A;
  --white: #ffffff;
  --line: #E3D9C7;
  --honey: #B5863F;         /* honey-oak warmth accent */

  /* Typography */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth - crisper, more architectural than the laminate site */
  --radius-sm: 5px;
  --radius: 9px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 14px rgba(30, 27, 22, 0.08);
  --shadow: 0 14px 40px rgba(30, 27, 22, 0.12);
  --shadow-lg: 0 30px 70px rgba(22, 20, 15, 0.22);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --topbar-h: 40px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--oak);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--burnt-orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Wood texture utility (SVG plank pattern) ---------- */
.wood-grain {
  background-color: var(--walnut);
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.10) 0 2px, transparent 2px 140px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.18));
}

.herringbone {
  background-color: var(--walnut);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.06) 75%, transparent 75%),
    linear-gradient(45deg, rgba(0,0,0,.12) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.12) 75%, transparent 75%);
  background-size: 64px 64px;
}

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; color: var(--walnut); letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--burnt-orange);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 11px; height: 11px; flex: none; background: var(--burnt-orange); }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin: 16px 0 16px; letter-spacing: -0.02em; line-height: 1.04; }
.lead { font-size: 1.12rem; color: var(--charcoal-soft); max-width: 60ch; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.bg-oak { background: var(--oak); }
.bg-oak-deep { background: var(--oak-deep); }
.bg-white { background: var(--white); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grid { display: grid; gap: clamp(18px, 3vw, 30px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--burnt-orange); color: var(--walnut-deep); }
.btn--primary:hover { background: var(--walnut); color: var(--burnt-orange); transform: translateY(-2px); }
.btn--dark { background: var(--walnut); color: #fff; }
.btn--dark:hover { background: var(--burnt-orange); color: var(--walnut-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--walnut); border-color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--walnut); border-color: var(--walnut); }
.btn--outline:hover { background: var(--walnut); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 0.7rem; }
.btn--block { width: 100%; }

/* =====================================================================
   HEADER
   ===================================================================== */
.topbar {
  background: var(--walnut-deep); color: rgba(255,255,255,.85);
  font-size: 0.84rem; height: var(--topbar-h); display: flex; align-items: center;
}
.topbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--burnt-orange); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { opacity: .85; transition: opacity .2s; }
.topbar-social a:hover { opacity: 1; }
.topbar-social svg { width: 16px; height: 16px; }

.siteheader {
  position: sticky; top: 0; z-index: 100; background: rgba(28,27,24,.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: box-shadow .3s var(--ease);
}
.siteheader.scrolled { box-shadow: var(--shadow-sm); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; flex: none; border-radius: var(--radius-sm); box-shadow: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-head); font-size: 1.36rem; color: #fff; font-weight: 600; letter-spacing: -0.015em; line-height: 1; }
.brand-text small { font-family: var(--font-head); font-style: italic; font-size: 0.94rem; color: var(--burnt-orange); font-weight: 500; letter-spacing: 0.005em; text-transform: none; margin-top: 1px; line-height: 1.05; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--charcoal);
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--walnut); background: var(--oak); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--radius-sm); background: rgba(255,255,255,.10); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  /* Keep phone + opening hours on mobile; drop only the location pin */
  .topbar { font-size: 0.8rem; }
  .topbar .container { justify-content: center; }
  .topbar-info { gap: 18px; }
  .topbar-info span:nth-child(3), .topbar-social { display: none; }

  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }
  /* Dropdown anchored to the real bottom of the header, not a fixed offset */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 10px;
    background: rgba(43, 34, 24, 0.96);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    padding: 16px var(--gutter) 26px; box-shadow: var(--shadow-lg); border-bottom: 1px solid rgba(255,255,255,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s, visibility .35s;
    max-height: calc(100vh - var(--nav-h) - 20px); overflow-y: auto; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  /* display:block so plain links have the same real height as the flex-wrapped
     expandable rows (otherwise inline links collapse to line-height and the gaps differ) */
  .nav-links a { display: block; padding: 14px 18px; border-radius: 12px; font-size: 1.05rem; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,.9); transition: color .25s var(--ease); }
  .nav-links .nav-item-row { min-height: 0; }
  .nav-links .nav-item-row > a { flex: 1; padding: 14px 18px; }
  /* hover: nuanced - subtle brand-colour text shift, no background */
  .nav-links a:hover { background: transparent; color: var(--burnt-orange); }
  /* active page: brand-colour text with a fine underline accent - no block, no bar */
  .nav-links a.active {
    background: transparent; color: var(--burnt-orange); font-weight: 600;
    text-decoration: underline; text-decoration-color: rgba(200, 116, 42, .55);
    text-decoration-thickness: 2px; text-underline-offset: 6px;
  }
  .subnav a.active { color: var(--burnt-orange); }
}

@media (max-width: 560px) {
  /* Prevent brand + CTA + burger from overflowing on small phones */
  .nav-cta .btn--primary { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text b { font-size: 1.05rem; }
  .brand-text small { font-size: 0.82rem; letter-spacing: 0; }
}

/* =====================================================================
   HERO CAROUSEL
   ===================================================================== */
.hero { position: relative; }
.carousel { position: relative; height: clamp(540px, 84vh, 760px); overflow: hidden; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s; display: flex; align-items: center;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,12,10,.85) 0%, rgba(13,12,10,.58) 45%, rgba(13,12,10,.20) 100%); }
.slide.active .slide-bg { animation: kenIn 7s ease-out forwards; }
.slide:nth-child(even).active .slide-bg { animation: kenOut 7s ease-out forwards; }
@keyframes kenIn { from { transform: scale(1.02); } to { transform: scale(1.16); } }
@keyframes kenOut { from { transform: scale(1.18); } to { transform: scale(1.04); } }

.slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.slide-content .eyebrow { color: #f0c79a; }
.slide-content .eyebrow::before { background: #f0c79a; }
.slide-content h1, .slide-content h2 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.7rem); margin: 16px 0 18px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.slide-content p { font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 50ch; margin-bottom: 30px; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slide.active .slide-content > * { animation: capIn 1.1s cubic-bezier(0.19, 1, 0.22, 1) both; }
.slide.active .slide-content > *:nth-child(1) { animation-delay: .15s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .35s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .55s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .75s; }
@keyframes capIn { from { opacity: 0; transform: translate(-44px, 28px); } to { opacity: 1; transform: translate(0, 0); } }

/* Square wood-panel side arrows, vertically centred at the left & right edges */
.carousel-arrows { position: absolute; z-index: 5; top: 50%; left: 0; right: 0; bottom: auto; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 clamp(8px, 1.6vw, 22px); pointer-events: none; }
.carousel-arrows button {
  pointer-events: auto;
  width: 60px; height: 60px; border-radius: var(--radius-sm); background: rgba(22,20,15,.42); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45); display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.carousel-arrows button:hover { background: var(--burnt-orange); color: var(--walnut-deep); border-color: var(--burnt-orange); }
.carousel-arrows svg { width: 30px; height: 30px; }
/* dots removed in favour of the side arrows */
.carousel-dots { display: none; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--walnut); color: #fff; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-item svg { width: 26px; height: 26px; color: var(--burnt-orange); flex: none; }
.trust-item b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.trust-item span { font-size: 0.84rem; color: rgba(255,255,255,.7); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services-grid { grid-template-columns: repeat(3, 1fr); margin-top: 50px; }
@media (max-width: 880px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border-radius: var(--radius-sm); padding: 34px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--burnt-orange), var(--walnut)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #2B2319; border-color: #2B2319; }
.service-card:hover h3 { color: var(--burnt-orange); }
.service-card:hover p { color: rgba(255,255,255,.88); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--oak), var(--oak-deep)); color: var(--burnt-orange); margin-bottom: 20px; }
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--charcoal-soft); font-size: 0.97rem; }

/* =====================================================================
   WHY CHOOSE US (split)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; box-shadow: var(--shadow); }
.split-media .floor-scene { position: absolute; inset: 0; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split-badge {
  position: absolute; bottom: 24px; left: 24px; background: #fff; border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px;
}
.split-badge .num { font-family: var(--font-head); font-size: 2.4rem; color: var(--burnt-orange); line-height: 1; }
.split-badge small { color: var(--charcoal-soft); font-size: 0.86rem; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 28px; }
@media (max-width: 480px) { .reasons { grid-template-columns: 1fr; } }
.reason { display: flex; gap: 13px; align-items: flex-start; }
.reason .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--walnut); color: #fff; display: grid; place-items: center; flex: none; }
.reason .tick svg { width: 16px; height: 16px; }
.reason b { display: block; color: var(--walnut); font-size: 1.02rem; }
.reason span { font-size: 0.9rem; color: var(--charcoal-soft); }

/* =====================================================================
   PRODUCT CARDS
   ===================================================================== */
.product-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: none;
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-5px); border-color: var(--burnt-orange); box-shadow: var(--shadow-sm); }
.product-thumb { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.product-thumb .floor-scene { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.product-card:hover .product-thumb .floor-scene { transform: scale(1.07); }
.product-tag { position: absolute; top: 0; left: 0; background: var(--walnut); color: #fff; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; padding: 7px 13px; border-radius: 0 0 var(--radius-sm) 0; letter-spacing: .12em; }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.22rem; margin-bottom: 6px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.spec-pill { font-size: 0.72rem; background: var(--oak); color: var(--walnut); padding: 5px 10px; border-radius: var(--radius-sm); font-weight: 600; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
a.spec-pill { cursor: pointer; }
a.spec-pill:hover { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.product-actions { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.product-actions .row { display: flex; gap: 9px; }
.product-actions .row .btn { flex: 1; }

/* =====================================================================
   CATEGORY CARDS
   ===================================================================== */
.category-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
@media (max-width: 960px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .category-grid { grid-template-columns: 1fr; } }
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm); color: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card .floor-scene { position: absolute; inset: 0; z-index: 0; transition: transform .7s var(--ease); }
.category-card:hover .floor-scene { transform: scale(1.08); }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 25%, rgba(13,12,10,.90)); }
.category-body { position: relative; z-index: 2; padding: 28px 26px; }
.category-body h3 { color: #fff; font-size: 1.45rem; margin-bottom: 6px; }
.category-body p { color: rgba(255,255,255,.85); font-size: 0.92rem; margin-bottom: 14px; }
.category-count { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--burnt-orange); color: var(--walnut-deep); font-weight: 700; font-size: 0.72rem; padding: 7px 13px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .06em; }
.category-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.category-link svg { width: 16px; height: 16px; transition: transform .3s; }
.category-card:hover .category-link svg { transform: translateX(5px); }

/* =====================================================================
   FLOOR SCENES (CSS-rendered wood floors used in place of photos)
   ===================================================================== */
.floor-scene { background: var(--walnut); position: relative; overflow: hidden; }
.floor-scene::before {
  content: ""; position: absolute; inset: -10%;
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 1px, transparent 1px 132px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 30px);
}
.floor-scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.22)); }
/* tone variants */
.fs-oak     { background: linear-gradient(160deg, #cda978, #b78a52); }
.fs-lightoak{ background: linear-gradient(160deg, #e3c79a, #cba972); }
.fs-grey    { background: linear-gradient(160deg, #9a9690, #767069); }
.fs-dark    { background: linear-gradient(160deg, #4f3a2a, #33231a); }
.fs-walnut  { background: linear-gradient(160deg, #7a5436, #4d3320); }
.fs-natural { background: linear-gradient(160deg, #c79a64, #9c6f3e); }
.fs-ash     { background: linear-gradient(160deg, #cfc3b0, #ab9b84); }
.fs-honey   { background: linear-gradient(160deg, #d99f54, #b5772f); }
/* herringbone scene */
.fs-herringbone::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.18) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.18) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 17px, transparent 17px 34px);
  inset: -20%;
}
.floor-scene .scene-label { position: absolute; z-index: 3; left: 18px; bottom: 16px; color: rgba(255,255,255,.92); font-size: 0.8rem; letter-spacing: .05em; display: flex; align-items: center; gap: 8px; }
.floor-scene .scene-label svg { width: 16px; height: 16px; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; color: #fff; }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, var(--walnut) 0%, var(--burnt-orange-dark) 100%); }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; opacity: .25; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 150px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px); }
.cta-band .container { position: relative; z-index: 2; text-align: center; padding-block: clamp(54px, 8vw, 92px); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 56ch; margin: 16px auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--walnut-deep); color: rgba(255,255,255,.72); padding-top: clamp(50px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--font-body); letter-spacing: .03em; }
.footer .brand-text b { color: #fff; }
.footer p { font-size: 0.92rem; margin-top: 16px; max-width: 36ch; }
.footer-links a { display: block; padding: 6px 0; font-size: 0.93rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--burnt-orange); padding-left: 6px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; padding: 6px 0; font-size: 0.93rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--burnt-orange); flex: none; margin-top: 3px; }
.footer-hours { font-size: 0.9rem; }
.footer-hours div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-hero { position: relative; color: #fff; overflow: hidden; padding: clamp(70px, 11vw, 130px) 0 clamp(54px, 8vw, 90px); }
.page-hero .bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(13,12,10,.82), rgba(13,12,10,.5)); }
.page-hero .container { position: relative; z-index: 2; }
/* interior hero text animates in like the homepage slider captions (sfl sfb) */
.page-hero .container > * { animation: capIn 1.1s cubic-bezier(0.19, 1, 0.22, 1) both; }
.page-hero .container > *:nth-child(1) { animation-delay: .1s; }
.page-hero .container > *:nth-child(2) { animation-delay: .28s; }
.page-hero .container > *:nth-child(3) { animation-delay: .46s; }
.page-hero .container > *:nth-child(4) { animation-delay: .64s; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 14px; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 56ch; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.86rem; color: rgba(255,255,255,.75); align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* =====================================================================
   PRODUCT DETAIL PAGE
   ===================================================================== */
.product-detail { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: var(--oak); }
.gallery-main .floor-scene { position: absolute; inset: 0; transition: transform .5s var(--ease); }
.gallery-main.zoomed .floor-scene { transform: scale(1.6); }
.gallery-thumbs { display: flex; flex-wrap: nowrap; gap: 12px; margin-top: 14px; }
.gallery-thumbs button { flex: 1 1 0; min-width: 0; max-width: 120px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; position: relative; }
.gallery-thumbs button.active { border-color: var(--burnt-orange); }
.gallery-thumbs .floor-scene { position: absolute; inset: 0; }

.product-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.product-rating { display: flex; align-items: center; gap: 8px; color: var(--burnt-orange); margin-bottom: 16px; }
.product-rating .stars svg { width: 17px; height: 17px; }
.product-rating span { color: var(--charcoal-soft); font-size: 0.88rem; }
.product-price { font-family: var(--font-head); font-size: 2rem; color: var(--walnut); margin: 8px 0 6px; }
.product-price small { font-size: 0.95rem; color: var(--charcoal-soft); font-weight: 400; font-family: var(--font-body); }
.product-desc { color: var(--charcoal-soft); margin: 16px 0 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 26px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th { text-align: left; padding: 13px 18px; font-weight: 600; color: var(--walnut); width: 45%; background: var(--oak); font-size: 0.9rem; }
.spec-table td { padding: 13px 18px; color: var(--charcoal); font-size: 0.92rem; }
.product-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.product-cta-row .btn { flex: 1; min-width: 150px; }

/* Tabs */
.tabs { margin-top: 60px; }
.tab-nav { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 28px; }
.tab-nav button { padding: 14px 22px; font-weight: 600; color: var(--charcoal-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: .25s; }
.tab-nav button.active { color: var(--walnut); border-bottom-color: var(--burnt-orange); }
.tab-panel { display: none; animation: fadeUp .4s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-panel h3 { margin: 18px 0 10px; font-size: 1.3rem; }
.tab-panel p { color: var(--charcoal-soft); margin-bottom: 12px; max-width: 75ch; }
.tab-panel ul.bullets { margin: 10px 0 16px; }
.tab-panel ul.bullets li { padding: 6px 0 6px 28px; position: relative; color: var(--charcoal-soft); }
.tab-panel ul.bullets li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--burnt-orange); border-bottom: 2px solid var(--burnt-orange); transform: rotate(-45deg); }

/* =====================================================================
   ENQUIRY FORM
   ===================================================================== */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--walnut); }
.field label .req { color: var(--burnt-orange); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font-family: inherit; font-size: 0.96rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--oak); color: var(--charcoal); transition: border .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burnt-orange); background: #fff; box-shadow: 0 0 0 4px rgba(200,116,42,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.checks { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 22px; margin: 10px 0 8px; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.95rem; color: var(--charcoal); }
.check input { width: 22px; height: 22px; accent-color: var(--burnt-orange); flex: none; }
.form-note { font-size: 0.84rem; color: var(--charcoal-soft); margin-top: 14px; }
.form-success { display: none; background: #eaf6ea; border: 1px solid #bfe3bf; color: #2c6b2c; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-success.show { display: block; animation: fadeUp .4s var(--ease); }
.selected-product-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--oak); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; font-weight: 600; color: var(--walnut); margin-bottom: 6px; }
.selected-product-chip svg { width: 16px; height: 16px; color: var(--burnt-orange); }

/* =====================================================================
   GALLERY (masonry)
   ===================================================================== */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 34px 0 36px; }
.gallery-filters button { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; background: #fff; color: var(--charcoal); border: 1.5px solid var(--line); transition: .25s; }
.gallery-filters button:hover { border-color: var(--burnt-orange); color: var(--walnut); }
.gallery-filters button.active { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.masonry { columns: 3; column-gap: 18px; }
@media (max-width: 860px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }
.masonry-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.masonry-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.masonry-item .floor-scene { position: relative; }
.masonry-item .m-tall { aspect-ratio: 3/4; }
.masonry-item .m-wide { aspect-ratio: 4/3; }
.masonry-item .m-sq { aspect-ratio: 1; }
.masonry-cap { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 16px; background: linear-gradient(transparent, rgba(47,29,18,.8)); color: #fff; font-size: 0.9rem; font-weight: 600; opacity: 0; transition: opacity .3s; }
.masonry-item:hover .masonry-cap { opacity: 1; }
.badge-ba { position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--burnt-orange); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.stat-grid { grid-template-columns: repeat(4, 1fr); margin-top: 50px; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 28px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--burnt-orange); line-height: 1; }
.stat .label { color: var(--charcoal-soft); font-size: 0.92rem; margin-top: 8px; }

.value-grid { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: #fff; border-radius: var(--radius-sm); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #2B2319; border-color: #2B2319; }
.value-card:hover h3 { color: var(--burnt-orange); }
.value-card:hover p { color: rgba(255,255,255,.88); }
.value-card .service-icon { margin-bottom: 16px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--charcoal-soft); font-size: 0.95rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, var(--oak), var(--oak-deep)); color: var(--burnt-orange); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h4 { font-family: var(--font-head); color: var(--walnut); font-size: 1.1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--charcoal-soft); font-size: 0.95rem; }
.contact-card a:hover { color: var(--burnt-orange); }
.hours-table { width: 100%; }
.hours-table div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.hours-table div:last-child { border-bottom: none; }
.hours-table .closed { color: #b14a3a; font-weight: 600; }
.hours-table .open-now { color: #2c6b2c; font-weight: 600; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 280px; position: relative; }
.map-embed iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Section heading with wood accent */
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; }

/* Intro split for content pages */
.prose p { color: var(--charcoal-soft); margin-bottom: 16px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 28px 0 12px; }
.prose ul.bullets li { padding: 7px 0 7px 28px; position: relative; color: var(--charcoal-soft); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 8px; border-left: 2px solid var(--burnt-orange); border-bottom: 2px solid var(--burnt-orange); transform: rotate(-45deg); }

/* Process steps (installation services) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius-sm); padding: 30px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #2B2319; border-color: #2B2319; }
.step:hover h3 { color: var(--burnt-orange); }
.step:hover p { color: rgba(255,255,255,.88); }
.step:hover::before { color: rgba(255,255,255,.16); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 2.4rem; color: var(--oak-deep); position: absolute; top: 16px; right: 20px; }
.step .step-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--walnut); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step .step-ic svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--charcoal-soft); font-size: 0.92rem; }

/* Pricing / info callout */
.callout { background: linear-gradient(135deg, var(--oak), var(--oak-deep)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.callout .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .callout .grid { grid-template-columns: 1fr; } }

.helper-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.helper-float a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .25s; }
.helper-float a:hover { transform: scale(1.08); }
.helper-float .call { background: var(--burnt-orange); }
.helper-float .quote { background: var(--walnut); }
.helper-float a svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .helper-float { right: 12px; bottom: 12px; } .helper-float a { width: 50px; height: 50px; } }

/* =====================================================================
   LOCATIONS MARQUEE - thin auto-scrolling band of areas covered
   ===================================================================== */
.locations-strip {
  position: relative;
  background: linear-gradient(120deg, var(--walnut-deep) 0%, var(--walnut) 100%);
  color: #fff;
  overflow: hidden;
}
.locations-strip::after { /* subtle plank texture */
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 2px, transparent 2px 150px),
                    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px);
}
.locations-inner { position: relative; z-index: 2; display: flex; align-items: stretch; }

.locations-label {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 0 22px; font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: #fff;
  background: var(--burnt-orange);
  box-shadow: 14px 0 22px rgba(47,29,18,.45); z-index: 3;
}
.locations-label svg { width: 16px; height: 16px; }

.locations-viewport {
  position: relative; flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.locations-track {
  display: flex; align-items: center; width: max-content;
  padding: 13px 0; gap: 0;
  animation: loc-scroll 46s linear infinite;
  will-change: transform;
}
.locations-strip:hover .locations-track { animation-play-state: paused; }
@keyframes loc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.loc-item {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 0.92rem; color: rgba(255,255,255,.9); padding: 0 22px; position: relative;
}
.loc-item::before { /* diamond separator */
  content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px;
  transform: translateY(-50%) rotate(45deg); background: var(--burnt-orange); opacity: .9;
}
a.loc-item { transition: color .2s; }
a.loc-item:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--burnt-orange); text-decoration-thickness: 2px; }
a.loc-item.is-current { color: var(--burnt-orange); }
.loc-item.is-region { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.loc-item.is-region::before { width: 7px; height: 7px; background: #fff; }

@media (max-width: 600px) {
  .locations-label { padding: 0 15px; font-size: 0.72rem; letter-spacing: .1em; }
  .locations-label span { display: none; } /* keep just the pin icon */
  .loc-item { font-size: 0.86rem; padding: 0 17px; }
  .locations-track { padding: 11px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .locations-track { animation: none; }
}

/* =====================================================================
   FAQ ACCORDION (native <details>) - used on service pages
   ===================================================================== */
.faq-list { max-width: 840px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; gap: 18px;
  font-family: var(--font-head); font-weight: 700; color: var(--walnut); font-size: 1.08rem;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: -4px;
  border-right: 2.5px solid var(--burnt-orange); border-bottom: 2.5px solid var(--burnt-orange);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item summary:hover { color: var(--burnt-orange); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--charcoal-soft); }
.faq-item .faq-a p { margin: 0; max-width: 72ch; }

/* =====================================================================
   CATALOGUE PHOTOS - real product images inside our card containers
   ===================================================================== */
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.07); }
.category-card > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.category-card:hover > img { transform: scale(1.08); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s var(--ease); }
.gallery-main.zoomed img { transform: scale(1.7); }
.gallery-thumbs button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero .bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Catalogue colour filter (laminate hub) */
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 36px 0 30px; }
.cat-filter button { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; background: #fff; color: var(--charcoal); border: 1.5px solid var(--line); transition: .25s; }
.cat-filter button:hover { border-color: var(--burnt-orange); color: var(--walnut); }
.cat-filter button.active { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.cat-count { color: var(--charcoal-soft); font-size: 0.92rem; text-align: center; margin-bottom: 8px; }

/* Related-category tag chips (category page bottom + product page) */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--walnut); font-size: 0.86rem; font-weight: 600; box-shadow: var(--shadow-sm); transition: .25s; }
.tag-chip:hover { border-color: var(--burnt-orange); color: var(--burnt-orange); transform: translateY(-2px); }
.tag-chip small { color: var(--charcoal-soft); font-weight: 500; }

/* =====================================================================
   THANK-YOU POPUP — centered confirmation modal after form submission
   ===================================================================== */
.thanks-modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(22, 20, 15, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.thanks-modal.show { opacity: 1; visibility: visible; }
.thanks-card {
  background: #fff; border-radius: var(--radius-lg); padding: 44px 36px; max-width: 440px; width: 100%;
  text-align: center; box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.94); transition: transform .4s var(--ease);
}
.thanks-modal.show .thanks-card { transform: none; }
.thanks-icon {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--burnt-orange), var(--walnut)); color: #fff;
  box-shadow: 0 12px 26px rgba(200, 116, 42, .38);
}
.thanks-icon svg { width: 40px; height: 40px; }
.thanks-card.is-error .thanks-icon { background: linear-gradient(145deg, #e0563f, #a83a28); box-shadow: 0 12px 26px rgba(176, 74, 58, .38); }
.thanks-modal.show .thanks-icon { animation: thanksPop .5s var(--ease) .1s both; }
@keyframes thanksPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.thanks-card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.thanks-msg { color: var(--charcoal-soft); margin-bottom: 26px; font-size: 1.02rem; line-height: 1.55; }
.thanks-close { min-width: 150px; }

/* Load-more pagination */
.load-more-wrap { text-align: center; margin-top: 38px; }
.load-more-wrap .btn { min-width: 200px; }

/* =====================================================================
   UNDERFLOOR HEATING PAGE — hero built around a near-square image
   ===================================================================== */
.ufh-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.ufh-hero .bg { position: absolute; inset: 0; z-index: 0; }
.ufh-hero .container { position: relative; z-index: 2; }
.ufh-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .ufh-hero-grid { grid-template-columns: 1fr; } }
.ufh-hero-text .breadcrumb { margin-bottom: 14px; }
.ufh-hero-text h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin: 12px 0 16px; max-width: 16ch; }
.ufh-hero-text p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 52ch; margin-bottom: 26px; }
.ufh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* the image is shown at its natural shape inside a rounded card — never stretched full-bleed */
.ufh-hero-media { display: flex; justify-content: center; }
.ufh-hero-media img { width: 100%; max-width: 540px; height: auto; aspect-ratio: 1326 / 1153; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.10); display: block; }

/* =====================================================================
   THUMB CAROUSEL — small horizontal strip of floors available to install
   ===================================================================== */
.thumb-carousel { position: relative; margin-top: 36px; }
.tc-track { display: flex; gap: 22px; overflow-x: auto; padding: 6px 2px 8px; scroll-snap-type: x mandatory; scroll-padding-left: 2px; scrollbar-width: none; -ms-overflow-style: none; }
.tc-track::-webkit-scrollbar { display: none; }
.tc-item { flex: 0 0 auto; width: 280px; text-align: left; scroll-snap-align: start; }
.tc-thumb { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; background: var(--oak); }
.tc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.tc-item:hover .tc-thumb img { transform: scale(1.07); }
.tc-info { padding: 15px 2px 16px; border-bottom: 1px solid var(--line); }
.tc-title { display: block; font-size: 1.12rem; font-weight: 600; color: var(--walnut); line-height: 1.3; }
.tc-desc { display: block; margin-top: 6px; font-size: 0.76rem; font-weight: 600; color: var(--charcoal-soft); letter-spacing: .1em; text-transform: uppercase; }
.tc-arrow { width: 54px; height: 54px; border-radius: var(--radius-sm); background: rgba(22,20,15,.5); color: #fff; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.tc-arrow:hover { background: var(--burnt-orange); color: var(--walnut-deep); border-color: var(--burnt-orange); }
.tc-arrow svg { width: 27px; height: 27px; }
.tc-nav { display: flex; justify-content: center; gap: 14px; margin-top: 26px; position: relative; z-index: 1; }
@media (max-width: 560px) { .tc-item { width: min(80vw, 300px); } }

/* (3) Full-width floors carousel with wood-grain background */
.floors-carousel { position: relative; overflow: hidden; padding: clamp(50px, 7vw, 86px) 0; background: var(--walnut-deep); color: #fff; }
.floors-carousel .fc-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.floors-carousel::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(13,12,10,.74), rgba(13,12,10,.84)); }
.floors-carousel > *:not(.fc-bg) { position: relative; z-index: 1; }
.floors-carousel .section-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.floors-carousel .lead { color: rgba(255,255,255,.82); }
.floors-carousel .thumb-carousel { width: 100vw; margin-left: calc(50% - 50vw); }
.floors-carousel .tc-track { padding-left: clamp(16px, 4vw, 64px); padding-right: clamp(16px, 4vw, 64px); scroll-padding-left: clamp(16px, 4vw, 64px); }
.floors-carousel .tc-title { color: #fff; }
.floors-carousel .tc-desc { color: rgba(255,255,255,.6); }
.floors-carousel .tc-info { border-bottom-color: rgba(255,255,255,.16); }
.floors-carousel .tc-thumb { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }

/* =====================================================================
   NAV DROPDOWNS + MOBILE CATEGORY SUBMENU (built by main.js)
   ===================================================================== */
.nav-item-row { display: flex; align-items: center; }
.subnav { list-style: none; }
.subnav-toggle { display: none; }

/* ---- Desktop dropdown ---- */
@media (min-width: 981px) {
  .nav-links li.has-dropdown { position: relative; }
  .has-dropdown > .nav-item-row > a { position: relative; padding-right: 30px; }
  .has-dropdown > .nav-item-row > a::after {
    content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg); opacity: .65; transition: transform .25s var(--ease);
  }
  .has-dropdown:hover > .nav-item-row > a::after { transform: translateY(-35%) rotate(225deg); }
  .nav-links .subnav {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
    background: rgba(43,34,24,.95); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    padding: 8px; display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transform-origin: top center;
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
  }
  .has-dropdown::before { content: ""; position: absolute; top: 100%; left: 0; right: -20px; height: 14px; } /* hover bridge */
  .has-dropdown:hover > .subnav, .has-dropdown:focus-within > .subnav { opacity: 1; visibility: visible; transform: none; }
  .nav-links .subnav li a { display: block; padding: 11px 15px; border-radius: 6px; font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,.82); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
  .nav-links .subnav li a:hover { background: var(--burnt-orange); color: var(--walnut-deep); }
  /* Laminate Flooring keeps its category submenu for the hamburger only */
  .nav-links li:not(.has-dropdown) > .subnav { display: none; }
}

/* ---- Mobile accordion ---- */
@media (max-width: 980px) {
  .nav-links .nav-item-row { justify-content: space-between; gap: 6px; }
  .nav-links .nav-item-row > a { flex: 1; }
  .subnav-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.10); color: rgba(255,255,255,.92); position: relative;
    transition: background .2s, color .2s, box-shadow .2s;
  }
  /* hover / open: use the Free Quote button colour */
  .subnav-toggle:hover, .has-sub.sub-open .subnav-toggle {
    background: var(--burnt-orange); color: #fff; box-shadow: 0 6px 16px rgba(200, 116, 42, .35);
  }
  .subnav-toggle .sub-ico, .subnav-toggle .sub-ico::before { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
  .subnav-toggle .sub-ico { width: 14px; height: 2px; }                  /* horizontal bar */
  .subnav-toggle .sub-ico::before { width: 2px; height: 14px; left: 6px; top: -6px; transition: transform .45s var(--ease), opacity .45s var(--ease); } /* vertical bar */
  .has-sub.sub-open .subnav-toggle .sub-ico::before { transform: scaleY(0); opacity: 0; } /* + becomes - */
  .nav-links .subnav {
    display: block; overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height .5s var(--ease), opacity .45s ease;
    margin: 0 4px; padding-left: 8px; border-left: 2px solid rgba(255,255,255,.14);
  }
  .has-sub.sub-open > .subnav { opacity: 1; }
  .has-sub.sub-open > .subnav { max-height: 560px; opacity: 1; }
  .nav-links .subnav li a { display: block; padding: 12px 14px; font-size: 1rem; color: rgba(255,255,255,.7); border-radius: 10px; }
  .nav-links .subnav li a:hover { background: var(--burnt-orange); color: var(--walnut-deep); }
}

/* =====================================================================
   REVEAL VARIANTS — fade from left / fade down, with extra stagger steps
   ===================================================================== */
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-down { opacity: 0; transform: translateY(-30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-down.in { opacity: 1; transform: none; }
.reveal-left[data-d="1"], .reveal-down[data-d="1"] { transition-delay: .08s; }
.reveal-left[data-d="2"], .reveal-down[data-d="2"] { transition-delay: .16s; }
.reveal-left[data-d="3"], .reveal-down[data-d="3"] { transition-delay: .24s; }
.reveal-left[data-d="4"], .reveal-down[data-d="4"] { transition-delay: .32s; }
.reveal-left[data-d="5"], .reveal-down[data-d="5"], .reveal[data-d="5"] { transition-delay: .40s; }
.reveal-left[data-d="6"], .reveal-down[data-d="6"], .reveal[data-d="6"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .reveal-left, .reveal-down { opacity: 1; transform: none; } }

/* =====================================================================
   BACK-TO-TOP button (lives in the floating helper stack)
   ===================================================================== */
.helper-float .to-top {
  width: 56px; height: 0; overflow: hidden; border-radius: 50%;
  background: var(--walnut-deep); color: #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(.85); margin-bottom: -10px; pointer-events: none; box-shadow: var(--shadow);
  transition: height .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease), margin .3s var(--ease), background .25s;
}
.helper-float .to-top.show { height: 56px; opacity: 1; transform: none; margin-bottom: 0; pointer-events: auto; }
.helper-float .to-top:hover { background: var(--walnut); transform: translateY(-2px); }
.helper-float .to-top svg { width: 24px; height: 24px; }
.to-top--solo { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--walnut-deep); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .25s; }
.to-top--solo.show { opacity: 1; visibility: visible; }
@media (max-width: 600px) { .helper-float .to-top { width: 50px; } .helper-float .to-top.show { height: 50px; } }

/* =====================================================================
   PRODUCT PAGE — H1 decorative tagline + Underfloor Heating advert
   ===================================================================== */
.product-info h1 .h1-tag {
  display: block; margin-top: 4px;
  font-family: var(--font-head); font-style: italic; font-weight: 500;
  font-size: 0.42em; letter-spacing: .01em; color: var(--burnt-orange);
}

.ufh-advert {
  display: flex; align-items: center; gap: 22px; margin-top: 56px;
  padding: 26px 30px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, var(--walnut) 0%, var(--burnt-orange-dark) 100%);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ufh-advert::after { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 150px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 26px); }
.ufh-advert > * { position: relative; z-index: 1; }
.ufh-advert-ic { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.ufh-advert-ic svg { width: 30px; height: 30px; }
.ufh-advert-body { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 1; text-align: right; }
.ufh-advert-body .eyebrow { color: #f0c79a; }
.ufh-advert-body .eyebrow::before { display: none; }
.ufh-advert-body strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
.ufh-advert-p { color: rgba(255,255,255,.9); font-size: 0.95rem; max-width: 60ch; }
.ufh-advert-btn { flex: none; }
.ufh-advert-btn svg { transition: transform .3s var(--ease); }
.ufh-advert-btn:hover svg { transform: translateX(5px); }
@media (max-width: 720px) {
  .ufh-advert { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 24px 20px; }
  .ufh-advert-body { align-items: center; text-align: center; gap: 14px; }
  .ufh-advert-btn { align-self: center; max-width: 100%; }
}


/* Dark-header desktop nav text (mobile dropdown keeps its own light panel) */
@media (min-width: 981px) {
  .nav-links a { color: rgba(255,255,255,.82); }
  .nav-links a:hover, .nav-links a.active { color: var(--burnt-orange); background: transparent; }
}

.field input.datepicker, input.datepicker { cursor: pointer; }
