/* Abdullah Shah Umar Building Materials Trading LLC — site design system
   Navy is the brand colour, white and light grey carry content, gold marks highlights only.
   Every colour, radius and spacing value below comes from these tokens. */
:root {
  /* Brand palette */
  --brand-navy: #071B33;
  --brand-navy-deep: #041224;
  --brand-navy-secondary: #102B4C;
  --brand-blue: #1E4E7A;
  --brand-gold: #C8A45D;
  --brand-gold-soft: rgba(200, 164, 93, .16);
  --brand-gold-line: rgba(200, 164, 93, .45);
  --brand-white: #FFFFFF;
  --surface-light: #F3F6FA;
  --surface-white: #FFFFFF;
  --text-primary: #172536;
  --text-muted: #64748B;
  --text-on-navy: #FFFFFF;
  --text-on-navy-muted: #A9B8CB;
  --border-color: #D9E2EC;
  --border-navy: rgba(255, 255, 255, .12);
  --border-strong: #B8C6D6;

  /* Status */
  --ok: #17663F;     --ok-bg: #E8F4EE;     --ok-line: #B9DCC8;
  --err: #9B1C1C;    --err-bg: #FCEDED;    --err-line: #F1C4C4;
  --info: #1E4E7A;   --info-bg: #EAF1F8;   --info-line: #C3D6E9;
  --notice: #6B5224; --notice-bg: #FAF4E7; --notice-line: #E7D5AE;
  --wa: #1F8F4E;     --wa-hover: #187A42;

  /* Type */
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Archivo', 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-xs: .78rem; --fs-sm: .88rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.35rem;
  --fs-h3: 1.2rem; --fs-h2: clamp(1.65rem, 3vw, 2.3rem); --fs-h1: clamp(2.05rem, 4.4vw, 3.3rem);

  /* Space, shape, depth */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 96px;
  --radius-sm: 3px; --radius: 6px; --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(7, 27, 51, .06);
  --shadow: 0 1px 2px rgba(7, 27, 51, .05), 0 10px 30px rgba(7, 27, 51, .08);
  --shadow-lg: 0 24px 60px rgba(4, 18, 36, .28);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Aliases kept for pages rendered by server code */
  --ink: var(--brand-navy); --paper: var(--surface-light); --line: var(--border-color); --steel: var(--text-muted);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; color: var(--text-primary); background: var(--surface-white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-navy); }
