/* ============================================================
   MTO AUTO DETAILING — CONTACT LANDER LAYOUT
   ------------------------------------------------------------
   Page components for contact.html (the long-form Meta ad lander).
   Palette, typography, buttons, nav, footer, fields and motion all
   live in css/theme.css, which MUST be loaded before this file.
   ============================================================ */

/* ============================================================
   HERO — graphite band, quote form floating on top of it
   ============================================================ */
.hero {
  position: relative;
  padding: 58px 0 62px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px; right: -200px;
  width: 880px; height: 880px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 123, 255, .2) 0%, transparent 62%),
    radial-gradient(circle at 65% 65%, rgba(245, 164, 23, .07) 0%, transparent 58%);
  pointer-events: none;
  animation: lander-breathe 14s ease-in-out infinite alternate;
}
@keyframes lander-breathe {
  from { transform: scale(1); opacity: .85; }
  to   { transform: scale(1.12) translate(-24px, 20px); opacity: 1; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}
.hero-copy { position: relative; padding-left: 24px; }
.hero-copy::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-blue), rgba(0, 123, 255, .05));
}
.hero-copy h1 { margin: 14px 0 16px; }
.hero-copy h1 .accent { color: var(--blue); }
.hero-lead { font-size: 1.12rem; color: #c3cdd9; max-width: 48ch; margin-bottom: 22px; }
.hero .trust { margin: 22px 0 26px; }

/* ---------- quote form card ---------- */
.formcard {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 123, 255, .1);
  padding: 30px 28px 26px;
}
/* keep the form's own fields on the light palette even inside a dark band */
.formcard {
  --ink: #10151d;
  --ink-soft: #39424f;
  --muted: #6c7787;
  --line: #dde3ec;
  --line-2: #c9d2df;
  --surface: #ffffff;
  --field-bg: #f4f6fa;
  --blue: var(--brand-blue);
  --blue-ink: #0a5fbf;
  --blue-tint: #e7f1ff;
  color: var(--ink-soft);
}
.formcard .fc-flag {
  position: absolute;
  top: -14px; left: 26px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--gold-ink);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(245, 164, 23, .42);
}
.formcard h2 { font-size: 1.8rem; margin: 10px 0 4px; }
.formcard .fc-sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.fc-fine {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 18px;
}
.fc-fine li { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.fc-fine li::before { content: "✓"; color: var(--blue-ink); font-weight: 800; }
.fc-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.fc-note a { color: var(--blue-ink); font-weight: 700; }

/* ---------- zero-exit lander ----------
   contact.html carries exactly one action: the quote form's submit.
   Phone numbers stay readable as plain text so the information is not
   lost, but they are no longer competing tap targets. */
.nolink { color: inherit; font-weight: 700; white-space: nowrap; }
.tone-dark .nolink, .topbar .nolink { color: #fff; }

/* ============================================================
   DEAL BAND
   ============================================================ */
.dealband {
  position: relative;
  background: linear-gradient(120deg, var(--obsidian) 0%, #1b2331 100%);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .07);
}
.dealband::before {
  content: "";
  position: absolute;
  right: -70px; top: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245, 164, 23, .22) 0%, transparent 66%);
  pointer-events: none;
}
.dealband .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 0;
}
.dealband .db-copy { flex: 1 1 340px; }
.dealband .db-tag {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--gold-ink);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(245, 164, 23, .34);
}
.dealband h3 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.dealband h3 .was { color: #8794a6; -webkit-text-fill-color: #8794a6; margin-right: 8px; }
.dealband h3 .now { color: var(--gold); }
.dealband p { color: #b3bdcb; font-size: .95rem; margin-top: 8px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 72px 0; }
.section.tight { padding: 52px 0; }
.bg-soft { background: var(--pearl-2); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { margin: 12px 0 12px; }

/* Grid items default to min-width:auto, so a card whose content has a
   wide minimum (long headings, a nowrap price row) refuses to shrink and
   punches out of the track — it showed up as ~9px of overflow at 768px.
   minmax(0,1fr) semantics, applied once for every grid on the page. */
.svc-grid > *, .why-grid > *, .steps-grid > *,
.proof-grid > *, .review-grid > *, .info-grid > *,
.intro-grid > *, .hero-inner > * { min-width: 0; }

/* ============================================================
   INTRO SPLIT
   ============================================================ */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.intro-copy h2 { margin-bottom: 18px; }
.intro-copy p { margin-bottom: 14px; }
.intro-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; min-height: 270px; transition: transform .7s var(--ease); }
.intro-media:hover img { transform: scale(1.04); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.svc {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
.svc:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.svc.featured {
  border-color: rgba(0, 123, 255, .4);
  box-shadow: 0 4px 10px rgba(16, 21, 29, .06), 0 24px 56px rgba(0, 123, 255, .17);
}
.svc .svc-flag {
  position: absolute;
  /* straddles the top border (like the formcard flag) — inside the card it
     sat on top of the heading text at every width */
  top: -13px; right: 18px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--gold-ink);
  font-weight: 800;
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(245, 164, 23, .32);
}
.svc h3 { font-size: 1.5rem; margin-bottom: 14px; }
.svc ul { list-style: none; margin-bottom: 20px; flex: 1; }
.svc li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: .95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.svc li:last-child { border-bottom: none; }
.svc li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 9px;
  width: 19px; height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: .66rem;
  font-weight: 800;
}
.svc .price {
  font-family: var(--fd);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.svc .price .was { color: var(--muted); font-size: 1.05rem; }
.svc .price strong { color: var(--blue); font-size: 2rem; }
.svc .price .save {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--gold-ink);
  font-family: var(--fb);
  font-style: normal;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================================
   WHY-CHOOSE FEATURES
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
.tone-dark .feature {
  background: linear-gradient(168deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feature .f-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--blue-tint), rgba(0, 123, 255, .04));
  border: 1px solid rgba(0, 123, 255, .18);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.feature:hover .f-ico { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 10px 24px rgba(0, 123, 255, .22); }
.feature .f-ico svg { width: 26px; height: 26px; fill: var(--blue); }
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.step { position: relative; padding-left: 70px; }
.step .s-num {
  position: absolute;
  left: 0; top: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--graphite-3), var(--obsidian));
  border: 1px solid rgba(0, 123, 255, .3);
  color: #fff;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 700;
  font-size: 1.45rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(16, 21, 29, .22);
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { font-size: .94rem; color: var(--muted); }

/* ============================================================
   PROOF GRID
   ============================================================ */
/* thumbnails are plain <img> now (zero-exit lander — they no longer
   link to the gallery), so the tile styling sits on the image itself */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.proof-grid img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.proof-grid img:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-md); }

