/* ===========================================================
   Ultra Car Wash (Waterville) — homepage
   Layout & feel cloned from ultracarwashohio.com (Divi),
   fonts kept (Raleway), reskinned with the blue Ultra palette
   pulled from the staging site.
   =========================================================== */

:root {
  /* Brand palette (from staging :root) */
  --rb:        #2848C7;  /* primary blue   */
  --rb-dark:   #1E3A8A;  /* dark blue      */
  --rb-darker: #172554;  /* darkest navy   */
  --rb-light:  #4F6FE0;  /* light blue     */
  --rb-soft:   #DBE4FA;  /* soft blue      */
  --rb-tint:   #EEF2FF;  /* tint           */
  --logo-blue: #215F9A;  /* native logo blue */

  --text:      #0F172A;
  --muted:     #64748B;
  --light:     #FFFFFF;

  --bg:        #FFFFFF;
  --bg-2:      #F8FAFC;
  --bg-3:      #F1F5F9;
  --border:    #E2E8F0;
  --danger:    #DC2626;

  --radius:    14px;
  --radius-sm: 8px;
  --container: 1200px;

  --shadow:    0 10px 30px rgba(40, 72, 199, .12);
  --shadow-lg: 0 20px 60px rgba(40, 72, 199, .20);

  --font-body: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
  --font-head: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rb); text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tint  { background: var(--rb-tint); }
.section--alt   { background: var(--bg-2); }
.section--navy  { background: var(--rb-darker); color: var(--light); }
.section--navy .muted { color: #b9c2dd; }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--rb);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--rb-light); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-title .accent { color: var(--rb); }
.section--navy .section-title .accent { color: var(--rb-light); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .92rem;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--rb); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--rb-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--rb); border-color: var(--rb); }
.btn--ghost:hover { background: var(--rb); color: #fff; }
.btn--light { background: #fff; color: var(--rb-darker); }
.btn--light:hover { background: var(--rb-tint); transform: translateY(-2px); }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- top utility bar ---------- */
.utilitybar {
  background: var(--rb-darker);
  color: #c9d3ef;
  font-size: .82rem;
}
.utilitybar .container {
  display: flex; justify-content: flex-end; gap: 26px;
  padding-top: 9px; padding-bottom: 9px;
}
.utilitybar a { color: #c9d3ef; font-weight: 600; }
.utilitybar a:hover { color: #fff; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 78px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--rb); background: var(--rb-tint); }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: " ▾"; color: var(--muted); font-size: .8em; }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  list-style: none; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .16s ease;
}
.nav .has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub a { padding: 9px 12px; font-weight: 600; }
.nav .cta { margin-left: 10px; }
.nav .cta a.btn--primary { color: #fff; }
.nav .cta a.btn--primary:hover { color: #fff; background: var(--rb-dark); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav-toggle span { display: block; height: 3px; background: var(--rb-darker); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(23,37,84,.78), rgba(30,58,138,.84)), url("assets/img/hero.jpg") center/cover no-repeat;
  padding: 132px 0 120px;
}
.hero-logo {
  height: clamp(96px, 13vw, 150px); width: auto;
  display: block; margin: 0 auto 26px;
  filter: drop-shadow(0 6px 26px rgba(0,0,0,.34));
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 .accent { color: var(--rb-light); }
.hero p { font-size: 1.25rem; color: #dbe4fa; max-width: 620px; margin: 0 auto 34px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step { text-align: center; }
.step .num {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--rb); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 2.2rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--rb-light); }
.plan--featured { border-color: var(--rb); position: relative; }
.plan--featured::before {
  content: "Most Popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--rb); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 1.5rem; text-transform: uppercase; color: var(--rb-darker); }

/* price block — two clearly labeled rows */
.price-block { margin: 14px 0 22px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-row .plabel { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.price-row .pamt { font-family: var(--font-head); font-weight: 900; line-height: 1; color: var(--rb); }
.price-row .pamt small { font-size: .55em; font-weight: 700; color: var(--muted); }

.price-row--single .pamt { font-size: 2.4rem; }
.price-row--member {
  margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--rb-tint); border: 1px solid var(--rb-soft);
}
.price-row--member .plabel { color: var(--rb-dark); }
.price-row--member .pamt { font-size: 1.7rem; color: var(--rb-dark); }
.plan--featured .price-row--member { background: var(--rb); border-color: var(--rb); }
.plan--featured .price-row--member .plabel,
.plan--featured .price-row--member .pamt,
.plan--featured .price-row--member .pamt small { color: #fff; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  color: var(--rb); font-weight: 900;
}

/* ---------- a la carte ---------- */
.alacarte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.ala {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow);
}
.ala .dot {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: var(--rb-tint); display: grid; place-items: center;
  color: var(--rb); font-weight: 900; font-size: 1.3rem;
}
.ala h4 { margin: 0; font-size: 1.1rem; }
.ala .price { color: var(--rb); font-weight: 800; }

/* ---------- why / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.feature-list { display: grid; gap: 26px; margin-top: 30px; }
.feature { display: flex; gap: 18px; }
.feature .ico {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  background: var(--rb); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 1.3rem;
}
.feature h4 { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }
.amenity {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 38px; text-align: center;
}
.amenity img { height: 64px; width: auto; margin: 0 auto 18px; filter: brightness(0) invert(1); }
.amenity h5 { font-size: 1.25rem; margin: 0; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- gift card ---------- */
.giftcard-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.giftcard {
  aspect-ratio: 16 / 10; border-radius: 18px; padding: 30px;
  background: linear-gradient(135deg, var(--rb), var(--rb-darker));
  color: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.giftcard .gc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.giftcard img { height: 64px; width: auto; }
.giftcard .gc-label { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; color: #c7d2fe; }
.giftcard .gc-big { font-family: var(--font-head); font-weight: 900; font-size: 2rem; text-transform: uppercase; }

/* ---------- programs ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.program {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program img { height: 200px; width: 100%; object-fit: cover; }
.program .body { padding: 26px; }
.program h4 { font-size: 1.2rem; }

/* ---------- visit / contact ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.visit-cards { display: grid; gap: 22px; }
.vcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.vcard h4 { text-transform: uppercase; letter-spacing: .04em; color: var(--rb); font-size: 1rem; margin-bottom: 8px; }
.vcard p { margin: 0; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- footer ---------- */
.site-footer { background: var(--rb-darker); color: #c9d3ef; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img.f-logo { height: 70px; width: auto; margin-bottom: 18px; }
.site-footer h5 { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; margin-bottom: 16px; }
.site-footer a { color: #c9d3ef; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: #97a3c9; text-align: center;
}

.giftcard-img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 20px 44px rgba(40, 72, 199, .28));
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .alacarte, .programs { grid-template-columns: repeat(2, 1fr); }
  .split, .giftcard-wrap, .visit { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  /* backdrop-filter on the header creates a containing block that would trap
     the fixed nav drawer inside the header box — disable it on mobile so the
     drawer fills the viewport. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 22px 30px; gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; margin: 0; }
  .nav .has-sub > a::after { content: ""; }
  .nav .cta { margin: 12px 0 0; }
  .nav .cta a { text-align: center; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .steps, .pricing, .alacarte, .programs, .amenities, .footer-grid { grid-template-columns: 1fr; }
  .utilitybar .container { justify-content: center; gap: 16px; }
}