h1, h2, h3, h4 { font-family: var(--font-head); font-stretch: 108%; color: var(--brand-navy); line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: 920px; }
.wrap-mid { max-width: 1000px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--brand-gold); color: var(--brand-navy); padding: 8px 12px; border-radius: var(--radius-sm); }
:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; }
.muted { color: var(--text-muted); }
.mt-0 { margin-top: 0 !important; } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mb-0 { margin-bottom: 0 !important; }
.pre-wrap { white-space: pre-wrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.35em; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary, .btn-dark { background: var(--brand-navy); color: var(--text-on-navy); border-color: var(--brand-navy); }
.btn-primary:hover, .btn-dark:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--text-on-navy); }
.btn-gold, .btn-accent { background: var(--brand-gold); color: var(--brand-navy-deep); border-color: var(--brand-gold); }
.btn-gold:hover, .btn-accent:hover { background: #D6B572; border-color: #D6B572; color: var(--brand-navy-deep); }
.btn-ghost, .btn-outline { background: transparent; color: var(--brand-navy); border-color: var(--brand-navy); }
.btn-ghost:hover, .btn-outline:hover { background: var(--brand-navy); color: var(--text-on-navy); }
.on-navy .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .section-dark .btn-ghost, .cta-band .btn-ghost { color: var(--text-on-navy); border-color: rgba(255, 255, 255, .55); }
.on-navy .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .section-dark .btn-ghost:hover, .cta-band .btn-ghost:hover { background: var(--text-on-navy); color: var(--brand-navy); border-color: var(--text-on-navy); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .88rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn[aria-busy="true"]::before { content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow, .card-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--brand-navy); text-decoration: none; border-bottom: 1.5px solid var(--brand-gold); padding-bottom: 2px; margin-top: var(--s-4); }
.link-arrow::after, .card-link::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after, .card-link:hover::after { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 10px 0; font: inherit; font-weight: 700; color: var(--brand-navy); cursor: pointer; border-bottom: 1.5px solid var(--brand-gold); }

/* ---------- Icons ---------- */
.i { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.btn .i { width: 1.15em; height: 1.15em; }
.social { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.soc { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-navy); border-radius: var(--radius-sm); color: var(--text-on-navy); transition: color .15s, border-color .15s, background .15s; }
.soc .i { width: 18px; height: 18px; }
.soc:hover { color: var(--brand-navy-deep); background: var(--brand-gold); border-color: var(--brand-gold); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--brand-navy-deep); color: var(--text-on-navy-muted); font-size: var(--fs-xs); letter-spacing: .02em; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 38px; }
.topbar-links { display: flex; gap: var(--s-5); align-items: center; }
.topbar a { color: var(--text-on-navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--brand-gold); }
.topbar .i { width: 14px; height: 14px; color: var(--brand-gold); flex: none; }
.topbar-hours { display: inline-flex; align-items: center; gap: 8px; }
.header { position: sticky; top: 0; z-index: 50; background: var(--brand-navy); border-bottom: 1px solid var(--brand-gold-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-5); }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn), .nav-group > a { position: relative; color: var(--text-on-navy); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 10px 12px; display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.nav > a:not(.btn)::after, .nav-group > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand-gold); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav > a:not(.btn):hover, .nav-group > a:hover { color: var(--brand-gold); }
.nav a[aria-current="page"]::after, .nav-group.current > a::after, .nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-group { position: relative; }
.nav-group > a .caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-group > a::after { right: 30px; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: var(--surface-white); border: 1px solid var(--border-color); border-top: 2px solid var(--brand-gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: var(--s-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: grid; gap: 1px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text-primary); }
.dropdown a strong { font-family: var(--font-head); color: var(--brand-navy); font-size: .95rem; }
.dropdown a span { font-size: var(--fs-xs); color: var(--text-muted); }
.dropdown a:hover { background: var(--surface-light); }
.dropdown a.all { border-top: 1px solid var(--border-color); margin-top: 4px; padding-top: 12px; font-weight: 700; font-size: var(--fs-sm); color: var(--brand-blue); }
.nav-cta { margin-left: var(--s-3); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border-navy); border-radius: var(--radius-sm); padding: 10px 9px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-on-navy); margin: 4px 0; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--brand-navy); color: var(--text-on-navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media { container-type: size; overflow: hidden; background: var(--brand-navy-deep); }
.hero-media img, .hero-media svg, .hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* YouTube player scaled to cover the hero like object-fit: cover, non-interactive, faded in once playing. */
.hero-bg-video { opacity: 0; transition: opacity .8s ease; }
.hero-bg-video.playing { opacity: 1; }
.hero-yt iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%) scale(1.02); border: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.hero-yt.playing iframe { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 36, 0) 55%, rgba(4, 18, 36, .7) 100%), linear-gradient(90deg, rgba(4, 18, 36, .95) 0%, rgba(7, 27, 51, .86) 42%, rgba(7, 27, 51, .5) 75%, rgba(7, 27, 51, .35) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: var(--s-9); padding-bottom: var(--s-8); }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-stretch: 100%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-gold); }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .on-navy .eyebrow { color: var(--brand-gold); }
.hero h1 { color: var(--text-on-navy); font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero h1 span { display: block; color: var(--brand-gold); }
.hero-lead { font-size: var(--fs-md); color: var(--text-on-navy-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s-8) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border-navy); }
.hero-facts li { padding: var(--s-5) var(--s-5) 0 0; display: grid; gap: 2px; }
.hero-facts li + li { padding-left: var(--s-5); border-left: 1px solid var(--border-navy); }
.hero-facts strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--text-on-navy); }
.hero-facts span { font-size: var(--fs-sm); color: var(--text-on-navy-muted); }

/* ---------- Sections ---------- */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-8) 0; }
.section-paper { background: var(--surface-light); }
.section-dark { background: var(--brand-navy); color: var(--text-on-navy); }
.section-dark h2, .section-dark h3 { color: var(--text-on-navy); }
.section-head { max-width: 700px; margin-bottom: var(--s-7); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; margin: 0; }
.section-dark .section-head p, .section-dark p { color: var(--text-on-navy-muted); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-7); }
.section-head-row .section-head { margin-bottom: 0; }

.page-hero { position: relative; background: var(--brand-navy); color: var(--text-on-navy); padding: var(--s-8) 0 var(--s-7); overflow: hidden; isolation: isolate; border-bottom: 3px solid var(--brand-gold); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, var(--brand-navy) 30%, rgba(7, 27, 51, .7)),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 120px); }
.page-hero h1 { color: var(--text-on-navy); margin-bottom: .35em; }
.page-hero p { color: var(--text-on-navy-muted); font-size: var(--fs-md); max-width: 44em; margin: 0; }
.page-hero .hero-actions { margin-top: var(--s-5); }
.page-hero .split { gap: var(--s-7); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--text-on-navy-muted); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.crumbs a { color: var(--text-on-navy); text-decoration: none; }
.crumbs a:hover { color: var(--brand-gold); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--brand-gold); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Cards ---------- */
.card { background: var(--surface-white); border: 1px solid var(--border-color); border-radius: var(--radius); padding: var(--s-6) 28px; transition: border-color .2s, box-shadow .2s var(--ease); min-width: 0; }
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--surface-light); border-bottom: 2px solid var(--brand-gold); display: grid; place-items: center; margin-bottom: var(--s-5); }
.card .icon { color: var(--brand-navy); }
.card .icon svg { width: 24px; height: 24px; }
.card-feature { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--text-on-navy); }
.card-feature h3 { color: var(--text-on-navy); }
.card-feature p { color: var(--text-on-navy-muted); }
.card-feature .icon { background: rgba(255, 255, 255, .06); }
.card-feature .icon { color: var(--brand-gold); }
.card-feature .card-link { color: var(--text-on-navy); }
.grid-2 > .card-feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tag { display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-navy); background: var(--brand-gold-soft); border: 1px solid var(--brand-gold-line); padding: 3px 9px; border-radius: var(--radius-sm); margin-bottom: var(--s-3); }
.card-feature .tag, .page-hero .tag, .section-dark .tag { color: var(--brand-gold); background: transparent; }

