:root {
  --brand-navy: #142539;
  --brand-blue: #0b63ce;
  --brand-blue-hover: #084c9e;
  --brand-surface: #1b344a;
  --brand-text: #f5f9fc;
  --brand-link: #a8dcff;
  --brand-panel: #f5f9fc;
  --brand-border: #46627b;
  --brand-muted: #dceaf4;
}

body,
.top {
  background: var(--brand-navy);
  color: var(--brand-text);
}

.top {
  border-bottom: 1px solid var(--brand-border);
}

.top .brand img {
  border-radius: 8px;
}

.top .nav a:not(.btn):hover,
.top .nav [aria-current="page"] {
  color: var(--brand-link);
}

.btn:not(.outline) {
  background: var(--brand-blue);
  color: white;
}

.btn:not(.outline):hover {
  background: var(--brand-blue-hover);
}

.hero {
  background-image: linear-gradient(90deg, #061522 0%, #061522f2 28%, #061522bb 55%, #06152226 100%), url('/photos/windshield-sealant.jpg');
}

.hero h1 {
  max-width: 13.5em;
  text-transform: none;
}

#top > .section,
.strip,
.footer {
  background: var(--brand-navy);
  color: var(--brand-text);
  border-top: 1px solid var(--brand-border);
}

#top > .section :is(.lead, .heading p, .customer-reviews-heading p),
#quote .quote > div > p,
#about .intro aside p {
  color: var(--brand-muted);
}

#top > .section .eyebrow {
  color: var(--brand-link);
}

#about .intro aside,
.customer-review-card {
  background: var(--brand-surface);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
  box-shadow: none;
}

#quote .form {
  background: var(--brand-panel);
  color: var(--brand-navy);
  border: 1px solid var(--brand-border);
  box-shadow: 0 8px 24px #0b1f330a;
}

#services .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#services .service-photo-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  box-shadow: 0 8px 24px #0b1f330a;
}

#services .service-photo-card::after {
  content: none;
}

#services .service-photo-card .card-photo {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

#services .service-photo-card:nth-child(5) .card-photo {
  object-fit: contain;
  object-position: center;
  background: var(--brand-navy);
}

#services .service-photo-card .card-content {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
  width: auto;
  margin: 0;
  padding: 22px;
  color: var(--brand-text);
}

#services .card-content :is(h3, p, .num, .service-link) {
  text-shadow: none;
}

#services .card-content h3 {
  font-size: 1.45rem;
  color: var(--brand-text);
}

#services .card-content p {
  font-size: 1rem;
  color: var(--brand-muted);
}

#services .card-content :is(.num, .service-link) {
  color: var(--brand-link);
}

#services .card-content .service-icon {
  filter: brightness(0) invert(1);
}

#services .card-content .service-link {
  align-self: flex-start;
  margin-top: auto;
}

.instant-vin-panel,
.omega-booking-note {
  background: var(--brand-surface);
  color: var(--brand-text);
}

.instant-vin-panel .vin-guide[open] {
  background: var(--brand-navy);
  border-color: var(--brand-border);
}

.instant-vin-panel {
  padding: 16px 20px;
  border: 1px solid var(--brand-border);
  border-left: 4px solid var(--brand-blue);
  border-radius: 8px;
}

.instant-vin-panel .vin-priority {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
}

.instant-vin-panel .vin-guide summary,
.instant-vin-panel a {
  color: var(--brand-link);
}

.instant-vin-panel .omega-quote-links {
  margin: 4px 0 0;
}

#insurance .btn,
#quote button[type='submit'] {
  color: var(--brand-blue-hover);
  background: white;
  border: 1px solid currentColor;
}

#insurance .btn:hover,
#quote button[type='submit']:hover {
  background: #d9e8f3;
}

#reviews :is(.customer-review-name, .customer-review-position) {
  color: var(--brand-text);
}

#reviews :is(.customer-review-caption, .customer-review-rating-label) {
  color: var(--brand-muted);
}

#reviews :is(.customer-review-google, .customer-review-service, .customer-review-more summary) {
  color: var(--brand-link);
}

#reviews .customer-review-stars {
  color: #ffd36a;
}

#reviews .customer-review-controls button {
  color: var(--brand-text);
  background: var(--brand-surface);
  border-color: var(--brand-border);
}

#reviews .customer-review-controls button:hover {
  background: #274960;
}

#reviews .customer-review-track {
  scrollbar-color: #86a7c0 var(--brand-navy);
}

#top .warranty-copy :is(h1, h2, p, summary) {
  color: var(--brand-text);
}

#top .faq-list details {
  background: var(--brand-surface);
  border-color: var(--brand-border);
}

@media (max-width: 950px) {
  #services .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .hero {
    background-image: linear-gradient(90deg, #061522f0 0%, #061522b8 100%), url('/photos/windshield-sealant.jpg');
  }

  #services .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
