/* CablePro Distribution: styled after the "Brochure New" design (charcoal, gold, cream). */
:root {
  --ink: #18191b;
  --ink-2: #222427;
  --ink-3: #2c2f33;
  --gold: #c9a23a;
  --gold-deep: #b6902b;
  --gold-light: #e6c463;
  --cream: #f2f0ea;
  --cream-2: #e8e3d6;
  --text: #1e1f21;
  --muted: #5d6066;
  --on-dark: #f4f4f2;
  --on-dark-muted: #c3c5c9;
  --radius: 14px;
  --gold-grad: linear-gradient(135deg, #e3bf5c 0%, #c9a23a 45%, #a9822a 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: #17130a; box-shadow: 0 6px 18px rgba(201, 162, 58, .25); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(201, 162, 58, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24, 25, 27, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 58, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: 56px 0 40px;
  border-left: 10px solid var(--gold);
}
.hero-ring {
  position: absolute; right: -180px; top: -260px; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle at center, transparent 0 46%, #24272b 46.2% 100%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.lede { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 34em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { display: flex; justify-content: center; }
.hero-fan { width: min(520px, 100%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero-banner { margin: 40px 0 0; max-width: 600px; }
.hero-banner img { border: 1.5px solid var(--gold); border-radius: var(--radius); aspect-ratio: 3 / 1; object-fit: cover; width: 100%; }
.hero-banner figcaption {
  text-align: right; margin-top: 8px; color: var(--gold-light);
  font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero-banner figcaption i { font-style: normal; margin: 0 6px; }

/* Who we serve / Supply & service */
.about { background: var(--ink); padding: 8px 0 56px; border-left: 10px solid var(--gold); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.gold-card {
  background: var(--gold-grad);
  color: #17130a;
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px rgba(0, 0, 0, .35);
}
.gold-card h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; margin-bottom: 14px; }
.gold-card p { margin: 0 0 16px; font-size: 1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: rgba(24, 25, 27, .12); border: 1px solid rgba(24, 25, 27, .22);
  padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.steps li {
  counter-increment: s; background: rgba(24, 25, 27, .88); color: var(--gold-light);
  border-radius: 8px; padding: 8px 10px; font-weight: 700; font-size: .85rem;
}
.steps li::before { content: counter(s, decimal-leading-zero) " "; color: var(--on-dark-muted); font-weight: 600; }
.talk-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 40px; padding: 14px 0;
  border-top: 2px solid var(--gold); border-bottom: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-weight: 700;
}
.talk-strip p { margin: 0; font-size: 1.05rem; }
.link-gold { color: var(--gold-light); text-decoration: none; font-weight: 700; }
.link-gold:hover { text-decoration: underline; }

/* Range */
.range { background: var(--cream); position: relative; }
.range::before {
  content: ""; position: absolute; right: 0; top: 140px; width: 520px; height: 520px;
  background: url("assets/img/watermark.webp") center / contain no-repeat; opacity: .45; pointer-events: none;
}
.range-head {
  background:
    linear-gradient(90deg, var(--ink) 0 52%, rgba(24, 25, 27, .82) 72%, rgba(24, 25, 27, .55)),
    url("assets/img/cable-banner.webp") right center / auto 100% no-repeat, var(--ink);
  color: #fff; border-left: 10px solid var(--gold);
}
.range-head-inner { padding: 48px 0 44px; }
.range-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.range-head .sub { margin: 0; color: var(--on-dark-muted); max-width: 40em; }
.range-body { position: relative; padding: 36px 0 64px; }
.range-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.range-filter button {
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid #cfc7b2; background: #fff; color: var(--text);
}
.range-filter button:hover { border-color: var(--gold); }
.range-filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.range-group { margin-bottom: 40px; }
.range-group[hidden] { display: none; }
.group-title {
  font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800;
  border-left: 5px solid var(--gold); padding-left: 12px; margin-bottom: 4px;
}
.group-sub { margin: 0 0 18px 17px; color: var(--muted); font-size: .95rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start;
  background: #fff; border-radius: 12px; padding: 18px 18px 16px;
  border-left: 5px solid var(--gold);
  box-shadow: 0 2px 6px rgba(30, 25, 10, .06), 0 10px 24px rgba(30, 25, 10, .05);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(30, 25, 10, .08), 0 18px 32px rgba(30, 25, 10, .1); }
.card img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.card h4 { font-size: 1.05rem; font-weight: 800; margin: 2px 0 6px; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.tag { color: var(--gold-deep); font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.enquire {
  font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
  background: none; border: 0; padding: 0; color: var(--ink); border-bottom: 2px solid var(--gold);
}
.enquire:hover { color: var(--gold-deep); }
.standards, .delivery { border-radius: 12px; padding: 20px 24px; }
.standards { background: var(--cream-2); border: 1px solid #d8d0bc; margin-bottom: 16px; }
.delivery { background: var(--ink); color: var(--on-dark); }
.standards h3, .delivery h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; margin-bottom: 6px; }
.delivery h3 { color: var(--gold-light); }
.standards p, .delivery p { margin: 0; font-size: .92rem; }
.standards p { color: #4a4c50; }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); padding: 72px 0; border-left: 10px solid var(--gold); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: #fff; }
.contact-info > p { color: var(--on-dark-muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: var(--ink-2); border-radius: 10px; border-left: 4px solid var(--gold);
}
.contact-list span { width: 64px; color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-light); }

.enquiry { background: var(--ink-2); border: 1px solid rgba(201, 162, 58, .35); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry label { display: block; font-weight: 600; font-size: .9rem; color: var(--on-dark); }
.enquiry label b { color: var(--gold); }
.enquiry input, .enquiry select, .enquiry textarea {
  display: block; margin-top: 6px; font: inherit; font-size: 1rem; color: #fff; background: var(--ink); width: 100%;
  border: 1.5px solid #3a3d42; border-radius: 8px; padding: 11px 13px;
}
.enquiry textarea { resize: vertical; min-height: 120px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 58, .25); }
.enquiry select option, .enquiry select optgroup { background: var(--ink); color: #fff; }
.enquiry ::placeholder { color: #7d8086; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: .92rem; }
.form-status.ok { color: #9fd89a; }
.form-status.err { color: #ffb4a8; }
.form-status a { color: var(--gold-light); }

/* Footer */
.site-footer { background: #111214; color: var(--on-dark-muted); padding: 36px 0 28px; border-top: 2px solid var(--gold); }
.footer-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.footer-inner img { height: 64px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a { color: var(--gold-light); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.copy { margin: 0; font-size: .82rem; }
.copy a { color: var(--on-dark); }

/* Error pages (400.html ... 503.html) */
.error-body { min-height: 100vh; display: flex; flex-direction: column; }
.error-page {
  position: relative; overflow: hidden; flex: 1;
  display: flex; align-items: center;
  background: var(--ink); color: var(--on-dark);
  padding: 56px 0; border-left: 10px solid var(--gold);
}
.error-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.error-code {
  margin: 0 0 8px; font-size: clamp(5.5rem, 16vw, 10rem); font-weight: 800; line-height: .9; letter-spacing: -.03em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; color: #fff; }
.error-contact { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.error-contact a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.error-contact a:hover { text-decoration: underline; }
.error-art { display: flex; justify-content: center; }
.error-art img { width: min(400px, 100%); opacity: .9; transform: rotate(-8deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) grayscale(.15); }
.error-footer { padding: 20px 0; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 2px solid var(--gold); padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid #2c2f33; }
  .nav .btn { margin-top: 12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-fan { width: min(300px, 75%); }
  .about-grid { grid-template-columns: 1fr; }
  .range::before { display: none; }
  .error-grid { grid-template-columns: 1fr; }
  .error-art, .error-page .hero-ring { display: none; }
}
@media (max-width: 640px) {
  .hero, .about, .range-head, .contact, .error-page { border-left-width: 6px; }
  .brand img { height: 46px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .enquiry { padding: 20px; }
  .enquiry .row { grid-template-columns: 1fr; }
  .gold-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