/* Numbered strengths */
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-color); border-left: 1px solid var(--border-color); counter-reset: s; }
.strength { padding: var(--s-6) 28px; border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--surface-white); counter-increment: s; }
.strength::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--brand-gold); margin-bottom: var(--s-4); }
.strength h3 { margin-bottom: .4em; }
.strength p { color: var(--text-muted); margin: 0; font-size: .97rem; }

/* Process steps */
.steps { counter-reset: step; }
.step { position: relative; padding: var(--s-6) 0 0; border-top: 1px solid var(--border-navy); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -1px; left: 0; padding-top: var(--s-3); border-top: 2px solid var(--brand-gold); font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--brand-gold); }
.step h3 { margin-top: var(--s-4); }
.section-dark .step p { color: var(--text-on-navy-muted); margin: 0; }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.split.top { align-items: start; }
.figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--brand-navy-secondary); }
.figure img, .figure svg { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.figure-note { position: absolute; left: 0; bottom: 0; background: var(--brand-navy); color: var(--text-on-navy); padding: var(--s-4) var(--s-5); border-top: 2px solid var(--brand-gold); max-width: 80%; font-size: var(--fs-sm); }
.figure-note strong { display: block; font-family: var(--font-head); font-size: 1rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23C8A45D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.checklist strong { display: block; color: var(--brand-navy); }
.checklist span { color: var(--text-muted); font-size: .95rem; }
.section-dark .checklist strong { color: var(--text-on-navy); }
.section-dark .checklist li::before { background-color: rgba(255, 255, 255, .08); }

.areas { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.area { padding: 8px 16px; border-radius: var(--radius-sm); background: var(--surface-white); border: 1px solid var(--border-color); font-weight: 600; font-size: .94rem; color: var(--brand-navy); }
.area:first-child { border-color: var(--brand-gold); }

/* Closing call to action */
.cta-band { position: relative; background: var(--brand-navy); color: var(--text-on-navy); border-radius: var(--radius); padding: var(--s-7); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; overflow: hidden; isolation: isolate; border-left: 4px solid var(--brand-gold); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; z-index: -1; background: repeating-linear-gradient(135deg, rgba(200, 164, 93, .14) 0 2px, transparent 2px 14px); border-radius: 50%; }
.cta-band h2 { color: var(--text-on-navy); margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.cta-band p { margin: 0; color: var(--text-on-navy-muted); }
.cta-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.cta-band .btn-dark, .cta-band .btn-primary { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--brand-navy-deep); }
.cta-band .btn-dark:hover, .cta-band .btn-primary:hover { background: #D6B572; border-color: #D6B572; }
.cta-audience { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: var(--s-4) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--text-on-navy-muted); }
.cta-audience li::before { content: "■"; color: var(--brand-gold); font-size: .6em; margin-right: 8px; vertical-align: middle; }

/* Notice strip (pre-booking callout) */
.notice-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; background: var(--surface-white); border: 1px solid var(--border-color); border-left: 4px solid var(--brand-gold); border-radius: var(--radius); padding: var(--s-5) var(--s-6); }
.notice-strip .icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand-navy); border-radius: var(--radius-sm); }
.notice-strip .icon { color: var(--brand-gold); }
.notice-strip .icon svg { width: 26px; height: 26px; }
.notice-strip h3 { margin: 0 0 4px; }
.notice-strip p { margin: 0; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--border-color); }
.faq details { border-bottom: 1px solid var(--border-color); padding: 0 var(--s-2); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--brand-navy); padding: var(--s-5) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 1.1rem; line-height: 1; color: var(--brand-navy); transition: background .15s; }
.faq details[open] summary::after { content: "–"; background: var(--brand-navy); color: var(--brand-gold); border-color: var(--brand-navy); }
.faq details p { color: var(--text-muted); padding-bottom: var(--s-3); max-width: 62em; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface-white); border: 1px solid var(--border-color); border-top: 3px solid var(--brand-navy); border-radius: var(--radius); padding: var(--s-6); box-shadow: var(--shadow-sm); min-width: 0; }
.form-card h2 { font-size: 1.4rem; }
.form-card h2 + .form-grid { margin-top: var(--s-2); }
.form-section { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--border-color); }
.form-step { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--brand-navy); }
.field label .opt { font-weight: 500; color: var(--text-muted); }
input, select, textarea { font: inherit; font-size: 1rem; min-height: 48px; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-white); color: var(--text-primary); width: 100%; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #8A97A8; }
input:hover, select:hover, textarea:hover { border-color: var(--brand-blue); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-navy); box-shadow: 0 0 0 3px var(--brand-gold-soft), 0 0 0 1px var(--brand-navy); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23071B33' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--brand-navy); flex: none; }
textarea { min-height: 120px; resize: vertical; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; color: var(--text-primary); grid-column: 1 / -1; }
.check-field input { margin-top: 3px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); align-items: center; }
.form-note { font-size: .86rem; color: var(--text-muted); margin: var(--s-4) 0 0; }
.form-note.inline { margin: 0; }

