/* Arbiso Transportation Inc. — navy / steel / white */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --steel: #4a6278;
  --steel-light: #6b8299;
  --steel-pale: #e8eef3;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --accent: #2c5282;
  --text: #1a2332;
  --text-muted: #4a5568;
  --border: #c5d0dc;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
  --radius: 6px;
  --max: 1100px;
  --narrow: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--steel-light);
  border-radius: 3px;
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%);
  flex-shrink: 0;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  border-right: 2px solid rgba(255, 255, 255, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--white);
  text-decoration: none;
}

.site-nav .nav-phone {
  color: var(--white);
  font-weight: 700;
  margin-left: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
}

.site-nav .nav-phone:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, #143056 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 41px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-light);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

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

.hero-note {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--steel-pale);
  border-color: var(--steel-pale);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.contact .btn-secondary {
  color: var(--navy);
  border-color: var(--border);
}

.contact .btn-secondary:hover {
  border-color: var(--steel);
  background: var(--steel-pale);
}

.contact .btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.contact .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

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

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.about {
  background: var(--white);
}

.about p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about p:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--off-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-area {
  background: var(--navy);
  color: var(--white);
}

.service-area h2 {
  color: var(--white);
}

.service-area p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.service-area strong {
  color: var(--white);
  font-weight: 650;
}

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

.area-list li {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--steel-light);
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card {
  padding: 1.35rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-card p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-card a {
  color: var(--navy);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
}

.footer-brand strong {
  color: var(--white);
  font-size: 0.975rem;
}

.footer-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Equipment cards */
.equip-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.equip-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; flex: none; background: linear-gradient(135deg, var(--navy-deep), var(--steel)); }
.equip-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.equip-media--icon { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); }
.equip-media--icon svg { width: 55%; height: auto; }
.equip-body { padding: 1.1rem 1.15rem 1.3rem; border-top: 3px solid var(--steel); flex: 1; }
.section-intro a { color: var(--steel); font-weight: 600; }
.quote-form select { width: 100%; padding: 0.7rem 0.85rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.quote-form select:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15); }

.cert-badge { display: inline-block; margin: 0 0 1.25rem; padding: 0.35rem 0.8rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(44, 82, 130, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; }

.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.highlight-card { flex-direction: row; }
.highlight-card .equip-media { width: 42%; aspect-ratio: 4 / 3; }
.highlight-card .equip-body { border-top: none; border-left: 3px solid var(--steel); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 700px) { .highlight-grid { grid-template-columns: 1fr; } }

.equip-group { margin: 1.75rem 0 0.85rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.equip-grid--5 { grid-template-columns: repeat(5, 1fr); }
.equip-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .equip-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .equip-grid--5, .equip-grid--3 { grid-template-columns: repeat(2, 1fr); } }

.equip-media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--steel); }
.equip-media--split img { position: static; width: 100%; height: 100%; object-fit: cover; min-height: 0; }

.equip-body p a { color: var(--steel); font-weight: 600; }

.equip-area { font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); }

/* Forms: Netlify + application */
.hp-field { display: none; }
.quote-form h2.form-section { margin: 1.75rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.quote-form.apply-form h2.form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.choice-group { border: none; padding: 0; margin-left: 0; margin-right: 0; }
.choice-group legend { font-size: 0.9375rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1rem; }
.choice-inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.quote-form label.choice { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; font-size: 0.9375rem; color: var(--text); margin: 0; cursor: pointer; }
.quote-form .choice input { width: auto; margin: 0; padding: 0; accent-color: var(--navy); flex: none; }
.quote-form label.certify { align-items: flex-start; font-weight: 600; }
.quote-form label.certify input { margin-top: 0.2rem; }
.apply-cta { margin-top: 1.5rem; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--steel); border-radius: var(--radius); box-shadow: var(--shadow); }
.apply-cta p { margin: 0; color: var(--text); }
.success-card .btn { margin-top: 0.5rem; }
@media (max-width: 700px) { .choice-grid { grid-template-columns: 1fr; } }

