/* Local Car Repair Shop — garage-industrial, warm steel and signal orange. */
:root {
  --ink: #15181c;
  --ink-2: #2a3038;
  --steel: #5b6675;
  --steel-2: #8b97a6;
  --line: #d9dee5;
  --line-2: #eef1f5;
  --paper: #f6f7f9;
  --white: #fff;
  --signal: #d8481c;
  --signal-dk: #ad3613;
  --signal-tint: #fdf0ea;
  --amber: #f0a81f;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wrap: 1180px;
  --r: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16.5px;
  line-height: 1.62;
}
img { max-width: 100%; display: block; }
a { color: var(--signal-dk); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--signal); }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.021em; line-height: 1.12; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); margin-top: 0; }
h3 { font-size: 1.14rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: static; width: auto; height: auto; clip: auto; padding: .6rem 1rem; background: var(--ink); color: #fff; }

/* ---------- masthead ---------- */
.masthead {
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--signal);
  position: sticky; top: 0; z-index: 40;
}
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.brand-mark { color: var(--amber); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: 1.04rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--steel-2); letter-spacing: .05em; text-transform: uppercase; }
.mast-nav { display: flex; align-items: center; gap: 1.35rem; }
.mast-nav a { color: #cfd6df; text-decoration: none; font-size: .9rem; font-weight: 600; }
.mast-nav a:hover { color: #fff; }
.mast-nav .btn { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--signal); color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: .93rem; letter-spacing: .005em;
  padding: .72rem 1.15rem; border: 0; border-radius: var(--r); cursor: pointer;
  font-family: var(--sans); transition: background .14s ease, transform .14s ease;
}
.btn:hover { background: var(--signal-dk); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .48rem .82rem; font-size: .84rem; }
.btn-lg { padding: .88rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--paper); color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--steel-2); }
.lnk { font-size: .88rem; font-weight: 600; color: var(--steel); text-decoration: none; border-bottom: 1px solid var(--line); }
.lnk:hover { color: var(--signal-dk); border-color: var(--signal); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 88% -12%, rgba(240,168,31,.14), transparent 60%),
    linear-gradient(176deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(21,24,28,.035) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.hero-in { display: grid; grid-template-columns: 1.18fr .82fr; gap: 3.2rem; padding: 3.6rem 22px 3.4rem; position: relative; }
.eyebrow {
  font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal-dk); margin: 0 0 .7rem;
}
.eyebrow a { color: inherit; }
.hl { color: var(--signal); }
.lede { font-family: var(--serif); font-size: 1.11rem; color: var(--ink-2); max-width: 54ch; }
.hero-note { font-size: .88rem; color: var(--steel); }
.search { display: flex; gap: .55rem; margin: 1.5rem 0 1rem; max-width: 480px; }
.search input {
  flex: 1; font-family: var(--sans); font-size: .98rem; padding: .78rem .95rem;
  border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
}
.search input:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.search-pg { margin-top: 1.4rem; }
.hero-side { display: flex; flex-direction: column; gap: .7rem; }
.side-h { font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--steel); margin: 0 0 .1rem; }