/* Alerts and status messages */
.alert { border-radius: var(--radius-sm); padding: var(--s-4) 18px; margin-top: 18px; font-weight: 600; border: 1px solid; border-left-width: 4px; }
.alert:first-child { margin-top: 0; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); border-left-color: var(--ok); }
.alert-err { background: var(--err-bg); color: var(--err); border-color: var(--err-line); border-left-color: var(--err); }
.alert-info { background: var(--notice-bg); color: var(--notice); border-color: var(--notice-line); border-left-color: var(--brand-gold); }
.alert a:not(.btn) { color: inherit; }
.alert .btn { margin-top: var(--s-3); }
.alert-ok .btn-ghost { color: var(--ok); border-color: var(--ok); }

/* Item tables in forms */
.items-table { width: 100%; border-collapse: collapse; }
.items-table th { text-align: left; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); padding: 0 6px 8px; border-bottom: 1px solid var(--border-color); }
.items-table td { padding: 6px; vertical-align: top; }
.items-table td:nth-child(2) { width: 110px; }
.items-table td:nth-child(3) { width: 130px; }
.items-table td:last-child { width: 50px; }
.icon-btn { border: 1px solid var(--border-strong); background: var(--surface-white); border-radius: var(--radius-sm); width: 44px; height: 48px; cursor: pointer; font-size: 1.2rem; color: var(--text-muted); transition: color .15s, border-color .15s; }
.icon-btn:hover { border-color: var(--err); color: var(--err); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border-color); }
.contact-list li { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--border-color); }
.contact-list .icon { flex: none; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--brand-navy); display: grid; place-items: center; }
.contact-list .icon { color: var(--brand-gold); }
.contact-list svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--text-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { font-weight: 700; text-decoration: none; color: var(--brand-navy); }
.contact-list a:hover { color: var(--brand-blue); text-decoration: underline; }
.side-panel { background: var(--surface-light); border: 1px solid var(--border-color); border-radius: var(--radius); padding: var(--s-6); }
.side-panel h2 { font-size: 1.4rem; }

.prose { max-width: 720px; }
.prose p, .prose li { color: #33445A; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Products ---------- */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .pc-media { position: relative; display: block; background: var(--brand-navy-secondary); overflow: hidden; }
.product-card .pc-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.03); }
.stamp { position: absolute; left: 0; bottom: 0; font-family: var(--font-head); font-stretch: 85%; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--brand-navy); color: var(--brand-gold); padding: 7px 12px; }
.product-card .pc-body { padding: var(--s-5) 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: .35em; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--brand-blue); }
.product-card .pc-spec { list-style: none; margin: var(--s-4) 0 var(--s-5); padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border-color); font-size: .9rem; }
.product-card .pc-spec li { display: flex; justify-content: space-between; gap: var(--s-3); padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.product-card .pc-spec li span:first-child { color: var(--text-muted); }
.product-card .pc-spec li span:last-child { font-weight: 600; color: var(--brand-navy); text-align: right; }
.product-card .pc-actions { margin-top: auto; display: flex; gap: var(--s-2); flex-wrap: wrap; }
.product-card .pc-actions .btn { flex: 1 1 auto; }

.featured-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.featured { display: flex; flex-direction: column; background: var(--surface-white); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.featured:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.featured img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--brand-navy-secondary); }
.featured .f-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.featured .f-cat { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.featured h3 { font-size: 1.08rem; margin: 0; }
.featured p { color: var(--text-muted); font-size: .92rem; margin: 0 0 var(--s-3); }
.featured .f-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.featured .f-actions a { font-size: .88rem; font-weight: 700; }
.featured .f-actions .more { color: var(--text-muted); text-decoration: none; }

.cat-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; color: var(--brand-navy); text-decoration: none; background: var(--surface-white); }
.cat-nav a:hover { border-color: var(--brand-navy); }
.cat-nav a[aria-current="page"] { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--text-on-navy); box-shadow: inset 0 -2px 0 var(--brand-gold); }

.product-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-navy); }
.product-hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface-white); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.spec-table th { width: 34%; background: var(--surface-light); font-size: .88rem; font-weight: 700; color: var(--brand-navy); }
.spec-table thead th { width: auto; background: var(--brand-navy); color: var(--text-on-navy); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--brand-gold); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--surface-light); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 6px 12px; font-weight: 600; font-size: .9rem; color: var(--brand-navy); }
.type-card h3 { display: flex; align-items: center; gap: 10px; }
.type-card h3::before { content: ""; width: 10px; height: 10px; background: var(--brand-gold); flex: none; }

