/* ==========================================================================
   UCASHO Enterprise — 2026 revamp
   Design language: field-ops signage. Docket tabs, hairline rules, stenciled
   numerals — the visual vocabulary of work orders and site hoardings, not
   corporate SaaS gloss.
   ========================================================================== */

:root {
  --navy: #0f2a4a;
  --navy-deep: #081826;
  --paper: #eef2f6;
  --paper-raised: #ffffff;
  --ink: #0f1b26;
  --slate: #55697a;
  --signal: #4fb6e8;
  --signal-deep: #1e86be;
  --steel: #1a6f99;
  --line: rgba(15, 42, 74, 0.14);
  --line-strong: rgba(15, 42, 74, 0.28);

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1.15;
}

p { max-width: 62ch; color: var(--slate); }
p.wide { max-width: none; }

a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--signal-deep); }

.container-x { max-width: 1180px; }

/* Skip link / focus visibility */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--signal); color: var(--navy-deep); padding: 0.6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------- */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--signal);
}

.navbar-brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff !important;
  letter-spacing: 0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.navbar-brand span { color: var(--signal); }

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  border-bottom: 2px solid transparent;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: #fff !important; }
.navbar .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--signal);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.admin-login-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy) !important;
  background: var(--signal);
  border-radius: 2px;
  padding: 0.4rem 0.75rem !important;
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}
.admin-login-icon:hover { background: #fff; color: var(--navy-deep) !important; }
.admin-login-icon svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------
   Page header band (interior pages)
   -------------------------------------------------------------------- */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: 3.2rem 0 2.4rem;
  position: relative;
  border-bottom: 3px solid var(--signal);
}
.page-banner .eyebrow-tab {
  display: inline-block;
  background: var(--signal);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.9rem;
}
.page-banner h1 { color: #fff; font-size: 2.4rem; margin-bottom: 0.5rem; }
.page-banner .lead { color: rgba(255,255,255,0.75); max-width: 60ch; }
.breadcrumb-trail { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.breadcrumb-trail a { color: rgba(255,255,255,0.75); }

/* --------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--signal);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(79,182,232,0.06) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-inner { padding: 4.5rem 0 4rem; position: relative; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.hero .lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-tagline {
  font-family: var(--font-head);
  color: var(--signal);
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

/* Docket / stub buttons */
.btn-signal {
  background: var(--signal);
  border: none;
  color: var(--navy-deep);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
}
.btn-signal:hover { background: #fff; color: var(--navy-deep); }
.btn-outline-paper {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 600;
  padding: 0.68rem 1.4rem;
  border-radius: 2px;
}
.btn-outline-paper:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

/* Signage stat stack — replaces the generic gradient stat-card default
   with stacked docket tabs connected by a spine, like a work order. */
.stat-stack {
  border-left: 3px solid var(--signal);
  padding-left: 1.6rem;
}
.stat-stub {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.stat-stub:last-child { border-bottom: none; }
.stat-stub .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--signal);
  line-height: 1;
  display: block;
}
.stat-stub .label {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

/* Hero carousel — 4 slides, each its own include */
.hero-carousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}
.hero-indicators {
  position: absolute;
  bottom: 1.4rem;
  margin-bottom: 0;
  gap: 0.5rem;
}
.hero-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  opacity: 1;
}
.hero-indicators [data-bs-target].active {
  background-color: var(--signal);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 3.2rem;
  height: 3.2rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(11, 20, 29, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 1;
}
.hero-carousel .carousel-control-prev { left: 1.2rem; }
.hero-carousel .carousel-control-next { right: 1.2rem; }
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: var(--signal);
  border-color: var(--signal);
}
.hero-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fff;
}
.hero-carousel .carousel-control-prev:hover .hero-control-icon,
.hero-carousel .carousel-control-next:hover .hero-control-icon {
  color: var(--navy-deep);
}
@media (max-width: 767px) {
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .carousel-item { transition: none; }
}

/* --------------------------------------------------------------------
   Section rhythm
   -------------------------------------------------------------------- */
.section { padding: 4.2rem 0; }
.section-tight { padding: 2.8rem 0; }
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.72); }

.section-kicker {
  font-family: var(--font-head);
  color: var(--signal-deep);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.section-navy .section-kicker { color: var(--signal); }
.section-head h2 { font-size: 2rem; margin-bottom: 0.9rem; }

/* --------------------------------------------------------------------
   Services — numbered docket rows (a real sequence: line items on a
   service schedule), not identical rounded SaaS cards.
   -------------------------------------------------------------------- */
.service-row {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .idx {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--line-strong);
  width: 2.4rem;
  flex-shrink: 0;
}
.service-row h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.service-row p { margin-bottom: 0; }

/* Icon tiles for services grid (interior page) */
.service-tile {
  border: 1px solid var(--line);
  padding: 1.8rem;
  height: 100%;
  background: var(--paper-raised);
  border-top: 3px solid var(--steel);
}
.service-tile .tile-icon {
  width: 44px; height: 44px;
  color: var(--steel);
  margin-bottom: 1rem;
}
.service-tile h3 { font-size: 1.1rem; }

/* --------------------------------------------------------------------
   Trust / logo strip
   -------------------------------------------------------------------- */
.trust-strip {
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.trust-strip .trust-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.trust-logo {
  color: var(--slate);
  font-weight: 600;
  font-family: var(--font-head);
  opacity: 0.7;
}

/* --------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------- */
.testimonial-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  padding: 1.8rem;
  height: 100%;
}
.testimonial-panel .quote-mark {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--signal);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.testimonial-panel footer {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-panel footer span {
  display: block;
  font-family: var(--font-body);
  color: var(--slate);
  font-weight: 400;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(11,20,29,0.82);
  color: #fff;
  font-size: 0.82rem;
  padding: 0.5rem 0.7rem;
  transform: translateY(100%);
  transition: transform 0.2s ease;
}
.gallery-item:hover .cap,
.gallery-item:focus-within .cap { transform: translateY(0); }

.filter-tabs .btn {
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.85rem;
  margin-right: 0.4rem;
  margin-bottom: 0.5rem;
}
.filter-tabs .btn.active,
.filter-tabs .btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* --------------------------------------------------------------------
   Health & Security page accents
   -------------------------------------------------------------------- */
.check-list { list-style: none; padding-left: 0; }
.check-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.9rem;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.35rem;
  width: 14px; height: 14px;
  border: 2px solid var(--signal-deep);
}

.compliance-badge {
  border: 1px solid var(--line-strong);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--paper-raised);
}
.compliance-badge .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--steel);
}

