/* Valley Auto Glass & Upholstery — Revamp */
:root {
  --navy: #0b2433;
  --navy-mid: #143d58;
  --steel: #1f5a78;
  --sky: #2bb3e0;
  --sky-deep: #1496c4;
  --sand: #f0ebe3;
  --paper: #f7f5f1;
  --ink: #152029;
  --muted: #5a6a75;
  --line: rgba(21, 32, 41, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(11, 36, 51, 0.12);
  --radius: 4px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 1.75rem;
  --header-h: 90px;
  --section-y: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(43, 179, 224, 0.08), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #ebe7df 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container,
.header-inner,
.hero-content {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 245, 241, 0.98);
  box-shadow: 0 8px 24px rgba(11, 36, 51, 0.06);
}

.site-header.is-home:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(11, 36, 51, 0.62), rgba(11, 36, 51, 0.15) 70%, transparent);
  border-bottom-color: transparent;
  color: var(--white);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  height: 72px;
}

.logo img {
  display: block;
  height: 68px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.site-header.is-home:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  height: 72px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--sky-deep);
}

.site-header.is-home:not(.is-scrolled) .nav a:hover,
.site-header.is-home:not(.is-scrolled) .nav a.is-active {
  color: var(--sky);
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--sky);
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: #57c7ea !important;
  color: var(--navy) !important;
}

