@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ─── DESIGN TOKENS ──────────────────────────────── */
:root {
  /* Blues — water & clean theme */
  --blue-50:  #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;
  --blue-950: #0F1D3B;

  /* Semantic aliases */
  --bg:            var(--blue-50);
  --bg-elevated:   #FFFFFF;
  --ink:           var(--blue-950);
  --muted:         #4B6183;
  --accent:        #EA580C;     /* Orange CTA — max contrast on blue */
  --accent-hover:  #C2440A;
  --accent-2:      var(--blue-800);
  --primary:       var(--blue-800);
  --primary-light: var(--blue-500);
  --primary-dark:  var(--blue-900);
  --navy:          var(--blue-950);
  --line:          rgba(30, 64, 175, 0.14);
  --line-nav:      rgba(30, 64, 175, 0.30);
  --shadow:        0 20px 60px rgba(15, 29, 59, 0.10);
  --shadow-sm:     0 4px 16px rgba(15, 29, 59, 0.08);
}

/* ─── BASE ───────────────────────────────────────── */
html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.09) 0%, transparent 42%),
    radial-gradient(ellipse at 100% 80%, rgba(30, 64, 175, 0.06) 0%, transparent 38%),
    linear-gradient(180deg, #EFF6FF 0%, #F0F6FF 100%);
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.65;
}

h1, h2, h3, h4, .navbar-brand, .footer-brand {
  font-family: 'Poppins', Georgia, sans-serif;
  line-height: 1.15;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
}

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.topbar {
  background: var(--navy);
  color: rgba(191, 219, 254, 0.88);
  font-size: 0.875rem;
}

.topbar-inner {
  min-height: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  color: var(--blue-200);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 150ms;
}

.topbar a:hover {
  color: #fff;
}

.site-nav {
  background: var(--primary-dark);
  border-bottom: 1px solid var(--line-nav);
  box-shadow: 0 4px 24px rgba(15, 29, 59, 0.22);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: #fff;
  font-weight: 700;
}

.brand-copy {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(191, 219, 254, 0.76);
}

.nav-link {
  font-weight: 600;
  color: rgba(219, 234, 254, 0.88) !important;
  transition: color 160ms ease;
  font-size: 0.93rem;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff !important;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-accent {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.28);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.36);
}

/* Override Bootstrap outline-dark to use brand blue on light backgrounds */
.hero-actions .btn-outline-dark,
.hero-actions .btn-outline-dark:visited {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.hero-actions .btn-outline-dark:hover,
.hero-actions .btn-outline-dark:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ─── MAIN ───────────────────────────────────────── */
main {
  overflow: hidden;
}

.page-section {
  padding: 5rem 0;
}

.section-intro {
  max-width: 42rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 7vw, 5.5rem);
}

/* Water-blue gradient line at top of hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--primary-dark) 0%,
    var(--primary-light) 35%,
    var(--accent) 60%,
    var(--primary-light) 80%,
    var(--primary-dark) 100%);
  opacity: 0.85;
}

.hero-panel {
  position: relative;
  min-height: min(82vh, 52rem);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--navy);
  font-weight: 800;
}

.hero-lede {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.meta-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.meta-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
}

.meta-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 36rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 29, 59, 0.18);
  border: 2px solid var(--line);
}

.hero-visual img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(15, 29, 59, 0.93);
  color: #fff;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  max-width: 18rem;
  border-left: 3px solid var(--primary-light);
  backdrop-filter: blur(8px);
}

.hero-badge strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--blue-200);
}

/* ─── CONTENT BAND ───────────────────────────────── */
.content-band {
  background: linear-gradient(135deg,
    rgba(30, 64, 175, 0.05) 0%,
    rgba(59, 130, 246, 0.08) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ─── SECTION HEADINGS ───────────────────────────── */
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  font-weight: 700;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
}

/* ─── SERVICE / AREA / BLOG ROWS ─────────────────── */
.service-list,
.area-list,
.faq-list,
.blog-list {
  display: grid;
  gap: 1rem;
}

.service-row,
.area-row,
.blog-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 280px;
  gap: 1.25rem;
  align-items: stretch;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.service-row:hover,
.area-row:hover,
.blog-row:hover {
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.14);
  transform: translateY(-2px);
}

