/* ==========================================================================
   Location landing pages (vehicle-wraps-<city>-az.html)

   Shared design system pulled from the service detail pages so the city pages
   read as part of the same site: liquid-glass nav, mono chapter headers,
   brand-font display type, scroll-driven light/dark theme switching.
   ========================================================================== */

:root {
  --c-bg: #F5F5F7;
  --c-surface: #FFFFFF;
  --c-text: #1D1D1F;
  --c-accent: #DB0B76;
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);

  /* Dynamic nav variables — default light, swapped by the theme switcher. */
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-border: rgba(0, 0, 0, 0.08);
  --nav-text: #1D1D1F;
  --nav-btn-bg: #000000;
  --nav-btn-text: #FFFFFF;
}

body[data-theme="dark"] {
  --c-bg: #050505;
  --c-surface: #151515;
  --c-text: #F5F5F7;
}

* { -webkit-tap-highlight-color: transparent; }

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Utilities ---------- */
.brand-font { font-weight: 700; letter-spacing: -0.04em; }
.chapter-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--c-accent);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.1em;
}

/* ---------- Nav ---------- */
.liquid-glass {
  background: var(--nav-bg);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--nav-border);
  position: relative;
  overflow: hidden;
  transition: background 1s ease, border-color 1s ease;
}
.nav-link { color: var(--nav-text); transition: color 1s; }
.nav-btn {
  background-color: var(--nav-btn-bg);
  color: var(--nav-btn-text);
  transition: background-color 1s, color 1s, transform 0.2s;
}

/* ---------- Cursor ---------- */
.cursor-dot {
  width: 8px; height: 8px; background: #fff; position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999; mix-blend-mode: difference;
  top: 0; left: 0; transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 40px; height: 40px; border: 1px solid #fff; position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999; display: flex; justify-content: center; align-items: center;
  top: 0; left: 0; transform: translate(-50%, -50%);
}
.cursor-text { font-size: 10px; font-weight: 600; color: #000; opacity: 0; transition: opacity 0.3s; }
body.hover-badge .cursor-dot { opacity: 0; }
body.hover-badge .cursor-ring {
  width: 80px; height: 80px; background: var(--c-accent);
  border-color: transparent; mix-blend-mode: normal;
}
body.hover-badge .cursor-text { opacity: 1; color: #fff; }

/* ---------- UI elements ---------- */
.btn-pill {
  border-radius: 9999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-pill:active { transform: scale(0.96); }
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 4px 15px rgba(219, 11, 118, 0.3); }
.reveal-type { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(30px); }

/* ---------- Location-page specifics ---------- */

/* Dark spec card, matching the "Cloak Standard" grid on the service pages. */
.loc-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-apple);
}
.loc-card:hover { border-color: rgba(219, 11, 118, 0.5); transform: translateY(-4px); }
.loc-card .icon {
  width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  transition: background 0.3s, color 0.3s;
}
.loc-card:hover .icon { background: var(--c-accent); color: #fff; }

/* Light equivalent for the pale sections. */
.loc-card-light {
  padding: 1.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-apple), box-shadow 0.3s;
}
.loc-card-light:hover {
  border-color: rgba(219, 11, 118, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.07);
}

/* Pull-quote / key-takeaway block. */
.loc-callout {
  border-left: 3px solid var(--c-accent);
  padding: 1.25rem 0 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* FAQ disclosure, matching the homepage "Common Questions" accordion. */
.loc-faq {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.loc-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #1D1D1F;
}
.loc-faq summary::-webkit-details-marker { display: none; }
.loc-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: #86868b;
  transition: transform 0.3s var(--ease-apple);
  flex-shrink: 0;
}
.loc-faq[open] summary::after { transform: rotate(45deg); }
.loc-faq .body {
  padding: 0 1.5rem 1.4rem;
  color: #86868b;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Visible breadcrumb trail. Mirrors the BreadcrumbList schema on each page —
   structured data should reflect what the user can actually see. */
.crumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.crumbs a { color: #86868b; transition: color 0.2s; }
.crumbs a:hover { color: var(--c-accent); }
.crumbs li[aria-current="page"] { color: var(--c-accent); }
.crumbs .sep { color: rgba(0, 0, 0, 0.25); }
body[data-theme="dark"] .crumbs .sep { color: rgba(255, 255, 255, 0.3); }

/* Areas hub — city cards. */
.area-card {
  display: block;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #151515;
  min-height: 320px;
  transition: transform 0.5s var(--ease-apple);
}
.area-card:hover { transform: translateY(-6px); }
.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.45);
  transition: transform 1s var(--ease-apple), filter 0.6s ease;
}
.area-card:hover img { transform: scale(1.06); filter: grayscale(0%) brightness(0.55); }
/* Bottom scrim so the title and link stay legible over bright imagery. */
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 32%,
    rgba(0, 0, 0, 0.15) 62%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}
.area-card .body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}
.area-card h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.area-card p { font-size: 0.82rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); margin-bottom: 0.9rem; }
.area-card .go {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.area-card .drive {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
}

/* Footer "Areas We Serve" pills. */
.area-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.875rem;
  font-weight: 500;
  color: #1D1D1F;
  transition: border-color 0.2s, color 0.2s;
}
.area-pill:hover { border-color: var(--c-accent); color: var(--c-accent); }
.area-pill.is-current { background: #1D1D1F; color: #fff; border-color: #1D1D1F; }

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
