:root {
  --navy: #061b3a;
  --navy-2: #0d2d55;
  --ink: #10243d;
  --muted: #53657a;
  --sky: #90cdf4;
  --aqua: #27a8c8;
  --amber: #f4a12d;
  --line: #dbe8f2;
  --surface: #f5f9fc;
  --surface-2: #eef6fb;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(6, 27, 58, 0.14);
  --soft-shadow: 0 12px 28px rgba(6, 27, 58, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 252, 0.72)),
    var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(188, 210, 226, 0.72);
  box-shadow: 0 12px 32px rgba(6, 27, 58, 0.06);
  backdrop-filter: blur(18px);
}

.notice {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 16px;
  color: var(--white);
  background: linear-gradient(90deg, var(--navy), #0d345f 54%, var(--navy));
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.notice a {
  color: var(--sky);
}

.nav-shell {
  max-width: var(--max);
  min-height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: min(270px, 56vw);
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--navy);
}

.nav-links a {
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-dropdown[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 25;
  width: 270px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(6, 27, 58, 0.14);
  transform: translateX(-50%);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: normal;
}

.nav-dropdown-menu a:hover {
  background: var(--surface);
}

.legal-nav {
  display: flex;
}

.nav-call,
.nav-quote,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

button.nav-quote,
button.button {
  font: inherit;
  cursor: pointer;
}

.nav-call {
  display: none;
  border-color: rgba(6, 27, 58, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.nav-quote,
.button.primary {
  color: #03111f;
  background: linear-gradient(180deg, #a8ddfa, var(--sky));
  border-color: #071629;
  box-shadow: 0 7px 0 #071629, 0 18px 28px rgba(6, 27, 58, 0.12);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(6, 27, 58, 0.24);
  box-shadow: 0 12px 22px rgba(6, 27, 58, 0.06);
}

.button:hover,
.nav-quote:hover,
.nav-call:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100vh - 124px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(241, 248, 253, 0.74) 72%, rgba(241, 248, 253, 0.52) 100%),
    url("/assets/images/coastal-background.png") center right / cover no-repeat,
    var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 28%, rgba(144, 205, 244, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  z-index: 0;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding: 72px 0 104px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sky);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--navy);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--navy);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--navy);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: #40566f;
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

.hero-subline {
  margin-bottom: 18px;
  color: var(--aqua);
  font-size: clamp(1.2rem, 2.8vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.intro-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.76)),
    var(--white);
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.credential-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: -1px;
  padding: 24px 0 46px;
  border-bottom: 1px solid var(--line);
}

.credential-strip h3 {
  margin: 0;
}

.credential-strip p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96)),
    var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--aqua), var(--amber));
  opacity: 0.84;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 168, 200, 0.35);
  box-shadow: 0 24px 48px rgba(6, 27, 58, 0.12);
}

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

.service-card .text-link {
  display: inline-flex;
  margin-top: 6px;
}

.service-icon {
  display: block;
  width: 54px;
  height: 34px;
  margin-bottom: 28px;
  border: 3px solid var(--navy);
  border-radius: 7px;
  background: linear-gradient(135deg, #e7f6fd, var(--sky));
  box-shadow: inset 13px 0 0 rgba(39, 168, 200, 0.28);
}

.service-icon.windshield,
.service-icon.rear {
  width: 64px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d9f3ff 0%, #90cdf4 54%, #4fb5d6 100%);
  box-shadow:
    inset 12px 0 0 rgba(255, 255, 255, 0.24),
    inset 0 -5px 0 rgba(6, 27, 58, 0.08);
}

.service-icon.windshield {
  width: 72px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='8' y1='8' x2='65' y2='36' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23d9f3ff'/%3E%3Cstop offset='.58' stop-color='%2390cdf4'/%3E%3Cstop offset='1' stop-color='%234fb5d6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 3h52c4 0 7 3 8 8l2 22c1 5-3 9-8 9H8c-5 0-9-4-8-9l2-22c1-5 4-8 8-8Z' fill='%23061b3a'/%3E%3Cpath d='M12 8h48c3 0 5 2 6 6l2 18c1 3-2 6-5 6H9c-3 0-6-3-5-6l2-18c1-4 3-6 6-6Z' fill='url(%23g)'/%3E%3Cpath d='M21 8h10l-4 30H17z' fill='%23fff' opacity='.26'/%3E%3C/svg%3E") center / contain no-repeat;
  box-shadow: none;
}

.service-icon.chip {
  position: relative;
}

.service-icon.chip::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--navy);
  border-top: 2px solid var(--navy);
  transform: rotate(35deg);
}

.service-icon.side {
  border-radius: 20px 6px 6px 6px;
}

.service-icon.rear {
  background: linear-gradient(135deg, #fff4dd 0%, #ffd28b 54%, #f4a12d 100%);
}

.service-icon.adas {
  position: relative;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8fbff, #80d7e8);
}

.service-icon.adas::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
}

.process-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.96), rgba(6, 27, 58, 0.88) 55%, rgba(6, 27, 58, 0.72)),
    url("/assets/images/coastal-background.png") center right / cover no-repeat,
    var(--navy);
}

.fleet-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 251, 0.92)),
    var(--surface);
}

