/* TRI-CITY HD/IM
   Mobile-first, no external JS. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071018;
  --navy-900: #0b1a28;
  --navy-800: #122536;
  --navy-700: #1b3348;
  --steel: #8aa0b5;
  --cream: #f4f2ed;
  --paper: #fbfaf7;
  --ink: #12202c;
  --muted: #5c6b78;
  --line: #e2ded6;
  --orange: #e65c16;
  --orange-hot: #ff7a33;
  --orange-dark: #c44b10;
  --white: #ffffff;
  --header-h: 4.25rem;
  --callbar-h: 4.75rem;
  --wrap: 70rem;
  --radius: 0.85rem;
  --shadow: 0 16px 40px rgba(7, 16, 24, 0.12);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--orange-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap.narrow { width: min(100% - 2rem, 46rem); }

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow.dark { color: var(--orange-dark); }
.eyebrow.light { color: var(--orange-hot); }

h1, h2, h3, .footer-name, .hero-phone, .logo-name {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6.4vw, 3.55rem);
  font-weight: 750;
  color: var(--white);
  text-wrap: balance;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy-900);
  text-wrap: balance;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 40, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.logo:hover { color: var(--white); }

.logo-mark {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
}

.logo-mark svg { width: 100%; height: 100%; border-radius: 8px; }

.logo-text { display: flex; flex-direction: column; min-width: 0; }

.logo-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-tag {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-transform: uppercase;
  font-weight: 600;
}

.nav {
  display: none;
  margin-left: auto;
  gap: 0.2rem 1.15rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 580;
  padding: 0.35rem 0;
}

.nav a:hover { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn .icon { flex: 0 0 auto; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  min-height: 3rem;
  box-shadow: 0 8px 20px rgba(230, 92, 22, 0.28);
}

.btn-primary:hover {
  background: var(--orange-hot);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  padding: 0.9rem 1.2rem;
  min-height: 3rem;
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-header {
  margin-left: auto;
  background: var(--orange);
  color: var(--white);
  padding: 0.65rem 0.85rem;
  min-height: 2.6rem;
  font-size: 0.88rem;
}

.btn-header:hover { background: var(--orange-hot); color: var(--white); }

.btn-header span { display: none; }

.btn-large { padding: 1rem 1.4rem; min-height: 3.35rem; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding: 2.5rem 0 3.25rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(230, 92, 22, 0) 0%, rgba(230, 92, 22, 0) 0%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.028) 0 1px,
      transparent 1px 18px
    ),
    radial-gradient(ellipse 80% 70% at 80% 20%, rgba(230, 92, 22, 0.16), transparent 55%),
    linear-gradient(180deg, #0e2133 0%, var(--navy-900) 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 1.75rem;
}

.lede {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.15rem;
  backdrop-filter: blur(8px);
}

.hero-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-phone {
  display: inline-block;
  margin: 0 0 1.1rem;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.45rem, 4vw, 1.75rem);
  font-weight: 750;
}

.hero-phone:hover { color: var(--orange-hot); }

.hero-dl {
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.hero-dl dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 0.2rem;
}

.hero-dl dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
}

.hero-dl a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.hero-dl a:hover { color: var(--white); text-decoration: underline; }

.fine { color: var(--steel); font-size: 0.92rem; }

/* Sections */
.section { padding: 3.5rem 0; }

.section-about { background: var(--paper); }

.section-about p { color: var(--ink); }

.carb-link { margin-top: 1.25rem; }

.carb-link a {
  display: inline;
  font-weight: 650;
  color: var(--navy-800);
}

.carb-link a:hover { color: var(--orange-dark); }

.section-services { background: var(--cream); }

.section-head { margin-bottom: 1.75rem; }

.section-intro {
  max-width: 38rem;
  color: var(--muted);
  margin-top: -0.25rem;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 0.9rem;
  color: var(--navy-900);
  background: var(--cream);
  border-radius: 0.75rem;
}

.section-locations { background: var(--paper); }

.locations {
  display: grid;
  gap: 1rem;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  border-top: 3px solid var(--orange);
}

.location-card address {
  font-style: normal;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--navy-800);
}

.map-link:hover { color: var(--orange-dark); }

.hours-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-weight: 550;
}

.section-pricing {
  background: var(--navy-900);
  color: var(--white);
  padding: 0;
}

.pricing-band {
  display: grid;
  gap: 1.5rem;
  padding: 3.25rem 0;
}

.section-pricing h2 { color: var(--white); margin-bottom: 0.6rem; }

.section-pricing p { color: rgba(255, 255, 255, 0.84); max-width: 36rem; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.75rem 0 2rem;
  border-top: 3px solid var(--orange);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-name {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-head {
  margin: 0 0 0.55rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--display);
}

.footer-grid p { margin: 0 0 0.75rem; }

.site-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 650;
}

.site-footer a:hover { color: var(--orange-hot); }

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--steel);
}

/* Mobile call bar */
.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 16, 24, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-callbar {
  width: 100%;
  border-radius: 0.7rem;
}

/* Desktop */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .mobile-call-bar { display: none; }

  .header-inner { gap: 1.25rem; }
  .btn-header { margin-left: 0.5rem; }
  .btn-header span { display: inline; }
  .nav { display: flex; }

  .hero { padding: 4.25rem 0 4.75rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.8fr);
    align-items: center;
    gap: 2.5rem;
  }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .locations { grid-template-columns: 1fr 1fr; gap: 1.15rem; }

  .pricing-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 3.75rem 0;
  }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
  .section { padding: 4.25rem 0; }
  .logo-name { font-size: 1.02rem; }
}

@media (min-width: 960px) {
  .wrap { width: min(100% - 3rem, var(--wrap)); }
  .hero-card { padding: 1.7rem 1.6rem 1.45rem; }
}

@media print {
  .site-header { position: static; }
  .mobile-call-bar, .btn-header { display: none !important; }
  body { padding-bottom: 0; background: #fff; color: #000; }
  .hero, .section-pricing, .site-footer { background: #fff; color: #000; }
  h1, .section-pricing h2, .logo-name { color: #000; }
}


.nowrap { white-space: nowrap; }

.icon-ext {
  display: inline-block;
  vertical-align: -0.2em;
  margin-left: 0.15em;
}

#about, #services, #locations, #pricing, #main {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.card, .location-card { height: 100%; }

@media (hover: hover) {
  .card, .location-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .card:hover, .location-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
}

@media (max-width: 719px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn { width: 100%; }
  .pricing-band .btn-large { width: 100%; }
}
