/* RSS Group International - site styles. RSS red from the logo, charcoal, warm grey paper. */
:root {
  --red: #b00438;
  --red-dark: #8a032c;
  --red-soft: #fbe9ee;
  --ink: #17181a;
  --ink-2: #3b3d41;
  --muted: #64676d;
  --line: #e1dfdb;
  --paper: #f5f4f1;
  --card: #ffffff;
  --dark: #1d1f22;
  --on-dark: #f2f1ee;
  --on-dark-muted: #b9b8b4;
  --ok: #1c6b36;
  --ok-soft: #e6f3ea;
  --warn: #8a5a00;
  --warn-soft: #fdf2d9;
  --radius: 4px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar { background: var(--dark); color: var(--on-dark-muted); font-size: 13px; }
.topbar .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; min-height: 32px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; margin-right: auto; flex: none; }
.call-short { display: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: var(--radius); }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--red); }
.header-phone { text-decoration: none; font-weight: 700; color: #fff; background: var(--red); padding: 9px 14px; border-radius: var(--radius); white-space: nowrap; }
.header-phone:hover { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 8px 10px; font: 600 14px var(--body); cursor: pointer; }

/* Type */
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -.01em; line-height: 1.08; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5.5vw, 54px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.lede { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 24px; }
.prose li { margin: 4px 0; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 20px; border: 2px solid var(--red); border-radius: var(--radius); background: var(--red); color: #fff; font: 700 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-outline { background: transparent; color: var(--red-dark); }
.btn-outline:hover { background: var(--red-soft); color: var(--red-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-small { padding: 7px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.text-link { font-weight: 700; }

/* Sections */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head { padding: 40px 0 24px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--dark); color: var(--on-dark); }
.band-dark .lede, .band-dark .muted { color: var(--on-dark-muted); }
.band-dark .eyebrow { color: #ff8fae; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero .wrap { position: relative; padding: 88px 16px 96px; }
.hero h1 { max-width: 760px; }
.hero .lede { color: #e9e7e3; }
.hero .eyebrow { color: #ff9fb8; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split-top { align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 22px; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--red); }
.feature { padding: 22px; }
.feature svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.feature p { margin: 0 0 12px; color: var(--ink-2); }
.photo { border-radius: var(--radius); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.tag-hot { background: var(--red-soft); color: var(--red-dark); border-color: #f3c4d1; }
.tag-cold { background: #e8f0f8; color: #1d4f7a; border-color: #c6d9ec; }
.tag-ok { background: var(--ok-soft); color: var(--ok); border-color: #bfdcc8; }
.tag-warn { background: var(--warn-soft); color: var(--warn); border-color: #f0d9a3; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }

/* Product (series) cards */
.series-card { display: flex; flex-direction: column; padding: 20px; }
.series-card h3 { margin-bottom: 4px; }
.series-card .range { font-weight: 700; color: var(--ink); margin: 4px 0; }
.series-card p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.series-card .text-link { margin-top: auto; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 600 14px var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.group-title { margin: 36px 0 14px; font-size: 22px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { background: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
caption { text-align: left; font-weight: 700; padding: 10px 12px; }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; font-weight: 600; }

/* Forms */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.span-2 { grid-column: span 2; }
label, .label { font-weight: 600; font-size: 15px; }
label em { font-weight: 400; color: var(--muted); font-style: normal; }
input, select, textarea { font: 16px var(--body); padding: 10px 12px; border: 1px solid #c9c6c0; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid #f2a7bb; outline-offset: 1px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
.help { margin: 0; font-size: 13px; color: var(--muted); }
.err { margin: 0; font-size: 13px; color: var(--red); }
.form-error { margin-top: 14px; padding: 10px 12px; background: var(--red-soft); color: var(--red-dark); border-radius: var(--radius); }
.thanks { padding: 18px; background: var(--ok-soft); color: var(--ok); border-radius: var(--radius); font-weight: 600; }

/* Question steps (sizing tool) */
fieldset { border: 0; margin: 0 0 22px; padding: 0; }
legend { font-weight: 700; font-size: 17px; margin-bottom: 10px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: block; padding: 11px 13px; border: 1px solid #c9c6c0; border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 600; line-height: 1.3; }
.choice span small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.choice input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: var(--red-soft); }
.choice input:focus-visible + span { outline: 3px solid #f2a7bb; outline-offset: 1px; }
.result { border-left: 4px solid var(--red); }
.result .big { font-family: var(--display); font-size: clamp(26px, 4vw, 36px); line-height: 1.1; margin: 4px 0 10px; }
.why { margin: 12px 0 0; padding-left: 20px; }
.why li { margin: 6px 0; }
.note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
.output { font-family: var(--display); font-size: 28px; line-height: 1.1; margin: 6px 0 4px; }

/* Listings */
.listing-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink); }
.listing-card:hover { border-color: #c9c6c0; color: var(--ink); }
.listing-card .thumb { aspect-ratio: 4 / 3; background: #e9e7e3; object-fit: cover; width: 100%; }
.listing-card .thumb-empty { aspect-ratio: 4 / 3; background: #e9e7e3; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.listing-card .body { padding: 16px; }
.price { font-weight: 800; font-size: 20px; }
.sold { opacity: .7; }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #e9e7e3; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--red); }
.thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; }
.copy-box { width: 100%; min-height: 160px; font: 14px/1.5 ui-monospace, Menlo, monospace; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* CTA band */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }

/* Contact list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list.card-pad { padding: 22px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 48px 0 24px; margin-top: 0; font-size: 15px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--display); color: #fff; font-size: 18px; margin-bottom: 8px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid #34363a; margin-top: 32px; padding-top: 16px; font-size: 13px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; flex-direction: column; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .header-row { position: relative; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .split, .footer-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: auto; }
  .hero .wrap { padding: 56px 16px 64px; }
  .section { padding: 40px 0; }
  .header-phone { padding: 8px 10px; font-size: 14px; }
  .brand img { height: 26px; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 420px) {
  .header-row { gap: 10px; }
  .call-full { display: none; }
  .call-short { display: inline; }
  .nav-toggle { padding: 7px 9px; }
  .brand img { height: 22px; }
}
@media (max-width: 340px) {
  .brand img { height: 18px; }
}