/* ============================================================
   REVIEWS
   ============================================================ */
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem;
  margin-top: 10px;
}
.rating-line .stars { color: var(--star); letter-spacing: 2px; font-size: 1.1rem; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tone-dark .review {
  background: linear-gradient(168deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review::before {
  content: "”";
  position: absolute;
  top: 4px; right: 20px;
  font-family: var(--fd);
  font-size: 6rem;
  line-height: 1;
  color: var(--blue);
  opacity: .13;
  pointer-events: none;
}
.review .stars { color: var(--star); letter-spacing: 3px; font-size: 1rem; margin-bottom: 12px; }
.review p { font-size: .95rem; color: var(--ink-soft); flex: 1; }
.review .who {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .79rem;
  color: var(--blue-ink);
}
.review .who span { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ============================================================
   AREAS + HOURS
   ============================================================ */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.info-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.area-list li {
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.area-list li:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { color: var(--muted); font-weight: 600; }
.hours-list li span:last-child { color: var(--ink); font-weight: 700; }
.hours-list li.closed span:last-child { color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item[open] { border-color: rgba(0, 123, 255, .38); box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.12rem;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  color: var(--blue);
  font-style: normal;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item .faq-body {
  padding: 0 24px 21px;
  color: var(--muted);
  font-size: .95rem;
  animation: faq-in .35s var(--ease);
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.cta {
  position: relative;
  background-size: cover;
  background-position: center 60%;
  padding: 104px 0;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 19, 25, .9) 0%, rgba(15, 19, 25, .68) 100%),
    radial-gradient(700px 340px at 50% 46%, rgba(0, 123, 255, .2), transparent 70%);
}
.cta .wrap { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.7rem); }
.cta h2 .accent {
  background: linear-gradient(96deg, #7ec2ff, #d9ecff 50%, #7ec2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta p { color: #ccd6e2; font-size: 1.1rem; max-width: 42ch; margin: 16px auto 28px; }
.cta .btn-row { justify-content: center; margin-top: 0; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .34); }
.cta .btn-ghost:hover { border-color: #7ec2ff; color: #fff; background: rgba(126, 194, 255, .16); }

/* ============================================================
   RESPONSIVE — mobile-first base above, larger screens below
   ============================================================ */
@media (min-width: 620px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero { padding: 72px 0 76px; }
  .hero-inner { grid-template-columns: 1.02fr .98fr; gap: 50px; }
  .intro-grid { grid-template-columns: 1.05fr .95fr; gap: 50px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 86px 0; }
}

@media (max-width: 520px) {
  .section { padding: 52px 0; }
  .section.tight { padding: 42px 0; }
  .hero-copy { padding-left: 18px; }
  .dealband .wrap { padding: 24px 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .formcard { padding: 26px 20px 22px; }
  .svc { padding: 26px 22px; }
  .svc .svc-flag, .svc .price .save { font-size: .7rem; padding: 5px 11px; }
  .info-card { padding: 26px 22px; }
  .faq-item summary { padding: 16px 18px; font-size: 1.02rem; }
  .faq-item .faq-body { padding: 0 18px 18px; }
  .cta { padding: 76px 0; }
}
