/* Kentek Solutions Limited — site stylesheet
   Palette roles: blue = brand/structure, red = action, yellow = small accent,
   deep blue = dark blocks/secondary text, light blue = section bands. */

:root {
  --blue: #217FB2;
  --blue-deep: #2F668F;
  --blue-light: #B8DDF0;
  --blue-mist: #EDF6FB;
  --red: #DA100F;
  --red-dark: #B81414;
  --yellow: #FAB90C;
  --ink: #16232C;
  --muted: #2F668F;
  --line: #C7DCE9;
  --paper: #FFFFFF;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --wrap-narrow: 46rem;
  --gutter: 1rem;
  --radius: 6px;
  /* image-slot aspect ratios — one variable each, adjust when real photos arrive */
  --ratio-hero: 4 / 3;
  --ratio-tile: 16 / 10;
  --ratio-office: 3 / 2;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 1.1rem + 4.5vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 1rem + 2.2vw, 1.9rem); letter-spacing: -.005em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; }
code { font-size: .875em; background: var(--blue-mist); padding: .1em .35em; border-radius: 4px; }

:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .65rem 1rem; border-radius: 0 0 var(--radius) var(--radius);
}
.skip:focus { top: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.measure { max-width: 68ch; }

.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.ic-y { color: var(--blue); }
.sec--dark .ic-y, .trust .ic-y { color: var(--yellow); }
.tick-list .ic-y { color: var(--blue); }

/* Signature element: the letterhead's red-over-blue double line */
.rule { display: block; border-top: 3px solid var(--blue); border-bottom: 3px solid var(--red); }
.rule--short { width: 3.5rem; margin: .35rem 0 0; }

/* ------------------------------------------------------------------ header */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
}
.head-in {
  display: flex; align-items: center; gap: .75rem;
  min-height: 4rem; padding-block: .4rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-logo { display: none; height: 48px; width: auto; max-width: 62vw; object-fit: contain; object-position: left center; }
.brand--img .brand-logo { display: block; }
.brand--img .brand-mark, .brand--img .brand-word { display: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: .98rem; letter-spacing: .04em; color: var(--blue); }
.brand-ltd { font-weight: 600; font-size: .68rem; letter-spacing: .34em; color: var(--red); }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); cursor: pointer;
}
.nav-toggle .ic { width: 1.5rem; height: 1.5rem; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

.site-nav { display: none; }
html.js .site-nav.open { display: block; }
html:not(.js) .site-nav { display: block; }
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: .5rem var(--gutter) 1rem;
}
html:not(.js) .site-nav { position: static; }
.site-nav ul li a {
  display: flex; align-items: center; min-height: 44px;
  padding: .5rem .25rem; color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--blue-mist);
}
.site-nav ul li a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.head-cta { display: grid; gap: .6rem; padding-top: .75rem; }
.head-phone {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.head-phone:hover { color: var(--blue); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.15rem;
  border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem;
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
}
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-mist); color: var(--blue-deep); border-color: var(--blue-deep); }
.btn--wa { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--wa:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn--danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: .4rem .85rem; font-size: .9rem; }

.more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--blue);
}
.more .ic { transition: transform .15s ease; }
.more:hover .ic { transform: translateX(3px); }

/* ------------------------------------------------------------------- hero */

