/* ============================================================
   Rivers Auto & Tractor Repair — Stockbridge, GA
   Rural / earthy: forest green + tan/wheat accent + charcoal. Photo-free.
   ============================================================ */
:root {
  --green: #1f4d2e;
  --green-2: #2c6b40;
  --green-deep: #173d24;
  --green-ink: #0f2a18;
  --wheat: #e3c884;
  --wheat-dark: #c9a85a;
  --tan: #f3ecdb;
  --tan-2: #e9dec5;
  --charcoal: #20231f;
  --ink: #232a24;
  --muted: #5e6a5c;
  --gray: #f5f3ec;
  --gray-2: #e8e3d6;
  --line: #ded7c5;
  --white: #ffffff;
  --radius: 13px;
  --radius-lg: 18px;
  --shadow: 0 24px 48px -26px rgba(23, 61, 36, 0.42);
  --shadow-sm: 0 12px 26px -16px rgba(23, 61, 36, 0.4);
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(58px, 8vw, 104px) 0; }
.section--gray { background: var(--gray); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.018em; line-height: 1.08; }
.accent { color: var(--green-2); }
em { font-style: normal; font-weight: 700; color: var(--green-2); }
.eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--wheat-dark); margin-bottom: 14px; }
.eyebrow--light { color: var(--wheat); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; font-family: var(--display);
  padding: .82em 1.4em; border-radius: 9px; border: 2px solid transparent; cursor: pointer; transition: .22s var(--ease); white-space: nowrap; letter-spacing: .01em; }
.btn__ico { font-size: 1.05em; line-height: 1; transform: translateY(1px); }
.btn--sm { padding: .58em 1.05em; font-size: .9rem; }
.btn--lg { padding: .92em 1.6em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--wheat); color: var(--green-ink); box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--wheat-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 168, 90, .6); }
.btn--ghost { border-color: rgba(31,77,46,.28); color: var(--green); background: var(--white); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-2px); }

/* brand / nav */
.brand { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--green); line-height: 1.05; display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.brand__mark { color: var(--green-2); display: grid; place-items: center; }
.brand__tag { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-dark); display: block; }
.brand__mark + .brand__tag { flex-basis: 100%; margin-left: 31px; margin-top: 0; }
.brand--light { color: var(--white); font-size: 1.4rem; display: inline-flex; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: .96rem; }
.nav__links a { color: var(--ink); position: relative; }
.nav__links a:hover { color: var(--green-2); }
@media (max-width: 940px) { .nav__links { display: none; } }
@media (max-width: 560px) { .nav__call .nav__callnum { display: none; } .nav__call { padding: .58em .72em; } .nav__call .btn__ico { font-size: 1.15rem; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(46px, 6vw, 78px) 0 clamp(28px, 4vw, 48px); background:
  radial-gradient(1100px 520px at 82% -10%, rgba(31,77,46,.12), transparent 62%),
  radial-gradient(760px 380px at 6% 110%, rgba(227,200,132,.20), transparent 60%),
  linear-gradient(180deg, var(--tan), #ffffff 72%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.8vw, 4.15rem); font-weight: 900; margin-bottom: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .94rem; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.rating strong { font-family: var(--display); color: var(--green-deep); }
.stars { color: var(--wheat-dark); letter-spacing: 1px; }
.lede { font-size: 1.13rem; color: var(--muted); max-width: 50ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { position: relative; padding-left: 26px; font-weight: 600; font-size: .94rem; color: var(--green-deep); }
.hero__trust li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--green); color: var(--wheat);
  border-radius: 50%; font-size: .72rem; display: grid; place-items: center; transform: translateY(3px); }

/* hero art — CSS card, NO photos */
.hero__art { position: relative; }
.hero__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 32px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; }
.hero__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--green), var(--wheat)); }
.hero__cardico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--green-2);
  background: var(--tan); margin: 10px 0 16px; }
.hero__cardlabel { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--green-deep); margin-bottom: 16px; }
.hero__checklist { list-style: none; padding: 0; display: grid; gap: 13px; }
.hero__checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.hero__checklist .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--wheat); display: grid; place-items: center; }
.hero__badge { position: absolute; bottom: -18px; right: -14px; background: var(--green); color: var(--white); font-family: var(--display);
  font-weight: 700; font-size: .76rem; line-height: 1.15; text-align: center; padding: 14px; border-radius: 50%;
  width: 104px; height: 104px; display: grid; place-items: center; box-shadow: var(--shadow); border: 3px solid var(--wheat); }
.hero__badge b { display: block; font-size: 1.5rem; color: var(--wheat); font-weight: 800; line-height: 1; margin-bottom: 2px; }
@media (max-width: 820px) { .hero__in { grid-template-columns: 1fr; } .hero__art { max-width: 380px; margin: 8px auto 0; } }

/* stat bar */
.statbar { background: linear-gradient(120deg, var(--green-2), var(--green-deep)); color: var(--white); border-top: 5px solid var(--wheat); }
.statbar__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--wheat); line-height: 1.05; margin-bottom: 6px; }
.stat span { font-size: .88rem; color: #cfe0d2; }
@media (max-width: 640px) { .statbar__in { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); } }