.site-header.is-home:not(.is-scrolled) .nav-cta {
  background: var(--white);
  color: var(--navy) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 36, 51, 0.35) 0%, rgba(11, 36, 51, 0.18) 42%, rgba(11, 36, 51, 0.86) 100%),
    linear-gradient(105deg, rgba(11, 36, 51, 0.62) 0%, rgba(11, 36, 51, 0.18) 48%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-brand {
  width: min(280px, 70vw);
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  text-transform: uppercase;
  max-width: 11ch;
  margin-bottom: 0.85rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

.section-actions {
  margin-top: 2rem;
  opacity: 1;
  transform: none;
  animation: none;
}

.section .hero-actions {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  line-height: 1.2;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sky);
  color: var(--navy);
}

.btn-primary:hover {
  background: #57c7ea;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-mid);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--header-h) + 2.25rem) 0 2.25rem;
  background:
    linear-gradient(135deg, rgba(11, 36, 51, 0.92), rgba(31, 90, 120, 0.88)),
    url("../assets/images/hero-bg.jpg") center/cover;
  color: var(--white);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.page-hero p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Sections */
.section {
  padding: var(--section-y) 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
}

.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.section-head {
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 0.65rem;
}

.section-dark .eyebrow {
  color: var(--sky);
}

/* Locations strip */
.locations {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.locations h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
}

.location-list {
  display: grid;
  gap: 1.25rem;
}

.location-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.location-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Service mosaic — interactive rows, not heavy cards */
.service-mosaic {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr;
  background: var(--white);
  min-height: 200px;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-item:nth-child(even) {
  grid-template-columns: 1fr minmax(180px, 300px);
}

.service-item:nth-child(even) figure {
  order: 2;
}

.service-item:hover {
  background: #f3fafd;
  box-shadow: inset 3px 0 0 var(--sky);
}

.service-item:nth-child(even):hover {
  box-shadow: inset -3px 0 0 var(--sky);
}

.service-item figure {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.service-item figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 36, 51, 0.12), transparent 55%);
  pointer-events: none;
}

.service-item:nth-child(even) figure::after {
  background: linear-gradient(270deg, rgba(11, 36, 51, 0.12), transparent 55%);
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-item:hover img {
  transform: scale(1.06);
}

.service-item .copy {
  padding: 1.65rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-item h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.service-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
  max-width: 48ch;
}

.service-link {
  margin-top: 0.95rem;
  font-weight: 700;
  color: var(--sky-deep);
  font-size: 0.92rem;
  transition: letter-spacing 0.2s var(--ease);
}

.service-item:hover .service-link {
  letter-spacing: 0.03em;
}

/* Service grid for category pages */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cat-link {
  display: block;
  padding: 1.5rem 1.35rem;
  background: var(--white);
  border-bottom: 3px solid var(--sky);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.cat-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-link h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.cat-link p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quote {
  padding: 0;
  border: none;
  position: relative;
}

.quote p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--sky);
  display: block;
  margin-bottom: 0.25rem;
}

/* CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cta-band .hero-actions {
  opacity: 1;
  transform: none;
  animation: none;
  margin: 0;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.phone-xl {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sky);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-member {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.team-member h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.team-role {
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  display: block;
}

.team-member p {
  color: var(--muted);
  margin: 0;
}

/* Content blocks */
.prose {
  max-width: 68ch;
}

.prose h2,
.prose h3 {
  text-transform: uppercase;
  margin-top: 1.75rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.prose li::marker {
  color: var(--sky-deep);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.split-media {
  margin: 0;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 420px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0;
  border: none;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  align-self: stretch;
  min-height: 1.2em;
  background: var(--sky);
  margin-top: 0.15em;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-block {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-top: 3px solid var(--navy);
}

.price-block h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.price-block .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--sky-deep);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.price-block ul {
  list-style: disc;
  padding-left: 1.1rem;
}

.price-block li {
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.shop-item {
  background: var(--white);
  transition: transform 0.2s var(--ease);
}

.shop-item:hover {
  transform: translateY(-3px);
}

.shop-item img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  background: #e8eef2;
}

.shop-item h3 {
  font-size: 1rem;
  padding: 1rem 0.9rem 1.1rem;
  text-transform: uppercase;
  margin: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem 3.5rem;
  align-items: start;
}

.contact-title {
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  max-width: 540px;
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(43, 179, 224, 0.2);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-details {
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

.detail-block h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.detail-block p,
.detail-block a {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.detail-block a:hover {
  color: var(--sky-deep);
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  background: rgba(43, 179, 224, 0.12);
  border-left: 3px solid var(--sky);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 65ch;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.25rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 2.25rem;
}

.footer-brand .logo,
.footer-brand a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin: 0 0 1.1rem;
}

.footer-brand img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  filter: none;
  background: #ffffff;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

.site-footer h4 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-muted { color: var(--muted); }
.section-dark.tight-top { padding-top: 0; }
.list-plain {
  list-style: decimal;
  padding-left: 1.25rem;
  color: var(--muted);
  margin: 0 0 1em;
}

.list-plain li {
  margin-bottom: 0.35rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 960px) {
  .locations,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-grid,
  .price-grid,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) figure {
    order: 0;
  }

  .service-item figure {
    height: 210px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .visual-break {
    min-height: 420px;
  }

  .cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  :root {
    --header-h: 76px;
    --gutter: 1.25rem;
    --section-y: 3.5rem;
  }

  .logo,
  .nav {
    height: 56px;
  }

  .logo img {
    height: 52px;
    max-width: 148px;
  }

  .footer-brand img {
    height: 58px;
    max-width: 170px;
    padding: 0.35rem 0.55rem;
  }

  .nav-toggle {
    display: inline-block;
    color: inherit;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .site-header.is-home:not(.is-scrolled) .nav {
    color: var(--ink);
  }

  .hero-content {
    padding: calc(var(--header-h) + 2rem) 0 3rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 1.75rem) 0 2rem;
  }

  .page-hero .container {
    min-height: 0;
  }

  .contact-form {
    max-width: none;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-scroll {
    display: none;
  }
}

/* ========== Home enhancements ========== */
.page-home .hero {
  min-height: 100svh;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 2;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, transform 0.2s;
}

.hero-scroll span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sky);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

.hero-scroll:hover {
  border-color: #fff;
  transform: translateY(2px);
}

@keyframes scroll-dot {
  0% { transform: translateY(-8px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.section-visit {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 245, 241, 0.4)),
    radial-gradient(700px 280px at 90% 0%, rgba(43, 179, 224, 0.1), transparent 70%);
}

.locations-intro h2 {
  margin-bottom: 0.5rem;
}

.locations-intro .text-muted {
  margin-bottom: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sky-deep);
  border-bottom: 2px solid rgba(20, 150, 196, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.location-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 0.35rem;
}

.location-item {
  padding: 1.15rem 0 1.15rem 1.1rem;
  border-left: 3px solid var(--sky);
}

.location-item h3 {
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.promise-band {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
  text-align: center;
}

.promise-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
}

.promise-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.2rem;
}

.visual-break {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.visual-break-media,
.visual-break-shade {
  position: absolute;
  inset: 0;
}

.visual-break-media {
  z-index: -2;
}

.visual-break-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s var(--ease);
}

.visual-break.is-in .visual-break-media img,
.visual-break:hover .visual-break-media img {
  transform: scale(1);
}

.visual-break-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 36, 51, 0.2) 0%, rgba(11, 36, 51, 0.78) 100%),
    linear-gradient(90deg, rgba(11, 36, 51, 0.55), transparent 65%);
}

.visual-break-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
  max-width: 36rem;
}

.visual-break-content .eyebrow {
  color: var(--sky);
}

.visual-break-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.visual-break-content p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.4rem;
  max-width: 34ch;
}

.section-quotes {
  position: relative;
}

.section-quotes::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 179, 224, 0.45), transparent);
}

.page-home .quote {
  padding-right: 0.5rem;
}

.page-home .quote p {
  font-size: 1.08rem;
  line-height: 1.55;
}

.home-cta {
  background:
    radial-gradient(800px 320px at 85% 20%, rgba(43, 179, 224, 0.18), transparent 60%),
    linear-gradient(160deg, #0a2030 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.home-cta .eyebrow {
  color: var(--sky);
}

.home-cta .cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.home-cta .phone-xl {
  color: #fff;
  text-shadow: 0 0 24px rgba(43, 179, 224, 0.35);
}

.home-cta .phone-xl:hover {
  color: var(--sky);
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll span,
  .visual-break-media img {
    animation: none !important;
    transition: none !important;
  }
}
