/* Appliance Repair Indio, CA - site styles (boxed classic layout) */
:root {
  --sky-1: #7fb0dc;
  --sky-2: #a8cdee;
  --steel: #6b91b7;
  --steel-dark: #557ba1;
  --red: #e3121b;
  --panel: #f9f9f9;
  --ink: #222;
  --text: #333;
  --muted: #666;
  --link: #2a9fd6;
  --link-dark: #1b7fb0;
  --line: #d6d6d6;
  --orange: #f7941d;
  --dark: #2b2b2b;
  --head-font: "Oswald", "Arial Narrow", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Ubuntu", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-1) 100%) fixed;
  background-color: var(--sky-1);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-dark); text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--head-font);
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 .35em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 1.4em 0 .5em; }
h3 { font-size: 1.3rem; margin: 1.2em 0 .45em; }
.muted { color: var(--muted); font-size: .9em; }

/* Boxed site container */
.site { max-width: 1124px; margin: 0 auto; }

/* Header */
.site-header { background: var(--steel); padding: 14px 22px 0; }
.header-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--head-font); font-weight: 600; text-transform: uppercase;
  color: var(--red); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}
.brand-tag { font-family: var(--head-font); color: #fff; font-size: clamp(1.1rem, 2.4vw, 1.6rem); margin: 4px 0 0 60px; }
.header-phone {
  font-family: var(--head-font); font-weight: 600; color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin-top: 26px; white-space: nowrap;
}
.header-phone:hover { color: #fff; text-decoration: none; opacity: .9; }
.main-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; padding: 30px 0 14px; }
.main-nav a {
  font-family: var(--head-font); text-transform: uppercase; color: #fff;
  font-size: 1.35rem; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.55); line-height: 1.1;
}
.main-nav a:first-child { border-left: 0; }
.main-nav a:last-child { padding-right: 0; }
.main-nav a:hover { color: #fff; text-decoration: underline; }

/* Breadcrumb */
.breadcrumb { background: rgba(255,255,255,.55); margin-top: 12px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 8px 18px; font-size: .9rem; color: #444; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: #234; }

/* Hero: dark framed stage with map + caption, brand logo strip below */
.hero { margin-top: 12px; background: var(--dark); border-radius: 0 0 6px 6px; overflow: hidden; }
.hero-stage { position: relative; }
.map-frame { position: relative; overflow: hidden; height: 420px; background: #3a3a3a; }
/* Shift the embed up so Google's "View larger map" place card is not shown */
.map-frame iframe { position: absolute; top: -70px; left: 0; width: 100%; height: calc(100% + 70px); border: 0; }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; pointer-events: none;
  background: rgba(30,30,30,.55); color: #fff; text-align: right;
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.8rem); padding: 18px 40px; text-shadow: 0 2px 4px rgba(0,0,0,.6);
}
.thumb-strip {
  display: flex; align-items: center; gap: 12px; padding: 18px 26px;
  background: linear-gradient(180deg, #4a4a4a, #2e2e2e);
}
.thumbs { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; flex: 1; justify-content: safe center; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 104px; border: 3px solid #555; background: #222; position: relative; }
.thumb img { width: 100%; height: 66px; object-fit: cover; }
.thumb span {
  display: block; font-size: .68rem; color: #ddd; text-align: center; padding: 2px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.thumb:hover { border-color: #ccc; text-decoration: none; }
.brand-tile { width: 150px; background: #fff; border-color: #666; }
.brand-tile img { height: 75px; object-fit: contain; }
.strip-arrow {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #eee, #aaa); color: #333; font-size: 1.5rem; line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.divider-bar { height: 12px; background: var(--steel); margin: 12px 0; }

/* Two-column layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 12px; align-items: start; }
.panel { background: var(--panel); }
.main-panel { padding: 22px 24px 30px; }
.main-panel > :first-child, .main-panel > .featured-photo:first-child { margin-top: 0; }
.main-panel > p, .main-panel section > p { max-width: 760px; }

.intro { display: flex; gap: 28px; align-items: flex-start; }
.intro-copy { flex: 1; min-width: 0; }
.lead { font-size: 1.05rem; }
.note { font-style: italic; color: #555; font-weight: 500; }
.rating { margin: 0 0 .6em; }
.stars { color: #f5a623; letter-spacing: 2px; }

/* Orange / black call badge */
.badge {
  flex: none; width: 300px; margin-top: 8px; display: block; border: 3px dashed #222;
  border-radius: 6px; overflow: hidden; background: #fff; text-align: center; color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.badge:hover { text-decoration: none; transform: translateY(-1px); }
.badge span { display: block; }
.badge-top {
  background: linear-gradient(180deg, #ffa73a, var(--orange) 60%, #e57c0c);
  font-family: var(--head-font); font-weight: 600; text-transform: uppercase;
  font-size: 2.1rem; line-height: 1.2; padding: 4px 6px; color: #111;
}
.badge-mid { background: #111; color: #fff; font-family: var(--head-font); text-transform: uppercase; font-size: 1.7rem; letter-spacing: .06em; padding: 2px; }
.badge-phone { font-family: var(--head-font); font-weight: 600; font-size: 2.2rem; padding: 4px 6px; color: #111; }
.badge-phone span { display: inline; color: #2ea44f; }

.featured-photo { margin: 22px 0; }
.featured-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.featured-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; font-style: italic; }

.places, .checks { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.places li, .checks li, .check-list li { padding-left: 28px; position: relative; }
.places li::before, .checks li::before, .check-list li::before {
  content: "✔"; position: absolute; left: 0; top: 0; color: var(--link); font-weight: 700; font-size: 1.1em;
}

.svc-grid, .zip-grid, .why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.svc-card, .zip-card, .why-card {
  background: #fff; border: 1px solid var(--line); padding: 14px 16px; color: var(--text);
  display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--steel);
}
.svc-card strong, .zip-card strong { font-family: var(--head-font); font-weight: 500; text-transform: uppercase; font-size: 1.1rem; color: var(--ink); }
.svc-card span, .zip-card span { color: var(--muted); font-size: .9rem; }
a.svc-card:hover, a.zip-card:hover { border-top-color: var(--red); text-decoration: none; }
.why-card h3 { margin: 0 0 4px; }
.why-card p { margin: 0; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 3px 10px; font-size: .9rem; }

.faq-item { background: #fff; border: 1px solid var(--line); margin-bottom: 8px; padding: 0 16px; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 28px 12px 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 8px; font-size: 1.4rem; color: var(--link); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 14px; }

.links-box { border-top: 1px solid var(--line); margin-top: 28px; }
.link-list { padding-left: 18px; }
.link-list li { margin: 4px 0; }
.link-list.cols { columns: 2; column-gap: 28px; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.area-card { background: #fff; border: 1px solid var(--line); padding: 0 16px 12px; }
.area-card ul { padding-left: 18px; margin: 0; }

/* Image cards with round arrow buttons */
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.card-body { padding: 4px 22px 26px; }
.card-body h2 { margin: .6em 0 .4em; }
.arrow-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: #111; color: #fff; font-size: 1.15rem;
}
.arrow-btn:hover { background: var(--red); color: #fff; text-decoration: none; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 12px; }
.side-panel { padding: 6px 22px 22px; }
.side-panel h2 { margin: .6em 0 .5em; font-size: 2.2rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { margin: 10px 0; font-size: 1.02rem; }
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { padding: 8px 0; border-bottom: 2px solid #ccc; }

/* Footer */
.site-footer { background: var(--steel-dark); color: #eef4fa; margin-top: 12px; padding: 30px 24px 90px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 5px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer-brand { font-family: var(--head-font); text-transform: uppercase; color: #fff; font-size: 1.6rem; margin: 0 0 6px; }
.footer-phone { font-family: var(--head-font); font-size: 1.8rem; margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.3); margin-top: 24px; padding-top: 14px; font-size: .85rem; color: #dde8f2; }
.mobile-call { display: none; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .intro { flex-direction: column; }
  .badge { width: 100%; max-width: 340px; }
}
@media (max-width: 760px) {
  .site-header { padding: 12px 16px 0; }
  .brand-tag { margin-left: 0; }
  .header-phone { margin-top: 4px; }
  .main-nav { justify-content: flex-start; padding: 16px 0 12px; row-gap: 8px; }
  .main-nav a { font-size: 1.05rem; padding: 0 10px; }
  .main-nav a, .main-nav a:first-child { border-left: 0; padding: 0 16px 0 0; }
  .map-frame { height: 300px; }
  .hero-caption { padding: 12px 16px; }
  .thumb-strip { padding: 12px; gap: 8px; }
  .main-panel { padding: 16px 16px 24px; }
  .side-panel, .card-body { padding-left: 16px; padding-right: 16px; }
  .places, .checks { grid-template-columns: 1fr; }
  .link-list.cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 26px 16px 90px; }
  .mobile-call {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--orange); color: #111; text-align: center; font-family: var(--head-font);
    font-size: 1.25rem; text-transform: uppercase; padding: 12px; border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
  }
  .mobile-call:hover { color: #111; text-decoration: none; }
}