.service-row .body,
.area-row .body,
.blog-row .body {
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--primary);
}

.service-row h3,
.area-row h3,
.blog-row h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--navy);
}

.service-row h2,
.area-row h2,
.blog-row h2 {
  color: var(--navy);
}

.service-row h3 a,
.area-row h3 a,
.blog-row h3 a,
.service-row h2 a,
.area-row h2 a,
.blog-row h2 a {
  color: var(--navy);
  transition: color 150ms;
}

.service-row h3 a:hover,
.area-row h3 a:hover,
.blog-row h3 a:hover,
.service-row h2 a:hover,
.area-row h2 a:hover,
.blog-row h2 a:hover {
  color: var(--primary);
}

.media {
  min-height: 100%;
  background: linear-gradient(145deg,
    rgba(30, 64, 175, 0.14),
    rgba(59, 130, 246, 0.20));
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bullet-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 0.4rem;
}

.bullet-list li::marker {
  color: var(--primary-light);
}

/* ─── INFO STRIP / PILLS ─────────────────────────── */
.info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
}

.info-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  cursor: default;
}

.info-pill:hover {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* ─── QUOTES / TESTIMONIALS ──────────────────────── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quote {
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary-light);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.quote:hover {
  box-shadow: 0 12px 36px rgba(30, 64, 175, 0.12);
  transform: translateY(-2px);
}

.quote p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.quote footer {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

/* ─── GALLERY ─────────────────────────────────────── */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-item {
  grid-column: span 4;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.gallery-item:hover {
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.16);
  transform: scale(1.015);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 1.5rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #fff 55%, rgba(219, 234, 254, 0.35) 100%);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3,
.contact-card h2 {
  margin-top: 0;
  color: var(--navy);
}

.form-control,
.form-select {
  border-radius: 1rem;
  border-color: rgba(30, 64, 175, 0.20);
  padding: 0.8rem 1rem;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.15);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  margin-top: 4rem;
  border-top: 3px solid var(--primary);
  background: var(--navy);
  color: rgba(219, 234, 254, 0.88);
}

.site-footer a {
  color: var(--blue-200);
  transition: color 150ms;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  padding: 2.5rem 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
}

.footer-brand {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 700;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: rgba(147, 197, 253, 0.70);
  margin-bottom: 0.45rem;
}

.footer-note {
  max-width: 30rem;
  color: rgba(219, 234, 254, 0.72);
  line-height: 1.7;
  font-size: 0.93rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(219, 234, 254, 0.12);
  font-size: 0.9rem;
  color: rgba(219, 234, 254, 0.55);
}

/* ─── REVEAL ANIMATION ───────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SERVICES SPLIT DROPDOWN ───────────────────── */

/* Invisible caret button — blends into the dark navbar */
.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0.25rem 0.3rem;
  margin-left: 0.1rem;
  color: rgba(219, 234, 254, 0.70);
  cursor: pointer;
  border-radius: 0.35rem;
  transition: color 160ms ease, background 160ms ease;
  line-height: 1;
}

.nav-caret:hover,
.nav-caret:focus-visible,
.nav-caret[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  outline: none;
}

.nav-caret svg {
  transition: transform 220ms ease;
  display: block;
}

.nav-caret[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Dropdown menu — dark navy matching the navbar */
.site-dropdown {
  background: var(--navy);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(15, 29, 59, 0.38);
  padding: 0.5rem;
  min-width: 15rem;
  margin-top: 0.35rem !important;
}

.site-dropdown .dropdown-item {
  color: rgba(219, 234, 254, 0.88);
  border-radius: 0.55rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 140ms ease, color 140ms ease;
  white-space: normal;
}

.site-dropdown .dropdown-item:hover,
.site-dropdown .dropdown-item:focus {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
}

.site-divider {
  border-color: rgba(59, 130, 246, 0.20) !important;
  margin: 0.4rem 0.5rem;
}

.dropdown-item-all {
  color: var(--blue-400) !important;
  font-weight: 600 !important;
}

.dropdown-item-all:hover,
.dropdown-item-all:focus {
  color: #fff !important;
}

/* ─── ARTICLE BODY ───────────────────────────────── */
.article-excerpt {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
}

.article-body {
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.article-body h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

.article-body p {
  margin-bottom: 1.1rem;
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.article-body li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.article-body li::marker {
  color: var(--primary-light);
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(30, 64, 175, 0.35);
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-body a:hover {
  color: var(--primary-light);
  text-decoration-color: var(--primary-light);
}

.article-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ─── BLOG ARTICLE LAYOUT ─────────────────────────── */
.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2rem;
  align-items: start;
}

.blog-article-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-article-sidebar {
  min-width: 0;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-area-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.sidebar-area-links a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 150ms;
}

.sidebar-area-links a:last-child {
  border-bottom: none;
}

.sidebar-area-links a:hover {
  color: var(--primary-light);
}

/* ─── BREADCRUMB ──────────────────────────────────── */
.breadcrumb-nav {
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb-list li + li::before {
  content: '›';
  margin-right: 0.4rem;
  color: var(--muted);
}

.breadcrumb-list a {
  color: var(--primary);
}

.breadcrumb-list a:hover {
  color: var(--primary-light);
}

/* ─── SERVICE FEATURE GRID (city pages) ──────────── */
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.service-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary-light);
  border-radius: 1.25rem;
  padding: 1.3rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.service-feature h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

/* ─── CITY SECONDARY PHOTO ────────────────────────── */
.city-photo-secondary {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.city-photo-secondary img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ─── AUTH CARD ──────────────────────────────────── */
.auth-card {
  max-width: 28rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 1.75rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.auth-header {
  margin-bottom: 1.75rem;
}

.auth-header h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

/* ─── ADMIN STATS ─────────────────────────────────── */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 1.25rem;
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.admin-stat-count {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ─── ADMIN TABLE ─────────────────────────────────── */
.admin-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.admin-table thead th {
  background: var(--blue-50);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 140ms;
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: var(--blue-50);
}

.admin-table td {
  padding: 0.85rem 1.25rem;
  vertical-align: middle;
  color: var(--ink);
}

.admin-table td.text-muted {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ─── ROLE BADGES ─────────────────────────────────── */
.role-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-admin           { background: #FEF2F2; color: #B91C1C; }
.role-manager         { background: #FFF7ED; color: #C2410C; }
.role-customerservice { background: #EFF6FF; color: #1D4ED8; }
.role-estimator       { background: #F5F3FF; color: #7C3AED; }
.role-technician      { background: #ECFDF5; color: #065F46; }
.role-vendor          { background: #FFFBEB; color: #92400E; }
.role-customer        { background: #F0FDF4; color: #166534; }

/* ─── STATUS BADGES ───────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-active   { background: #DCFCE7; color: #166534; }
.status-inactive { background: #F1F5F9; color: #64748B; }

/* ─── RESPONSIVE: TABLET ─────────────────────────── */
@media (max-width: 991.98px) {
  .blog-article-layout,
  .service-feature-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-sidebar {
    display: none;
  }

  .site-nav .navbar-toggler {
    background: rgba(15, 29, 59, 0.75);
    border-color: rgba(59, 130, 246, 0.40);
    box-shadow: 0 4px 12px rgba(15, 29, 59, 0.20);
    padding: 0.4rem 0.65rem;
  }

  .site-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.40);
  }

  .site-nav .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }

  .hero-grid,
  .service-row,
  .area-row,
  .blog-row,
  .contact-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 22rem;
  }

  .gallery-item {
    grid-column: span 6;
  }

  /* Switch vertical accent line to horizontal on stacked layout */
  .service-row .body,
  .area-row .body,
  .blog-row .body {
    border-left: none;
    border-top: 4px solid var(--primary);
  }
}

/* ─── RESPONSIVE: MOBILE ─────────────────────────── */
@media (max-width: 767.98px) {
  .article-excerpt {
    font-size: 1rem;
    padding-left: 0.75rem;
  }

  .article-cta-bar {
    flex-direction: column;
  }

  .article-cta-bar .btn {
    width: 100%;
    text-align: center;
  }

  .breadcrumb-list {
    font-size: 0.8rem;
  }

  .service-feature-grid {
    grid-template-columns: 1fr;
  }

  .page-section {
    padding: 3.75rem 0;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .gallery-item {
    grid-column: span 12;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