/* Brand logo */
.logo-img { display: block; height: 3rem; width: auto; max-width: none; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { display: block; height: 2.75rem; width: auto; opacity: 0.95; }
.footer-brand { align-items: center; }
@media (max-width: 700px) { .logo-img { height: 2.15rem; } }
@media (max-width: 360px) { .logo-img { height: 1.85rem; } }

/* Videos */
.in-action { background: var(--navy); color: var(--white); }
.in-action h2 { color: var(--white); }
.action-video { margin: 0; }
.action-video video, .video-item video { display: block; width: 100%; height: auto; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); }
.action-video video { aspect-ratio: 16 / 9; }
.action-video figcaption { margin-top: 0.75rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
.fleet-subhead { margin: 0 0 1.25rem; }
.video-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr; grid-auto-flow: row dense; gap: 1.5rem; align-items: start; margin-bottom: 3rem; }
.video-item--portrait { grid-column: 3; grid-row: 1 / span 2; }
.video-item { margin: 0; }
.video-item--landscape video { aspect-ratio: 16 / 9; }
.video-item--portrait video { aspect-ratio: 9 / 16; }
.video-item figcaption { margin-top: 0.6rem; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-item--portrait { grid-column: 1 / -1; grid-row: auto; max-width: 320px; width: 100%; margin: 0 auto; }
}
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Mobile */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav .nav-phone {
    margin: 0.75rem 0 0;
    text-align: center;
    border-bottom: none;
  }

  .header-inner {
    position: relative;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.25rem 0 3.75rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- Multipage additions ---- */

.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom: 2px solid var(--steel-light);
}

.site-nav .nav-cta {
  color: var(--white);
  font-weight: 650;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.text-link {
  font-weight: 600;
  color: var(--accent);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--steel);
  background: var(--steel-pale);
  color: var(--navy);
}

.btn-block {
  width: 100%;
}

/* Hero with photo */
.hero-with-photo {
  position: relative;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 55%;
  opacity: 0.42;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy-deep) 10%, rgba(11, 31, 58, 0.66) 50%, rgba(20, 48, 86, 0.38) 100%);
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, #143056 100%);
  color: var(--white);
  padding: 3rem 0 2.75rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.page-hero-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
}

.page-hero-lead a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Fleet preview + gallery */
.fleet-preview {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-preview {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  margin: 0;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-deep);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.section-cta {
  margin: 1.75rem 0 0;
}

.fleet-gallery {
  background: var(--off-white);
}

.fleet-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.fleet-cta p {
  margin: 0;
  flex: 1 1 12rem;
  font-weight: 600;
  color: var(--navy);
}

/* About page */
.about-page {
  background: var(--off-white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy h2 {
  margin-top: 1.75rem;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.about-copy p {
  color: var(--text-muted);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about-photo {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: cover;
}

.about-photo figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--white);
}

.about-facts {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.about-facts h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.about-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--steel-pale);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about-facts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-facts strong {
  color: var(--navy);
}

/* Quote page */
.quote-section {
  background: var(--off-white);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.quote-form-wrap,
.quote-success {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.quote-form .form-row {
  margin-bottom: 1.15rem;
}

.quote-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--navy);
}

.quote-form .req {
  color: #b45309;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}

.quote-form input.is-invalid,
.quote-form textarea.is-invalid {
  border-color: #c05621;
}

.quote-form .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.success-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.success-card p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.quote-aside {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.quote-aside h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1.25rem;
}

.quote-aside > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.975rem;
}

.quote-phone {
  font-size: 1.35rem !important;
  font-weight: 700;
  margin-bottom: 0.35rem !important;
}

.quote-phone a,
.quote-email a {
  color: var(--white);
}

.quote-email {
  margin-bottom: 1.25rem !important;
}

.quote-tips {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-tips li {
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--steel-light);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.25rem 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

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

@media (max-width: 900px) {
  .gallery-grid,
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .gallery-grid,
  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 12rem;
  }

  .quote-form .two-col {
    grid-template-columns: 1fr;
  }

  .site-nav .nav-cta {
    margin: 0.25rem 0;
    text-align: center;
    border-bottom: none;
  }

  .page-hero {
    padding: 2.25rem 0 2rem;
  }
}