/* section heads */
.head { text-align: center; max-width: 680px; margin: 0 auto clamp(34px, 5vw, 52px); }
.head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.head__sub { color: var(--muted); margin-top: 12px; font-size: 1.06rem; }

/* services cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: .26s var(--ease); position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gray-2); }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tan); color: var(--green-2); margin-bottom: 16px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; color: var(--green-deep); }
.card p { color: var(--muted); font-size: .97rem; }
.card--accent { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.card--accent .card__ico { background: var(--green); color: var(--wheat); }
.card--cta { background: linear-gradient(150deg, var(--green-2), var(--green-deep)); color: var(--white); display: flex; flex-direction: column; }
.card--cta h3 { color: var(--white); }
.card--cta p { color: #cfe0d2; margin-bottom: 16px; }
.card--cta .link { color: var(--wheat); margin-top: auto; }
.link { color: var(--green-2); font-family: var(--display); font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 1px; display: inline-block; }
.link:hover { color: var(--green-deep); }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

/* why-us (green) */
.section--green { background: linear-gradient(165deg, var(--green-2), var(--green-deep)); color: var(--white); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.why h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 18px; }
.why__lede { color: #d7e6da; font-size: 1.08rem; margin-bottom: 26px; max-width: 48ch; }
.why__list { list-style: none; padding: 0; display: grid; gap: 18px; margin-bottom: 30px; }
.why__list li { display: grid; gap: 3px; padding-left: 34px; position: relative; }
.why__list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--wheat); color: var(--green-ink);
  border-radius: 50%; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.why__list b { font-family: var(--display); font-size: 1.08rem; }
.why__list span { color: #b6cdba; font-size: .96rem; }

/* why panel — CSS, NO photos */
.why__panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(4px); }
.panel__label { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--wheat); margin-bottom: 20px; }
.panel__grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.panel__grid li { background: var(--white); color: var(--green-deep); border-radius: var(--radius); padding: 18px 16px; display: grid; gap: 2px; }
.panel__ico { width: 42px; height: 42px; border-radius: 11px; background: var(--tan); color: var(--green-2); display: grid; place-items: center; margin-bottom: 8px; }
.panel__grid b { font-family: var(--display); font-size: 1.05rem; }
.panel__grid small { color: var(--muted); font-size: .85rem; }
.panel__quote { background: var(--wheat); color: var(--green-ink); border-radius: var(--radius); padding: 16px 18px; }
.panel__stars { color: var(--green-deep); letter-spacing: 2px; font-size: .95rem; }
.panel__quote p { font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin-top: 4px; line-height: 1.25; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 13px; }
.review__stars { color: var(--wheat-dark); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.03rem; line-height: 1.62; color: var(--ink); }
.review figcaption { color: var(--green-deep); font-family: var(--display); font-weight: 700; font-size: .94rem; margin-top: auto; }
.review figcaption span { color: var(--muted); font-weight: 400; font-family: var(--body); }
.reviews__cta { text-align: center; margin-top: clamp(26px, 4vw, 40px); }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }

/* quote / request (green band with wheat glow) */
.section--quote { background:
  radial-gradient(820px 380px at 88% 4%, rgba(227,200,132,.20), transparent 60%),
  linear-gradient(160deg, var(--green-2), var(--green-deep)); color: var(--white); }
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 66px); align-items: center; }
.order h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 24px; }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.04rem; color: #d7e6da; }
.steps span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--wheat); color: var(--green-ink);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.order__call { margin-top: 26px; color: #cfe0d2; }
.order__call a { color: var(--wheat); font-weight: 700; border-bottom: 1px solid; }
.order__form { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--green-deep); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 1rem; background: var(--gray); color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(44,107,64,.18); background: var(--white); }
.form__note { margin-top: 14px; text-align: center; font-family: var(--display); font-weight: 700; min-height: 1.2em; }
.form__note.ok { color: var(--green-deep); }
.form__fine { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--muted); }
@media (max-width: 820px) { .order { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.visit h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 22px; }
.info { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.info b { min-width: 84px; font-family: var(--display); font-weight: 700; color: var(--green-deep); }
.info a { color: var(--green-2); font-weight: 600; }
.info--hours { align-items: flex-start; }
.hours { list-style: none; padding: 0; display: grid; gap: 6px; flex: 1; }
.hours li { display: flex; justify-content: space-between; color: var(--muted); max-width: 320px; }
.hours__note { display: block; font-size: .82rem; color: var(--wheat-dark); font-style: italic; margin-top: 2px; }
.visit .link { margin-top: 22px; }
.visit__map { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--green-ink); color: #b6cdba; text-align: center; padding: 50px 0; border-top: 5px solid var(--wheat); }
.footer__in p { margin-top: 10px; }
.footer__in a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__hours { font-size: .92rem; color: #8aa890; }
.footer__by { font-size: .9rem; margin-top: 18px; }
.footer__by a:hover { color: var(--wheat); border-color: var(--wheat); }

/* reveals */
.js .section .head, .js .why, .js .cards, .js .reviews, .js .order, .js .visit { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .in { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [class] { opacity: 1 !important; transform: none !important; }
}
