/* Hartwell Garage Door & Gate: charcoal + signal red, Barlow Condensed caps. High energy, built for urgent calls. */
:root {
  --bg: #ffffff; --surface: #f3f4f6; --surface-2: #e5e7eb; --ink: #16191f; --muted: #555b66; --line: rgba(22, 25, 31, .12);
  --accent: #c8102e; --accent-ink: #ffffff; --accent-text: #b00e28;
  --dark: #16191f; --dark-2: #22262e; --on-dark: #f5f6f8; --on-dark-muted: rgba(245, 246, 248, .72);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif; --font-body: "Barlow", system-ui, sans-serif;
  --h-weight: 700; --h-case: uppercase; --h-track: .005em; --h-leading: .95;
  --radius: 8px; --radius-sm: 6px; --radius-btn: 6px;
}
body { font-size: 18px; }
h1 { font-size: clamp(52px, 8vw, 112px); }
h2 { font-size: clamp(40px, 5.4vw, 72px); }
h3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: .01em; }
.k-eyebrow { font-family: var(--font-display); font-size: 16px; letter-spacing: .12em; }
.k-btn { font-family: var(--font-display); font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.k-logo { font-size: 23px; }
.hw-red { color: var(--accent); }

/* hero: diagnosis picker */
.hw-hero { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hw-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 46px, rgba(255,255,255,.035) 46px 48px); }
.hw-hero::after { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, .28), transparent 60%); }
.hw-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hw-hero h1 { margin-bottom: .25em; }
.hw-hero .k-lead { margin-bottom: 26px; }
.hw-proof { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.hw-q { font: 700 18px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 14px; }
.hw-diag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hw-diag button { display: grid; gap: 10px; justify-items: start; text-align: left; padding: 16px; border-radius: var(--radius); cursor: pointer;
  background: var(--dark-2); color: var(--on-dark); border: 1px solid rgba(255,255,255,.1); font: 600 16px/1.2 var(--font-body);
  transition: border-color .2s, background .2s, transform .2s var(--ease); }
.hw-diag button:hover { border-color: rgba(255,255,255,.35); transform: translateY(-2px); }
.hw-diag button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.hw-diag svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: #ff6b81; }
.hw-diag button[aria-pressed="true"] svg { color: #fff; }
.hw-media { position: relative; }
.hw-media .k-frame { aspect-ratio: 4 / 4.6; border: 1px solid rgba(255,255,255,.12); }
.hw-ticket { position: absolute; left: -28px; bottom: 28px; right: 28px; background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); padding: 20px 22px; border-top: 5px solid var(--accent); }
.hw-ticket small { display: flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.hw-ticket small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.2); }
.hw-ticket h3 { margin: 10px 0 6px; font-size: 26px; }
.hw-ticket p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.hw-ticket .k-btn { width: 100%; }
@media (max-width: 900px) {
  .hw-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hw-media .k-frame { aspect-ratio: 16 / 11; }
  .hw-ticket { position: relative; left: auto; right: auto; bottom: auto; margin: -60px 16px 0; }
}
@media (max-width: 560px) { .hw-diag { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hw-diag button:last-child { grid-column: span 2; } }

/* stats band sits on the hero edge */
.hw-statband { margin-top: -1px; background: var(--accent); color: #fff; }
.hw-statband .k-stats { background: rgba(255,255,255,.2); border: 0; border-radius: 0; }
.hw-statband .k-stats > div { background: var(--accent); padding: 26px 20px; }
.hw-statband .k-stats b { color: #fff; }
.hw-statband .k-stats span { color: rgba(255,255,255,.86); }

/* services */
.hw-svc .k-card { border-left: 4px solid transparent; }
.hw-svc .k-card:hover { border-left-color: var(--accent); }
.hw-svc .k-icon { border-radius: var(--radius-sm); }

/* promise */
.hw-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.hw-promise > div { padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(255,255,255,.12); }
.hw-promise > div:last-child { border-right: 0; }
.hw-promise b { display: block; font: 700 64px/1 var(--font-display); color: var(--accent); margin-bottom: 10px; }
.hw-promise p { color: var(--on-dark-muted); margin: 0; }
@media (max-width: 760px) { .hw-promise { grid-template-columns: minmax(0, 1fr); } .hw-promise > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }

/* safety callout */
.hw-warn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius); background: #fff7e6; border: 1px solid #f3d38b; }
.hw-warn svg { width: 54px; height: 54px; color: #b45309; }
.hw-warn h3 { margin: 0 0 6px; }
.hw-warn p { margin: 0; color: #5b4a2a; }
@media (max-width: 760px) { .hw-warn { grid-template-columns: minmax(0, 1fr); } }

/* door styles */
.hw-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hw-style { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: left; cursor: pointer; transition: all .25s var(--ease); }
.hw-style:hover, .hw-style[aria-pressed="true"] { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.hw-door { aspect-ratio: 5 / 4; border-radius: 4px; margin-bottom: 16px; background: #d6d9de; position: relative; overflow: hidden; border: 6px solid #2a2f38; border-bottom-width: 0; }
.hw-door.modern { background: repeating-linear-gradient(180deg, #343b46 0 22%, #2a3039 22% 25%); }
.hw-door.modern::after { content: ""; position: absolute; inset: 8% 6%; background: repeating-linear-gradient(90deg, rgba(180,210,235,.55) 0 23%, transparent 23% 25.5%),
  repeating-linear-gradient(180deg, transparent 0 22%, #2a3039 22% 25%); mix-blend-mode: screen; }
.hw-door.carriage { background: #8a5a3b; }
.hw-door.carriage::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 14%); }
.hw-door.carriage::after { content: ""; position: absolute; left: 49%; top: 0; bottom: 0; width: 2%; background: #5c3a24;
  box-shadow: -40px 30px 0 -2px transparent; }
.hw-door.raised { background: #f1f2f4; }
.hw-door.raised::after { content: ""; position: absolute; inset: 6% 5%; background:
  linear-gradient(#f1f2f4, #f1f2f4) padding-box, repeating-linear-gradient(90deg, #c7ccd3 0 23%, transparent 23% 25%);
  background: repeating-linear-gradient(180deg, transparent 0 21%, #f1f2f4 21% 25%), repeating-linear-gradient(90deg, #cfd3d9 0 23.5%, #f1f2f4 23.5% 25%);
  box-shadow: inset 0 0 0 1px #c3c8cf; }
.hw-door.glass { background: #1b1f26; }
.hw-door.glass::after { content: ""; position: absolute; inset: 6%; background: linear-gradient(135deg, rgba(160,200,230,.75), rgba(90,130,170,.45)),
  repeating-linear-gradient(90deg, transparent 0 24%, #1b1f26 24% 25%); background-blend-mode: multiply; }
.hw-style p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
@media (max-width: 960px) { .hw-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* about */
.hw-about .k-frame { aspect-ratio: 5 / 4; }
.hw-quote { margin: 26px 0 0; padding: 22px 24px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  font: 600 24px/1.25 var(--font-display); text-transform: none; letter-spacing: 0; }
.hw-quote cite { display: block; margin-top: 10px; font: 500 15px var(--font-body); color: var(--muted); font-style: normal; }
.hw-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.hw-badges div { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 16px; }
.hw-badges svg { width: 26px; height: 26px; flex: none; color: var(--accent); }

/* booking section */
.hw-book { background: linear-gradient(180deg, var(--dark) 0 55%, var(--surface) 55%); }
.hw-book .k-head { color: var(--on-dark); }
.hw-book-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.hw-book-side { color: var(--on-dark); }
.hw-book-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hw-book-side li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-muted); }
.hw-book-side li b { color: var(--on-dark); display: block; }
.hw-book-side svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 2px; }
.hw-bigcall { display: block; margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); background: var(--accent); color: #fff; text-decoration: none; }
.hw-bigcall small { display: block; font: 700 14px var(--font-display); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.hw-bigcall b { font: 700 clamp(34px, 4vw, 46px)/1.05 var(--font-display); }
@media (max-width: 900px) { .hw-book { background: var(--dark); } .hw-book-grid { grid-template-columns: minmax(0, 1fr); } }

.hw-area .k-map { aspect-ratio: 16 / 10; }