/* ---------- Pre-booking, quotation and request pages ---------- */
.materials-table td { width: auto !important; }
.materials-table td:nth-child(1) { width: 140px !important; }
.materials-table td:nth-child(4) { width: 90px !important; }
.materials-table td:nth-child(5) { width: 100px !important; }
.materials-table td:last-child { width: 50px !important; }
.status-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.status-steps li { position: relative; padding: 0 0 var(--s-5) 46px; counter-increment: st; }
.status-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-navy); color: var(--brand-gold); font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.status-steps li::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--border-strong); }
.status-steps li:last-child::after { display: none; }
.status-steps strong { display: block; color: var(--brand-navy); }
.status-steps span { color: var(--text-muted); font-size: .94rem; }
.quote-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-4) 0 0; padding: 0; list-style: none; color: var(--text-on-navy-muted); font-size: .95rem; }
.quote-meta strong { color: var(--text-on-navy); }
.quote-table { min-width: 680px; }
.quote-table td { font-variant-numeric: tabular-nums; }
.quote-totals { max-width: 440px; margin: 18px 0 0 auto; }
.quote-totals th { width: 60%; font-weight: 600; background: var(--surface-white); color: var(--text-primary); }
.quote-totals td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-totals tr.grand th, .quote-totals tr.grand td { font-weight: 800; background: var(--brand-navy); color: var(--text-on-navy); }
.quote-totals tr.grand td { color: var(--brand-gold); }
.payment-box { white-space: pre-wrap; font-family: inherit; background: var(--surface-light); border: 1px solid var(--border-color); border-left: 3px solid var(--brand-gold); padding: var(--s-4); border-radius: var(--radius-sm); margin: 0 0 18px; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .spec-table { min-width: 480px; }
.table-scroll + h3 { margin-top: 22px; }
.stack { display: grid; gap: var(--s-5); }
.item-note { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

/* ---------- Empty and error states ---------- */
.empty { text-align: center; max-width: 560px; margin: 0 auto; padding: var(--s-7) var(--s-5); border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-light); }
.empty .code { font-family: var(--font-head); font-size: 4.2rem; font-weight: 800; line-height: 1; color: var(--brand-navy); }
.empty .code span { color: var(--brand-gold); }
.empty p { color: var(--text-muted); }
.empty .cta-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-navy-deep); color: var(--text-on-navy-muted); padding: var(--s-8) 0 0; font-size: .94rem; border-top: 3px solid var(--brand-gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-6); }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-grid a { color: #DCE4EE; text-decoration: none; }
.footer-grid a:hover { color: var(--brand-gold); }
.footer-h { font-family: var(--font-head); color: var(--text-on-navy); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--border-navy); }
.footer-brand img { height: 44px; width: auto; }
.footer-about { margin: var(--s-4) 0 0; max-width: 30em; }
.footer-legal-name { color: var(--text-on-navy); font-weight: 700; }
.footer-contact span { overflow-wrap: anywhere; }
.footer-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-3); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--border-navy); margin-top: var(--s-7); padding-top: 20px; padding-bottom: 24px; font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #DCE4EE; text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-gold); }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: block; }
  .brand img { height: 38px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; background: var(--brand-navy); padding: var(--s-2) max(20px, env(safe-area-inset-left, 0px)) var(--s-5); border-top: 1px solid var(--brand-gold-line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s var(--ease), opacity .2s, visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn), .nav-group > a { padding: 14px 4px; border-bottom: 1px solid var(--border-navy); font-size: 1rem; }
  .nav > a:not(.btn)::after, .nav-group > a::after { display: none; }
  .nav a[aria-current="page"], .nav-group.current > a { color: var(--brand-gold); }
  .nav-group > a .caret { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 var(--s-2) var(--s-4); border-left: 2px solid var(--brand-gold); margin: var(--s-2) 0 var(--s-2) 4px; border-radius: 0; }
  .dropdown a { padding: 8px 10px; }
  .dropdown a strong { color: var(--text-on-navy); font-weight: 600; font-family: var(--font-body); }
  .dropdown a span { display: none; }
  .dropdown a:hover { background: rgba(255, 255, 255, .05); }
  .dropdown a.all { border-top: 0; margin-top: 0; padding-top: 8px; color: var(--brand-gold); }
  .nav-cta { margin: var(--s-4) 0 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 900px) {
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .grid-3, .grid-4, .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--s-8) 0; }
  .hero-inner { padding-top: var(--s-8); padding-bottom: var(--s-7); }
  .hero::before { background: linear-gradient(180deg, rgba(4, 18, 36, .9) 0%, rgba(7, 27, 51, .86) 60%, rgba(7, 27, 51, .78) 100%); }
  .notice-strip { grid-template-columns: auto minmax(0, 1fr); }
  .notice-strip .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .topbar-hours, .topbar-email { display: none !important; }
  .topbar-inner { justify-content: center; }
  .grid-2, .grid-3, .grid-4, .form-grid, .strengths, .featured-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li, .hero-facts li + li { padding: var(--s-4) 0 0; border-left: 0; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .cta-band { padding: var(--s-6) var(--s-5); }
  .form-card, .side-panel { padding: 22px 18px; }
  .card, .strength { padding: var(--s-5) 22px; }
  .card.product-card { padding: 0; }
  .product-card .pc-body { padding: 20px 20px 22px; }
  .items-table thead { display: none; }
  .items-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--border-color); }
  .items-table td { padding: 0; width: auto !important; min-width: 0; }
  .items-table td:first-child { grid-column: 1 / -1; }
  .materials-table tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .materials-table td:nth-child(2), .materials-table td:nth-child(3) { grid-column: 1 / -1; }
  .quote-totals th, .quote-totals td { padding: 10px 12px; }
  .figure-note { position: static; max-width: none; }
  .notice-strip { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--brand-navy-deep); border-top: 1px solid var(--brand-gold-line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 10px; color: var(--text-on-navy); text-decoration: none; font-size: .74rem; font-weight: 700; }
  .mobile-bar .i { width: 21px; height: 21px; }
  .mobile-bar a.wa { background: var(--wa); }
  .mobile-bar a.quote { color: var(--brand-gold); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .footer, .mobile-bar { display: none; } body { padding: 0; } }
