/* ============================================================
   Diamond Dave's Mechanical Services
   Stylesheet
   ------------------------------------------------------------
   Quick edits guide for Dave:
   - Colors:  see :root variables below
   - Fonts:   change --font-sans
   - Spacing: container max-width is 1200px
   ============================================================ */

/* -------- Color palette + design tokens (Old Glory spec) -------- */
:root {
  --navy:        #002868;   /* Old Glory Blue          */
  --navy-dark:   #001845;   /* Deeper navy for hovers  */
  --navy-soft:   #1A3A6B;   /* Lighter navy accent     */
  --red:         #BF0A30;   /* Old Glory Red           */
  --red-dark:    #9B0824;   /* Red hover               */
  --red-soft:    #E84458;   /* Highlight red           */
  --gold:        #C9A227;   /* Heritage accent (used sparingly) */
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --cream:       #FBF7F0;   /* Warm off-white          */
  --text:        #0F1B2D;
  --text-muted:  #5A6577;
  --border:      #E2E5EC;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:  0 1px 2px rgba(15, 34, 64, 0.06);
  --shadow-md:  0 4px 14px rgba(15, 34, 64, 0.08);
  --shadow-lg:  0 12px 32px rgba(15, 34, 64, 0.12);

  --radius:     8px;
  --radius-lg:  14px;

  --container:  1200px;
}

/* -------- Scrolling ticker (heritage signage style) -------- */
.ticker {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.ticker::before,
.ticker::after {
  /* Soft fade on left/right edges so items don't pop in/out abruptly */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--red), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--red), transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.5rem;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.97);
}
.ticker-item .glyph {
  color: #ffd766;
  font-size: 0.95em;
}
.ticker-item .sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.35);
  margin: 0 0.6rem;
}
.ticker-item a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.ticker-item a:hover { border-color: #ffd766; color: #ffd766; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; transform: none; }
}

@media (max-width: 720px) {
  .ticker-item { padding: 0.5rem 1rem; font-size: 0.78rem; }
  .ticker-track { animation-duration: 40s; }
}

/* -------- Top stars-and-stripes announcement bar -------- */
.flag-stripe {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 5px;
}
.flag-stripe span:nth-child(1) { background: var(--red); }
.flag-stripe span:nth-child(2) { background: var(--white); }
.flag-stripe span:nth-child(3) { background: var(--navy); }

.announcement-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.95);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 38px;
  gap: 0.5rem 1.25rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.announcement-bar .ann-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.announcement-bar .ann-item svg { width: 14px; height: 14px; opacity: 0.9; }
.announcement-bar .ann-stars {
  color: #ffd766;
  letter-spacing: 2px;
  font-size: 0.8rem;
}
.announcement-bar a { color: var(--white); }
.announcement-bar a:hover { color: #ffd766; }

@media (max-width: 720px) {
  .announcement-bar .ann-item.hide-sm { display: none; }
}

/* -------- Diamond / gem accents (matches truck branding) -------- */
.diamond-bullet {
  display: inline-block;
  color: var(--red);
  font-size: 0.85em;
  vertical-align: middle;
  transform: translateY(-1px);
}
.diamond-bullet.gold { color: #ffd766; }
.diamond-bullet.navy { color: var(--navy); }

/* Variant of stars-divider with a center diamond: ★ ◆ ★ */
.gem-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 1.25rem auto;
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: 4px;
}
.gem-divider::before,
.gem-divider::after {
  content: "";
  height: 2px;
  flex: 0 0 60px;
  background: linear-gradient(90deg, transparent, var(--red));
}
.gem-divider::after { background: linear-gradient(90deg, var(--red), transparent); }
.gem-divider .gem {
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0;
  transform: translateY(-1px);
}

/* Subtle prism/facet shine for cards — single light pass, very low contrast */
.facet-shine {
  position: relative;
  isolation: isolate;
}
.facet-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.45) 28%,
    rgba(255,255,255,0) 32%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
}

/* Service-card top accent — replaces the flat red bar with a faceted shine */
.service-card { border-top: 0; }
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--red) 0%,
    #ff5d6d 35%,
    var(--red) 50%,
    #9b0824 80%,
    var(--red) 100%);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

