/* ============================================================
   ColourCraft Print — site.css
   One stylesheet for every page. Change it here, it changes
   everywhere. Do not paste styles into individual pages.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:   #1C3A2B;   /* brand green — ink, not slabs */
  --forest-d: #132A1F;
  --sage:     #3D6B50;
  --cyan:     #0682B0;   /* darkened from #00AEEF so links pass contrast on paper */
  --cyan-d:   #056A90;
  --brand-cyan:#00AEEF;  /* the original — logo and accents only, never small text */
  --paper:    #F7F4EF;
  --white:    #FFFFFF;
  --rule:     #DFD9CE;
  --rule-d:   #C8C0B1;
  --ink:      #23261F;
  --ink-mid:  #56594F;
  --ink-soft: #7E8177;
  --fill-bg:  #FBF2D8;
  --fill-ln:  #C9A227;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap      { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ───────────────────────────────────────────────── */
nav { background: var(--forest); padding: 0 24px; position: relative; }
.nav-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 19px; font-weight: 700; color: #fff; line-height: 1.1;
}
.nav-logo-sub {
  display: block; font-size: 10.5px; font-weight: 400;
  color: rgba(255,255,255,.55); letter-spacing: .1em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.8); text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; text-decoration: underline; }
.nav-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav-phone {
  color: #fff !important; font-variant-numeric: tabular-nums; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.35); padding: 6px 13px; border-radius: 3px;
}
.nav-phone:hover { background: rgba(255,255,255,.1); text-decoration: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 21px; height: 2px; background: #fff; margin: 5px 0; }

/* ── TYPE ──────────────────────────────────────────────── */
.crumb { font-size: 13.5px; color: var(--ink-soft); padding: 20px 0 0; }
.crumb a { color: var(--ink-mid); }

h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700; font-size: clamp(2.1rem, 5.5vw, 2.9rem);
  line-height: 1.06; color: var(--forest);
  margin: 14px 0 0; text-wrap: balance;
}
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-mid); margin: 14px 0 0; max-width: 60ch; }

h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700; font-size: 1.72rem; line-height: 1.14;
  color: var(--forest); margin: 46px 0 12px; text-wrap: balance;
}
h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin: 26px 0 4px; }

p { margin: 0 0 15px; }
a { color: var(--cyan); text-underline-offset: 2px; }
a:hover { color: var(--cyan-d); }
strong { font-weight: 700; }

ul, ol { margin: 0 0 16px; padding-left: 21px; }
li { margin-bottom: 8px; }
li::marker { color: var(--sage); }

/* ── IMAGES ────────────────────────────────────────────── */
figure { margin: 28px 0; }
figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 2px; }
figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 7px; line-height: 1.5; }

/* upright (portrait) photos — cap the height so they don't run the page away */
figure.tall img { width: auto; max-width: 100%; max-height: 620px; margin: 0 auto; }

/* two photos side by side */
figure.pair { display: flex; gap: 12px; flex-wrap: wrap; }
figure.pair img { flex: 1 1 200px; min-width: 0; width: auto; max-height: 560px; object-fit: contain; }
figure.pair figcaption { flex: 1 0 100%; }

/* plain facts strip — used where a photo would otherwise sit */
.facts {
  list-style: none; margin: 28px 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.facts li {
  margin: 0; padding: 16px 18px 16px 0; font-size: 14.5px; line-height: 1.45;
  color: var(--ink-soft);
}
.facts li + li { border-left: 1px solid var(--rule); padding-left: 18px; }
.facts b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 3px; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* photo placeholder — delete the whole .ph div once the real photo is in */
.ph {
  border: 1.5px dashed var(--rule-d);
  background: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(0,0,0,.02) 9px, rgba(0,0,0,.02) 18px);
  border-radius: 2px; padding: 34px 20px; text-align: center;
  color: var(--ink-soft); font-size: 13.5px; line-height: 1.6;
}
.ph b { display: block; color: var(--ink-mid); font-size: 14.5px; margin-bottom: 3px; }
.ph code { font-size: 12.5px; background: rgba(0,0,0,.05); padding: 1px 5px; border-radius: 2px; }

/* ── FILL-IN MARKER — every one of these is a fact only Kevin knows ── */
.fill { background: var(--fill-bg); border-bottom: 1px dashed var(--fill-ln); padding: 0 3px; }

