/* APL Appliance Repair: single stylesheet, no framework.
   Navy, gold and white. Gold is a fill/accent only: gold text is never set on
   white (too little contrast); --gold-ink is the darker gold for text on light. */

:root {
  --navy: #101B2D;
  --navy-2: #1B2A42;
  --navy-deep: #0A1220;
  --gold: #F2BD32;
  --gold-hover: #E3AA1C;
  --gold-ink: #8A6200;
  --gold-tint: #FDF5E1;
  --white: #FFFFFF;
  --soft: #F4F5F7;
  --ink: #172033;
  --muted: #5E6573; /* spec #6B7280, darkened slightly to pass contrast on --soft */
  --on-navy: #C9D1DE;
  --line: #E2E5EA;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 27, 45, .06), 0 12px 28px rgba(16, 27, 45, .10);
  --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Focus: navy ring on light areas, gold ring on navy areas. */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.topbar :focus-visible, .site-header :focus-visible, .trust-strip :focus-visible, .brand-band :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 56px; height: 56px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }

/* ---------- header ---------- */
.topbar { background: var(--navy-deep); color: var(--on-navy); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { color: var(--gold); }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--gold); }
@media (max-width: 639px) { .topbar a { display: none; } .btn-row .btn { flex: 1 1 auto; } }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(10, 18, 32, .25); }
.header-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }

.logo { display: inline-flex; flex: none; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-head); line-height: 1; }
.logo-text strong { color: var(--gold); font-size: 1.6rem; font-weight: 700; letter-spacing: .03em; }
.logo-text span { color: var(--white); font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin-top: 3px; }

.main-nav {
  display: flex; gap: 2px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -8px;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 6px 10px; color: var(--white); text-decoration: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
.header-cta { display: none; }

@media (min-width: 1020px) {
  .header-row { flex-wrap: nowrap; }
  .main-nav { order: 0; width: auto; margin: 0 0 0 auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- hero (homepage) ---------- */
.hero { background: var(--white); padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding: 72px 0; } }
.hero-content { max-width: 600px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); letter-spacing: -.015em; }
.hl { background: linear-gradient(transparent 62%, rgba(242, 189, 50, .6) 62%, rgba(242, 189, 50, .6) 92%, transparent 92%); padding: 0 .08em; }
.hero-photo { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
@media (min-width: 900px) { .hero-photo { aspect-ratio: 5 / 4; } }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; color: var(--gold-ink); margin-bottom: .8em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.trust-strip { background: var(--navy); color: var(--white); padding: 18px 0; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: center; }
.trust-strip li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; }
.trust-strip .icon { color: var(--gold); width: 24px; height: 24px; }
@media (max-width: 639px) { .trust-strip ul { justify-content: flex-start; flex-direction: column; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--soft); padding: 26px 0 34px; border-bottom: 1px solid var(--line); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold) 0 120px, transparent 120px); }
.page-hero-row { display: flex; gap: 18px; align-items: flex-start; }
.page-hero-row .icon-xl { color: var(--navy); margin-top: 6px; display: none; }
@media (min-width: 640px) { .page-hero-row .icon-xl { display: block; } }
.page-hero-center { text-align: center; padding: 64px 0; border-bottom: 0; }
.page-hero-center::after { display: none; }
.page-hero-center .icon-xl { margin: 0 auto 16px; color: var(--navy); }
.page-hero-center .lede { margin-left: auto; margin-right: auto; }
.page-hero-center .btn-row { justify-content: center; }