/* --------------------------------------------------------------------
   Forms (contact + login)
   -------------------------------------------------------------------- */
.form-control, .form-select {
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  padding: 0.65rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(26, 111, 153, 0.2);
}
label { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.3rem; }

.contact-info-panel {
  background: var(--navy);
  color: #fff;
  padding: 2.2rem;
  border-top: 3px solid var(--signal);
}
.contact-info-panel h3 { color: #fff; }
.contact-info-panel a { color: #fff; }
.contact-info-panel .info-row {
  display: flex; gap: 0.8rem; margin-bottom: 1.1rem;
  color: rgba(255,255,255,0.85);
}
.contact-info-panel .info-row svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--signal); }

/* --------------------------------------------------------------------
   Admin login page
   -------------------------------------------------------------------- */
.login-shell {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  background: var(--navy);
  background-image: repeating-linear-gradient(135deg, rgba(79,182,232,0.05) 0 2px, transparent 2px 26px);
}
.login-card {
  background: var(--paper-raised);
  border-top: 4px solid var(--signal);
  padding: 2.6rem;
  max-width: 420px;
  margin: 3rem auto;
}
.login-card .lock-badge {
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}

/* --------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------- */
.cta-band {
  background: var(--signal);
  color: var(--navy-deep);
  padding: 3rem 0;
}
.cta-band h2 { color: var(--navy-deep); margin-bottom: 0.3rem; }
.cta-band p { color: rgba(11,20,29,0.75); }
.cta-band .btn-navy {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  border: none;
}
.cta-band .btn-navy:hover { background: var(--navy-deep); }

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--signal); }
.site-footer .footer-brand {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.2rem;
}
.site-footer .footer-brand span { color: var(--signal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

@media (max-width: 991px) {
  .navbar-collapse { background: var(--navy); padding: 1rem 0.5rem; margin-top: 0.5rem; }
  .admin-login-icon { margin: 0.6rem 0 0; width: fit-content; }
}

/* Generated photography collection */
.hero::before{display:none}.hero-carousel .carousel-item{background-image:linear-gradient(90deg,rgba(5,20,39,.92),rgba(5,20,39,.72) 45%,rgba(5,20,39,.08)),var(--hero-image);background-size:cover;background-position:center;min-height:650px}.hero-inner{padding-top:6rem;padding-bottom:6rem}.page-banner{background-image:linear-gradient(90deg,rgba(5,20,39,.94),rgba(5,20,39,.72) 55%,rgba(5,20,39,.24)),var(--banner-image);background-size:cover;background-position:center;min-height:330px;display:flex;align-items:center}.page-banner .lead{color:#f0f5fb}.content-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}.service-photo{width:calc(100% + 3rem);max-width:none;margin:-1.5rem -1.5rem 1.5rem;aspect-ratio:16/10;object-fit:cover;display:block}.service-tile{overflow:hidden}.gallery-item{display:block;position:relative}.gallery-cell[hidden]{display:none!important}.image-disclosure{font-size:.85rem;color:var(--slate);line-height:1.6}.footer-disclosure{color:#adbfd1;margin-top:2rem}.image-login{background:linear-gradient(rgba(8,27,48,.78),rgba(8,27,48,.78)),url('../images/security-access.jpg') center/cover}#imageViewer{border:0;padding:2.5rem 1rem 1rem;background:#091b30;color:white;width:min(1100px,95vw);max-height:94vh}#imageViewer::backdrop{background:rgba(0,0,0,.85)}#imageViewer img{display:block;width:100%;max-height:75vh;object-fit:contain}#imageViewer p{margin:1rem 0 0}.viewer-close{position:absolute;right:.5rem;top:0;color:white;background:transparent;border:0;font-size:2rem}.gallery-item:focus-visible{outline:3px solid var(--signal);outline-offset:3px}@media(max-width:767px){.hero-carousel .carousel-item{min-height:720px;background-position:62% center}.hero-inner{padding:3rem 0 5rem}.page-banner{min-height:300px}.hero-carousel .carousel-item{background-image:linear-gradient(90deg,rgba(5,20,39,.88),rgba(5,20,39,.58)),var(--hero-image)}}

.service-photo{width:calc(100% + 3.6rem);margin:-1.8rem -1.8rem 1.5rem}.home-service-photo{width:130px;height:90px;object-fit:cover;flex-shrink:0;border-radius:3px}@media(max-width:575px){.home-service-photo{width:88px;height:80px}}
