/* American Best Appliance HVAC & Refrigeration */
:root {
  --ink: #161616;
  --page: #faf8f3;
  --accent: #7fd8be;
  --line: #e2ded4;
  --soft: #f1eee6;
  --muted: #4a4a4a;
  --head: Montserrat, arial, sans-serif;
  --body: "Times New Roman", Times, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 19px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* header */
.top { background: var(--page); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1rem/1.15 var(--head); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 6px; }
.brand small { display: block; font-weight: 500; font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a { font: 600 .85rem var(--head); text-decoration: none; padding: 12px 10px; border-radius: 6px; }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top__call { font: 700 1rem var(--head); text-decoration: none; padding: 12px 16px; border-radius: 6px; background: var(--ink); color: #fff; white-space: nowrap; }

/* hero */
.hero { background: var(--ink); color: #fff; }
.hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero__name { font: 600 .82rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.hero__line { font-size: 1.15rem; color: #e6e6e6; max-width: 34em; }
.hero__pic { margin: 0; }
.hero__pic img { border-radius: 8px; width: 100%; }
.today { margin: 22px 0 24px; padding-left: 14px; border-left: 3px solid var(--accent); }
.status { font: 700 .95rem var(--head); color: var(--accent); margin: 0 0 4px; }
.big-hours { font: 700 1.5rem/1.2 var(--head); margin: 0; }
.big-hours__cap { font: 500 .78rem var(--head); text-transform: uppercase; letter-spacing: .12em; color: #cfcfcf; margin: 6px 0 0; }
.today-line:empty { display: none; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 6px; font: 700 1.05rem var(--head); text-decoration: none; }
.btn--main { background: var(--accent); color: var(--ink); }
.btn--line { border: 2px solid currentColor; color: inherit; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__in > div { padding: 20px 20px 16px 0; }
.strip__in > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.strip h2 { font: 600 .74rem var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 4px; }
.strip p { margin: 0; font: 600 1.05rem var(--head); }

/* sections */
.block { padding: 64px 0; }
.block--tint { background: var(--soft); }
.lead { font-size: 1.15rem; color: var(--muted); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.block .cols { margin-top: 28px; }
.block .wrap.cols { margin-top: 0; }
.items { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.items li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.items li[data-sold-out] { opacity: .6; }
.sold-out { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.price { float: right; font-family: var(--head); }
.more { margin-top: 28px; font: 600 1rem var(--head); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font: 800 2rem/1 var(--head); color: var(--ink); margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--head); margin-bottom: 4px; }

.rows { margin: 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-family: var(--head); font-weight: 600; }
.rows dd { margin: 0; }
.closures { list-style: none; padding: 0; font-weight: 700; }
.big-phone { font: 800 2rem/1.1 var(--head); margin-bottom: 8px; }
.big-phone a { text-decoration: none; }
#contact h3 { margin-top: 24px; }

.qa { padding: 18px 0; border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa p { margin: 0; }

/* plain pages */
.page-head { background: var(--ink); color: #fff; padding: 48px 0 40px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-head p { color: #e6e6e6; font-size: 1.15rem; margin: 0; }
.prose p { max-width: 38em; }
.prose h2 + p { margin-top: 0; }
.prose p + h2 { margin-top: 1.4em; }
.cta { margin-top: 28px; }

/* footer */
.foot { background: var(--ink); color: #e6e6e6; padding: 40px 0 48px; font-size: 1rem; }
.foot a { color: #fff; }
.foot__in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__name { font: 700 1.05rem var(--head); color: #fff; }
.foot p { margin: 0 0 6px; }
.foot__nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.foot__nav a { padding: 12px 10px; font-family: var(--head); font-size: .9rem; }

.callbar { display: none; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 36px; }
  .cols, .steps { grid-template-columns: 1fr; gap: 32px; }
  .top__call { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .foot { padding-bottom: 110px; }
  .foot__nav { margin-left: -10px; }
  .top__in { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .brand { width: 100%; }
  .nav { margin-left: -10px; }
  .strip__in { grid-template-columns: 1fr; }
  .strip__in > div, .strip__in > div + div { border-left: 0; padding: 14px 0; }
  .strip__in > div + div { border-top: 1px solid var(--line); }
  .block { padding: 48px 0; }
  .btns .btn { flex: 1 1 100%; }
  .callbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); }
  .callbar .btn--main { flex: 1; }
  .callbar .btn--line { color: #fff; }
}