/* CSS-only faceted gem badge — small inline jewel for trust signals/footer */
.gem-icon {
  display: inline-block;
  width: 1em;
  height: 1.15em;
  vertical-align: middle;
  position: relative;
  margin-right: 0.25em;
  transform: translateY(-1px);
}
.gem-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 49.5%, var(--navy) 49.5% 50.5%, transparent 50.5% 100%),
    linear-gradient(225deg, transparent 0 49.5%, var(--navy) 49.5% 50.5%, transparent 50.5% 100%),
    linear-gradient(180deg, #dde9f5 0 38%, #6e95c6 38% 100%);
  clip-path: polygon(28% 8%, 72% 8%, 96% 38%, 50% 96%, 4% 38%);
}

/* -------- Star and stripe decorative utilities -------- */
.stars-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.25rem auto;
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: 4px;
}
.stars-divider::before,
.stars-divider::after {
  content: "";
  height: 2px;
  flex: 0 0 60px;
  background: linear-gradient(90deg, transparent, var(--red));
}
.stars-divider::after {
  background: linear-gradient(90deg, var(--red), transparent);
}

ul.stars-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.stars-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
ul.stars-list li:last-child { border-bottom: 0; }
ul.stars-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--red);
  font-size: 1.05rem;
  line-height: 1.4;
}

.stripe-accent {
  height: 4px;
  width: 64px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 66%, var(--navy) 66% 100%);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.stripe-accent.center { margin-left: auto; margin-right: auto; }

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Inset content so the fixed site frame doesn't cover anything */
  padding: 12px;
}

/* -------- Site-wide patriotic frame (fixed, layered red/white/navy) -------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  box-shadow:
    inset 0 0 0 5px var(--red),
    inset 0 0 0 8px var(--white),
    inset 0 0 0 12px var(--navy);
}
@media (max-width: 720px) {
  body { padding: 7px; }
  body::before {
    box-shadow:
      inset 0 0 0 3px var(--red),
      inset 0 0 0 5px var(--white),
      inset 0 0 0 7px var(--navy);
  }
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--red); }

/* -------- Typography -------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 900;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1em 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* -------- Layout helpers -------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 4.5rem 0; }
.section-light { background: var(--off-white); }
.section-navy  { background: var(--navy); color: #DCE5F2; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: #ff8a93; }

.text-center { text-align: center; }
.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* -------- Header / navigation -------- */
.site-header {
  position: sticky;
  top: 12px;            /* matches body padding so header sticks at frame's inner edge */
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) {
  .site-header { top: 7px; }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}
.site-logo img { height: 48px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
}
.site-nav a:hover { color: var(--navy); background: var(--off-white); }
.site-nav a.active {
  color: var(--navy);
  background: var(--off-white);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white) !important;
  padding: 0.7rem 1.1rem !important;
  border-radius: var(--radius);
  font-weight: 700;
}
.header-cta:hover { background: var(--red-dark); color: var(--white) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  margin: 4px 0;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(191, 10, 48, 0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(191, 10, 48, 0.45);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--off-white); color: var(--navy); }
.btn-large { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* -------- Hero two-column grid (text + truck photo) -------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 48px rgba(0, 8, 30, 0.45);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo .photo-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(0, 24, 69, 0.85);
  color: var(--white);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-photo .photo-tag span { color: #ffd766; }
.hero-photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  padding: 1.5rem;
  border: 1px dashed rgba(255,255,255,0.25);
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.08));
}

