/* Las Vegas Appliance Repair Pros — logo-inspired navy / orange / gold
   Responsive-first system. Breakpoints: 520 / 640 / 768 / 900 / 1040 / 1100 */
:root {
  --bg: #0a1428;
  --bg2: #0f1c38;
  --surface: #132240;
  --text: #f4f7ff;
  --muted: #a8b8d4;
  --primary: #f47a20;
  --primary2: #d96210;
  --accent: #f5c518;
  --accent2: #ffd84a;
  --gold: #f5c518;
  --navy: #0a1f44;
  --border: rgba(244, 122, 32, 0.28);
  --glow: 0 0 40px rgba(244, 122, 32, 0.3);
  --appbar: #071022;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 8px;
  --logo-h: 88px;
  --logo-h-mobile: 52px;
  --header-h: 72px;
  --appbar-h: 64px;
  --container: 1140px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}
.container-wide {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Top bar (desktop only) ───────────────────────────── */
.topbar {
  background: #ffffff;
  color: #4a5d78;
  font-size: 13px;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15, 35, 70, 0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.topbar a {
  color: #c45a10;
}
.topbar a:hover {
  color: #0a1f44;
}
.topbar strong {
  color: #0a1f44;
  font-weight: 600;
}
@media (max-width: 860px) {
  .topbar {
    display: none !important;
  }
}

/* ── Header + mobile menu ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 35, 70, 0.1);
  box-shadow: 0 1px 0 rgba(15, 35, 70, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--header-h);
  padding: 0.35rem 0;
  position: relative;
}
.logo {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(280px, 48vw);
  line-height: 0;
}
.logo img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
}
.nav a,
.nav button {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #0a1f44;
  background: none;
  border: 0;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  border-radius: 999px;
}
.nav a:hover,
.nav button:hover {
  background: rgba(244, 122, 32, 0.12);
  color: #c45a10;
  text-decoration: none;
}
.nav-item {
  position: relative;
}
.nav-item .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid rgba(15, 35, 70, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 35, 70, 0.12);
  z-index: 30;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: block;
}
.nav-item .dropdown a {
  display: block;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  color: #0a1f44;
  font-size: 13px;
}
.nav-item .dropdown a:hover {
  background: rgba(244, 122, 32, 0.1);
  color: #c45a10;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #0a1f44;
  white-space: nowrap;
}
.header-phone:hover {
  color: #c45a10;
  text-decoration: none;
}
@media (min-width: 1100px) {
  .header-phone {
    display: inline-flex;
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  flex-shrink: 0;
}
.menu-toggle:hover {
  background: rgba(244, 122, 32, 0.1);
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: #0a1f44;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Tablet/mobile nav drawer */
@media (max-width: 1040px) {
  :root {
    --logo-h: var(--logo-h-mobile);
    --header-h: 60px;
  }
  .logo {
    max-width: min(200px, 52vw);
  }
  .header-actions .btn-sm {
    display: none; /* Call is on app bar; free space for hamburger */
  }
  .menu-toggle {
    display: inline-block;
  }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(15, 35, 70, 0.12);
    box-shadow: 0 16px 40px rgba(15, 35, 70, 0.18);
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.15rem;
    max-height: min(78vh, 640px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1100;
  }
  .nav.open {
    display: flex;
  }
  .nav > a,
  .nav-item > button {
    width: 100%;
    text-align: left;
    padding: 0.85rem 0.75rem;
    border-radius: 8px;
    font-size: 15px;
  }
  .nav-item .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid rgba(244, 122, 32, 0.35);
    border-radius: 0;
    max-height: none;
    padding: 0.15rem 0 0.35rem 0.65rem;
    margin: 0 0 0.25rem 0.5rem;
    background: transparent;
  }
  .nav-item.open .dropdown {
    display: block;
  }
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    display: none; /* use tap accordion only on touch layout */
  }
  .nav-item.open:hover .dropdown,
  .nav-item.open:focus-within .dropdown,
  .nav-item.open .dropdown {
    display: block;
  }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 0.75rem 1.15rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e86010);
  color: #fff !important;
  box-shadow: none;
}
.btn-primary:hover {
  filter: brightness(1.06);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: transparent;
}
.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff !important;
  background: transparent;
}
.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 13px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e6b800);
  color: #0a1f44 !important;
  font-weight: 700;
}

