/* Simba Cements Kenya — mobile first, 360px baseline */

:root {
  --navy: #191F55;
  --midnight: #141A49;
  --blue: #174A9C;
  --red: #752D29;
  --slate: #6B7280;
  --white: #FFFFFF;
  --tint: #EEF2FA;
  --tint-2: #DCE4F3;
  --line: #D7DCE8;
  --ink: #1C2140;

  /* one aspect ratio per image slot — adjust to the real files when they arrive */
  --ar-hero: 10 / 8;
  --ar-card: 4 / 3;
  --ar-half: 4 / 3;
  --ar-product: 4 / 3;
  --ar-article: 16 / 9;
  --ar-blog: 16 / 9;

  --radius: 3px;
  --wrap: 72rem;
  --tapbar: 4rem;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--tapbar);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 800; }
h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0.6rem 0; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

.muted { color: var(--slate); font-size: 0.9375rem; }
.lede { font-size: 1.125rem; color: inherit; max-width: 62ch; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.75rem; font-weight: 700; color: var(--blue);
}
.section-navy .eyebrow, .cta-band .eyebrow { color: var(--tint-2); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.site-head :focus-visible, .site-foot :focus-visible, .section-navy :focus-visible,
.cta-band :focus-visible, .hero :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }

.skip {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 60;
  background: var(--white); color: var(--navy); font-weight: 700;
  padding: 0.75rem 1rem; border: 2px solid var(--navy); transition: top 0.15s;
}
.skip:focus { top: 0.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.15rem;
  font-weight: 700; font-size: 0.9375rem; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn-lg { min-height: 3rem; padding: 0.7rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: #64251f; border-color: #64251f; }
.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--midnight); border-color: var(--midnight); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--tint); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0.75rem; }
.btn-row.center { justify-content: center; }
.btn-label-short { display: none; }

/* paired buttons keep one line on small screens */
@media (max-width: 47.99rem) {
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
  .btn-row:has(> :nth-child(2):last-child) { flex-wrap: nowrap; gap: 0.625rem; }
  .btn-row:has(> :nth-child(2):last-child) .btn {
    flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden;
    min-height: 2.75rem; padding: 0.5rem 0.65rem; font-size: 0.875rem;
  }
  .btn-row:has(> :nth-child(2):last-child) .btn .icon { width: 1rem; height: 1rem; }
  .card-actions { flex-wrap: nowrap; }
  .card-actions .btn { white-space: nowrap; }
  .card-actions .btn-primary { flex: 1.4; }
}