/* -------- Hero -------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #001845 0%, #002868 55%, #1A3A6B 100%);
  color: var(--white);
  padding: 6rem 0 5.5rem 0;
  overflow: hidden;
}
.hero::before {
  /* Star field pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%23ffffff' fill-opacity='0.06'><path d='M40 8 L42.6 16 L51 16 L44.2 21 L46.8 29 L40 24 L33.2 29 L35.8 21 L29 16 L37.4 16 Z'/><path d='M14 50 L15.5 54.5 L20 54.5 L16.5 57.5 L18 62 L14 59 L10 62 L11.5 57.5 L8 54.5 L12.5 54.5 Z'/><path d='M66 60 L67.5 64.5 L72 64.5 L68.5 67.5 L70 72 L66 69 L62 72 L63.5 67.5 L60 64.5 L64.5 64.5 Z'/></g></svg>");
  background-size: 220px 220px;
  opacity: 0.9;
  pointer-events: none;
}
.hero::after {
  /* Bottom red stripe accent */
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--red) 0 16.6%,
    var(--white) 16.6% 33.3%,
    var(--red) 33.3% 50%,
    var(--white) 50% 66.6%,
    var(--red) 66.6% 83.3%,
    var(--white) 83.3% 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 19ch;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.hero .lead { color: rgba(255,255,255,0.92); max-width: 60ch; margin-left: 0; margin-right: 0; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-trust .trust-star {
  color: #ffd766;
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.hero-trust strong {
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.1;
  display: block;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-trust span {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 500;
}

/* -------- Page header (smaller hero for inner pages) -------- */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #001845 0%, #002868 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem 0;
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%23ffffff' fill-opacity='0.05'><path d='M40 8 L42.6 16 L51 16 L44.2 21 L46.8 29 L40 24 L33.2 29 L35.8 21 L29 16 L37.4 16 Z'/></g></svg>");
  background-size: 200px 200px;
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--white) 50% 100%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-weight: 900; }
.page-header p { color: rgba(255,255,255,0.88); max-width: 620px; margin: 0 auto; }

/* -------- Cards / grids -------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-soft);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--off-white);
  color: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.card p  { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

/* Service card with red accent bar */
.service-card {
  position: relative;
  border-top: 4px solid var(--red);
}

/* -------- "Why choose us" feature row -------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.feature {
  text-align: center;
  padding: 1rem 0.5rem;
}
.feature-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* -------- Big CTA banner -------- */
.cta-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 620px; margin: 0 auto 1.5rem auto; }
.cta-banner .btn-secondary { background: var(--white); color: var(--navy); }
.cta-banner .btn-secondary:hover { background: #f0f0f0; color: var(--navy-dark); }

/* -------- Service detail rows (Services page) -------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}
.service-row .card-icon { flex-shrink: 0; margin: 0; }
.service-row h3 { margin-bottom: 0.4rem; }
.service-row p { margin: 0 0 0.75rem 0; color: var(--text-muted); font-size: 0.97rem; }
.service-row ul { margin: 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.95rem; }
.service-row li { margin-bottom: 0.25rem; }

.pricing-note {
  background: linear-gradient(135deg, #FEF6F7 0%, #FFFFFF 100%);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.pricing-note h3 { color: var(--navy); margin-bottom: 0.4rem; }
.pricing-note p  { margin: 0; color: var(--text); }

/* -------- Forms (Contact page) -------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}
.contact-info-card h2 { color: var(--white); }
.contact-info-card p { color: rgba(255,255,255,0.85); }
.contact-info-card .info-block {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-info-card .info-block:first-of-type { border-top: 0; padding-top: 1.5rem; margin-top: 0.5rem; }
.contact-info-card .info-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.contact-info-card .info-icon svg { width: 18px; height: 18px; }
.contact-info-card .info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.contact-info-card .info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0.15rem 0 0 0;
}
.contact-info-card .info-value a { color: var(--white); }
.contact-info-card .info-value a:hover { color: #ffd0d4; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-required { color: var(--red); }
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0 0;
}
.form-actions { margin-top: 1.5rem; }

/* -------- Testimonials section: framed bg so cards pop -------- */
.testimonials-section {
  position: relative;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}
.testimonials-section::before {
  /* Faint star-pattern wash so cards float against texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%23002868' fill-opacity='0.04'><path d='M40 10 L42 16 L48 16 L43 20 L45 26 L40 22 L35 26 L37 20 L32 16 L38 16 Z'/></g></svg>");
  background-size: 200px 200px;
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.testimonials-section > * { position: relative; z-index: 1; }

/* -------- Testimonial grid -------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* -------- Testimonial card (heavily upgraded for editorial feel) -------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 8px rgba(15, 34, 64, 0.04);
}
/* Top red-white-navy stripe — replaces the old left red border */
.testimonial::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--red) 0 33.3%,
    var(--white) 33.3% 66.6%,
    var(--navy) 66.6% 100%);
}
/* Decorative oversized opening quote mark in the upper-right */
.testimonial::after {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.5rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
  transition: opacity .3s ease, transform .3s ease;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(15, 34, 64, 0.16);
}
.testimonial:hover::after {
  opacity: 0.3;
  transform: scale(1.05);
}
.testimonial:hover .stars { color: #ffc107; letter-spacing: 3px; }
.testimonial:hover .testimonial-avatar {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 24, 69, 0.25);
}
.testimonial > * { position: relative; z-index: 1; }

/* Avatar circle with initials — adds a face/identity to each card */
.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
  box-shadow: 0 3px 10px rgba(0, 24, 69, 0.18);
  border: 2px solid var(--white);
  outline: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-avatar.red { background: var(--red); }