.catbar { padding-top: var(--s-6); }
.catbar .cat-nav { margin: 0; }
.catbar + .section { padding-top: var(--s-6); }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (min-width: 901px) { .split.top > .side-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.spec-table .num, .spec-table th.num { text-align: right; }
.footer-grid a.btn-gold, .footer-grid a.btn-gold:hover { color: var(--brand-navy-deep); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.gallery figure { margin: 0; min-width: 0; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--brand-navy-secondary); }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-muted); padding-left: 12px; border-left: 2px solid var(--brand-gold); }
@media (max-width: 640px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Phone usability ---------- */
@media (max-width: 640px) {
  /* The fixed Call / WhatsApp / Quote bar replaces the top contact strip, and the footer (not a white gap) sits behind it. */
  .topbar { display: none; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar a { font-size: .8rem; min-height: 56px; justify-content: center; }
  /* Comfortable tap targets */
  .footer-grid > div { gap: 0; }
  .footer-grid > div > a, .footer-contact > span { display: flex; align-items: center; min-height: 42px; }
  .footer-h { margin-top: var(--s-2); }
  .footer-actions { margin-top: var(--s-4); }
  .footer-bottom nav { gap: 4px 20px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
  .link-arrow, .card-link { padding-block: 10px 6px; }
  .featured .f-actions a { display: inline-flex; align-items: center; min-height: 44px; }
  /* Small labels stay readable */
  .stamp, .featured .f-cat, .tag, .form-step, .contact-list small { font-size: .76rem; }
  /* Forms: full-width submit buttons, 16px inputs (no zoom on iPhone) */
  input, select, textarea { font-size: 16px; }
  .form-card button:not([type="button"]):not(.icon-btn) { width: 100%; justify-content: center; }
  /* Item and material rows: show each field's name above it */
  .items-table td[data-label]:not(:last-child)::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
  .items-table tr { align-items: end; }
  .items-table .icon-btn { width: 44px; height: 48px; }
  /* Customer quotation and request tables become one card per line item */
  .table-scroll .quote-table, .table-scroll .stack-table { min-width: 0; }
  .quote-table thead, .stack-table thead { display: none; }
  .quote-table, .quote-table tbody, .quote-table tr, .quote-table td,
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .quote-table tr, .stack-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border-color); }
  .quote-table td, .stack-table td { padding: 3px 0; border: 0; text-align: left; }
  .quote-table td[data-label], .stack-table td[data-label] { display: flex; justify-content: space-between; gap: 12px; }
  .quote-table td[data-label]::before, .stack-table td[data-label]::before { content: attr(data-label); flex: none; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
  .quote-table td:first-child { display: none; }
  .quote-table td:nth-child(2) { display: block; font-size: 1.02rem; padding-bottom: 6px; }
  .quote-table td:nth-child(2)::before { display: none; }
  .quote-table td.num { text-align: right; }
}

/* ---------- Answer-first summaries and container booking pages ---------- */
.answer-box { border-left: 3px solid var(--brand-gold); background: var(--surface-light); padding: var(--s-5) var(--s-6); border-radius: 0 var(--radius) var(--radius) 0; }
.answer-box p { margin: var(--s-2) 0 0; font-size: var(--fs-md); color: var(--text-primary); }
.check-list { list-style: none; margin: var(--s-4) 0; padding: 0; display: grid; gap: var(--s-2); }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand-gold); border-bottom: 2px solid var(--brand-gold); transform: rotate(-45deg); }
.card-link-block { display: grid; gap: 6px; text-decoration: none; color: var(--text-primary); transition: border-color .15s; }
.card-link-block strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--brand-navy); }
.card-link-block span:last-child { color: var(--text-muted); }
.card-link-block:hover { border-color: var(--brand-navy); }
.booking-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .answer-box { padding: var(--s-4) var(--s-5); } }
/* Sales contract page */
.sig-pad { position: relative; background: #FFFFFF; border: 1px dashed var(--border-color); border-bottom: 2px solid var(--brand-navy); border-radius: var(--radius); margin-bottom: var(--s-2); }
.sig-pad canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.sig-pad::after { content: "Sign here"; position: absolute; left: 14px; bottom: 8px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); pointer-events: none; }
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-1) var(--s-4); margin: 0; padding: 0; list-style: none; }
.contract-terms summary { cursor: pointer; }
.contract-terms p { margin: var(--s-4) 0 0; font-size: .93rem; }
.kv-table td { overflow-wrap: anywhere; }
@media (max-width: 640px) { .kv-table th, .kv-table td { display: block; width: auto; } .kv-table th { padding-bottom: 6px; border-bottom: 0; } .kv-table td { padding-top: 4px; } }
/* Phones: shorter page headers so forms start sooner; the Call / WhatsApp / Quote bar steps aside while typing (it would sit on top of the keyboard). */
@media (max-width: 640px) {
  .page-hero { padding: var(--s-6) 0 var(--s-6); }
  .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .page-hero .hero-actions { gap: var(--s-2); }
  body:has(input:focus, textarea:focus, select:focus) .mobile-bar { display: none; }
  .contract-terms p { font-size: .9rem; }
  .sig-pad canvas { height: 200px; }
}
/* Page header with a photo behind it (Container Pre-Booking): the navy wash keeps the text readable. */
.page-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.page-hero.has-photo::before { background: linear-gradient(90deg, rgba(7, 27, 51, .96) 0%, rgba(7, 27, 51, .86) 42%, rgba(7, 27, 51, .45) 100%); }
@media (max-width: 900px) { .page-hero.has-photo::before { background: linear-gradient(180deg, rgba(7, 27, 51, .78), rgba(7, 27, 51, .92)); } }
.footer-slogan { margin: var(--s-4) 0 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--brand-gold); }
.footer-slogan + .footer-about { margin-top: var(--s-2); }

