/* WHM Autobody */
:root {
  --ink: #0c1322;
  --ink-2: #162036;
  --text: #1c2433;
  --muted: #5b6577;
  --line: #e3e7ee;
  --bg: #ffffff;
  --tint: #f4f6fa;
  --blue: #1a56db;
  --blue-dark: #1344b4;
  --lime: #c4f02c;
  --wa: #25d366;
  --radius: 14px;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 76px; /* room for mobile action bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 8.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--display);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #c9d1e0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--lime); }
.section-lead { margin-top: 14px; max-width: 60ch; color: var(--muted); }
.section-dark .section-lead { color: #a9b3c6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 22px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-whatsapp { background: var(--wa); color: #06270f; }
.btn-whatsapp:hover { background: #1fc15b; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,19,34,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-family: var(--display); line-height: 1; }
.brand-mark { font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: #fff; border-bottom: 3px solid var(--lime); padding-bottom: 1px; }
.brand-word { font-weight: 500; font-size: 1.1rem; color: #b9c3d6; letter-spacing: .01em; }
.nav { display: none; gap: 28px; }
.nav a { color: #d5dcea; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,19,34,.55) 0%, rgba(12,19,34,.62) 40%, rgba(12,19,34,.93) 100%); }
.hero-inner { padding-top: 84px; padding-bottom: 44px; min-height: min(86vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { color: #fff; max-width: 15ch; }
.lead { margin-top: 18px; font-size: 1.1rem; color: #dbe1ec; max-width: 46ch; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #dbe1ec; text-decoration: none; font-size: .95rem; }
.rating strong { color: #fff; }
.stars { color: #ffc531; letter-spacing: 2px; font-size: 1.05rem; }

/* Trust strip */
.strip { background: var(--ink-2); color: #c9d1e0; border-top: 1px solid rgba(255,255,255,.07); }
.strip-grid { display: grid; gap: 0; }
.strip-grid > div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.strip-grid > div:last-child { border-bottom: 0; }
.strip strong { display: block; font-family: var(--display); color: #fff; font-size: 1rem; }
.strip span { font-size: .93rem; }

/* Services */
.cards { display: grid; gap: 14px; margin-top: 32px; }
.card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--blue); }
.card p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.aside { margin-top: 26px; padding: 16px 18px; background: #f3fbd3; border-radius: var(--radius); font-size: .98rem; color: #2d3a08; }

/* Photos */
.shot { position: relative; display: block; padding: 0; margin: 0; border: 0; background: #1d2740; cursor: zoom-in; overflow: hidden; border-radius: 10px; width: 100%; }
.shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.shot img.pos-low { object-position: 50% 50%; }
.shot:hover img { transform: scale(1.03); }
.tag, .cap {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: rgba(12,19,34,.82); color: #fff;
}
.tag-after { background: var(--lime); color: #1b2603; }

.pairs { display: grid; gap: 26px; margin-top: 32px; }
.pair { margin: 0; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair figcaption { margin-top: 10px; font-size: .95rem; color: #a9b3c6; }
.pair figcaption strong { display: block; font-family: var(--display); color: #fff; font-size: 1.05rem; }

.sub { margin-top: 52px; font-size: 1.25rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.more { margin-top: 22px; }
.more a { font-family: var(--display); font-weight: 700; text-decoration: none; }
.section-dark .more a { color: var(--lime); }
.more a:hover { text-decoration: underline; }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.steps p { margin-top: 4px; color: var(--muted); }

/* Reviews */
.reviews { display: grid; gap: 14px; margin-top: 30px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.review::before { content: "★★★★★"; color: #f5b301; letter-spacing: 2px; font-size: .95rem; }
.review p { color: var(--text); }
.review footer { margin-top: auto; display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.review footer strong { color: var(--ink); font-family: var(--display); font-size: .98rem; }

/* Contact */
.contact { display: grid; gap: 28px; margin-top: 32px; }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 3px 0 0; font-size: 1.05rem; color: var(--ink); }
.contact dd a { color: var(--ink); font-weight: 600; text-decoration-color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: var(--tint); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #a9b3c6; padding: 40px 0 36px; font-size: .95rem; }
.footer-inner { display: grid; gap: 16px; }
.site-footer a { color: #dbe1ec; }
.small { font-size: .82rem; color: #7f8aa0; }

/* Mobile action 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 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.action-bar .btn { min-height: 48px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6,10,19,.9); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: -14px; right: -6px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* Tablet and up */
@media (min-width: 640px) { .hero-img { object-position: 55% 60%; } }
@media (min-width: 640px) {
  .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .pairs { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .strip-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .strip-grid > div { border-bottom: 0; padding: 24px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 18px; }
  .action-bar { display: none; }
  .nav { display: flex; }
  .section { padding: 96px 0; }
  .cards, .reviews { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1.2fr; align-items: stretch; gap: 48px; }
  .hero-inner { padding-bottom: 72px; }
  .header-inner { height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot img { transition: none; }
}