/* ---------- bands ---------- */
.band { padding: 3.2rem 0; }
.band-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { background: var(--ink); color: #fff; padding: 2.9rem 0 2.5rem; }
.page-head h1 { color: #fff; }
.page-head .lede { color: #c3ccd7; }
.page-head .eyebrow { color: var(--amber); }
.page-head a { color: #fff; }
.sub { color: var(--steel); font-size: .95rem; margin: -.3rem 0 1.6rem; }
.area-h { margin: 2.2rem 0 .9rem; font-size: 1.25rem; }
.area-h a { text-decoration: none; }

/* ---------- area + service tiles ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: .8rem; }
.area-tile {
  display: flex; flex-direction: column; gap: .1rem; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.05rem; transition: border-color .14s, transform .14s, box-shadow .14s;
  border-left: 3px solid var(--line);
}
.area-tile:hover { border-color: var(--steel-2); border-left-color: var(--signal); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(21,24,28,.07); color: var(--ink); }
.area-tile strong { font-size: 1.06rem; font-weight: 800; letter-spacing: -.015em; }
.area-tile span { font-size: .8rem; color: var(--steel); }
.area-tile em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--signal-dk); margin-top: .35rem; letter-spacing: .02em; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: .8rem; }
.svc-grid-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.svc-tile {
  display: block; text-decoration: none; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.15rem;
  transition: border-color .14s, box-shadow .14s;
}
.svc-tile:hover { border-color: var(--signal); box-shadow: 0 5px 16px rgba(216,72,28,.1); color: var(--ink); }
.svc-tile strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .22rem; }
.svc-tile span { font-size: .83rem; color: var(--steel); line-height: 1.5; }

/* ---------- listing cards ---------- */
.list { display: grid; gap: .85rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem 1.35rem; position: relative;
}
.card h3 { margin: 0 0 .25rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--signal-dk); }
.card-feat {
  border: 1.5px solid var(--signal); background: linear-gradient(180deg, var(--signal-tint), #fff 65%);
  box-shadow: 0 4px 16px rgba(216,72,28,.09);
}
.flag {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: var(--signal);
  padding: .22rem .55rem; border-radius: 3px; margin: 0 0 .5rem;
}
.flag-lg { background: var(--amber); color: var(--ink); font-size: .72rem; }
.card-area { font-size: .84rem; color: var(--steel); margin: 0 0 .3rem; font-weight: 600; }
.card-addr { font-family: var(--serif); font-size: .96rem; color: var(--ink-2); margin: 0 0 .35rem; }
.card-tag { font-size: .82rem; color: var(--signal-dk); font-weight: 600; margin: 0 0 .6rem; }
.card-act { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: .75rem; }
.empty { font-family: var(--serif); font-size: 1.05rem; color: var(--steel); }

/* ---------- inline CTA ---------- */
.inline-cta {
  margin-top: 2.2rem; padding: 1.6rem 1.7rem; background: var(--ink); color: #fff; border-radius: var(--r);
  border-left: 4px solid var(--amber);
}
.inline-cta h2 { color: #fff; font-size: 1.3rem; }
.inline-cta p { color: #c3ccd7; margin-bottom: .9rem; }
.inline-cta p:last-child { margin-bottom: 0; }
.cta { background: var(--ink); color: #fff; padding: 3rem 0; }
.cta-in { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.4rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #c3ccd7; margin: 0; max-width: 62ch; }
.cta-act { display: flex; flex-direction: column; gap: .6rem; }
.cta .btn-ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff !important; }

/* ---------- shop detail ---------- */
.shop-grid { display: grid; grid-template-columns: 1.5fr .75fr; gap: 2.6rem; align-items: start; }
.shop-desc { font-family: var(--serif); font-size: 1.08rem; color: var(--ink-2); }
.svc-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.3rem; margin-top: .5rem; }
.svc-col strong { display: block; font-size: .92rem; margin-bottom: .3rem; }
.svc-col ul { margin: 0; padding-left: 1.05rem; }
.svc-col li { font-size: .88rem; color: var(--steel); }
.shop-side { position: sticky; top: 92px; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.side-row { font-size: .93rem; margin: 0 0 .85rem; }
.side-row span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: .1rem; }
.side-note { font-size: .85rem; color: var(--steel); margin-top: 1rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 880px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; }
.price-feat { border: 2px solid var(--signal); box-shadow: 0 8px 28px rgba(216,72,28,.12); }
.price-h { font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--steel); margin: 0 0 .3rem; }
.price-feat .price-h { color: var(--signal); }
.price-n { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 1rem; }
.price-n em { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--steel); margin-left: .4rem; letter-spacing: 0; }
.price ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.price li { position: relative; padding-left: 1.5rem; font-size: .92rem; margin-bottom: .55rem; }
.price li::before { content: ""; position: absolute; left: .25rem; top: .62rem; width: 7px; height: 7px; border-radius: 50%; background: var(--steel-2); }
.price-feat li::before { background: var(--signal); }
.steps { font-family: var(--serif); padding-left: 1.3rem; }
.steps li { margin-bottom: .6rem; }

/* ---------- form ---------- */
.form-wrap { max-width: 740px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem 1.1rem; margin: 0 0 1.3rem; }
.form legend { font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--signal-dk); padding: 0 .5rem; }
.form label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input[type=text], .form input:not([type]), .form input[type=url], .form input[type=email], .form input[type=search], .form select, .form textarea {
  display: block; width: 100%; margin-top: .35rem; font-family: var(--sans); font-size: .97rem;
  font-weight: 400; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink);
}
.form textarea { font-family: var(--serif); font-size: 1rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.req { font-weight: 600; font-size: .72rem; color: var(--steel); text-transform: uppercase; letter-spacing: .07em; margin-left: .3rem; }
.hint { font-size: .84rem; color: var(--steel); font-weight: 400; margin: -.2rem 0 1rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: .32rem; width: 17px; height: 17px; accent-color: var(--signal); flex: none; }
.check span { font-size: .92rem; }
.check span strong { display: block; font-size: .92rem; }
.check span em { display: block; font-style: normal; font-size: .82rem; color: var(--steel); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .75rem 1.2rem; margin-bottom: 1.2rem; }
.errs { background: var(--signal-tint); border: 1.5px solid var(--signal); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: .92rem; }
.errs ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* ---------- logo, gallery, socials ---------- */
.card-logo {
  max-height: 46px; max-width: 150px; width: auto; object-fit: contain;
  margin-bottom: .6rem;
}
.card-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin: .75rem 0 .2rem; }
.card-shots img { width: 100%; height: 66px; object-fit: cover; border-radius: 4px; }
.head-row { display: flex; align-items: center; gap: 1.2rem; }
.head-logo {
  max-height: 76px; max-width: 170px; width: auto; object-fit: contain;
  background: #fff; padding: .5rem .7rem; border-radius: var(--r); flex: none;
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; margin: .4rem 0 1.8rem; }
.gallery img { width: 100%; height: 125px; object-fit: cover; border-radius: 4px; transition: opacity .14s; }
.gallery a:hover img { opacity: .86; }
.social-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.6rem; }
.social-pill {
  font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: .32rem .8rem;
}
.social-pill:hover { border-color: var(--signal); color: var(--signal-dk); background: var(--signal-tint); }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 1rem; }
.extras legend { color: var(--amber); }
.form input[type=file] {
  display: block; width: 100%; margin-top: .35rem; font-family: var(--sans); font-size: .9rem;
  padding: .55rem; border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--paper);
}
.file-note { display: block; font-size: .82rem; font-weight: 400; color: var(--steel); margin-top: .3rem; }
.file-note-bad { color: var(--signal-dk); font-weight: 600; }