.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; }
.breadcrumbs a { color: var(--muted); text-decoration-color: transparent; }
.breadcrumbs a:hover { color: var(--navy); text-decoration-color: var(--gold); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-alt { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 30px; }
.section-head h2::after, .split h2::after, .cta-band h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--gold); margin-top: 12px; }
.section-head p { color: var(--muted); }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Brand names under the hero: text, one size, evenly spaced (no manufacturer logos). */
.brand-strip { background: var(--soft); border-bottom: 1px solid var(--line); padding: 18px 0; }
.brand-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.brand-strip p { margin: 0; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.brand-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.brand-strip li { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-strip a { color: var(--navy); text-decoration: none; border-bottom: 2px solid transparent; }
.brand-strip a:hover { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 900px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.service-card { display: flex; flex-direction: column; }
.service-card .icon {
  color: var(--navy); background: var(--gold-tint); border-radius: 10px; padding: 8px;
  width: 48px; height: 48px; margin-bottom: 14px; transition: background .15s;
}
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-meta { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; }

/* Homepage grouped cards: the title link covers the card; "Also" links sit above it. */
div.service-card { position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
div.service-card:hover, a.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card:hover .icon { background: var(--gold); }
.card-link { color: var(--navy); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-also { position: relative; z-index: 1; margin: 6px 0 0; font-size: .9rem; color: var(--muted); flex: 0; }
.card-also a { color: var(--muted); }
.card-also a:hover { color: var(--navy); }
.section-link { margin: 24px 0 0; font-weight: 700; }

.feature-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 800px) { .feature-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
@media (min-width: 1000px) { .feature-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .icon { color: var(--gold); background: var(--navy); border-radius: 10px; padding: 9px; width: 46px; height: 46px; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.brand-band { background: var(--navy); color: var(--on-navy); padding: 40px 0; }
.brand-band .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.brand-band h2 { color: var(--white); margin-bottom: .3em; }
.brand-band p { margin: 0; }
.brand-band .btn-row { margin: 0; }

.page-body { padding-top: 40px; padding-bottom: 32px; }
.brand-card { scroll-margin-top: 110px; }
.brand-card h3 { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 1.05rem; margin-bottom: .45em; }
.brand-card h3 a { color: var(--navy); text-decoration: none; }
.brand-card h3 a:hover { color: var(--gold-ink); }
.brand-card p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--muted); }
.brand-card p a { color: var(--muted); text-decoration-color: var(--line); }
.brand-card p a:hover { color: var(--navy); text-decoration-color: var(--gold); }
.brand-card-featured { border-top: 4px solid var(--gold); }
.brand-card-featured .card-also { margin-top: 10px; }
.brand-card-featured .card-also a { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); }
.brand-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 189, 50, .35); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px;
}
.steps h3 { color: var(--navy); }
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 800px) { .steps-stacked { grid-template-columns: 1fr; gap: 14px; } }
.steps-stacked li { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; padding: 18px 20px; }
.steps-stacked li::before { grid-row: span 2; margin: 0; }
.steps-stacked h3 { margin-bottom: .2em; }

/* ---------- photos ---------- */
.photo { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { margin: 0; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .photo-tall { aspect-ratio: auto; height: 100%; min-height: 420px; } }
.split-media { align-items: stretch; }

.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 700; color: var(--navy); }
.chips-lg li { display: inline-flex; align-items: center; gap: 6px; }
.chips-lg .icon { color: var(--gold-ink); }

.reviews-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: var(--soft); color: var(--navy); font-size: 1.1rem; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--gold); }
.faq summary:hover { color: var(--gold-ink); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* ---------- service page content ---------- */
.with-aside { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.content > section, .content.narrow > section { margin-bottom: 44px; }
.content.narrow { padding-top: 40px; padding-bottom: 32px; }

.problems { display: grid; gap: 12px; margin: 0; }
@media (min-width: 700px) { .problems { grid-template-columns: 1fr 1fr; } }
.problems div { background: var(--soft); border-left: 3px solid var(--gold); border-radius: 6px; padding: 16px 18px; }
.problems dt { font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.problems dd { margin: 0; color: var(--muted); font-size: .95rem; }

.checklist { padding-left: 1.3em; }
.checklist li { margin-bottom: .5em; }
.checklist li::marker { color: var(--navy); font-weight: 700; }
.checklist-icons { list-style: none; padding: 0; }
.checklist-icons li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.checklist-icons .icon { color: var(--gold-ink); margin-top: 4px; }

.callout { display: flex; gap: 14px; align-items: flex-start; background: #FFF6E5; border: 1px solid #F2D397; border-radius: 8px; padding: 16px 18px; }
.callout .icon { color: #A35F00; }
.callout p { margin: 0; }

.aside .book-card { position: sticky; top: 100px; }
.book-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; box-shadow: var(--shadow); padding: 24px; display: grid; gap: 12px; }
.book-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.book-card .price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.mini-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: .92rem; font-weight: 700; color: var(--navy); }
.mini-list li { display: flex; align-items: center; gap: 8px; }
.mini-list .icon { color: var(--gold-ink); }

.code-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .code-grid { grid-template-columns: 1fr 1fr; } }
table.codes { width: 100%; border-collapse: collapse; font-size: .95rem; border: 1px solid var(--line); }
.codes caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--navy); padding-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.codes th, .codes td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.codes thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.codes tbody tr:nth-child(even) td { background: var(--soft); }
.codes tbody tr:last-child td { border-bottom: 0; }
.codes code { font-weight: 700; color: var(--navy); white-space: nowrap; }

.link-list { columns: 2 200px; padding-left: 1.2em; }
.link-list li { margin-bottom: 6px; break-inside: avoid; }
.link-list li::marker { color: var(--gold-ink); }
.fine-print { font-size: .85rem; color: var(--muted); }

/* ---------- contact & form ---------- */
.contact-card h2 { font-size: 1.25rem; margin: 0; }
.contact-card h3 { margin: 8px 0 0; font-size: 1rem; }
.contact-card p { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.contact-card p .icon { color: var(--gold-ink); margin-top: 4px; }
.contact-email { word-break: break-all; padding-left: 28px; }
.small-steps { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: .95rem; }

.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 700; color: var(--navy); font-size: .95rem; }
.form input, .form select, .form textarea {
  display: block; margin-top: 6px;
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  padding: 11px 12px; border: 1px solid #C9CED6; border-radius: 8px; background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(242, 189, 50, .55); outline-offset: 0; }
.form input[type="file"] { padding: 8px; }
.form button { justify-self: start; }
.req { color: #B42318; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--navy); color: var(--on-navy); padding: 52px 0; border-top: 4px solid var(--gold); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { margin: 0; }
.cta-band .btn-row { margin: 0; }

.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 52px 0 24px; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(242, 189, 50, .5); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { color: var(--gold); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; margin: 16px 0 12px; }
.footer-tag { margin-top: 14px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: .82rem; }
.footer-legal p { margin-bottom: .5em; }

/* Sticky call bar on phones */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16, 27, 45, .10);
}
.mobile-bar .btn { padding: .75em .6em; font-size: .9rem; }
body { padding-bottom: 76px; }
@media (min-width: 1020px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