.icon { width: 1.15rem; height: 1.15rem; flex: none; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.mark { width: 2rem; height: auto; }

/* ---------- header ---------- */
.site-head { background: var(--navy); color: var(--white); border-bottom: 4px solid var(--blue); position: relative; z-index: 40; }
.head-row { display: flex; align-items: center; gap: 0.75rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.05rem; margin-right: auto; }
.brand .mark { color: var(--tint-2); width: 1.9rem; }
.brand-name span { color: var(--tint-2); font-weight: 600; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  background: transparent; color: var(--white); border: 2px solid var(--tint-2);
  border-radius: var(--radius); padding: 0.4rem 0.8rem; font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.1rem; height: 2px; background: var(--white); position: relative;
}
.nav-toggle-bars::before { content: ""; position: absolute; top: -6px; }
.nav-toggle-bars::after { content: ""; position: absolute; top: 6px; }
.nav { display: none; }
.nav.nav-open {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--midnight); border-bottom: 4px solid var(--blue); padding: 0.5rem 1rem 1rem;
}
.nav a {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.7rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav a:last-child { border-bottom: 0; }
.nav a[aria-current="page"] { color: var(--tint-2); border-left: 4px solid var(--red); padding-left: 0.9rem; }
.head-actions { display: none; align-items: center; gap: 0.9rem; }
.head-phone { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-phone .icon { width: 0.95rem; height: 0.95rem; }
.btn-head { min-height: 2.5rem; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 2rem 0 2.5rem; }
.hero-grid { display: grid; gap: 1.75rem; }
.hero h1 { color: var(--white); font-size: 2.1rem; }
.hero .lede { color: var(--tint-2); }
.hero-note { font-size: 0.9rem; color: var(--tint-2); margin-top: 1rem; }
.hero-note a { color: var(--white); font-weight: 700; }
.media { overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-hero { aspect-ratio: var(--ar-hero); }

/* ---------- stats ---------- */
.stats { background: var(--midnight); color: var(--white); }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.25rem 1rem; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.stat:first-child, .stat:nth-child(3) { border-left: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.stat-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.8125rem; color: var(--tint-2); }

/* ---------- sections ---------- */
.section { padding: 2.75rem 0; }
.section-top { padding-top: 1.5rem; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { margin-bottom: 1.5rem; }
.section-head p { color: var(--slate); max-width: 60ch; }
.section-navy .section-head p { color: var(--tint-2); }
.section-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; white-space: nowrap; margin-top: 0.5rem; }
.section-link .icon { width: 1rem; height: 1rem; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 1.25rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: var(--ar-card); background: var(--tint-2); display: block; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.card-body h2, .card-body h3 { font-size: 1.125rem; }
.card-body h2 a, .card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body h2 a:hover, .card-body h3 a:hover { text-decoration: underline; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.9rem; }
.chip {
  flex: none; font-size: 0.75rem; font-weight: 700; color: var(--navy);
  background: var(--tint); border: 1px solid var(--tint-2); border-radius: 999px;
  padding: 0.15rem 0.7rem; white-space: nowrap;
}
.chip-lg { font-size: 0.875rem; padding: 0.3rem 0.9rem; }
.chip-sample { color: var(--red); background: #F7ECEA; border-color: #E4C8C5; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.step { border-top: 4px solid var(--blue); padding-top: 1rem; }
.step .mark { color: var(--blue); width: 1.6rem; margin-bottom: 0.5rem; }
.step h3 { margin-bottom: 0.25rem; }
.step p { color: var(--slate); }
.center-cta { text-align: center; margin-top: 2rem; }

/* ---------- split layouts ---------- */
.split { display: grid; gap: 1.75rem; }
.split-copy > h2 { margin-bottom: 0.5rem; }
.split-copy .btn { margin-top: 1rem; }
.row-list { list-style: none; padding: 0; }
.row-list li { border-top: 1px solid var(--line); padding: 1rem 0; }
.row-list li:first-child { border-top: 0; padding-top: 0; }
.row-list h3 { margin-bottom: 0.15rem; }
.row-list p { color: var(--slate); }
.section-navy .row-list li { border-color: rgba(255, 255, 255, 0.2); }
.section-navy .row-list p { color: var(--tint-2); }

.region-chips, .use-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.region-chips li {
  background: var(--midnight); color: var(--white); font-weight: 600; font-size: 0.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius); padding: 0.5rem 0.9rem;
}
.use-chips li {
  background: var(--white); color: var(--navy); font-weight: 600; font-size: 0.9375rem;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 0.9rem;
}

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery .media { aspect-ratio: 4 / 3; }
.aside-media { margin-bottom: 1.25rem; border-left: 4px solid var(--blue); }

.brand-strip { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.brand-strip img { width: 160px; height: auto; }
.brand-strip p { margin: 0; max-width: 34rem; color: var(--slate); font-size: 0.9375rem; }

.region-grid { display: grid; gap: 1rem; margin: 1.25rem 0; }
.region { border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 1rem 1.15rem; border-radius: var(--radius); }
.region p { color: var(--slate); margin-top: 0.25rem; }

.tick-list { list-style: none; padding: 0; }
.tick-list li { padding: 0.45rem 0 0.45rem 1.75rem; position: relative; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem;
  width: 0.9rem; height: 0.5rem;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.quote { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 1.25rem 1.35rem; border-radius: var(--radius); }
.quote p { font-size: 1.0625rem; margin-top: 0; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.quote-role { display: block; font-weight: 400; color: var(--slate); font-size: 0.8125rem; margin-top: 0.15rem; }

/* reviews marquee */
.marquee { --mgap: 1rem; overflow: hidden; margin-top: 1.5rem; border-block: 1px solid var(--line); padding-block: 1.25rem; }
.marquee-track { display: flex; gap: var(--mgap); width: max-content; animation: marquee 60s linear infinite; }
.marquee-track .quote { width: 17rem; flex-shrink: 0; display: flex; flex-direction: column; }
.marquee-track .quote p { flex: 1; font-size: 0.9375rem; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--mgap) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2.25rem 1rem 0;
  font-weight: 700; color: var(--navy); position: relative; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--blue);
}
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 2.25rem 1rem 0; margin: 0; color: var(--slate); }
.faq-wrap { max-width: 48rem; }

/* ---------- media slots ---------- */
.media-half { aspect-ratio: var(--ar-half); }
.media-product { aspect-ratio: var(--ar-product); }
.media-article { aspect-ratio: var(--ar-article); margin: 1.5rem 0; }
.split-media { align-items: center; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--white); }
.table th, .table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--navy); color: var(--white); font-size: 0.875rem; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: var(--tint); }

/* ---------- forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.section-tint .form { border-color: var(--tint-2); }
.form h2 { margin-bottom: 0.5rem; }
.form-row { display: grid; gap: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--navy); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); min-height: 2.75rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.err { color: var(--red); font-size: 0.875rem; font-weight: 600; margin-top: 0.3rem; }
.hint { color: var(--slate); font-size: 0.8125rem; margin-top: 0.3rem; }
.check-label { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check-label input { width: 1.25rem; height: 1.25rem; min-height: 0; margin-top: 0.15rem; flex: none; }
.hp { position: absolute; left: -9999px; top: -9999px; visibility: hidden; }
.form-alert {
  background: #F7ECEA; border: 1px solid #E4C8C5; border-left: 4px solid var(--red);
  color: var(--red); font-weight: 600; padding: 0.8rem 1rem; border-radius: var(--radius); margin-bottom: 1rem;
}
.form-note { font-size: 0.9rem; color: var(--slate); margin-top: 1rem; text-align: center; }
.form-split { display: grid; gap: 1.75rem; align-items: start; }
.form-aside { border-left: 4px solid var(--blue); padding-left: 1.25rem; }
.form-aside h2 { font-size: 1.0625rem; margin-top: 1.5rem; }
.form-aside h2:first-child { margin-top: 0; }
.form-aside p { color: var(--slate); font-size: 0.9375rem; }
.aside-steps { padding-left: 1.25rem; color: var(--slate); font-size: 0.9375rem; }
.aside-steps li { margin-bottom: 0.5rem; }

/* ---------- page head / crumbs ---------- */
.page-head { background: var(--navy); color: var(--white); padding: 2rem 0; position: relative; overflow: hidden; }
.page-head h1 { color: var(--white); }
.page-head .lede { color: var(--tint-2); }
.page-head .eyebrow { color: var(--tint-2); }
.page-head-img::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero); background-size: cover; background-position: center;
  opacity: 0.3;
}
.page-head-img .wrap { position: relative; }
.crumbs { padding-top: 1rem; font-size: 0.875rem; color: var(--slate); }
.crumbs a { color: var(--blue); }
.crumbs span { margin: 0 0.4rem; }
.crumbs span[aria-current] { color: var(--slate); margin: 0; }
.crumbs span[aria-hidden] { margin: 0 0.4rem; }

