/* ===== Auto Sound Cape Coral — shared stylesheet ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  --text: #111111;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #111111;
  --accent-hover: #333333;
  --yellow: #e8d44d;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo img { height: 44px; width: auto; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-links { display: flex; gap: 20px; list-style: none; }
.header-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}
.header-links a:hover { color: var(--text); }
.header-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--accent-hover); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px 0; }

/* HERO */
.hero { max-width: 960px; margin: 0 auto; padding: 80px 24px 60px; text-align: center; }
.hero h1 { font-size: 2.8rem; font-weight: 700; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto 40px; line-height: 1.65; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 32px; border-radius: var(--radius);
  text-decoration: none; font-size: 1rem; font-weight: 600;
  transition: background 0.15s;
}
.hero-cta:hover { background: var(--accent-hover); }
.hero-sub { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }

/* FEATURES ROW */
.features { max-width: 960px; margin: 0 auto; padding: 0 24px 60px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.feature-item { background: var(--bg); padding: 24px; text-align: center; transition: background 0.15s; }
.feature-item:hover { background: var(--bg-subtle); }
.feature-icon { font-size: 1.5rem; margin-bottom: 8px; }
.feature-item h3 { font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.feature-item p { font-size: 0.78rem; color: var(--text-muted); }

/* DIVIDER */
.divider { max-width: 960px; margin: 0 auto; border: none; border-top: 1px solid var(--border); }

/* SERVICES */
.services { max-width: 960px; margin: 0 auto; padding: 60px 24px; }
.services-header { margin-bottom: 32px; }
.services-header h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 6px; }
.services-header p { color: var(--text-secondary); font-size: 0.92rem; }
.services-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.service-item { background: var(--bg); padding: 28px 24px; transition: background 0.15s; }
.service-item:hover { background: var(--bg-subtle); }
.service-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.service-item p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; }
.service-price {
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  background: var(--bg-subtle); border: 1px solid var(--border);
  display: inline-block; padding: 3px 10px; border-radius: 4px;
}
/* service card as a link */
a.service-item { text-decoration: none; color: inherit; display: block; }
a.service-item h3 { color: var(--text); }
a.service-item .service-more { font-size: 0.78rem; font-weight: 600; color: var(--text); border-bottom: 1.5px solid var(--yellow); padding-bottom: 1px; }

/* INFO SECTION */
.info-section { max-width: 960px; margin: 0 auto; padding: 60px 24px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-block h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 6px; }
.info-block > p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 24px; }
.info-list { list-style: none; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; font-size: 0.9rem; }
.info-list li:last-child { border-bottom: none; }
.info-label { color: var(--text-secondary); }
.info-value { font-weight: 600; text-align: right; }
.info-value a { color: var(--text); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

/* REVIEWS */
.reviews { max-width: 960px; margin: 0 auto; padding: 60px 24px; }
.reviews-header { margin-bottom: 32px; }
.reviews-header h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 6px; }
.reviews-header p { color: var(--text-secondary); font-size: 0.92rem; }
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.review-stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card blockquote { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; font-style: normal; }
.review-author { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.review-source { font-size: 0.75rem; color: var(--text-muted); }

/* FAQ */
.faq { max-width: 960px; margin: 0 auto; padding: 60px 24px; }
.faq-header { margin-bottom: 32px; }
.faq-header h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 6px; }
.faq-header p { color: var(--text-secondary); font-size: 0.92rem; }
.faq-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; background: var(--bg); border: none; padding: 18px 20px;
  font-size: 0.9rem; font-weight: 600; color: var(--text); text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; transition: background 0.1s;
}
.faq-question:hover { background: var(--bg-subtle); }
.faq-question::after { content: '+'; font-size: 1.2rem; font-weight: 300; color: var(--text-muted); transition: transform 0.2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 20px 18px; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

/* CTA BANNER */
.cta-banner { max-width: 960px; margin: 0 auto 60px; padding: 0 24px; }
.cta-banner-inner { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 48px 40px; text-align: center; }
.cta-banner h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 28px; }
.cta-banner a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text); padding: 14px 32px;
  border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: opacity 0.15s;
}
.cta-banner a:hover { opacity: 0.9; }

/* MAP */
.map { max-width: 960px; margin: 0 auto; padding: 0 24px 60px; }
.map iframe { width: 100%; height: 300px; border: 1px solid var(--border); border-radius: var(--radius); display: block; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner { max-width: 960px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo img { height: 32px; }
.footer-text { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; }
.footer-links a:hover { color: var(--text); }

/* MOBILE */
@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .header-right {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 24px; flex-direction: column; align-items: stretch; gap: 12px;
  }
  .header-right.open { display: flex; }
  .header-links { flex-direction: column; gap: 8px; }
  .header-cta { text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 48px 24px 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 24px; }
  .reviews-list { grid-template-columns: 1fr; }
  .cta-banner-inner { padding: 36px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .page-prose { padding: 40px 24px; }
  .page-hero h1 { font-size: 2rem; }
}

/* STICKY CALL MOBILE */
.phone-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); padding: 12px 24px; text-align: center; z-index: 99; }
.phone-sticky a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
@media (max-width: 640px) { .phone-sticky { display: block; } footer { padding-bottom: 64px; } }

/* =========================================================
   CONTENT / SERVICE PAGES
   ========================================================= */

/* breadcrumb */
.breadcrumb { max-width: 820px; margin: 0 auto; padding: 20px 24px 0; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* page hero (service pages — left aligned, tighter than home) */
.page-hero { max-width: 820px; margin: 0 auto; padding: 32px 24px 8px; }
.page-hero .eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.page-hero h1 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; margin-bottom: 14px; text-wrap: balance; }
.page-hero .lede { font-size: 1.08rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 22px; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 12px 26px; border-radius: var(--radius); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: background 0.15s; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-text { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 0.9rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--yellow); padding-bottom: 1px; }
.rating-line { font-size: 0.9rem; color: var(--text-secondary); margin-top: 16px; }
.rating-line .stars { color: var(--yellow); letter-spacing: 2px; }

/* prose content */
.page-prose { max-width: 820px; margin: 0 auto; padding: 40px 24px; }
.page-prose h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.4px; margin: 40px 0 12px; text-wrap: balance; }
.page-prose h2:first-child { margin-top: 0; }
.page-prose h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; }
.page-prose p { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.page-prose ul, .page-prose ol { margin: 0 0 16px 20px; }
.page-prose li { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.page-prose strong { color: var(--text); font-weight: 600; }
.page-prose a { color: var(--text); font-weight: 600; }

/* callout box */
.callout { background: var(--bg-subtle); border: 1px solid var(--border); border-left: 3px solid var(--yellow); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.callout p { margin-bottom: 0; font-size: 0.92rem; }
.callout strong { color: var(--text); }

/* price / spec table */
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--border); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.spec th, table.spec td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-light); }
table.spec th { background: var(--bg-subtle); font-weight: 600; color: var(--text); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; }
table.spec td { color: var(--text-secondary); }
table.spec tr:last-child td { border-bottom: none; }
table.spec td:last-child, table.spec th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* related services chips */
.related { max-width: 820px; margin: 0 auto; padding: 8px 24px 48px; }
.related h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: all 0.15s; }
.chip:hover { border-color: var(--text); color: var(--text); }