.testimonial-avatar.dark-gold { background: #b88c2c; }

.testimonial-quote {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1.5rem 0;
}
.testimonial-author {
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.testimonial-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0 0;
}
.stars {
  color: #f5b300;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  transition: color .25s ease, letter-spacing .25s ease;
}

/* Community-vouch variant (different from a paid-customer review) */
.testimonial.is-community::before {
  background: linear-gradient(90deg, #b88c2c 0 33.3%, var(--white) 33.3% 66.6%, var(--navy) 66.6% 100%);
}
.testimonial.is-community::after {
  color: #b88c2c;
}

/* -------- Local Guide badge -------- */
.local-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.55rem;
}
.local-guide-badge::before {
  content: "★";
  color: var(--red);
  font-size: 0.85em;
  letter-spacing: 0;
}
.local-guide-badge.on-dark {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}
.local-guide-badge.on-dark::before { color: #ffd766; }

/* -------- Featured review (editorial pull-quote treatment) -------- */
.featured-review {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem 2.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 24, 69, 0.18);
}
.featured-review::before {
  /* Subtle star-pattern wash for that heritage feel */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%23ffffff' fill-opacity='0.05'><path d='M40 8 L42.6 16 L51 16 L44.2 21 L46.8 29 L40 24 L33.2 29 L35.8 21 L29 16 L37.4 16 Z'/></g></svg>");
  background-size: 220px 220px;
  pointer-events: none;
}
.featured-review::after {
  /* Bottom red-white-blue stripe accent */
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--white) 33.3% 66.6%, #1A3A6B 66.6% 100%);
}
.featured-review > * { position: relative; z-index: 1; }
.featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd766;
  margin-bottom: 1rem;
}
.featured-eyebrow::before, .featured-eyebrow::after { content: "★"; font-size: 0.85em; }
.featured-quote-mark {
  position: absolute;
  top: 0.6rem;
  right: 1.5rem;
  font-family: 'Georgia', serif;
  font-size: 11rem;
  line-height: 1;
  color: rgba(255, 215, 102, 0.18);
  pointer-events: none;
  user-select: none;
}
.featured-stars {
  color: #ffd766;
  font-size: 1.5rem;
  letter-spacing: 6px;
  margin-bottom: 1rem;
}
.featured-quote {
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--white);
  font-weight: 500;
  margin: 0 0 1.75rem 0;
  max-width: 56ch;
}
.featured-author {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}
.featured-meta {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin: 0.3rem 0 0 0;
}

@media (max-width: 720px) {
  .featured-review { padding: 2rem 1.5rem; }
  .featured-quote { font-size: 1.15rem; }
  .featured-quote-mark { font-size: 7rem; right: 0.75rem; }
}

.testimonial-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

/* -------- Tagline (the "Comfort That Is Set In Stone" line) -------- */
.tagline {
  display: inline-block;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffd766;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}
.tagline::before { content: "\201C"; margin-right: 2px; }
.tagline::after  { content: "\201D"; margin-left: 2px; }

/* -------- Trust badges (24/7 + Licensed & Insured) -------- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 0 0;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}
.trust-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.trust-badge.badge-red { background: var(--red); border-color: var(--red-dark); }

/* On light section, an inverted variant */
.trust-badge.light {
  background: var(--off-white);
  border-color: var(--border);
  color: var(--navy);
}
.trust-badge.light.badge-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-dark);
}

/* -------- Recent Work / photo gallery -------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,24,69,0.92) 0%, rgba(0,24,69,0.6) 70%, transparent 100%);
  padding: 1.5rem 1rem 1rem 1rem;
  color: var(--white);
}
.gallery-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.gallery-caption span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
/* Empty/placeholder state */
.gallery-item.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--off-white), var(--white));
  border-style: dashed;
}
.gallery-item.is-placeholder span { line-height: 1.45; }

/* -------- Truck/About showcase image (replaces the placeholder) -------- */
.feature-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid var(--border);
}
.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-photo .photo-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,24,69,0.85), transparent);
  color: var(--white);
  padding: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.feature-photo .photo-overlay span { color: #ffd766; }
.feature-photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  padding: 1.5rem;
  font-size: 0.95rem;
  border: 1px dashed rgba(255,255,255,0.2);
}

/* -------- Footer -------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}
.site-footer p, .site-footer li { font-size: 0.93rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--white); }
.footer-logo img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* -------- Utility -------- */
.spacer-sm { height: 1.5rem; }
.spacer-md { height: 3rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--text-muted); }

/* -------- Responsive -------- */
@media (max-width: 900px) {
  section { padding: 3.5rem 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo { aspect-ratio: 16 / 10; max-height: 380px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .header-cta { margin-top: 0.5rem; text-align: center; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem 0; }
  .hero-trust { gap: 1.25rem 1.5rem; }
  form.contact-form, .contact-info-card { padding: 1.75rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
