/* Williams Refrigeration — product launch landing pages
   Brand colours sampled from the Williams logo artwork. */
:root {
  --wr-blue: #5377b2;          /* logo field + wordmark */
  --wr-blue-700: #3d5f9c;
  --wr-blue-800: #2c4a80;
  --wr-blue-100: #dfe8f5;
  --wr-blue-50: #eef3fa;
  --wr-navy: #15304f;          /* catalogue spec-table headers */
  --wr-grey: #a0a9ad;          /* polar bear grey */
  --wr-grey-200: #e3e7ea;
  --wr-ink: #1c272a;           /* bear features / near-black */
  --wr-text: #374247;
  --wr-muted: #6f7477;         /* "refrigeration" wordmark grey */
  --wr-line: #dde3ea;
  --wr-bg: #f5f7fa;
  --wr-white: #ffffff;
  --wr-heat: #d2562a;          /* hot-holding accent (catalogue flame icon) */
  --wr-heat-50: #fbeee8;
  --wr-cold: #3d7fc4;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21, 48, 79, .06), 0 8px 24px rgba(21, 48, 79, .08);
  --max: 1200px;
  --font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 76px; }
.new-pill { margin-right: 10px; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--wr-text); background: var(--wr-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wr-blue-700); }
h1, h2, h3, h4 { color: var(--wr-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wr-blue); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--wr-muted); max-width: 62ch; }
.section { padding: 72px 0; }
.section--tint { background: var(--wr-bg); }
.section--navy { background: var(--wr-navy); color: #d5deea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 800; font-size: .98rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wr-blue); color: #fff; }
.btn-primary:hover { background: var(--wr-blue-700); }
.btn-ghost { background: transparent; color: var(--wr-blue-700); border-color: var(--wr-blue); }
.btn-ghost:hover { background: var(--wr-blue-50); }
.btn-light { background: #fff; color: var(--wr-navy); }
.btn-light:hover { background: var(--wr-blue-50); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--wr-blue); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--wr-line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--wr-text); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--wr-blue); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-phone { display: none; font-weight: 800; color: var(--wr-navy); text-decoration: none; font-size: .95rem; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
  .header-phone { display: inline; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero--dark { background: radial-gradient(120% 90% at 80% 10%, #2a4d82 0%, var(--wr-navy) 45%, #0c1b2e 100%); color: #cfd9e7; }
.hero--dark h1 { color: #fff; }
.hero--dark .lead { color: #c3cfdf; }
.hero--dark .eyebrow { color: #9fbbe6; }
.hero .container { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 72px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); width: 100%; }
.hero--photo { min-height: 560px; display: flex; align-items: center; color: #fff; }
.hero--photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12,27,46,.92) 0%, rgba(21,48,79,.78) 45%, rgba(21,48,79,.15) 100%);
}
@media (max-width: 899px) { .hero--photo::after { background: linear-gradient(180deg, rgba(12,27,46,.88) 0%, rgba(21,48,79,.8) 100%); } }
.hero--photo .container { position: relative; z-index: 2; grid-template-columns: 1fr; }
.hero--photo h1 { color: #fff; max-width: 16ch; }
.hero--photo .lead { color: #d6e0ee; }
.hero--photo .eyebrow { color: #a9c3ea; }
.new-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--wr-blue); color: #fff;
  font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--wr-line); border: 1px solid var(--wr-line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: 22px 20px; }
.stat b { display: block; font-size: 1.6rem; color: var(--wr-navy); font-weight: 900; line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--wr-muted); }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--wr-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-media { background: linear-gradient(180deg, #f3f6fa 0%, #e9eef5 100%); display: grid; place-items: center; padding: 24px; aspect-ratio: 4 / 3; }
.card-media img { max-height: 100%; width: auto; object-fit: contain; }
.card-actions { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--wr-blue-50); color: var(--wr-blue-800); }
.tag--heat { background: var(--wr-heat-50); color: #a53d17; }
.tag--dual { background: linear-gradient(90deg, var(--wr-heat-50), var(--wr-blue-50)); color: var(--wr-navy); }
.tag--service { background: var(--wr-grey-200); color: var(--wr-ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--wr-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.kv { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 14px; padding: 0; list-style: none; font-size: .9rem; }
.kv li { color: var(--wr-muted); }
.kv b { color: var(--wr-ink); }

/* Feature icon list */
.icon-feature { display: flex; gap: 14px; align-items: flex-start; }
.icon-feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--wr-blue-50); color: var(--wr-blue); }
.icon-feature .ic svg { width: 22px; height: 22px; }
.icon-feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.icon-feature p { margin: 0; font-size: .95rem; color: var(--wr-muted); }

/* Anatomy (callouts around product) */
.anatomy { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .anatomy { grid-template-columns: 1fr minmax(260px, 360px) 1fr; } }
.anatomy-img { background: radial-gradient(circle at 50% 40%, #fff 0%, #e8edf4 70%); border-radius: var(--radius); padding: 16px; }
.anatomy-col { display: grid; gap: 18px; }
.callout { background: #fff; border: 1px solid var(--wr-line); border-left: 4px solid var(--wr-blue); border-radius: var(--radius-sm); padding: 14px 16px; }
.callout h3 { font-size: 1rem; margin-bottom: 2px; }
.callout p { margin: 0; font-size: .92rem; color: var(--wr-muted); }

/* Product compare (hot vs cold) */
.duo { display: grid; gap: 24px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--wr-line); background: #fff; box-shadow: var(--shadow); display: grid; }
@media (min-width: 560px) and (max-width: 859px), (min-width: 1180px) { .duo-card { grid-template-columns: 40% 1fr; } }
@media (min-width: 860px) and (max-width: 1179px) { .duo-card .media img { max-height: 280px; } }
.duo-card .media { background: linear-gradient(180deg, #f4f6f9, #e6ebf2); display: grid; place-items: center; padding: 20px; }
.duo-card .media img { max-height: 340px; width: auto; }
.duo-card .body { padding: 24px; display: flex; flex-direction: column; }
.duo-card.hot { border-top: 5px solid var(--wr-heat); }
.duo-card.cold { border-top: 5px solid var(--wr-blue); }
.temp { font-size: clamp(1.5rem, 2.4vw, 2rem); white-space: nowrap; font-weight: 900; color: var(--wr-navy); line-height: 1; margin: 6px 0 4px; }
.temp-label { font-size: .85rem; color: var(--wr-muted); margin-bottom: 14px; }
.hot .temp { color: #b2431b; }

/* Spec tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--wr-line); border-radius: var(--radius-sm); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.spec caption { text-align: left; font-weight: 800; padding: 0 0 8px; color: var(--wr-ink); }
table.spec th, table.spec td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--wr-line); vertical-align: top; }
table.spec thead th { background: var(--wr-navy); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .02em; white-space: nowrap; }
table.spec tbody th { font-weight: 700; color: var(--wr-muted); background: #fafbfd; white-space: nowrap; }
table.spec tr.group th { background: var(--wr-blue-50); color: var(--wr-blue-800); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
.footnote { font-size: .8rem; color: var(--wr-muted); margin-top: 10px; }

details.specs { margin-top: 14px; border-top: 1px solid var(--wr-line); padding-top: 12px; }
details.specs summary { cursor: pointer; font-weight: 800; color: var(--wr-blue-700); list-style: none; display: flex; align-items: center; gap: 8px; }
details.specs summary::-webkit-details-marker { display: none; }
details.specs summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--wr-blue-50); font-weight: 900; }
details.specs[open] summary::before { content: "–"; }
details.specs .table-wrap { margin-top: 12px; }

/* Detail photos */
.detail { margin: 0; }
.detail img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #e9edf2; }
.detail figcaption { padding-top: 12px; }
.detail figcaption b { display: block; color: var(--wr-ink); }
.detail figcaption span { font-size: .92rem; color: var(--wr-muted); }

/* Applications band */
.band { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,27,46,.88) 0%, rgba(12,27,46,.2) 70%); }
.band-body { position: relative; z-index: 1; padding: 28px; }
.band-body h3 { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .88rem; font-weight: 700; }
.chips.dark li { background: var(--wr-blue-50); border-color: var(--wr-blue-100); color: var(--wr-navy); }

/* Filter tabs */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button {
  font: inherit; font-weight: 800; font-size: .92rem; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--wr-line); background: #fff; color: var(--wr-text); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--wr-navy); border-color: var(--wr-navy); color: #fff; }
.product[hidden] { display: none; }

/* Product row (drop-in) */
.product { display: grid; gap: 0; background: #fff; border: 1px solid var(--wr-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 900px) { .product { grid-template-columns: 44% minmax(0, 1fr); } }
.product > * { min-width: 0; }
.product-media .cut { align-self: start; }
.product-media { position: relative; background: linear-gradient(180deg, #f4f6f9, #e5eaf1); min-height: 260px; display: grid; }
.product-media .cut { padding: 28px; place-self: center; max-height: 380px; width: auto; }
.product-media .life { position: absolute; right: 12px; bottom: 12px; width: 38%; border-radius: 10px; border: 3px solid #fff; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }
.product-body { padding: 28px; }
.product-body h3 { font-size: 1.5rem; margin-top: 10px; }
.product-list { display: grid; gap: 28px; }

/* Process / steps */
.steps { counter-reset: s; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 900; color: #9fbbe6; font-size: 1.3rem; margin-bottom: 6px; }
.steps b { color: #fff; display: block; margin-bottom: 4px; }
.steps span { font-size: .92rem; }

/* Enquiry form */
.enquiry { display: grid; gap: 32px; }
@media (min-width: 960px) { .enquiry { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
@media (min-width: 960px) { .enquiry-aside { position: sticky; top: 96px; } }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.contact-list a { color: #fff; font-weight: 800; text-decoration: none; }
.contact-list small { display: block; color: #9fb2cc; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
form.lead-form { background: #fff; color: var(--wr-text); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 800; font-size: .88rem; color: var(--wr-ink); margin-bottom: 6px; }
.field .req { color: var(--wr-heat); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid #cdd5df; border-radius: var(--radius-sm); background: #fff; color: var(--wr-ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wr-blue); outline: none; box-shadow: 0 0 0 3px var(--wr-blue-100); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--wr-heat); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; gap: 8px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; padding: 10px 12px; border: 1.5px solid var(--wr-line); border-radius: var(--radius-sm); cursor: pointer; }
.check:has(input:checked) { border-color: var(--wr-blue); background: var(--wr-blue-50); }
.check input { margin-top: 4px; accent-color: var(--wr-blue); width: 16px; height: 16px; flex: none; }
.consent { font-size: .86rem; color: var(--wr-muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--wr-blue); flex: none; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 700; display: none; }
.form-status.ok { display: block; background: #e8f5ee; color: #1d6b43; border: 2px solid #1d6b43; padding: 18px 20px; font-weight: 500; }
.form-status-title { display: block; font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.form-status.err { display: block; background: var(--wr-heat-50); color: #8f3413; }
.hp { position: absolute; left: -5000px; }

/* Footer */
.site-footer { background: #0c1b2e; color: #9fb0c6; padding: 48px 0 96px; font-size: .92rem; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 860px) { .site-footer .cols { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer a { color: #d7e1ee; text-decoration: none; }
.site-footer .footer-contact-lines { line-height: 2; }
.site-footer a:hover { text-decoration: underline; }
.footer-logo { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; }
.footer-logo img { height: 40px; width: auto; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }

/* Mobile sticky CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--wr-line); box-shadow: 0 -6px 20px rgba(21,48,79,.1); }
.mobile-cta .btn { flex: 1; padding: 8px 10px; }
.mobile-call { display: flex; flex-direction: column; align-items: center; line-height: 1.15; gap: 1px; }
.mobile-call small { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.mobile-call b { font-size: .86rem; font-weight: 800; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

.cross-sell { display: grid; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--wr-blue-50), #fff); border: 1px solid var(--wr-blue-100); border-radius: var(--radius); padding: 28px; }
@media (min-width: 800px) { .cross-sell { grid-template-columns: 1.4fr 1fr; } }
.cross-sell img { border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