/* ── Home hero (CSS background-image on .hero) ────────── */
.hero {
  position: relative;
  min-height: min(76vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background-color: #081428;
  background-image: none; /* set inline: style="background-image:url(...)" */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Legacy absolute img (if any) — force full cover behind content */
.hero > .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(8, 18, 40, 0.92) 0%,
    rgba(10, 31, 68, 0.72) 45%,
    rgba(244, 122, 32, 0.25) 100%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.25rem;
  max-width: 740px;
  width: 100%;
}
.hero .eyebrow {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero p {
  font-size: clamp(0.98rem, 2.5vw, 1.08rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 54ch;
  margin: 0 0 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .hero {
    min-height: 58vh;
  }
  .hero-content {
    padding: 2.5rem 0 2rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ── Trust bar ────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(90deg, #081428, #122448);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
}
@media (max-width: 900px) {
  .trust-bar-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .trust-bar-inner {
    grid-template-columns: 1fr;
  }
}
.trust-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.trust-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(244, 122, 32, 0.15);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(244, 122, 32, 0.35);
  font-weight: 700;
}
.trust-item strong {
  display: block;
  font-size: 14px;
}
.trust-item span {
  font-size: 13px;
  color: var(--muted);
}

/* ── Sections / cards ─────────────────────────────────── */
.section {
  padding: clamp(2.5rem, 5vw, 4.1rem) 0;
}
.section.alt {
  background: var(--bg2);
}
.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1000px) {
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }
  .cards-4 {
    grid-template-columns: 1fr;
  }
}

.card,
.service-card,
.area-card,
.post-card,
.review-card,
.faq-item,
.brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card .media,
.post-card .media,
.brand-card .media,
.area-card .media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1528;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Service cards: show full photo (no tight crop / zoom) */
.service-card .media {
  aspect-ratio: 4 / 3;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0a1528;
}
.service-card .media img,
.post-card .media img,
.brand-card .media img,
.area-card .media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.service-card .media img {
  object-fit: contain;
  object-position: center center;
}
.service-card .body,
.post-card .body,
.review-card,
.brand-card .body,
.area-card .body {
  padding: 1.2rem 1.3rem 1.35rem;
}
/* area-card content may be direct children (no .body wrapper) */
.area-card {
  padding: 1.2rem 1.3rem 1.35rem;
}
.area-card .media {
  margin: -1.2rem -1.3rem 1rem;
  width: calc(100% + 2.6rem);
  max-width: none;
}
.area-card .body {
  padding: 0;
  margin: 0;
}
.service-card h3,
.area-card h3,
.post-card h3,
.brand-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.feature-list {
  margin: 0.75rem 0 1rem;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.2rem;
  font-size: 14.5px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary);
}
.link-more {
  font-weight: 600;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  background-color: #0b1528;
}

.review-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.review-card p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 15.5px;
}
.review-card footer {
  font-size: 13px;
  color: var(--muted);
}
.review-card footer strong {
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.3rem;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item .faq-a {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 15.5px;
}

.post-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.prose {
  max-width: 760px;
  min-width: 0;
}
.prose p {
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.prose h2 {
  font-family: var(--font-display);
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  color: var(--text);
  text-transform: uppercase;
  font-weight: 400;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.4rem 0 0.55rem;
  color: var(--text);
}
.prose ul,
.prose ol {
  margin: 0.5rem 0 1.2rem;
  padding-left: 1.25rem;
  color: var(--muted);
}
.prose li {
  margin: 0.35rem 0;
}
.prose .lede-graph,
.prose .lead {
  font-size: 1.08rem;
  color: var(--text);
}
.prose strong {
  color: var(--text);
}
.blog-hero-img {
  margin: 0 0 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.blog-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}
.form-grid.two {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0b1528;
  color: var(--text);
  font: inherit;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}

/* ── Page hero + breadcrumbs (CSS background-image) ───── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.4rem) 0 clamp(1.5rem, 3vw, 2.4rem);
  color: #fff;
  min-height: 200px;
  background-color: #081428;
  /* Prefer inline: background-image: linear-gradient(...), url(...) */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Support older --hero-img var pattern */
.page-hero[style*="--hero-img"] {
  background-image: linear-gradient(120deg, rgba(8, 18, 40, 0.88), rgba(10, 31, 68, 0.62)),
    var(--hero-img);
}
/* Legacy absolute img — keep as full-bleed underlay if present */
.page-hero > .page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
/* Dark scrim when using plain url() without gradient in inline style */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(8, 18, 40, 0.55), rgba(10, 31, 68, 0.4));
  pointer-events: none;
}
/* If gradient is already in background-image, lighten pseudo scrim so photo shows */
.page-hero[style*="linear-gradient"]::before {
  background: transparent;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.1;
}
.page-hero p {
  margin: 0;
  max-width: 55ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
}