.fleet-layout,
.fleet-mini,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.fleet-layout p,
.fleet-mini p,
.form-layout p {
  color: var(--muted);
  font-size: 1.08rem;
}

.fleet-panel,
.fleet-form {
  padding: 28px;
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.fleet-panel ul,
.fleet-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fleet-panel li,
.fleet-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 800;
}

.fleet-panel li::before,
.fleet-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--aqua));
  box-shadow: 0 0 0 4px rgba(144, 205, 244, 0.22);
}

.insurance-section {
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.58), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.claim-script {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.24rem, 2.6vw, 2rem);
  line-height: 1.2;
  font-weight: 950;
}

.script-note {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
}

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.carrier-grid span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96)),
    var(--white);
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.process-section h2,
.process-section h3 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
}

.process-list span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #03111f;
  background: var(--sky);
  border-radius: 8px;
  font-weight: 950;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.area-section {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2));
}

.area-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.area-layout p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.08rem;
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(188, 210, 226, 0.88);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(6, 27, 58, 0.06);
}

.area-panel {
  padding: 28px;
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.area-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.area-panel li {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff, var(--surface));
  border: 1px solid rgba(219, 232, 242, 0.86);
  border-radius: 8px;
  font-weight: 800;
}

.area-panel li a {
  width: 100%;
}

.location-hero {
  padding: 92px 0 76px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92) 48%, rgba(241, 248, 253, 0.68)),
    url("/assets/images/coastal-background.png") center right / cover no-repeat,
    var(--surface);
}

.location-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  color: var(--navy);
}

.location-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #40566f;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.location-services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.location-copy p,
.location-copy li {
  color: var(--muted);
  font-size: 1.06rem;
}

.location-copy ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.local-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.local-list li {
  min-height: 40px;
  padding: 9px 10px;
  color: var(--navy);
  background: var(--surface);
  border-radius: 8px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 24px;
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

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

.reviews-section {
  background: var(--white);
}

.reviews-layout {
  display: grid;
  gap: 10px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, var(--surface));
  box-shadow: var(--soft-shadow);
}

.review-stars {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.review-card p {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 1.04rem;
}

.review-card span {
  color: var(--muted);
  font-weight: 800;
}

.review-empty {
  border-style: dashed;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 30px;
  font-style: normal;
  border: 1px solid rgba(188, 210, 226, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.fleet-form {
  display: grid;
  gap: 14px;
}

.fleet-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.fleet-form input,
.fleet-form select,
.fleet-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid rgba(188, 210, 226, 0.96);
  border-radius: 8px;
  background: var(--white);
}

.fleet-form textarea {
  min-height: 118px;
  resize: vertical;
}

.fleet-form .hidden {
  display: none;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-line {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.contact-line.phone {
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.1;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.98), rgba(9, 47, 84, 0.96)),
    var(--navy);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 0;
}

.footer-logo {
  width: min(370px, 76vw);
  margin-bottom: 12px;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.footer-links {
  display: grid;
  gap: 10px;
  text-align: right;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-bottom {
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.legal-hero {
  padding: 86px 0 54px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92) 52%, rgba(241, 248, 253, 0.72)),
    url("/assets/images/coastal-background.png") center right / cover no-repeat,
    var(--surface);
}

.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  color: var(--navy);
}

.legal-hero p:last-child {
  margin: 0;
  color: #40566f;
  font-weight: 800;
}

.legal-section {
  background: var(--surface);
}

.legal-content {
  max-width: 860px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-content a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 22px;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.94), rgba(12, 73, 112, 0.78)),
    url("/assets/images/coastal-background.png") center right / cover no-repeat,
    var(--navy);
}

.thanks-logo {
  width: min(380px, 82vw);
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}

.thanks-card {
  width: min(760px, 100%);
  padding: clamp(28px, 7vw, 62px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.thanks-card p {
  color: var(--muted);
  font-size: 1.1rem;
}

.sms-opt-in-form {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sms-opt-in-form label {
  color: var(--navy);
  font-weight: 900;
}

.sms-opt-in-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.sms-opt-in-check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--navy);
}

.sms-opt-in-check span {
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 920px) {
  .notice {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .nav-shell {
    min-height: 70px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 24px rgba(6, 27, 58, 0.12);
  }

  .nav-links.is-open {
    display: grid;
    gap: 14px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    transform: none;
  }

  .nav-call {
    display: inline-flex;
  }

  .legal-nav a {
    width: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: min(100% - 36px, 760px);
    margin: 0 auto;
    padding: 62px 0 84px;
  }

  .intro-grid,
  .credential-strip,
  .process-grid,
  .area-layout,
  .fleet-layout,
  .fleet-mini,
  .form-layout,
  .location-copy,
  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-services,
  .review-grid,
  .carrier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-layout {
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  .hero-actions,
  .contact-actions,
  .button,
  .nav-call,
  .nav-quote {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.4rem, 15vw, 3.65rem);
    line-height: 0.98;
  }

  .service-grid,
  .location-services,
  .review-grid,
  .carrier-grid,
  .local-list,
  .area-panel ul {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .legal-hero {
    padding: 60px 0 42px;
  }

  .legal-content {
    padding: 24px;
  }

  .service-card {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .contact-line.phone {
    font-size: 1.35rem;
  }

}
