/* ============================================================
   CONCRETING SERVICES — rebrand website styles
   Palette (brand guide 02): deep charcoal, concrete greys,
   warm concrete, energy-green accent, hi-vis amber accents.
   ============================================================ */

:root {
  /* Brand colors */
  --charcoal: #23272B;
  --charcoal-2: #2E3338;
  --ink: #1B1E21;
  --grey: #6E6E6E;
  --concrete: #B8B0A6;        /* warm concrete */
  --concrete-light: #C9C2B4;
  --paper: #F4F1EB;           /* warm off-white */
  --paper-2: #ECE7DE;
  --line: #DDD7CB;
  --line-dark: #3A4046;
  --white: #FFFFFF;
  --accent: #E85C0B;          /* brand orange */
  --accent-dark: #B44700;
  --accent-soft: rgba(232, 92, 11, .13);
  --safety: #F2A900;          /* hi-vis amber */
  --text: #33373B;
  --text-soft: #5B6065;
  --text-on-dark: #EDEAE3;

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;

  /* Geometry */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(35, 39, 43, .10);
  --shadow-lg: 0 24px 60px rgba(35, 39, 43, .18);
  --container: 1200px;
  --section-pad: clamp(56px, 8vw, 96px);
  --header-h: 78px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; color: var(--ink); margin: 0 0 .45em; letter-spacing: .2px; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; font-size: 1.02rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--accent); color: #fff; }
.btn-cta:hover { background: var(--accent-dark); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--concrete-light); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline--light { color: #fff; }
.btn-outline--dark { color: var(--ink); }
.btn-outline:hover { background: currentColor; }
.btn-outline--light:hover { background: #fff; color: var(--ink); }
.btn-outline--dark:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.phone-link { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--text-on-dark); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: var(--concrete-light); }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: inline-flex; gap: 6px; }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 22px; border: 1px solid var(--line-dark); border-radius: 4px; font-size: .7rem; font-weight: 700; text-decoration: none; }
.topbar-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Header / nav ---------- */
/* NOTE: no backdrop-filter / transform here — either would make the sticky header a
   containing block and clip the fixed mobile drawer to the header strip. */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(35, 39, 43, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.42rem; letter-spacing: 1.6px; color: var(--ink); }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--grey); letter-spacing: .8px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav > ul > li { position: relative; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: .98rem; padding: 10px 11px; border-radius: 6px; display: inline-block; text-decoration: none; }
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.has-sub { position: relative; }
.sub-toggle { background: none; border: 0; font: inherit; font-weight: 600; font-size: .98rem; color: var(--ink); padding: 10px 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.sub-toggle:hover { color: var(--accent-dark); }
.caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 10px; display: none !important; flex-direction: column; align-items: stretch; min-width: 480px; gap: 2px !important; }
/* Desktop hover dropdowns only — excluded on touch-first screens so the drawer's
   tap-to-open (.has-sub.open) never fights a sticky :hover state. */
@media (hover: hover) and (min-width: 981px) {
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: flex !important; }
}
.submenu a { padding: 10px 12px; border-radius: 6px; font-size: .95rem; }
/* Submenu items with photo thumbnail + description */
.sub-item { width: 100%; }
.sub-item a { display: flex; gap: 13px; align-items: center; padding: 9px 10px !important; border-radius: 10px; }
.sub-item a:hover { background: var(--accent-soft); text-decoration: none; }
.sub-item a[aria-current="page"] { background: var(--accent-soft); }
.sub-thumb { flex: 0 0 78px; width: 78px; height: 58px; border-radius: 8px; overflow: hidden; background: var(--charcoal-2); border: 1px solid var(--line); display: inline-flex; }
.sub-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sub-txt b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .5px; font-size: .99rem; color: var(--ink); line-height: 1.15; }
.sub-txt small { color: var(--text-soft); font-size: .8rem; line-height: 1.3; }
.header-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-toggle-bar { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.page-hero { background: var(--charcoal); color: var(--text-on-dark); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 88% -10%, rgba(201, 194, 180, .16), transparent 60%),
  radial-gradient(700px 380px at -10% 110%, rgba(232, 92, 11, .16), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 90px); }