/* ---------- contact cards ---------- */
.contact-cards { display: grid; gap: 0.9rem; }
.contact-grid { display: grid; gap: 1.75rem; align-items: start; }
.contact-card {
  display: flex; flex-direction: column; gap: 0.15rem;
  border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 1rem 1.15rem; text-decoration: none; color: var(--ink);
}
a.contact-card:hover { background: var(--tint); }
.contact-card .icon-lg, .contact-card .mark { color: var(--blue); width: 1.5rem; margin-bottom: 0.4rem; }
.contact-card span { font-size: 0.8125rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-card b { color: var(--navy); font-size: 1.0625rem; }
.contact-card-slot { border-left-color: var(--line); border-style: dashed; }
.contact-card-slot b { color: var(--slate); }
.contact-card-cta { border-left-color: var(--red); background: var(--navy); }
.contact-card-cta .mark, .contact-card-cta b { color: var(--white); }
.contact-card-cta span { color: var(--tint-2); }
.contact-card-cta:hover { background: var(--midnight); }

/* ---------- article ---------- */
.article { max-width: 46rem; }
.article-head h1 { margin: 0.25rem 0 0.5rem; }
.article-body { max-width: 70ch; }
.article-body p { margin: 1rem 0; }
.article-body h2 { margin-top: 2rem; }
.article-cta { background: var(--tint); border-left: 4px solid var(--blue); padding: 1.5rem; border-radius: var(--radius); margin: 2rem 0 3rem; }
.policy h2 { margin-top: 2rem; }

/* ---------- values / testimonials ---------- */
.value-grid { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.value { border-top: 3px solid var(--tint-2); padding-top: 1rem; }
.value p { color: var(--tint-2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--midnight); color: var(--white); padding: 2.75rem 0; }
.cta-inner { display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--tint-2); }

/* ---------- footer ---------- */
.site-foot { background: var(--midnight); color: var(--tint-2); padding: 2.5rem 0 1.5rem; border-top: 4px solid var(--blue); }
.foot-grid { display: grid; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.brand-foot { margin-bottom: 0.75rem; }
.foot-brand p { color: var(--tint-2); font-size: 0.9375rem; max-width: 30ch; }
.foot-line { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.foot-slot { color: var(--slate); font-style: italic; }
.foot-col h2 { color: var(--white); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.foot-col a, .foot-col span.foot-slot {
  display: flex; align-items: center; gap: 0.45rem;
  color: var(--tint-2); text-decoration: none; padding: 0.3rem 0; font-size: 0.9375rem;
}
.foot-col a:hover { color: var(--white); text-decoration: underline; }
.foot-col .icon { width: 1rem; height: 1rem; }
.foot-col .btn { margin-top: 0.75rem; }
.foot-base { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; padding-top: 1.25rem; font-size: 0.875rem; }
.foot-base a { color: var(--tint-2); }

/* ---------- floating actions + sticky bar ---------- */
.float-actions { position: fixed; right: 0.85rem; bottom: calc(var(--tapbar) + 0.75rem); display: flex; flex-direction: column; gap: 0.6rem; z-index: 45; }
.float-btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); border: 2px solid var(--white);
}
.float-btn .icon { width: 1.4rem; height: 1.4rem; }
.float-wa { background: var(--blue); }
.float-call { background: var(--red); }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
  display: flex; gap: 0.6rem; padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--midnight); border-top: 2px solid var(--blue);
}
.sticky-cta .btn { flex: 1; min-height: 2.85rem; }
.sticky-cta .btn-dark { background: transparent; border-color: var(--white); }