.hero { background: var(--blue-mist); padding: 2.25rem 0 2.75rem; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 2rem; align-items: center; }
.eyebrow {
  margin: 0 0 .5rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.lede { font-size: clamp(1.05rem, .95rem + .6vw, 1.25rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.hero-actions .btn { flex: 1 1 auto; }

/* image placeholder slots — flat colour + ribbon mark until real photos arrive */
.ph {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3);
  background-color: #DCEBF5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M6 34c8-16 14-24 18-24s4 8 0 14c-3 5-8 9-18 10z' fill='%23B8DDF0'/%3E%3Cpath d='M42 14c-8 16-14 24-18 24s-4-8 0-14c3-5 8-9 18-10z' fill='%23B8DDF0'/%3E%3Ccircle cx='24' cy='24' r='4' fill='%23FAB90C'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 4.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-tag {
  display: none; position: absolute; left: 0; right: 0; bottom: 0;
  padding: .45rem .7rem; font-size: .72rem; line-height: 1.35;
  color: var(--blue-deep); background: var(--paper); border-top: 1px solid var(--line);
}
.ph--empty .ph-tag { display: block; }
.ph--empty img { display: none; }
.ph--hero { background-size: 6rem; }

/* ---------------------------------------------------------------- sections */

.sec { padding: 2.75rem 0; }
.sec--mist { background: var(--blue-mist); }
.sec--band { background: var(--blue-light); }
.sec--dark { background: var(--blue-deep); }
.sec--dark h2, .sec--dark h3, .sec--dark p { color: #fff; }
.sec--dark .lede, .sec--dark .sec-head p { color: var(--blue-light); }

.sec-head { margin-bottom: 1.75rem; }
.sec-head p { color: var(--muted); }
.sec-head--dark p { color: var(--blue-light); }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }

.trust { border-bottom: 1px solid var(--line); }
.trust-in {
  display: flex; flex-wrap: wrap; gap: .25rem 2rem; padding-block: .8rem;
}
.trust p { display: flex; align-items: center; gap: .55rem; margin: 0; font-weight: 600; font-size: .95rem; }
.trust .ic { color: var(--blue); width: 1.1rem; height: 1.1rem; }

/* service cards */
.svc-grid { display: grid; gap: 1rem; }
.svc-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; background: var(--paper);
  display: flex; flex-direction: column; gap: .35rem;
}
.svc-card:hover { border-color: var(--blue); }
.svc-ic {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  background: var(--blue-mist); border-radius: var(--radius); color: var(--blue);
  margin-bottom: .4rem;
}
.svc-ic svg { width: 1.6rem; height: 1.6rem; }
.svc-card h2, .svc-card h3 { margin: 0; font-size: 1.15rem; }
.svc-card h2 a, .svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h2 a:hover, .svc-card h3 a:hover { color: var(--blue); }
.svc-card p { margin: 0 0 .5rem; color: var(--muted); font-size: .96rem; }
.svc-card .more { margin-top: auto; font-size: .92rem; }
.mini-list { margin: .25rem 0 .75rem; font-size: .92rem; color: var(--muted); }
.mini-list li { padding-left: 1rem; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; background: var(--yellow); border-radius: 1px; }

/* how we work (dark) */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.steps li {
  border-top: 2px solid var(--yellow); padding-top: 1rem;
}
.steps h3 { margin: .5rem 0 .4rem; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .94rem; color: var(--blue-light); }
.step-tick {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  background: var(--yellow); color: var(--ink); border-radius: var(--radius);
}
.step-tick .ic { width: 1.2rem; height: 1.2rem; }

/* split layout (products strip / about) */
.split { display: grid; gap: 2rem; align-items: start; }
.split-copy p { color: var(--muted); }
.split-copy .btn { margin-top: .5rem; }
.prod-strip { display: grid; gap: 0; border-top: 1px solid var(--line); }
.prod-strip li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.prod-strip h3 { margin: 0 0 .2rem; }
.prod-strip p { margin: 0 0 .4rem; color: var(--muted); font-size: .95rem; }

/* industries */
.ind-grid { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.ind-grid li { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.ind-grid li:last-child { border-bottom: 0; }
.ind-grid h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--blue-deep); }
.ind-grid p { margin: 0; font-size: .94rem; color: var(--muted); }

/* projects */
.proj-grid { display: grid; gap: 1.25rem; }
.proj-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.proj-card .ph { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.proj-body { padding: 1rem 1.15rem 1.2rem; }
.proj-body h2, .proj-body h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.proj-body p { margin: 0; font-size: .93rem; color: var(--muted); }
.proj-type { font-size: .78rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red) !important; margin-bottom: .3rem !important; }

/* products page */
.prod-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.prod-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.prod-item > div { flex: 1 1 16rem; }
.prod-item h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.prod-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.prod-item .btn { flex: none; }

.chip {
  display: inline-block; margin-top: .5rem; padding: .15rem .55rem;
  font-size: .72rem; font-weight: 600; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.chip--note { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip--new { background: var(--blue); border-color: var(--blue); color: #fff; }

/* quote section / forms */
.quote-grid { display: grid; gap: 2rem; }
.quote-grid > div > p { color: var(--ink); }
.tick-list li { display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .55rem; font-size: .97rem; }
.tick-list .ic { margin-top: .2rem; }

.qform {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.frow { display: grid; gap: 1rem; margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.frow .field { margin-bottom: 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field label i { color: var(--red); font-style: normal; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: .6rem .75rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #9FBACB; border-radius: var(--radius);
}
.field textarea { min-height: 0; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: none;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--blue-deep); outline-offset: 1px;
}
.field [aria-invalid="true"] { border-color: var(--red); }
.err { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 600; color: var(--red); }
.err--box { padding: .7rem .9rem; border: 1px solid var(--red); border-radius: var(--radius); background: #FBEBEB; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: .85rem 0 0; font-size: .82rem; color: var(--muted); }
.qform .btn--block { margin-top: .25rem; }

/* faq */
.faq { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; background: var(--paper); }
.faq summary {
  cursor: pointer; padding: .95rem 1.1rem; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 44px;
}
.faq summary::after {
  content: "+"; flex: none; font-size: 1.3rem; font-weight: 400; color: var(--blue);
}
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 1.1rem 1rem; margin: 0; color: var(--muted); }

/* page head, crumbs, notes */
.page-head { background: var(--blue-mist); border-bottom: 1px solid var(--line); padding: 2.5rem 0 2.75rem; }
.page-head .lede { margin-bottom: 0; }
.crumbs { font-size: .85rem; margin-bottom: .9rem; color: var(--muted); }
.crumbs a { color: var(--blue-deep); }
.crumbs span[aria-hidden] { margin: 0 .45rem; color: var(--blue-light); }
.note { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--yellow); padding-left: .7rem; }
.note-block { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 1rem; }
.note-block h3 { font-size: 1rem; margin-bottom: .3rem; }
.note-block p { margin: 0 0 .5rem; font-size: .95rem; color: var(--muted); }
.note-block p:last-child { margin-bottom: 0; }

/* service detail layout */
.svc-layout { display: grid; gap: 2rem; padding-block: 2.5rem; }
.svc-block { margin-bottom: 2.25rem; }
.check-grid { display: grid; gap: .6rem; }
.check-grid li { display: flex; gap: .6rem; align-items: flex-start; }
.check-grid .ic { margin-top: .25rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li {
  padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9rem; color: var(--blue-deep); background: var(--blue-mist);
}
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.side-card h2 { font-size: 1.05rem; }
.side-card p { font-size: .9rem; color: var(--muted); }
.side-line {
  display: flex; align-items: center; gap: .6rem; padding: .45rem 0;
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.side-line .ic { color: var(--blue); }
.side-card .btn { margin-top: .75rem; }
.side-links li a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  min-height: 44px; padding: .5rem 0; border-bottom: 1px solid var(--blue-mist);
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600;
}
.side-links li:last-child a { border-bottom: 0; }
.side-links .ic { color: var(--blue); }

/* contact page */
.contact-grid { display: grid; gap: 2rem; }
.contact-info { display: grid; gap: 1.25rem; align-content: start; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.info-card h2 { font-size: 1.05rem; }
.info-line {
  display: flex; align-items: flex-start; gap: .7rem; padding: .5rem 0;
  color: var(--ink); text-decoration: none;
}
a.info-line:hover { color: var(--blue); }
.info-line .ic { color: var(--blue); margin-top: .3rem; }
.info-line strong { display: block; }
.info-line span { font-size: .95rem; line-height: 1.45; color: var(--muted); }
.info-line span strong { color: var(--ink); font-size: 1rem; }

/* cta band */
.cta-band { display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; color: var(--ink); }
.cta-band .btn { justify-self: start; }

/* facts (about) */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 0; }
.fact { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.fact dd { margin: .15rem 0 0; font-size: 1rem; }

/* prose (legal) */
.prose h2 { font-size: 1.3rem; margin-top: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }

.lost-list { margin-bottom: 1.5rem; }
.lost-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.lost-list a { font-weight: 600; }

/* notices */
.notice { padding: .85rem 0; }
.notice--ok { background: var(--blue-mist); border-bottom: 2px solid var(--blue); }
.notice--ok strong { color: var(--blue-deep); }
.notice p, .notice div { margin: 0; }

.empty { color: var(--muted); }
.empty--block {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 2rem; text-align: center;
}

/* ------------------------------------------------------------------- footer */

.site-foot { background: var(--blue-deep); color: #fff; }
.foot-grid { display: grid; gap: 2rem; padding-block: 2.75rem 2rem; }
.foot-brand p { color: var(--blue-light); font-size: .95rem; margin-bottom: .5rem; }
.foot-tag { font-weight: 600; color: #fff !important; }
.brand--foot .brand-name { color: #fff; }
.brand--foot .brand-ltd { color: var(--yellow); }
.foot-col h2 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.foot-col ul li { margin-bottom: .15rem; }
.foot-col a {
  display: inline-flex; align-items: center; min-height: 34px;
  color: var(--blue-light); text-decoration: none; font-size: .95rem;
}
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { color: var(--blue-light); font-size: .95rem; padding: .15rem 0; }
.foot-hours { font-size: .85rem !important; opacity: .9; }
.foot-social { display: flex; gap: 1rem; margin-top: .75rem; }
.foot-bar { border-top: 1px solid rgba(184, 221, 240, .35); background: #265775; }
.foot-bar-in {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  padding-block: 1rem; font-size: .85rem;
}
.foot-bar p { margin: 0; color: var(--blue-light); }
.foot-bar a { color: #fff; }

/* floating contact stack — thumb reach on phones */
.float-stack {
  position: fixed; right: .9rem; bottom: calc(.9rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: .65rem; z-index: 90;
}
.float {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; text-decoration: none;
  border: 2px solid #fff;
}
.float .ic { width: 1.35rem; height: 1.35rem; }
.float--wa { background: var(--blue); }
.float--wa:hover { background: var(--blue-deep); color: #fff; }
.float--call { background: var(--red); }
.float--call:hover { background: var(--red-dark); color: #fff; }

/* -------------------------------------------------------------------- admin */

.admin { background: var(--blue-mist); min-height: 100vh; }
.admin-head { background: var(--paper); position: sticky; top: 0; z-index: 50; }
.admin-head-in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: .6rem; }
.admin-brand {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 700;
  color: var(--ink); text-decoration: none; min-height: 44px;
}
.admin-mark { width: 1.9rem; height: 1.9rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0 .25rem; margin-left: auto; }
.admin-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .65rem;
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600;
  border-radius: var(--radius);
}
.admin-nav a:hover { background: var(--blue-mist); color: var(--blue); }
.admin-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.admin-main { padding-block: 2rem 4rem; }
.admin-main h1 { margin-bottom: 1.25rem; }
.dim { color: var(--muted); font-size: .9rem; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 2rem; }
.stat-grid li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.15rem; font-size: .9rem; color: var(--muted);
}
.stat-grid strong { display: block; font-size: 1.6rem; color: var(--ink); }

.admin-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.admin-block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.admin-block-head h1, .admin-block-head h2 { margin: 0; }
.admin-links li a { display: block; padding: .55rem 0; min-height: 44px; }

.admin-list { display: grid; }
.admin-list > li {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.admin-list > li:last-child { border-bottom: 0; }
.admin-list > li > div:first-child { flex: 1 1 16rem; }
.admin-list p { margin: .15rem 0 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.row-actions form { display: inline; }

.quote-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.quote-table { display: grid; gap: 1rem; }
.quote-row {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.quote-row--new { border-left: 4px solid var(--blue); }
.quote-row-top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.quote-meta { font-size: .88rem; color: var(--muted); margin: .3rem 0; }
.quote-msg { margin: .5rem 0; font-size: .95rem; }
.quote-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.quote-actions form { display: inline; }

.admin-form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); padding: 1.25rem; margin: 0 0 1.25rem;
}
.admin-form legend { font-weight: 700; padding: 0 .5rem; }
.admin-form .field input, .admin-form .field select, .admin-form .field textarea { background: #fff; }
.field--check label { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 600; }
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.login-card {
  width: 100%; max-width: 24rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
}
.login-card .admin-mark { width: 2.75rem; height: 2.75rem; }
.login-card h1 { font-size: 1.4rem; margin: .75rem 0 1.25rem; }
.login-back { margin: 1rem 0 0; text-align: center; font-size: .9rem; }

/* --------------------------------------------------------------- breakpoint
   640px — small tablets */
@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .frow { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid li { border-right: 1px solid var(--line); }
  .ind-grid li:nth-child(2n) { border-right: 0; }
  .ind-grid li:nth-last-child(-n+2) { border-bottom: 0; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; }
  .cta-band .btn { justify-self: end; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* 960px — laptops */
@media (min-width: 60rem) {
  body { font-size: 1.0625rem; }
  .head-in { min-height: 4.75rem; }
  .nav-toggle { display: none; }
  html.js .site-nav.open, .site-nav {
    display: flex; position: static; padding: 0; border: 0;
    align-items: center; margin-left: auto; gap: 1.5rem;
  }
  .site-nav ul { display: flex; align-items: center; gap: .1rem; }
  .site-nav ul li a { border-bottom: 0; padding: .4rem .65rem; border-radius: var(--radius); min-height: 40px; }
  .site-nav ul li a:hover { background: var(--blue-mist); }
  .site-nav a[aria-current="page"] { color: var(--blue); position: relative; }
  .site-nav ul li a[aria-current="page"]::after {
    content: ""; position: absolute; left: .65rem; right: .65rem; bottom: .15rem;
    border-top: 2px solid var(--red);
  }
  .head-cta { display: flex; align-items: center; gap: 1.1rem; padding-top: 0; }
  .head-cta .btn { min-height: 42px; }

  .hero { padding: 3.5rem 0 4rem; }
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .sec { padding: 3.5rem 0; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
  .split--rev { grid-template-columns: 1.1fr .9fr; }
  .split--rev > :first-child { order: 2; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid li { border-bottom: 1px solid var(--line); }
  .ind-grid li:nth-child(2n) { border-right: 1px solid var(--line); }
  .ind-grid li:nth-child(3n) { border-right: 0; }
  .ind-grid li:nth-last-child(-n+3) { border-bottom: 0; }
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-grid--page { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .svc-layout { grid-template-columns: 1fr 20rem; gap: 3.5rem; padding-block: 3.5rem; }
  .svc-side { position: sticky; top: 6rem; align-self: start; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
}

/* 960–1150px — tight header band: keep CTA, drop the phone link */
@media (min-width: 60rem) and (max-width: 74.99rem) {
  .head-phone { display: none; }
  .site-nav ul li a { padding: .4rem .5rem; font-size: .95rem; }
}

/* 1280px — desktops */
@media (min-width: 80rem) {
  :root { --gutter: 2rem; }
  .proj-grid--page { grid-template-columns: repeat(3, 1fr); }
}

/* 1920px — wide screens: keep measure, add air */
@media (min-width: 120rem) {
  body { font-size: 1.125rem; }
}