/* ---------- payment buttons + plan picker ---------- */
.price-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1120px; }
.price { position: relative; display: flex; flex-direction: column; }
.price ul { flex: 1; }
.price-sub { font-size: .85rem; color: var(--steel); margin: -.7rem 0 1rem; }
.ribbon {
  position: absolute; top: -1px; right: -1px; font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--amber);
  padding: .3rem .6rem; border-radius: 0 4px 0 4px; margin: 0;
}
.pay-methods {
  font-size: .82rem; color: var(--steel); text-align: center;
  margin: .6rem 0 0;
}
.plan-pick {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: .9rem 1rem; margin: .4rem 0 .2rem;
}
.plan-pick input { accent-color: var(--signal); }
.row-wants td { background: var(--signal-tint); }
.row-failed td { background: #fff3cd; }

/* ---------- cities by state ---------- */
.state-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.4rem; margin-bottom: 1rem; }
.state-col strong { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--signal-dk); margin-bottom: .35rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); }
.state-col ul { list-style: none; margin: 0; padding: 0; }
.state-col li { margin-bottom: .22rem; }
.state-col a { font-size: .92rem; color: var(--ink-2); text-decoration: none; }
.state-col a:hover { color: var(--signal); text-decoration: underline; }

/* ---------- admin ---------- */
.admin-tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-tbl th, .admin-tbl td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-tbl th { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--steel); }
.admin-act a { display: inline-block; margin-right: .6rem; font-size: .82rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #9fabba; padding: 2.8rem 0 0; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 2.4rem; padding-bottom: 2rem; }
.foot strong { color: #fff; display: block; margin-bottom: .6rem; font-size: .95rem; }
.foot p { font-size: .88rem; max-width: 46ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .4rem; }
.foot a { color: #9fabba; text-decoration: none; font-size: .88rem; }
.foot a:hover { color: #fff; }
.foot-base { border-top: 1px solid #2a3038; padding: 1.1rem 22px; }
.foot-base p { font-size: .8rem; margin: 0; color: #727f8e; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in, .cta-in, .shop-grid, .price-grid, .price-grid-3, .foot-in { grid-template-columns: 1fr; }
  .plan-pick { grid-template-columns: 1fr; }
  .hero-in { gap: 2.2rem; padding-top: 2.6rem; }
  .shop-side { position: static; }
  .foot-in { gap: 1.6rem; }
  .mast-nav a:not(.btn) { display: none; }
  .mast-nav a[href="/add/"] { display: inline-flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .card-shots { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 2.4rem 0; }
  .card { padding: 1.1rem; }
}
