/* United Appliance Services — shared design system
   Display: Archivo · Body: Public Sans · Brand: red + navy */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --red: #e01e26;
  --red-dark: #b21319;
  --red-tint: #fdecec;
  --ink: #101a2b;        /* deep navy near-black */
  --ink-2: #1c2a40;
  --muted: #5a6577;
  --line: #e4e7ec;
  --line-2: #eef1f4;
  --paper: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eef1f5;
  --navy-grad-1: #14233c;
  --navy-grad-2: #0c1626;
  --gold: #f3b34a;

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,26,43,.06), 0 2px 8px rgba(16,26,43,.05);
  --shadow-md: 0 8px 28px rgba(16,26,43,.10);
  --shadow-lg: 0 24px 60px rgba(16,26,43,.18);

  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 .4em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--surface); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.center .eyebrow { justify-content: center; }

.h-xl { font-size: clamp(34px, 5.4vw, 60px); }
.h-lg { font-size: clamp(28px, 3.6vw, 42px); }
.h-md { font-size: clamp(22px, 2.4vw, 30px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.biz { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(224,30,38,.32); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224,30,38,.40); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 19px 34px; font-size: 18px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--ink);
  color: #cdd6e4;
  font-size: 13.5px;
  font-weight: 500;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar a { color: #fff; }
.topbar .dot { color: var(--red); font-weight: 700; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__right .t-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
@media (max-width: 1000px) { .topbar__left { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 1000px) { .topbar__right { gap: 16px; } }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--red);
  display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px;
  box-shadow: 0 6px 16px rgba(224,30,38,.30);
  flex: none;
}
.brand__name { display: flex; flex-direction: column; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.12; letter-spacing: -.02em; }
.brand__name span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  padding: 10px 14px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav__links a:hover { background: var(--surface); color: var(--ink); }
.nav__links a.active { color: var(--red); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; }
.nav__phone svg { width: 20px; height: 20px; color: var(--red); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 46px; height: 46px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__cta .btn--primary { display: none; }
  .burger { display: block; }
}
html, body { overflow-x: hidden; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16,26,43,.5); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; width: min(86vw, 360px); height: 100%;
  background: #fff; padding: 24px; transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__panel a.m-link { font-family: var(--display); font-weight: 700; font-size: 18px; padding: 14px 12px; border-radius: 10px; }
.mobile-menu__panel a.m-link:hover { background: var(--surface); }
.mobile-menu__close { align-self: flex-end; background: var(--surface); border: none; width: 44px; height: 44px; border-radius: 10px; font-size: 22px; cursor: pointer; }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(224,30,38,.30), transparent 60%),
    linear-gradient(160deg, var(--navy-grad-1), var(--navy-grad-2));
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 84px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.6vw, 66px); }
.hero h1 .accent { color: #ff5961; }
.hero .lead { color: #c4cee0; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #e7edf6; font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px;
}
.pill svg { width: 15px; height: 15px; color: #ff7077; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust .t { display: flex; flex-direction: column; }
.hero__trust .t b { font-family: var(--display); font-size: 26px; color: #fff; }
.hero__trust .t span { font-size: 13px; color: #9fb0c9; }

/* hero card / placeholder */
.hero__media { position: relative; }
.hero__photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.hero__float {
  position: absolute; left: -22px; bottom: 26px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero__float .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; flex: none; }
.hero__float b { font-family: var(--display); display: block; font-size: 15px; }
.hero__float span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 64px; }
  .hero__float { left: 12px; }
}

/* ---------- image placeholders ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(135deg, rgba(16,26,43,.05) 0 12px, rgba(16,26,43,0) 12px 24px);
  display: grid; place-items: center; color: var(--ink-2);
  border: 1px dashed #c4ccd8; border-radius: inherit; overflow: hidden;
}
.ph__label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: .02em; color: #51607a;
  background: rgba(255,255,255,.78); padding: 7px 12px; border-radius: 7px;
  text-align: center; max-width: 84%;
}
.ph--dark { background-color: #1a2840; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,0) 12px 24px); border-color: rgba(255,255,255,.18); }
.ph--dark .ph__label { background: rgba(255,255,255,.10); color: #cdd8ea; }

/* ---------- service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dae3; }
.card__ic { width: 52px; height: 52px; border-radius: 13px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.card__ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--red); font-weight: 700; font-size: 14.5px; }
.card__link svg { width: 15px; height: 15px; transition: transform .15s; }
.card:hover .card__link svg { transform: translateX(3px); }

/* feature / steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; background: var(--red); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* brands strip */
.brands { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-chip {
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-sm);
}

/* areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  transition: border-color .15s, color .15s, transform .12s;
}
.area-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.area-chip svg { width: 15px; height: 15px; color: var(--red); }

/* reviews */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; margin-bottom: 14px; }
.review p { font-size: 15.5px; color: var(--ink-2); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review__av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.review__who b { font-family: var(--display); font-size: 15px; }
.review__who span { font-size: 13px; color: var(--muted); }

/* split / cta band */
.band { background: var(--ink); color: #fff; border-radius: 22px; padding: 56px; position: relative; overflow: hidden; }
.band::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 300px at 88% 0%, rgba(224,30,38,.35), transparent 60%); }
.band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { color: #fff; }
.band p { color: #c4cee0; margin: 0; }
.band__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .band { padding: 36px 26px; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b8c2d4; padding: 64px 0 28px; }
.footer a { color: #d8dfeb; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer .brand__name { color: #fff; }
.footer .brand__name span { color: #8e9bb2; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 2px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8e9bb2; }
.footer__bottom a { color: #b8c2d4; }

/* ---------- floating mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 10px; padding: 10px 14px; background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,26,43,.10);
}
.callbar .btn { flex: 1; padding: 14px; }
@media (max-width: 1000px) { .callbar { display: flex; } body { padding-bottom: 74px; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(16,26,43,.55); backdrop-filter: blur(3px); }
.modal__panel { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); width: min(540px, 100%); max-height: 92vh; overflow-y: auto; transform: translateY(14px) scale(.98); transition: transform .2s; }
.modal.open .modal__panel { transform: none; }
.modal__head { padding: 26px 28px 0; }
.modal__head .eyebrow { margin-bottom: 8px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 10px; border: none; background: var(--surface); cursor: pointer; font-size: 20px; color: var(--ink); }
.modal__close:hover { background: var(--surface-2); }
.modal__body { padding: 18px 28px 28px; }

/* ---------- forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-2); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 15.5px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,30,38,.12); }
.field input.err, .field select.err { border-color: var(--red); }
.consent { display: flex; gap: 11px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--red); }
.consent a { color: var(--red); font-weight: 600; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: #e6f6ec; color: #178a45; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 32px; height: 32px; }

/* page hero (interior) */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 64px 0 56px; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(900px 380px at 85% -20%, rgba(224,30,38,.28), transparent 60%), linear-gradient(160deg, var(--navy-grad-1), var(--navy-grad-2)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); }
.page-hero .lead { color: #c4cee0; }
.crumbs { font-size: 13.5px; color: #9fb0c9; margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: #cdd8ea; }
.crumbs a:hover { color: #fff; }

/* prose for long-form pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid .g-item { aspect-ratio: 4/3; border-radius: var(--radius); }

/* info card */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--red); }

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 10px; }
.flex { display: flex; } .gap { gap: 14px; } .wrap-flex { flex-wrap: wrap; } .items-center { align-items: center; }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