/* ---------- SEO homepage (2026-10-23) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-lg { min-height: 54px; padding-inline: 26px; font-size: 1.02rem; }
.size-table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface-white); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; }
.size-table th, .size-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.size-table thead th { background: var(--brand-navy); color: var(--text-on-navy); font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; }
.size-table tbody th { color: var(--brand-navy); font-family: var(--font-head); white-space: nowrap; }
.size-table td:last-child { white-space: nowrap; font-weight: 700; }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.aud { border-top: 2px solid var(--brand-gold); padding-top: var(--s-4); }
.aud h3 { color: var(--text-on-navy); margin-bottom: .35em; }
.aud p { color: var(--text-on-navy-muted); margin: 0; font-size: .95rem; }
.guide-card { padding: 0 0 var(--s-5); overflow: hidden; }
.guide-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: var(--s-3); }
.guide-card > span, .guide-card > strong { padding-inline: var(--s-5); }
.visit-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.visit-list li { display: grid; gap: 2px; padding-bottom: var(--s-4); border-bottom: 1px solid var(--border-color); }
.visit-list span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 700; }
.visit-list strong { font-size: 1.05rem; color: var(--brand-navy); }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid-5 { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
  .size-table { min-width: 0; }
  .size-table thead { display: none; }
  .size-table tr { display: grid; border-bottom: 1px solid var(--border-color); padding: 12px 16px; gap: 4px; }
  .size-table th, .size-table td { padding: 0; border: 0; white-space: normal !important; }
}
.hero h1.h1-seo { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 18em; }
.hero h1.h1-seo span { display: inline; }

/* ---------- SEO landing pages (2026-10-23) ---------- */
.data-table { width: 100%; border-collapse: collapse; background: var(--surface-white); border: 1px solid var(--border-color); margin: var(--s-4) 0; font-size: .95rem; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.data-table thead th { background: var(--brand-navy); color: var(--text-on-navy); font-size: var(--fs-sm); }
.data-table tbody th { color: var(--brand-navy); }
.table-scroll .data-table { min-width: 460px; }
.small-note { font-size: .86rem; color: var(--text-muted) !important; margin-top: 0; }
.seo-body .answer-box { margin-bottom: var(--s-6); }
.seo-body ul, .seo-body ol { padding-left: 1.3em; }
.seo-body li { margin-bottom: .35em; }
.seo-aside { display: grid; gap: var(--s-5); align-content: start; }
@media (min-width: 901px) { .split.top > .seo-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-card { padding: var(--s-5); }
.side-card .h3 { font-size: var(--fs-h3); margin-bottom: .4em; }
.side-card .btn-block { display: flex; width: 100%; margin-top: var(--s-3); }
.side-facts { list-style: none; padding: 0; margin: var(--s-4) 0 0; font-size: var(--fs-sm); color: var(--text-muted); display: grid; gap: 6px; }
.side-facts li::before { content: "■"; color: var(--brand-gold); font-size: .6em; margin-right: 8px; vertical-align: middle; }
.side-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.side-links a { font-weight: 700; color: var(--brand-navy); }
.footer-h-sub { margin-top: var(--s-4); }
@media (max-width: 900px) { .split-wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .table-scroll .data-table { min-width: 0; } .data-table th, .data-table td { padding: 9px 10px; font-size: .88rem; } }

/* ==========================================================================
   Theme: clean light (2026-10-23), matching the admin dashboard (Lato)
   White header and page headers, rounded cards with soft shadows, navy text,
   gold for buttons and highlights. The home hero (video), the photo page header,
   the call-to-action band and the footer stay navy.
   ========================================================================== */
:root {
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px;
  --border-color: #E3E9F1;
  --gold-text: #8C6D2C;
  /* Same typeface as the admin dashboard */
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(7, 27, 51, .04), 0 4px 14px rgba(7, 27, 51, .05);
  --shadow: 0 2px 4px rgba(7, 27, 51, .04), 0 14px 34px rgba(7, 27, 51, .09);
}

/* Top bar + header */
.topbar { background: var(--surface-light); color: var(--text-muted); border-bottom: 1px solid var(--border-color); }
.topbar a { color: var(--brand-navy); }
.topbar a:hover { color: var(--gold-text); }
.topbar .i { color: var(--gold-text); }
.header { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 16px rgba(7, 27, 51, .05); backdrop-filter: saturate(1.4) blur(6px); }
.nav > a:not(.btn), .nav-group > a { color: var(--brand-navy); }
.nav > a:not(.btn):hover, .nav-group > a:hover { color: var(--gold-text); }
.menu-toggle { border-color: var(--border-color); }
.menu-toggle span { background: var(--brand-navy); }
.dropdown { border-radius: var(--radius); border-top: 1px solid var(--border-color); box-shadow: var(--shadow); }
@media (max-width: 1100px) {
  .nav { background: #fff; border-top: 1px solid var(--border-color); }
  .nav > a:not(.btn), .nav-group > a { border-bottom-color: var(--border-color); }
  .nav a[aria-current="page"], .nav-group.current > a { color: var(--gold-text); }
  .dropdown { box-shadow: none; border: 0; border-left: 2px solid var(--brand-gold); border-radius: 0; }
  .dropdown a strong { color: var(--brand-navy); }
  .dropdown a:hover { background: var(--surface-light); }
  .dropdown a.all { color: var(--gold-text); }
}

/* Page headers: light, except the one with a photo behind it */
.page-hero { background: linear-gradient(135deg, #F1F5FA 0%, #FFFFFF 55%, #FBF6EA 100%); color: var(--text-primary); border-bottom: 1px solid var(--border-color); }
.page-hero::before { background: radial-gradient(circle at 88% 20%, rgba(200, 164, 93, .14), transparent 42%), repeating-linear-gradient(90deg, rgba(7, 27, 51, .035) 0 1px, transparent 1px 120px); }
.page-hero h1 { color: var(--brand-navy); }
.page-hero p { color: var(--text-muted); }
.page-hero .eyebrow, .page-hero .tag { color: var(--gold-text); }
.crumbs { color: var(--text-muted); }
.crumbs a { color: var(--brand-navy); }
.crumbs a:hover { color: var(--gold-text); }
.page-hero .btn-ghost { color: var(--brand-navy); border-color: var(--brand-navy); }
.page-hero .btn-ghost:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }
.page-hero .quote-meta { color: var(--text-muted); }
.page-hero .quote-meta strong { color: var(--brand-navy); }
.page-hero .figure, .page-hero .product-hero-img { box-shadow: var(--shadow); border-color: var(--border-color); }
.page-hero.has-photo { background: var(--brand-navy); color: var(--text-on-navy); border-bottom: 3px solid var(--brand-gold); }
.page-hero.has-photo h1, .page-hero.has-photo .crumbs a { color: var(--text-on-navy); }
.page-hero.has-photo p, .page-hero.has-photo .crumbs { color: var(--text-on-navy-muted); }
.page-hero.has-photo .eyebrow { color: var(--brand-gold); }
.page-hero.has-photo .btn-ghost { color: var(--text-on-navy); border-color: rgba(255, 255, 255, .55); }
.page-hero.has-photo .btn-ghost:hover { background: var(--text-on-navy); color: var(--brand-navy); }

/* Text on white: the darker gold reads better than the brand gold */
.eyebrow { color: var(--gold-text); }
.strength::before { color: var(--gold-text); }

/* Cards: rounded, soft shadow, lift on hover */
.card, .featured, .notice-strip { border-color: var(--border-color); box-shadow: var(--shadow-sm); }
.card { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card:hover, .featured:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-color); }
.card .icon { border-radius: 50%; border-bottom: 0; background: var(--brand-gold-soft); color: var(--gold-text); }
.card-feature .icon { background: rgba(255, 255, 255, .08); color: var(--brand-gold); }
.strengths { border: 0; gap: var(--s-4); }
.strength { border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.area { border-radius: 999px; }
.tag { border-radius: 999px; }
.figure, .product-hero-img, .gallery a { border-radius: var(--radius); }
.cta-band { border-radius: var(--radius-lg); border-left: 0; box-shadow: var(--shadow); }
.section-paper { background: #F6F8FB; }

/* Tables keep the navy header row, with rounded corners */
.spec-table, .data-table, .size-table { border-radius: var(--radius); overflow: hidden; }

/* Forms */
input, select, textarea { border-radius: var(--radius-sm); }
h1, h2, h3, h4 { font-stretch: 100%; letter-spacing: -.01em; }
h1 { font-weight: 900; } h2 { font-weight: 900; } h3 { font-weight: 700; }
.page-hero.has-photo .tag { color: var(--brand-gold); }
