:root {
  --ink: #f8fafc;
  --muted: #aeb9c4;
  --dark: #070a0e;
  --panel: #0d131a;
  --line: rgba(255, 255, 255, 0.11);
  --teal: #56b7ef;
  --red: #d84f55;
  --silver: #d9e2ea;
  --paper: #f6f8fa;
  --text: #111820;
  --subtle: #66717c;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(5, 10, 16, 0.22);
  --soft-shadow: 0 18px 42px rgba(17, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--ink);
  background: rgba(7, 10, 14, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid rgba(86, 183, 239, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(86, 183, 239, 0.26);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover,
.contact-lines a:hover {
  color: var(--teal);
}

.header-cta,
.button,
.package-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-cta {
  color: var(--dark);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}

.button.primary {
  color: var(--dark);
  background: linear-gradient(180deg, #78ccfb, var(--teal));
  box-shadow: 0 16px 36px rgba(86, 183, 239, 0.26);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button:hover,
.header-cta:hover,
.package-card a:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 84px) 64px;
  color: var(--ink);
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.96) 0%, rgba(4, 7, 10, 0.76) 42%, rgba(4, 7, 10, 0.22) 76%),
    linear-gradient(0deg, rgba(4, 7, 10, 0.78), rgba(4, 7, 10, 0.04) 46%);
}

.hero-content {
  width: min(720px, 100%);
  padding-top: 4vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 560px;
  color: var(--silver);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.social-links,
.footer-links,
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-links {
  margin-bottom: 30px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.contact-socials {
  margin: 4px 0;
}

.instagram-icon {
  background:
    radial-gradient(circle at 32% 104%, #feda75 0 18%, #fa7e1e 33%, transparent 48%),
    radial-gradient(circle at 82% 0%, #4f5bd5 0 22%, transparent 45%),
    linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045);
}

.facebook-icon {
  background: #1877f2;
}

.maps-icon {
  background: #fff;
}

.contact-socials .maps-icon,
.footer-links .maps-icon {
  border: 1px solid rgba(23, 32, 42, 0.08);
}

.social-icon:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 21px;
  height: 21px;
}

.social-icon rect,
.social-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-icon path {
  fill: currentColor;
}

.maps-icon path,
.maps-icon circle {
  stroke: none;
}

.maps-icon .maps-green {
  fill: #34a853;
}

.maps-icon .maps-blue {
  fill: #4285f4;
}

.maps-icon .maps-yellow {
  fill: #fbbc04;
}

.maps-icon .maps-red {
  fill: #ea4335;
}

.maps-icon .maps-white {
  fill: #fff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  min-width: 140px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(20px, 4vw, 46px);
  padding: 16px clamp(20px, 5vw, 70px);
  color: var(--ink);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.section > * {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading p:not(.eyebrow),
.split p,
.quote-copy p {
  color: var(--subtle);
  font-size: 1.05rem;
}

.trust-section {
  background: #fff;
}

.services,
.results {
  background: var(--paper);
}

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

.service-card,
.package-card {
  min-height: 240px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 24, 32, 0.08);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  color: var(--dark);
  background: var(--teal);
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 900;
}

.service-card p,
.package-card li {
  color: var(--subtle);
}

.packages {
  color: var(--ink);
  background:
    linear-gradient(180deg, #0b1118, var(--panel));
}

.packages .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.package-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1060px;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: none;
}

.package-card.featured {
  background: linear-gradient(180deg, #fff, #f7fbff);
  color: var(--text);
  box-shadow: 0 26px 70px rgba(86, 183, 239, 0.18);
}

.package-label {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.starting-price {
  margin: 12px 0 22px;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 900;
}

.featured .starting-price {
  color: var(--text);
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding-left: 18px;
}

.package-card a {
  margin-top: auto;
  color: var(--dark);
  background: var(--teal);
}

.package-note {
  max-width: 880px;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.addon-panel {
  max-width: 1060px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.addon-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.addon-heading h3 {
  margin: 0;
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.addon-grid article {
  display: grid;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.addon-grid .addon-feature {
  grid-column: 1 / -1;
  align-items: start;
}

.addon-grid span {
  color: var(--muted);
  font-weight: 800;
}

.addon-grid p {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  border-left: 3px solid var(--teal);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.checklist span {
  color: var(--red);
  font-weight: 900;
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--text);
  font-weight: 900;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(23, 32, 42, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.field-note {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(23, 32, 42, 0.13);
  border-radius: 6px;
  color: var(--text);
  background: #fbfcfd;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 208, 189, 0.28);
  border-color: var(--teal);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--subtle);
  font-weight: 700;
}

.hidden-field {
  display: none;
}

.thanks-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.94), rgba(4, 7, 10, 0.58)),
    url("assets/ks-auto-detailing-hero.png") center / cover;
}

.thanks-shell {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: clamp(24px, 6vw, 84px);
}

.thanks-brand {
  position: absolute;
  top: 22px;
  left: clamp(20px, 4vw, 56px);
  color: var(--ink);
}

.thanks-panel {
  max-width: 640px;
}

.thanks-panel h1 {
  max-width: none;
}

.thanks-panel p:not(.eyebrow) {
  max-width: 520px;
  color: var(--silver);
  font-size: 1.1rem;
}

.thanks-actions {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: var(--muted);
  background: var(--dark);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .service-grid,
  .package-grid,
  .addon-grid,
  .split,
  .quote {
    grid-template-columns: 1fr;
  }

  .addon-heading {
    display: block;
  }

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

}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand span:last-child {
    max-width: 118px;
    line-height: 1.05;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: 94vh;
    padding: 96px 18px 34px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.58)),
      linear-gradient(0deg, rgba(5, 8, 11, 0.9), rgba(5, 8, 11, 0.06) 45%);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 58px 18px;
  }

  .quote-form {
    padding: 18px;
  }
}
