/* South Florida Detail Auto
   Colors are at the top. Blue = buttons/links. */

:root {
  --bg: #0e1217;
  --bg-2: #141a21;
  --panel: #1b222b;
  --line: #2a323d;
  --text: #f2f2f2;
  --muted: #b4b7bb;
  --accent: #1f6feb;        /* buttons, bands (white text on it) */
  --accent-dark: #1858c4;
  --accent-text: #58a6ff;   /* links/text on the dark background */
  --ink: #0a0d11;
  --star: #fbbc04;

  --head: "Montserrat", Arial, Helvetica, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1140px;
  --header-h: 64px;
  --bar-h: 68px;
}

* , *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section--gray { background: var(--bg-2); }
.section h2 { font-size: clamp(1.75rem, 6vw, 2.4rem); margin-bottom: 14px; }
.intro { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.more { margin-top: 28px; }
.more a { color: var(--accent-text); font-weight: 700; text-underline-offset: 4px; }
.more a:hover { color: #8cc4ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px;
  border-radius: 4px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .i { width: 19px; height: 19px; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline { border-color: #fff; color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--black { background: var(--ink); color: #fff; }
.btn--black:hover { background: #2a2c2e; }
.btn--outline-white { border-color: #fff; color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--accent-dark); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn--full { width: 100%; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #0a0d11;
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__text { display: grid; line-height: 1; }
.logo__top { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.logo__main { font-family: var(--head); font-size: 21px; font-weight: 800; font-style: italic; text-transform: uppercase; margin-top: 3px; }
.logo__main span { color: var(--accent-text); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid #444; border-radius: 4px;
  font-weight: 600; font-size: 15px;
}
.nav-toggle .i { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #0a0d11;
  border-bottom: 1px solid var(--line);
  padding: 4px 20px 20px;
}
.site-nav.is-open {
  display: block;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6);
  clip-path: inset(0 0 -100vmax 0);
}
.site-nav ul { list-style: none; }
.site-nav li a {
  display: block; padding: 14px 0;
  font-family: var(--head); font-weight: 700; font-size: 19px;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav li a[aria-current="page"] { color: var(--accent-text); }
.site-nav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.header-cta { display: none; }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; background: none; margin-left: auto; }
  .site-nav ul { display: flex; gap: 30px; }
  .site-nav li a { border: 0; padding: 6px 0; font-size: 15px; font-weight: 600; white-space: nowrap; color: #ddd; }
  .site-nav li a:hover { color: #fff; }
  .site-nav li a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent-text); }
  .site-nav__cta { display: none; }
  .header-cta { display: flex; align-items: center; gap: 20px; margin-left: 30px; }
  .header-cta__phone { display: none; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .header-cta__phone:hover { color: var(--accent-text); }
  .logo__mark { width: 34px; height: 34px; }
  .logo__main { font-size: 24px; }
}
@media (min-width: 1140px) { .header-cta__phone { display: inline; } }

/* ---------- Mobile Text/Call bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #0a0d11; border-top: 1px solid var(--line);
}
.action-bar .btn { min-height: 48px; width: 100%; }
@media (min-width: 900px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(84svh, 700px);
  display: flex; align-items: flex-end;
  padding-block: 100px 44px;
  overflow: hidden;
}
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 45%, rgba(17,18,19,.96) 100%);
}
.hero h1 { font-size: clamp(2.3rem, 9.5vw, 4.4rem); max-width: 15ch; margin-bottom: 16px; }
.hero p { font-size: 19px; max-width: 40ch; color: #e6e6e6; margin-bottom: 28px; }
.hero .buttons .btn { flex: 1 1 auto; }
@media (min-width: 900px) {
  .hero {
    min-height: clamp(540px, calc(100svh - var(--header-h)), 720px);
    align-items: center; padding-block: 64px;
  }
  .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.1) 80%); }
  .hero .buttons .btn { flex: 0 0 auto; }
  .hero p { font-size: 20px; }
}

/* ---------- Highlights row ---------- */
.highlights { background: var(--accent); color: #fff; }
.highlights ul {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px 16px; padding-block: 16px;
  font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.35;
}
.highlights li { padding-block: 6px; }
.highlights .stars { color: #fff; letter-spacing: 1px; }
@media (min-width: 900px) {
  .highlights ul { display: flex; justify-content: space-between; font-size: 17px; padding-block: 18px; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; gap: 28px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps h3 b { margin-right: 4px; }
.steps p { color: var(--muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Service links (home) ---------- */
.service-links { list-style: none; display: grid; column-gap: 40px; }
.service-links a {
  display: block; height: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.service-links a:hover strong { color: var(--accent-text); }
.service-links strong { display: block; font-family: var(--head); font-size: 19px; margin-bottom: 2px; }
.service-links span { color: var(--muted); font-size: 16px; }
@media (min-width: 700px) { .service-links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- About ---------- */
.about { display: grid; gap: 28px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--panel); }
.about p + p { margin-top: 14px; }
.about p { color: #dcdcdc; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about--text { max-width: 760px; }
@media (min-width: 900px) { .about--text { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 28px; }
.rating b { font-family: var(--head); font-size: 36px; line-height: 1; }
.stars { color: var(--star); letter-spacing: 2px; }
.rating .stars { font-size: 22px; }
.rating span:last-child { color: var(--muted); }
.rating a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.rating a:hover { color: #8cc4ff; }

.reviews { display: grid; gap: 16px; }
.review { margin: 0; padding: 24px; background: var(--panel); border-radius: 4px; }
.review .stars { font-size: 17px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 17px; }
.review figcaption { color: var(--muted); font-size: 15px; }
.review cite { font-style: normal; font-weight: 700; color: var(--text); }
@media (min-width: 700px) { .reviews { grid-template-columns: 1fr 1fr; } }

/* ---------- Service area ---------- */
.cities { color: var(--muted); max-width: 70ch; }
.city-list { columns: 2; column-gap: 24px; padding-left: 18px; margin: 10px 0 14px; color: #dcdcdc; max-width: 520px; }
.city-list li { margin-bottom: 4px; }
@media (min-width: 700px) { .city-list { columns: 3; max-width: 720px; } }

/* ---------- Orange call-to-action ---------- */
.cta { background: var(--accent); color: #fff; }
.cta .container { display: grid; gap: 22px; padding-block: 56px; }
.cta h2 { font-size: clamp(1.8rem, 6.5vw, 2.6rem); }
.cta p { font-size: 18px; font-weight: 500; margin-top: 8px; }
.cta .buttons .btn { flex: 1 1 auto; }
.cta :focus-visible { outline-color: #fff; }
@media (min-width: 900px) {
  .cta .container { grid-template-columns: 1fr auto; align-items: center; padding-block: 64px; }
  .cta .buttons .btn { flex: 0 0 auto; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 48px 28px; background: #0a0d11; color: var(--muted); font-size: 15px; }
.site-footer__grid { display: grid; gap: 30px; }
.site-footer h2 { font-size: 16px; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer li a { display: inline-block; padding-block: 6px; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer__phone { font-size: 22px; font-weight: 700; color: #fff; }
.site-footer__about { margin-top: 14px; max-width: 34ch; }
.site-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* ---------- Inner page header ---------- */
.page-top { padding-block: 48px 40px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-top h1 { font-size: clamp(2.1rem, 8vw, 3.2rem); margin-bottom: 12px; }
.page-top p { color: var(--muted); max-width: 60ch; font-size: 18px; }
.page-top .buttons { margin-top: 24px; }
.page-top .buttons .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .page-top .buttons .btn { flex: 0 0 auto; } }
@media (min-width: 900px) { .page-top { padding-block: 72px 56px; } }

/* ---------- Services page ---------- */
.services { display: grid; gap: 16px; }
.service { padding: 24px; background: var(--panel); border-radius: 4px; scroll-margin-top: calc(var(--header-h) + 12px); display: flex; flex-direction: column; }
.service:target { outline: 2px solid var(--accent-text); }
.service h3 { font-size: 22px; margin-bottom: 8px; }
.service > p { color: var(--muted); margin-bottom: 12px; }
.service ul { padding-left: 20px; color: #dcdcdc; margin-bottom: 18px; }
.service li { margin-bottom: 4px; }
.service li::marker { color: var(--accent-text); }
.service .btn { align-self: flex-start; margin-top: auto; }
.price-note { margin-top: 24px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; color: #dcdcdc; max-width: 75ch; }
.price-note strong { color: var(--text); }
.prices-note { margin-top: 28px; color: var(--muted); }
.prices-note a { color: var(--accent-text); font-weight: 700; }
@media (min-width: 700px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
/* ---------- Quote form ---------- */
.quote { display: grid; gap: 32px; }
.quote > * { min-width: 0; }
.quote__side p { color: var(--muted); margin-bottom: 20px; }
.quote__side .call { font-family: var(--head); font-weight: 700; color: var(--text); }
.quote__side .call a { color: var(--accent-text); white-space: nowrap; }

.form-box { padding: 22px 18px; background: var(--panel); border-radius: 4px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 700; font-size: 16px; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { margin-bottom: 8px; }

.input {
  width: 100%; min-height: 50px; padding: 11px 13px;
  border-radius: 4px; border: 1px solid #3a4452;
  background: var(--bg); color: var(--text); font-size: 16px;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #7c8086; }
.input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 2px var(--accent-text); }
textarea.input { min-height: 110px; resize: vertical; }
select.input {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 18px;
}
select.input option { background: var(--panel); }
input[type="date"].input { color-scheme: dark; display: block; }
input[type="date"].input:disabled { opacity: .45; cursor: not-allowed; }
.field__error { display: none; font-size: 15px; color: #ff8a8a; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field.has-error .input { border-color: #ff6b6b; }
.hint { font-size: 15px; color: var(--muted); }

.vehicle { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; }
.vehicle .field:last-child { grid-column: 1 / -1; }
.vehicle label { font-weight: 600; font-size: 14px; color: var(--muted); }
@media (min-width: 560px) {
  .vehicle { grid-template-columns: 6em 1fr 1fr; }
  .vehicle .field:last-child { grid-column: auto; }
}

/* Checkboxes: real checkboxes, just bigger and blue */
.checks { display: grid; grid-template-columns: 1fr; gap: 4px 12px; }
@media (min-width: 340px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; cursor: pointer; line-height: 1.25; }
.check input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--accent); cursor: pointer; }

.form__buttons { display: grid; gap: 10px; }
.form__buttons .btn { white-space: normal; text-align: center; line-height: 1.2; }
@media (min-width: 900px) {
  .quote { grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
  .form-box { padding: 32px; }
  .form__buttons { grid-template-columns: 1.5fr 1fr; }
}

.result { display: grid; gap: 14px; padding: 20px; border: 2px solid var(--accent-text); border-radius: 4px; }
.result h3 { font-size: 20px; }
.result p { color: var(--muted); }
.result p a { color: var(--text); font-weight: 700; white-space: nowrap; }
.result textarea { min-height: 200px; font-size: 15px; }
.result .buttons .btn { flex: 1 1 auto; }
.copy-status { font-size: 15px; font-weight: 700; color: #7ee2a8; min-height: 1.4em; }
.copy-status.is-error { color: #ff8a8a; }

.toast {
  position: fixed; left: 50%; z-index: 70;
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 12px);
  max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 4px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 24px; } }

/* ---------- Reviews page ---------- */
.summary { display: grid; gap: 18px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.summary .rating { margin: 0; }
.summary p { color: #dcdcdc; max-width: 60ch; }
.summary .btn { justify-self: start; white-space: normal; text-align: center; }

/* ---------- Before/after sliders ---------- */
.compares { display: grid; gap: 28px; margin-bottom: 44px; }
@media (min-width: 900px) { .compares { grid-template-columns: 1fr 1fr; } }
.compare-figure { margin: 0; }
.compare-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 2;
  border-radius: 4px; overflow: hidden; background: var(--panel);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.compare__knob .i { width: 24px; height: 24px; }
.compare__label {
  position: absolute; top: 12px; padding: 3px 9px; border-radius: 3px;
  background: rgba(0,0,0,.7); color: #fff;
  font-size: 13px; font-weight: 700; pointer-events: none;
}
.compare__label--before { left: 12px; opacity: clamp(0, calc((var(--p, 50) - 14) / 8), 1); }
.compare__label--after { right: 12px; opacity: clamp(0, calc((86 - var(--p, 50)) / 8), 1); }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.compare:focus-within { outline: 3px solid var(--accent-text); outline-offset: 2px; }

/* ---------- Gallery ---------- */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .gallery { gap: 16px; max-width: 980px; } }
.gallery figure { margin: 0; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 4px;
  overflow: hidden; background: var(--panel); aspect-ratio: 4 / 3; position: relative;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; }
.gallery__btn:hover img { opacity: .85; }
.gallery__tag {
  position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 3px;
  background: rgba(0,0,0,.7); color: #fff; font-size: 12px; font-weight: 700;
}
.gallery figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; line-height: 1.35; }

.lightbox {
  width: min(1100px, calc(100vw - 24px)); max-height: calc(100svh - 24px);
  padding: 0; border: 0; border-radius: 4px; background: #000; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { width: 100%; max-height: calc(100svh - 100px); object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; }
.lightbox__caption { font-size: 15px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 55svh; display: grid; place-items: center; text-align: center; padding-block: 72px; }
.notfound h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: 12px; }
.notfound p { color: var(--muted); }
.notfound .buttons { justify-content: center; margin-top: 24px; }

/* ---------- Text/Call popup (computers only) ---------- */
.contact-box {
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--panel); color: var(--text);
}
.contact-box::backdrop { background: rgba(0, 0, 0, .7); }
.contact-box h2 { font-size: 20px; margin-bottom: 8px; }
.contact-box__email { font-family: var(--head); font-size: 18px; font-weight: 700; margin-bottom: 18px; overflow-wrap: anywhere; }
.contact-box__hint { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.contact-box__status { margin-top: 8px; font-size: 15px; font-weight: 700; color: #7ee2a8; min-height: 1.4em; }

/* ---------- Review carousel ---------- */
.carousel { max-width: 820px; }
.carousel__viewport { overflow: hidden; border-radius: 4px; }
.carousel__track { display: flex; align-items: stretch; transition: transform .45s ease; }
.carousel__slide { flex: 0 0 100%; min-width: 0; margin: 0; }
.carousel .review { padding: 28px 24px; }
.carousel .review blockquote { font-size: 19px; line-height: 1.55; }
.carousel .review blockquote p + p { margin-top: 10px; }
.carousel__controls { display: none; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.carousel.is-ready .carousel__controls { display: flex; }
.carousel__arrow {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); color: var(--text);
}
.carousel__arrow:hover { border-color: var(--accent-text); }
.carousel__arrow .i { width: 22px; height: 22px; }
.carousel__dots { display: flex; flex-wrap: wrap; }
.carousel__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3a4452; transition: background-color .2s; }
.carousel__dot[aria-current="true"]::before { background: var(--accent-text); }
.carousel__pause { margin-left: auto; padding: 8px 4px; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.carousel__pause:hover { color: var(--text); }
/* Without JavaScript, just stack the reviews */
.carousel:not(.is-ready) .carousel__track { display: grid; gap: 16px; }
@media (prefers-reduced-motion: reduce) { .carousel__track { transition: none; } }
.carousel__count { display: none; min-width: 4.5em; text-align: center; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) {
  .carousel__dots { display: none; }
  .carousel__count { display: block; }
}