.hero-kicker, .kicker { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2.5px; font-weight: 600; color: var(--accent); font-size: .98rem; margin-bottom: 14px; display: block; }
.page-hero .kicker { color: #FFB066; }
.hero-inner h1 { color: #fff; margin-bottom: .35em; }
.hero-inner .lede { font-size: 1.18rem; color: #CFC9BF; max-width: 56ch; }
.page-hero .btn-row { margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-proof span { border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: var(--text-on-dark); border-radius: 999px; padding: 7px 14px; font-size: .86rem; display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: "✓"; color: #FFB066; font-weight: 800; }
.hero-media { position: relative; }
.hero-media .media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); background: var(--charcoal-2); }
.hero-media .media-tag { position: absolute; left: -12px; bottom: 22px; background: var(--accent); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.hero--compact { padding-block: clamp(34px, 5vw, 56px); }
.hero--compact .hero-inner { grid-template-columns: 1fr; padding-block: 0; }
.hero--compact h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero--compact .lede { max-width: 72ch; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--charcoal-2); color: var(--text-on-dark); border-bottom: 3px solid var(--accent); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 22px; }
.trustbar-item { display: flex; gap: 12px; align-items: flex-start; }
.trustbar-item .tick { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.trustbar-item b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .8px; font-size: 1.02rem; color: #fff; }
.trustbar-item span { font-size: .85rem; color: #B9B3A9; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section--paper { background: var(--paper); }
.section--white { background: #fff; }
.section--dark { background: var(--charcoal); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lede { color: #CFC9BF; }
.section-head { max-width: 820px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { font-size: 1.12rem; color: var(--text-soft); }
.section--dark .section-head .lede { color: #C6C0B5; }
.section--dark .kicker { color: #FFB066; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 4px 14px rgba(35,39,43,.05); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .97rem; color: var(--text-soft); flex-grow: 1; }
.card .card-link { margin-top: 14px; font-weight: 700; color: var(--accent-dark); display: inline-flex; gap: 6px; align-items: center; }
.card--icon { }
.icon-badge { width: 58px; height: 58px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px; font-weight: 800; font-family: var(--font-display); }
.card--dark { background: var(--charcoal-2); border-color: var(--line-dark); }
.card--dark h3 { color: #fff; }
.card--dark p { color: #C6C0B5; }
.card--dark .card-link { color: #FFB066; }
.media-card { padding: 0; overflow: hidden; }
.media-card .media-frame { border-radius: 0; border: 0; }
.media-card .media-body { padding: 22px 26px 26px; }
.media-card .media-body h3 { margin-bottom: .3em; }
.media-card .tag { display: inline-block; font-family: var(--font-display); text-transform: uppercase; font-size: .76rem; letter-spacing: 1.4px; color: var(--accent-dark); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; font-weight: 600; }

/* ---------- Media frames & imagery ---------- */
.media-frame { border-radius: var(--radius); overflow: hidden; background: var(--charcoal-2); }
.media-frame img, .media-frame svg { width: 100%; height: 100%; object-fit: cover; }
.media-4-3 { aspect-ratio: 4 / 3; }
.media-16-9 { aspect-ratio: 16 / 9; }
.media-caption { font-size: .85rem; color: var(--text-soft); margin-top: 10px; font-style: italic; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li { padding: 7px 0 7px 34px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; }
.checklist--light li::before { background: #FFB066; color: var(--charcoal); }

/* ---------- Stats ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--accent-dark); line-height: 1; }
.stat .lbl { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.4px; color: var(--grey); font-size: .95rem; margin-top: 8px; }
.section--dark .stat .num { color: #FFB066; }
.section--dark .stat .lbl { color: #B9B3A9; }

/* ---------- Finishes chips ---------- */
.finishes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.finish { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.finish .swatch { height: 96px; }
.finish .name { padding: 12px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; text-align: center; color: var(--ink); font-size: .95rem; }
.swatch--smooth { background: linear-gradient(135deg, #A9A399 0%, #8C867C 55%, #6F6A62 100%); }
.swatch--broom { background: repeating-linear-gradient(90deg, #9E978D 0 10px, #87817A 10px 20px); }
.swatch--exposed { background:
  radial-gradient(circle at 18% 30%, rgba(90,84,76,.55) 2px, transparent 3px),
  radial-gradient(circle at 62% 58%, rgba(90,84,76,.5) 2px, transparent 3px),
  radial-gradient(circle at 84% 22%, rgba(90,84,76,.55) 2px, transparent 3px),
  radial-gradient(circle at 40% 82%, rgba(90,84,76,.5) 2px, transparent 3px),
  linear-gradient(135deg, #B4ADA3, #9A938A 60%, #857E76); }
.swatch--stamped { background:
  radial-gradient(circle at 20% 25%, transparent 22px, rgba(35,39,43,.28) 23px, transparent 24px),
  radial-gradient(circle at 70% 60%, transparent 22px, rgba(35,39,43,.28) 23px, transparent 24px),
  linear-gradient(160deg, #B9A08B 0%, #A3826B 60%, #8E6F5B 100%); }
.swatch--swirl { background:
  radial-gradient(circle at 30% 30%, transparent 10px, rgba(35,39,43,.16) 11px, transparent 12px),
  radial-gradient(circle at 65% 65%, transparent 14px, rgba(35,39,43,.16) 15px, transparent 16px),
  linear-gradient(140deg, #AFA9A0, #8F8981); }

/* ---------- Steps / process ---------- */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process li { position: relative; counter-increment: step; }
.process li::before { content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--line); display: block; line-height: 1; margin-bottom: 10px; }
.process li h3 { font-size: 1.2rem; }
.process li p { color: var(--text-soft); font-size: .96rem; }
.section--dark .process li::before { color: var(--line-dark); }
.section--dark .process li p { color: #C6C0B5; }

/* ---------- Quote band ---------- */
.quote-band { background:
  radial-gradient(800px 300px at 90% 0%, rgba(232,92,11,.28), transparent 60%),
  linear-gradient(120deg, #171A1D, var(--charcoal) 55%, #2B3238); color: #fff; }
.quote-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.quote-band h2 { color: #fff; margin-bottom: .25em; }
.quote-band p { color: #C9C3B8; max-width: 60ch; margin: 0; }
.quote-band .btn-row { margin: 0; }
.quote-phone { text-align: right; }
.quote-phone .phone-link { color: #FFB066; font-size: 1.9rem; display: block; }
.quote-phone small { color: #A8A297; }

/* ---------- Two-col split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split-media { order: 2; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; vertical-align: top; }
.compare thead th { background: var(--charcoal); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: .98rem; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--accent-dark); font-weight: 700; }
.compare .no { color: #B33A3A; font-weight: 700; }
.compare .feature-col { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .5px; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--accent); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-soft); }
.faq-item .faq-body p:last-child { margin: 0; }
.section--dark .faq-item { background: var(--charcoal-2); border-color: var(--line-dark); }
.section--dark .faq-item summary { color: #fff; }
.section--dark .faq-item .faq-body { color: #C6C0B5; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.testimonial .stars { color: var(--safety); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 16px; font-size: 1rem; color: var(--text); }
.testimonial .who { font-weight: 700; color: var(--ink); font-size: .95rem; }
.testimonial .role { color: var(--text-soft); font-size: .86rem; }

/* ---------- Area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .95rem; }
.section--dark .area-chip { background: var(--charcoal-2); border-color: var(--line-dark); color: #E4E0D7; }
.area-chip b { color: var(--accent-dark); }
.section--dark .area-chip b { color: #FFB066; }

/* ---------- Store ---------- */
.store-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.store-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink); transition: all .15s; font-family: var(--font-body); }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.store-search { display: flex; }
.store-search input { border: 1px solid var(--line); border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 11px 14px; font: inherit; min-width: 220px; background: #fff; }
.store-search button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border: 0; padding: 0 16px; background: var(--charcoal); color: #fff; cursor: pointer; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-media { aspect-ratio: 4/3; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.product-media svg { width: 70%; height: 70%; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.4px; font-size: .74rem; color: var(--grey); font-weight: 600; margin-bottom: 6px; }
.product-name { font-weight: 700; font-family: var(--font-display); text-transform: uppercase; font-size: 1.06rem; letter-spacing: .4px; color: var(--ink); line-height: 1.25; margin-bottom: 8px; }
.product-desc { font-size: .9rem; color: var(--text-soft); flex: 1; margin-bottom: 14px; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.product-price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.product-price small { font-size: .78rem; color: var(--grey); font-weight: 500; }
.badge { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 4px 9px; border-radius: 999px; }
.badge--stock { background: var(--accent-soft); color: var(--accent-dark); }
.badge--freight { background: rgba(242, 169, 0, .18); color: #9A6A00; }
.badge--quote { background: var(--charcoal); color: #fff; }
.product-add { margin-top: auto; width: 100%; }
.store-note { font-size: .86rem; color: var(--text-soft); margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; }
.cart-count { background: var(--safety); color: var(--ink); border-radius: 999px; font-weight: 800; font-size: .78rem; min-width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; vertical-align: middle; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--charcoal); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 12px 18px; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; font-size: 1rem; }
.cart-btn:hover { background: #000; }
.cart-overlay { position: fixed; inset: 0; background: rgba(27,30,33,.55); z-index: 120; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 92vw); background: var(--paper); z-index: 130; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--charcoal); color: #fff; }
.cart-head h3 { color: #fff; margin: 0; }
.cart-close { background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { color: var(--text-soft); text-align: center; padding: 40px 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .ci-name { font-weight: 700; font-size: .95rem; color: var(--ink); }
.cart-item .ci-unit { font-size: .82rem; color: var(--text-soft); }
.cart-item .ci-qty { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.ci-qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; }
.cart-item .ci-line { text-align: right; font-weight: 700; color: var(--ink); }
.cart-item .ci-remove { grid-column: 1 / -1; text-align: left; color: #B33A3A; background: none; border: 0; font-size: .82rem; cursor: pointer; padding: 0; width: fit-content; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: #fff; }
.cart-totals { margin-bottom: 14px; }
.cart-totals .row { display: flex; justify-content: space-between; font-size: .95rem; padding: 3px 0; }
.cart-totals .row.grand { font-weight: 800; font-size: 1.12rem; color: var(--ink); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.checkout-note { font-size: .82rem; color: var(--text-soft); margin-top: 10px; }
.modal { position: fixed; inset: 0; z-index: 140; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 520px; width: 100%; padding: 34px; box-shadow: var(--shadow-lg); position: relative; }
.modal-box h3 { margin-bottom: 12px; }
.modal-close-x { position: absolute; top: 14px; right: 18px; font-size: 1.5rem; border: 0; background: none; cursor: pointer; color: var(--grey); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: #B33A3A; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.form-note { font-size: .84rem; color: var(--text-soft); }
.form-success { display: none; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent-dark); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; margin-top: 16px; }
.form-success.is-show { display: block; }
.contact-side .card { margin-bottom: 20px; }
.contact-side h3 { margin-bottom: .4em; }
.contact-side ul { list-style: none; padding: 0; margin: 0; }
.contact-side li { padding: 7px 0; display: flex; gap: 10px; align-items: baseline; }
.contact-side li b { color: var(--ink); min-width: 92px; display: inline-block; }

/* ---------- Dark info card ---------- */
.info-card { background: var(--charcoal-2); border: 1px solid var(--line-dark); color: #D9D4CA; border-radius: var(--radius); padding: 28px; }
.info-card h3 { color: #fff; }
.info-card a { color: #FFB066; }
.info-card ul { padding-left: 18px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(70px, 12vw, 140px); }
.notfound .big { font-family: var(--font-display); font-size: clamp(6rem, 16vw, 11rem); font-weight: 700; color: var(--concrete); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9B3A9; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: clamp(44px, 6vw, 68px); }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 1.6px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: #B9B3A9; }
.footer-col a:hover { color: #FFB066; text-decoration: none; }
.footer-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.footer-proof { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: .9rem; color: #CFC9BF; }
.footer-proof span::before { content: "✓ "; color: #FFB066; font-weight: 800; }
.footer-bottom { border-top: 1px solid #33383E; padding-block: 16px; font-size: .83rem; color: #8A857C; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Demo banner ---------- */
.demo-banner { background: var(--safety); color: #3A2E00; text-align: center; font-size: .82rem; font-weight: 600; padding: 8px 14px; margin: 0; }

/* ---------- Reveal animation (only when JS active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .finishes { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(360px, 88vw); z-index: 95; background: var(--paper); flex-direction: column; align-items: stretch; gap: 6px; padding: 90px 22px 30px; transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-lg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .site-nav.is-open { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { display: block; padding: 12px 10px; font-size: 1.05rem; }
  .site-nav .header-cta { margin: 18px 0 0; justify-content: center; }
  .submenu { position: static; display: none !important; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 10px; min-width: 0; }
  .has-sub.open .submenu { display: flex !important; }
  .has-sub.open .sub-toggle { color: var(--accent-dark); }
  .has-sub.open .caret { transform: rotate(225deg); }
  .nav-toggle { display: inline-flex; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
}
/* Lock background scroll while the drawer is open */
body.cs-menu-open { overflow: hidden; }
@media (max-width: 720px) {
  .sub-thumb { flex-basis: 60px; width: 60px; height: 44px; }
  .sub-txt small { font-size: .78rem; }
  .submenu { min-width: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .finishes { grid-template-columns: repeat(2, 1fr); }
  .trustbar-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .quote-band-inner { flex-direction: column; text-align: center; }
  .quote-phone { text-align: center; }
  .brand-text em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