/* ── STRAIGHT-TALK BOX ─────────────────────────────────── */
.straight {
  background: var(--white); border: 1px solid var(--rule);
  border-left: 3px solid var(--sage); border-radius: 2px;
  padding: 20px 22px; margin: 30px 0;
}
.straight h3 { margin-top: 0; }
.straight p:last-child { margin-bottom: 0; }

/* ── SPEC LIST (reads like a job sheet) ────────────────── */
.specs { border-top: 1px solid var(--rule-d); margin: 20px 0 26px; }
.specs > div {
  display: grid; grid-template-columns: 190px 1fr; gap: 4px 20px;
  padding: 11px 0; border-bottom: 1px solid var(--rule);
}
.specs dt { font-weight: 700; font-size: 16px; }
.specs dd { color: var(--ink-mid); font-size: 16.5px; }

/* ── NUMBERED STEPS ────────────────────────────────────── */
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; padding-left: 40px; position: relative; margin-bottom: 16px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--forest); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── PRODUCT INDEX (home + hub pages) ──────────────────── */
.plist { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--rule-d); }
.plist li { margin: 0; border-bottom: 1px solid var(--rule); }
.plist a {
  display: block; padding: 16px 0; text-decoration: none; color: var(--ink);
}
.plist a:hover { background: rgba(28,58,43,.03); }
.plist .pname {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 1.32rem; font-weight: 700; color: var(--forest); line-height: 1.15;
}
.plist a:hover .pname { color: var(--cyan-d); }
.plist .pdesc { font-size: 16px; color: var(--ink-mid); margin-top: 2px; display: block; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { margin: 20px 0 0; border-top: 1px solid var(--rule-d); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; padding: 13px 0; font-weight: 700; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sage); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 14px; color: var(--ink-mid); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ── CONTACT BLOCK ─────────────────────────────────────── */
.talk { border-top: 2px solid var(--forest); margin-top: 46px; padding-top: 22px; }
.talk h2 { margin-top: 0; }
.talk .who { margin: 10px 0 0; font-size: 18px; }
.talk .who a { font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; }
.talk .who a:hover { text-decoration: underline; }
.talk .addr { font-size: 15.5px; color: var(--ink-mid); margin-top: 14px; }

.btn {
  display: inline-block; background: var(--cyan); color: #fff; font-weight: 700;
  font-size: 16px; padding: 11px 24px; border-radius: 3px; text-decoration: none;
  margin-top: 16px; border: none; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--cyan-d); color: #fff; }

/* ── RELATED ───────────────────────────────────────────── */
.related { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule-d); }
.related p { font-size: 15px; color: var(--ink-mid); margin-bottom: 8px; }
.related a { margin-right: 18px; font-weight: 600; font-size: 15.5px; white-space: nowrap; line-height: 2; }

/* ── FORM ──────────────────────────────────────────────── */
.form { margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { display: flex; flex-direction: column; gap: 5px; }
.f-group label { font-size: 14.5px; font-weight: 700; }
.f-group .hint { font-size: 13.5px; color: var(--ink-soft); font-weight: 400; }
.f-group input, .f-group select, .f-group textarea {
  font-family: inherit; font-size: 16.5px; padding: 10px 12px;
  border: 1px solid var(--rule-d); border-radius: 3px;
  background: var(--white); color: var(--ink); width: 100%;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan);
}
.f-group textarea { min-height: 120px; resize: vertical; }
.f-err { background: #F7E6E0; border-left: 3px solid #A63A20; padding: 12px 16px; border-radius: 2px; font-size: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  margin-top: 56px; background: var(--forest-d); color: rgba(255,255,255,.5);
  font-size: 13.5px; padding: 24px; text-align: center; line-height: 1.75;
}
footer a { color: rgba(255,255,255,.72); }
footer .fnav { margin-bottom: 10px; }
footer .fnav a { margin: 0 9px; white-space: nowrap; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ── WHATSAPP FLOAT ────────────────────────────────────── */
.wa {
  position: fixed; bottom: 18px; right: 18px; z-index: 900;
  display: flex; align-items: center; gap: 9px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 11px 17px; border-radius: 26px; font-weight: 700; font-size: 15px;
  box-shadow: 0 3px 12px rgba(0,0,0,.22);
}
.wa:hover { background: #1EBE5A; color: #fff; }
.wa svg { width: 21px; height: 21px; flex: none; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--forest); flex-direction: column; align-items: flex-start;
    padding: 14px 24px 20px; gap: 14px; z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .lede { font-size: 18.5px; }
  .specs > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .f-row { grid-template-columns: 1fr; }
  .wa span { display: none; }
  .wa { padding: 13px; border-radius: 50%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
