/* Thrifty Appliance Repair — static rebuild of the original Elementor design. */
:root {
  --teal: #064a5f;
  --teal-bar: #0a4b5e;
  --orange: #fc5618;
  --navy: #001c38;
  --ink: #4a4a4a;
  --muted: #7a7a7a;
  --grey-bg: #f4f4f4;
  --line: #d5d8dc;
  --gold: #f9a825;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 14px/1.7 "Open Sans", sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--teal); font-weight: 600; }
h1, h2 { font-size: 41px; }
p { margin: 0 0 1em; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.vh, .hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.center { text-align: center; }
.caps { text-transform: uppercase; font-weight: 400; font-size: 32px; letter-spacing: .5px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 1160px; }

/* ---------- top bar ---------- */
.topbar { background: var(--teal-bar); color: #fff; font-size: 14px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.topbar__info { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.topbar__info a { display: inline-flex; align-items: center; gap: 10px; }
.topbar__info a:hover { color: #ffd2c2; }
.topbar__sms .ico { width: 18px; height: 18px; }

/* ---------- masthead ---------- */
.masthead { background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.07); position: relative; z-index: 5; }
.masthead__row { display: flex; align-items: center; justify-content: space-between; min-height: 116px; }
.masthead__logo img { width: 320px; }
.mainnav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 10px 25px; font-size: 16px; color: #16163f; transition: color .2s; }
.mainnav a:hover, .mainnav a.is-current { color: var(--orange); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--teal); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: 500 15px/1 Roboto, sans-serif; color: #fff;
  padding: 14px 24px; border-radius: 3px; transition: background .2s, color .2s;
}
.btn--teal { background: var(--teal); text-transform: uppercase; font-size: 12px; padding: 13px 24px; }
.btn--teal:hover { background: var(--orange); }
.btn--sm { text-transform: none; font-size: 13px; font-weight: 700; }
.btn--orange { background: var(--orange); font-weight: 700; }
.btn--orange:hover { background: var(--teal); }
.btn--ghost { border: 2px solid #fff; text-transform: uppercase; font-size: 12px; padding: 11px 20px; }
.btn--ghost:hover { background: #fff; color: var(--teal); }

/* ---------- hero slider ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: #222; }
.hero__slide {
  position: absolute; inset: 0; background: center/cover no-repeat;
  opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; justify-content: center;
}
.hero__slide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero__slide.is-on { opacity: 1; z-index: 1; }
.hero__inner { position: relative; text-align: center; color: #fff; padding: 0 60px; }
.hero h1, .hero__big { color: #fff; font-size: 35px; font-weight: 400; text-transform: uppercase; margin: 0 0 18px; line-height: 1.2; }
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: none; border: 0; color: #fff; font-size: 54px; line-height: 1; cursor: pointer; padding: 10px 18px; opacity: .85;
}
.hero__nav:hover { opacity: 1; }
.hero__nav--prev { left: 0; }
.hero__nav--next { right: 0; }
.stars { display: flex; justify-content: center; gap: 8px; color: var(--gold); font-size: 28px; margin: 0 0 22px; }
.stars--sm { justify-content: flex-start; font-size: 15px; gap: 3px; color: var(--orange); margin: 0 0 8px; }
.stars--gold { font-size: 36px; }

/* ---------- bands ---------- */
.band { padding: 90px 0; }
.band--tight { padding: 30px 0 70px; }
.band--grey { background: var(--grey-bg); }
.lead { color: var(--teal); font-size: 15px; line-height: 1.9; margin: 0 auto 30px; max-width: 1120px; }
.rule { border: 0; border-top: 2px solid #aab2b8; margin: 0 0 24px; }

/* ---------- service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 30px auto 40px; }
.tiles--home { grid-template-columns: repeat(6, 1fr); max-width: 1010px; }
.tiles--home .tile { grid-column: span 2; }
.tiles--home .tile:nth-child(4) { grid-column: 2 / span 2; }
.tiles:not(.tiles--home) > .tile:last-child:nth-child(3n+1) { grid-column: 2; }
.tile {
  background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.18); padding: 26px 26px 30px; text-align: center;
  min-height: 215px; transition: transform .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.tile__icon { display: inline-block; color: var(--teal); font-size: 26px; margin-bottom: 10px; }
.tile h3, .tile__h { font-size: 20px; font-weight: 600; margin: 0 0 14px; }
.tiles--home .tile h3 { font-size: 16px; }
.tile p { color: var(--muted); font-size: 13px; margin: 0; text-align: left; }
.tiles--home .tile p { text-align: center; font-size: 12px; }

/* ---------- why choose us ---------- */
.why { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; max-width: 1000px; }
.why__title { font-size: 28px; text-align: center; }
.why__list { list-style: none; padding: 0; margin: 0; }
.why__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 14px; line-height: 1.8; }
.why__list .ico { color: var(--teal); margin-top: 6px; font-size: 13px; }
.why__list b { color: var(--teal); font-weight: 600; }

/* ---------- lead forms ---------- */
.leadform { display: grid; gap: 10px; }
.leadform input, .leadform textarea {
  width: 100%; font: 400 14px "Open Sans", sans-serif; padding: 10px 12px; border: 1px solid #69727d;
  border-radius: 0; background: #fff; color: var(--ink);
}
.leadform textarea { min-height: 96px; resize: vertical; }
.leadform button {
  font: 500 12px Roboto, sans-serif; text-transform: uppercase; letter-spacing: .5px; color: #fff; border: 0;
  padding: 13px; cursor: pointer; transition: background .2s;
}
.leadform--dark { background: var(--teal); padding: 26px 16px 34px; }
.leadform--dark .leadform__title { color: #fff; font-size: 28px; font-weight: 600; margin: 0 0 8px; }
.leadform--dark input, .leadform--dark textarea { border-color: #fff; padding: 6px 10px; font-size: 12px; }
.leadform--dark button { background: var(--orange); }
.leadform--dark button:hover { background: #ff7440; }
.leadform--light button { background: var(--teal); }
.leadform--light button:hover { background: var(--orange); }

/* ---------- home review slider ---------- */
.quotes { position: relative; max-width: 1060px; margin: 30px auto 50px; padding: 0 30px; min-height: 150px; }
.quote {
  display: none; margin: 0; text-align: left; background: #fff; border: 1px solid #e3e3e3;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); padding: 16px 20px;
}
.quote.is-on { display: block; animation: fade .5s; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 13px; margin-bottom: 10px; color: #333; }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote blockquote { margin: 0; font-size: 13px; color: var(--muted); }
.quotes__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 32px; color: #bbb; cursor: pointer; }
.quotes__nav:hover { color: var(--teal); }
.quotes__nav--prev { left: -6px; }
.quotes__nav--next { right: -6px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- image banners ---------- */
.banner { position: relative; background: center/cover no-repeat; padding: 170px 20px; text-align: center; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.banner--tall { padding: 150px 20px; }
.banner__inner { position: relative; }
.banner h2 { color: #fff; font-size: 36px; margin-bottom: 20px; }
.banner__phone { display: block; color: #fff; font-size: 40px; font-weight: 600; }

/* ---------- brand logos ---------- */
.logos { overflow: hidden; margin-top: 30px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 34s linear infinite; }
.logos__track img { height: 64px; width: auto; max-width: 190px; object-fit: contain; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 15px)); } }
.brandlist { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 20px auto 0; max-width: 960px; text-align: left; }
.brandlist li { display: flex; align-items: center; gap: 10px; font-size: 17px; padding: 3px 10px; }
.brandlist .ico { color: var(--teal); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 1120px; margin: 0 auto 30px; text-align: left; border: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 12px 20px; font-size: 17px; font-weight: 600; color: var(--teal);
  display: flex; gap: 10px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-weight: 700; font-size: 20px; width: 12px; }
.faq details[open] summary::before { content: "−"; }
.faq details p { padding: 0 20px 16px 42px; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- prose / inner pages ---------- */
.prose p { font-size: 17px; color: var(--teal); }
.prose--grey p { font-size: 15px; color: var(--muted); max-width: 1100px; margin-left: auto; margin-right: auto; }
.prose a { color: var(--orange); }
.covid p { font-size: 17px; color: var(--teal); }
.covid h2 { margin-top: 30px; }
.covid__list { margin-top: 50px; }
.covid__list p { color: var(--muted); font-size: 16px; margin-bottom: 1.6em; }

/* ---------- reviews page ---------- */
.revgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 18px; margin: 40px 0 50px; text-align: left; }
.rev { margin: 0; display: flex; flex-direction: column; }
.rev__bubble { position: relative; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.15); padding: 20px 20px 18px 50px; flex: 1; }
.rev__bubble::after {
  content: ""; position: absolute; left: 60px; bottom: -14px; width: 26px; height: 26px; background: #fff;
  transform: rotate(45deg) skew(12deg, 12deg); box-shadow: 4px 4px 6px -3px rgba(0,0,0,.15);
}
.rev__q { position: absolute; left: 16px; top: 18px; color: #c8c8c8; font-size: 20px; }
.rev__text { margin: 0; font-style: italic; color: #777; font-size: 14px; line-height: 1.6; }
.rev__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rev__more { background: none; border: 0; padding: 4px 0 0; color: #333; font: italic 14px "Open Sans", sans-serif; cursor: pointer; position: relative; z-index: 1; }
.rev__more:hover { color: var(--orange); }
.rev__who { display: flex; align-items: center; gap: 14px; padding: 26px 0 0 20px; font-size: 13px; color: #555; text-transform: uppercase; }
.rev__who b { font-weight: 400; }
.rev__avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 22px;
  display: grid; place-items: center; text-transform: uppercase;
}

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1080px; margin: 60px auto 0; }
.contact h2 { font-size: 24px; }
.contact__info p { font-size: 17px; color: #383636; line-height: 1.8; margin-bottom: 36px; }
.contact__info a:hover { color: var(--orange); }
.contact__form h2 { font-size: 34px; margin-top: 20px; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #fff; position: relative; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.foot h4 { color: #fff; font: 700 18px Roboto, sans-serif; margin-bottom: 18px; }
.foot__gap { margin-top: 36px; }
.foot__hours { font-size: 14px; line-height: 1.8; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot li a { color: #c9d3de; font-size: 14px; }
.foot li a:hover { color: var(--orange); }
.foot__social { display: flex; gap: 10px; margin-top: 30px; }
.foot__social a { width: 33px; height: 33px; display: grid; place-items: center; background: #3d4f63; border-radius: 3px; font-size: 14px; }
.foot__social a:hover { background: var(--orange); }
.foot__base { border-top: 1px solid #1d3552; font: 400 12px Roboto, sans-serif; color: #c9d3de; }
.foot__base .wrap { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.totop { position: absolute; right: 20px; bottom: 10px; width: 40px; height: 40px; background: #0b2440; display: grid; place-items: center; font-size: 13px; }
.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .mainnav a { padding: 10px 14px; }
  .masthead__logo img { width: 260px; }
}
@media (max-width: 860px) {
  h1, h2 { font-size: 30px; }
  .caps { font-size: 26px; }
  .topbar__info li:nth-child(2) { display: none; }
  .masthead__row { min-height: 84px; }
  .masthead__logo img { width: 210px; }
  .burger { display: block; }
  .mainnav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.1); display: none; }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; padding: 8px 0; }
  .mainnav a { padding: 12px 24px; border-top: 1px solid #eee; }
  .hero { height: 420px; }
  .hero h1, .hero__big { font-size: 26px; }
  .band { padding: 60px 0; }
  .tiles, .tiles--home { grid-template-columns: 1fr 1fr; }
  .tiles--home .tile, .tiles--home .tile:nth-child(4), .tiles > .tile:last-child:nth-child(3n+1) { grid-column: auto; }
  .why { grid-template-columns: 1fr; }
  .revgrid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .banner, .banner--tall { padding: 100px 20px; }
  .banner h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .tiles, .tiles--home, .revgrid, .brandlist, .foot__cols { grid-template-columns: 1fr; }
  .hero__inner { padding: 0 44px; }
  .hero__nav { font-size: 40px; padding: 6px 8px; }
  .foot__base .wrap { flex-direction: column; gap: 4px; }
  body { padding-bottom: 54px; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 50; background: var(--orange); color: #fff; font: 700 16px Roboto, sans-serif; height: 54px;
  }
  .totop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .hero__slide { transition: none; }
}