/* ---------- misc ---------- */
.empty { padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--slate); }
.notfound { text-align: center; padding: 2rem 0 4rem; }
.notfound .mark { width: 3rem; color: var(--blue); margin: 0 auto 1rem; }
.thanks { max-width: 46rem; }
.thanks-box { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 2rem 1.5rem; }
.ref { font-size: 1.125rem; }
.ref strong { color: var(--navy); }
.status { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--slate); }
.status-new { color: var(--red); border-color: #E4C8C5; background: #F7ECEA; }
.status-contacted, .status-quoted { color: var(--navy); border-color: var(--tint-2); background: var(--tint); }
.status-won { color: var(--blue); border-color: var(--blue); }
.status-closed { color: var(--slate); }
.flash {
  background: var(--tint); border-left: 4px solid var(--blue); color: var(--navy);
  font-weight: 600; padding: 0.8rem 1rem; border-radius: var(--radius); margin: 1rem 0;
}

/* ---------- admin ---------- */
.admin { padding-bottom: 0; }
.admin-main { padding: 2rem 0 4rem; }
.admin-head .head-row { flex-wrap: wrap; padding: 0.5rem 0; }
.admin-nav { display: flex; flex-wrap: wrap; flex-basis: 100%; order: 3; }
.admin-head .head-actions { display: flex; gap: 0.5rem; }
.admin-nav a { padding: 0.4rem 0.7rem; font-size: 0.875rem; border-bottom: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.5rem; }
.filter-bar select { font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: var(--radius); min-height: 2.75rem; }
.enquiry-list { display: grid; gap: 1.25rem; }
.enquiry { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.enquiry-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; align-items: center; margin-bottom: 0.75rem; }
.enquiry-head > div { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.enquiry-fields { display: grid; gap: 0.35rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); margin-bottom: 1rem; }
.enquiry-fields dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); font-weight: 600; }
.enquiry-fields dd { margin: 0; }
.enquiry-admin { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.enquiry-admin label { font-size: 0.8125rem; font-weight: 600; color: var(--slate); display: flex; flex-direction: column; gap: 0.2rem; }
.enquiry-admin select, .enquiry-admin input { font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: var(--radius); min-height: 2.5rem; }
.enquiry-admin .grow { flex: 1; min-width: 12rem; }
.enquiry-actions { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.cell-actions { white-space: nowrap; }
.cell-actions form { display: inline; }
.cell-actions .btn { min-height: 2.25rem; padding: 0.3rem 0.8rem; font-size: 0.8125rem; margin-left: 0.4rem; }
.faq-edit { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.faq-edit .field:last-child { margin-bottom: 0; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--tint); padding-bottom: 0; }
.login-box { width: 100%; max-width: 24rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 2rem 1.5rem; margin: 1rem; }
.login-box .brand { color: var(--navy); margin-bottom: 1rem; }
.login-box .brand .mark { color: var(--blue); }
.login-box .brand-name span { color: var(--slate); }
.login-box h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.admin .site-head { border-bottom-color: var(--red); }
.admin-stats { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); margin: 1.5rem 0 2rem; }
.admin-stats .stat { border-left-color: var(--line); }
.admin-stats .stat:first-child { border-left: 0; }
.admin-stats .stat:nth-child(3) { border-left: 1px solid var(--line); }
.admin-stats .stat:nth-child(-n+2) { border-bottom: 0; }
.admin-stats .stat-value { color: var(--navy); }
.admin-stats .stat-label { color: var(--slate); }
.spec-list { margin: 1rem 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.55rem 0; }
.spec-list dt { font-weight: 600; color: var(--slate); }
.spec-list dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; }