/* Visual breadcrumbs — high contrast on hero */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}
.breadcrumb a {
  color: #ffd084 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb a:hover {
  color: #fff !important;
}
/* Support "Home / Services / X" plain text nodes with slash separators */
.breadcrumb-sep {
  opacity: 0.55;
  user-select: none;
}

/* Optional light breadcrumb bar under header (if used outside hero) */
.breadcrumb-bar {
  background: #0f1c38;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.breadcrumb-bar .breadcrumb {
  margin: 0;
  color: var(--muted);
}
.breadcrumb-bar .breadcrumb a {
  color: var(--primary) !important;
}

.cta-band {
  padding: clamp(2.25rem, 4vw, 3.4rem) 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(244, 122, 32, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(245, 197, 24, 0.12), transparent 50%),
    #081428;
  border-top: 1px solid rgba(244, 122, 32, 0.3);
  border-bottom: 1px solid rgba(244, 122, 32, 0.3);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  font-weight: 400;
}
.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.9);
}
.cta-band .btn {
  margin: 0.25rem;
}
@media (max-width: 520px) {
  .cta-band .btn {
    width: calc(100% - 0.5rem);
  }
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: #ffffff;
  color: #4a5d78;
  padding: 3rem 0 calc(5.5rem + var(--safe-bottom));
  font-size: 14.5px;
  border-top: 1px solid rgba(15, 35, 70, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.site-footer h4 {
  color: #0a1f44;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.site-footer a {
  color: #4a5d78;
}
.site-footer a:hover {
  color: #c45a10;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin: 0.4rem 0;
}
.footer-brand img {
  height: 64px;
  width: auto;
  max-width: min(280px, 90%);
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: #4a5d78;
}
.footer-brand strong {
  color: #0a1f44;
}
.footer-bottom {
  border-top: 1px solid rgba(15, 35, 70, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7c93;
}

/* ── Mobile app bar (Home · Call · Areas) ──────────────── */
.mobile-app-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  padding: 0 env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
  pointer-events: none;
}
.mobile-app-bar .appbar-inner {
  pointer-events: auto;
}
@media (max-width: 860px) {
  .mobile-app-bar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body {
    padding-bottom: calc(var(--appbar-h) + 12px + var(--safe-bottom));
  }
}
.appbar-lvar .appbar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: var(--appbar-h);
  height: auto;
  background: #071022;
  border-top: 1px solid rgba(244, 122, 32, 0.55);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
}
.appbar-lvar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8aa0c0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  position: relative;
  min-height: var(--appbar-h);
  -webkit-tap-highlight-color: transparent;
}
.appbar-lvar a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.appbar-lvar a.active,
.appbar-lvar a:hover {
  color: #f5c518;
}
.appbar-lvar a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #f47a20, #f5c518);
}
.appbar-lvar a.call {
  color: #fff;
  margin: 0;
  background: transparent;
}
.appbar-lvar a.call .call-fab {
  width: 48px;
  height: 48px;
  margin-top: -18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ff9a40, #e86010 55%, #c44e0a);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 0 3px #071022,
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.appbar-lvar a.call svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.appbar-lvar a.call span:last-child {
  font-size: 10px;
  margin-top: -2px;
  color: #ffb06a;
}
.appbar-lvar a.call.active span:last-child,
.appbar-lvar a.call:hover span:last-child {
  color: #f5c518;
}
.appbar-lvar a.call.active::before {
  display: none;
}

/* ── Utilities / grids ────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(244, 122, 32, 0.15);
  color: var(--primary);
}
.muted {
  color: var(--muted);
}
.mt-0 {
  margin-top: 0;
}
.grid-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .grid-areas {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .grid-areas {
    grid-template-columns: 1fr;
  }
}
.price-note {
  background: rgba(244, 122, 32, 0.1);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 15px;
}

/* Pills (inline chips) — NOT the brand-grid tiles */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted) !important;
  background: var(--surface);
  text-decoration: none !important;
}
a.pill:hover {
  border-color: var(--primary);
  color: var(--accent) !important;
  background: rgba(244, 122, 32, 0.12);
}

/* Brand hub grid tiles */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}
.brand-grid .brand-pill,
a.brand-pill {
  display: block;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text) !important;
  text-decoration: none !important;
}
.brand-grid .brand-pill:hover,
a.brand-pill:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Body lock when mobile menu open */
body.nav-open {
  overflow: hidden;
}
body.nav-open .site-header {
  z-index: 1200;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .menu-toggle span {
    transition: none;
  }
}
