/* M45 Automotive — Modern design system */
:root {
  --bg: #0b0f14;
  --bg-elevated: #121820;
  --bg-card: #161d27;
  --bg-soft: #1a2330;
  --surface: #f4f6f8;
  --surface-2: #e8ecf1;
  --text: #e8edf4;
  --text-muted: #9aa8b8;
  --text-dark: #0f1720;
  --text-dark-muted: #5a6a7a;
  --accent: #1e6fd9;
  --accent-hover: #3b86ef;
  --accent-soft: rgba(30, 111, 217, 0.15);
  --accent-glow: rgba(30, 111, 217, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(15, 23, 32, 0.1);
  --success: #22c55e;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 24px rgba(15, 23, 32, 0.08);
  --header-h: 76px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

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

ul { margin: 0; padding: 0 0 0 1.15rem; }
li { margin-bottom: 0.4rem; color: var(--text-dark-muted); }

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

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

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  line-height: 0;
}

/* Asset is a wide wordmark (~405×29). Drive size by width so it stays sharp. */
.logo img {
  display: block;
  width: min(320px, 52vw);
  height: auto;
}

.logo:hover {
  opacity: 0.9;
}

/* Right cluster: links + contact + social */
.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 0.85rem;
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--transition);
  background: transparent;
}

.site-nav a:hover {
  color: #fff;
  background: transparent;
}

.site-nav a.active {
  color: #fff;
  background: transparent;
  font-weight: 600;
}

/* Active underline indicator */
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
  line-height: 1.2;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.nav-cta.active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.header-social {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  opacity: 1;
  transition: background var(--transition), border-color var(--transition);
  line-height: 0;
}

.header-social:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.header-social img {
  width: 16px;
  height: 16px;
}

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

  .header-end {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(11, 15, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
    z-index: 99;
  }

  .header-end.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
  }

  .site-nav a {
    padding: 0.85rem 0.9rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(255, 255, 255, 0.05);
  }

  .site-nav a.active::after {
    display: none;
  }

  .site-nav a.active {
    color: #fff;
    box-shadow: inset 3px 0 0 var(--accent);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
  }

  .nav-cta {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
  }
}

/* desktop: header-actions already flex beside nav */

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: inherit;
  line-height: 1.2;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text-dark);
}

.btn-ghost:hover {
  background: #dce3eb;
  color: var(--text-dark);
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(30, 111, 217, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30, 111, 217, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-soft);
  color: #8cbcff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(30, 111, 217, 0.3);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #6eb0ff, #1e6fd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}

.hero-lead strong {
  color: #fff;
  font-weight: 700;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-meta strong {
  color: #fff;
  font-size: 1.05rem;
}

.hero-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Carousel */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 15, 20, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background var(--transition);
  z-index: 2;
}

.carousel-btn:hover { background: rgba(11, 15, 20, 0.8); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dots button.active {
  background: #fff;
  transform: scale(1.25);
}

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

.section-dark {
  background: var(--bg);
  color: var(--text);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p,
.section-dark li {
  color: var(--text-muted);
}

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

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* Google reviews banner */
.reviews-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.reviews-banner:hover {
  border-color: rgba(30, 111, 217, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 32, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.reviews-stars {
  color: #f4b400;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  line-height: 1;
}

.reviews-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 200px;
  min-width: 0;
}

.reviews-copy strong {
  color: var(--text-dark);
  font-size: 1.05rem;
}

.reviews-copy span {
  color: var(--text-dark-muted);
  font-size: 0.92rem;
}

.reviews-cta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.contact-info .reviews-banner {
  margin-top: 0.25rem;
}

/* Genuine parts callout */
.parts-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 111, 217, 0.28);
  background: linear-gradient(135deg, rgba(30, 111, 217, 0.1), rgba(30, 111, 217, 0.04));
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.parts-callout strong {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.packages-wrap .parts-callout {
  margin-bottom: 1.25rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 32, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  flex: 1;
  margin-bottom: 1.25rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0f3d7a 0%, #1e6fd9 55%, #3b86ef 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 40px var(--accent-glow);
}

.cta-band h2,
.cta-band h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.cta-band a.phone {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  margin: 0 0.4rem;
}

.cta-band a.phone:hover {
  text-decoration: underline;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #f0f4ff;
  color: #0f3d7a;
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
}

/* ========== Page hero (inner pages) ========== */
.page-hero {
  background: var(--bg);
  color: var(--text);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(30, 111, 217, 0.22), transparent 55%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0;
  font-size: 1.05rem;
}

/* ========== Services ========== */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 32, 0.12);
}

.service-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card .body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.other-services {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  margin-top: 1.25rem;
}

.other-services ul {
  columns: 1;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .other-services ul { columns: 2; }
}

.other-services li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  break-inside: avoid;
}

.other-services li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== Packages (service menu) ========== */
.packages-wrap {
  max-width: 820px;
}

.packages-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.package-row {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.package-row:hover {
  border-color: rgba(30, 111, 217, 0.28);
}

.package-row.featured {
  border-color: rgba(30, 111, 217, 0.45);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.package-row > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem 1.1rem;
  padding: 1.1rem 1.25rem;
  user-select: none;
}

.package-row > summary::-webkit-details-marker {
  display: none;
}

.package-row > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-dark-muted);
  border-bottom: 2px solid var(--text-dark-muted);
  transform: rotate(45deg);
  transition: transform var(--transition);
  opacity: 0.65;
  margin-bottom: 0.15rem;
}

.package-row[open] > summary::after {
  transform: rotate(225deg);
  margin-bottom: -0.15rem;
}

.package-summary-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 auto;
}

.package-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.package-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.package-row > summary .package-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: right;
  flex: 0 0 auto;
}

.package-row > summary .package-price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dark-muted);
}

.package-detail {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-dark);
  background: #fafbfc;
}

.package-checklist {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
}

.package-checklist li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-dark-muted);
}

.package-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

/* Long checklists: multi-column only when open */
.package-checklist.dense {
  columns: 1;
  column-gap: 1.75rem;
}

@media (min-width: 640px) {
  .package-checklist.dense {
    columns: 2;
  }
}

.package-checklist.dense li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.package-note {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-dark);
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

.packages-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}

@media (max-width: 560px) {
  .package-row > summary {
    flex-wrap: wrap;
  }

  .package-row > summary .package-price {
    font-size: 1rem;
    order: 2;
    width: 100%;
    text-align: left;
    padding-left: 0;
  }

  .package-row > summary::after {
    order: 1;
    margin-left: auto;
  }
}

/* ========== About ========== */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #d0d8e0;
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark-muted);
  margin-bottom: 0.5rem;
}

.info-card a,
.info-card p {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  display: block;
}

.info-card a + a {
  margin-top: 0.25rem;
}

.info-card .address {
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark-muted);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
  min-height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Thanks */
.thanks-box {
  max-width: 520px;
  margin: 3rem auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
}

.thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--bg);
  color: var(--text-muted);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 32ch;
  margin-top: 0.75rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 0.25rem;
  /* don't inherit header flex sizing quirks */
  width: auto;
  max-width: 100%;
}

.footer-brand .logo img {
  /* preserve natural aspect (~405×29) — never force height alone */
  width: min(240px, 100%);
  height: auto;
  max-height: none;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ========== Utility ========== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