/* ---------- 640px+ ---------- */
@media (min-width: 40rem) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 2.4rem; }
  .hero h1 { font-size: 2.6rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0 !important; border-left: 1px solid rgba(255, 255, 255, 0.15); }
  .stat:first-child { border-left: 0; }
  .admin-stats .stat { border-left-color: var(--line); }
  .admin-stats .stat:nth-child(-n+2) { border-bottom: 0; }
  .admin-stats .stat:nth-child(3) { border-left: 1px solid var(--line); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .marquee { --mgap: 1.25rem; padding-block: 1.5rem; }
  .marquee-track { animation-duration: 75s; }
  .marquee-track .quote { width: 20rem; }
  .marquee-track .quote p { font-size: 1rem; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 900px+ ---------- */
@media (min-width: 56.25rem) {
  body { padding-bottom: 0; }
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; }
  .nav a { border-bottom: 0; padding: 0.5rem 0.7rem; border-radius: var(--radius); }
  .nav a:hover { background: rgba(255, 255, 255, 0.1); }
  .nav a[aria-current="page"] { border-left: 0; border-bottom: 3px solid var(--red); padding-bottom: calc(0.5rem - 3px); border-radius: 0; background: transparent; }
  .head-actions { display: flex; }
  .admin-nav { flex-basis: auto; order: 0; }
  .hero { padding: 3.5rem 0; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
  .section { padding: 3.75rem 0; }
  .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
  .section-link { margin-top: 0; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .split { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
  .split-media { grid-template-columns: 1fr 1fr; }
  .region-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .page-head { padding: 3rem 0; }
  .form { padding: 2rem; }
  .form-split { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 3rem; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .cta-inner { grid-template-columns: 1.3fr auto; }
  .sticky-cta { display: none; }
  .float-actions { bottom: 1.5rem; }
  .article { padding-top: 0.5rem; }
  .page-head { padding: 2.75rem 0; }
}

/* ---------- 1200px+ ---------- */
@media (min-width: 75rem) {
  .wrap { padding-inline: 1.5rem; }
  h1 { font-size: 2.7rem; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 4.5rem 0; }
}

/* ---------- 1440px+ ---------- */
@media (min-width: 90rem) {
  :root { --wrap: 76rem; }
  body { font-size: 1.125rem; }
}

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