/* ---- /wp-content/plugins/farnsworth-openers/assets/css/foc-frontend.css ---- */
/* =====================================================================
   Farnsworth Opener Connector — frontend styles
   Mirrors the website-style-guide.md palette and components.
===================================================================== */

.fgd-page.foc-master-hub,
.fgd-page.foc-brand-hub,
.fgd-page.foc-single {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
  margin: 100px auto 0;
  padding: 0;
  overflow-x: hidden;
}
@media (max-width: 1024px) {
  .fgd-page.foc-master-hub,
  .fgd-page.foc-brand-hub,
  .fgd-page.foc-single {
    margin-top: 120px;
  }
}
/* Individual opener pages need a little extra header clearance on smaller
   screens — overrides just .foc-single, leaves the hub pages at 120px. */
@media (max-width: 1024px) {
  .fgd-page.foc-single {
    margin-top: 140px;
  }
}
.fgd-page *, .fgd-page *::before, .fgd-page *::after { box-sizing: border-box; }
.fgd-contained {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.fgd-section { margin-top: 48px; margin-bottom: 48px; }
.fgd-page h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #000;
  border-bottom: 3px solid #ed1c23;
  padding-bottom: 10px;
  margin-bottom: 24px;
}
.fgd-page h3 { font-size: 1.2rem; font-weight: 700; color: #ed1c23; margin-top: 24px; margin-bottom: 12px; }

/* ----- Hero ----- */
.foc-hub-hero {
  color: #fff;
  padding: 96px 32px 84px;
  text-align: center;
  background-color: #1a1a1a; /* fallback if the image fails to load */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 600px) {
  .foc-hub-hero { padding: 64px 22px 56px; }
}
.foc-hub-kicker {
  display: inline-block;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}
.foc-hub-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 900; margin: 0 0 16px; line-height: 1.15; letter-spacing: -0.5px; }
.foc-hub-hero p { margin: 0 auto; font-size: 1.08rem; opacity: 0.92; max-width: 720px; line-height: 1.65; }
.foc-hub-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.foc-btn-red { background: #ed1c23; color: #fff; }
.foc-btn-red:hover { background: #c8161c; color: #fff; }
@media (max-width: 600px) {
  .foc-hub-hero-cta .foc-btn { width: 100%; max-width: 320px; text-align: center; }
}

/* ----- Answer capsule ----- */
.fgd-answer-capsule {
  background: #f8f8f8;
  border-left: 5px solid #ed1c23;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0 40px;
  font-size: 1.05rem;
  color: #1a1a1a;
}
.fgd-answer-capsule strong {
  display: block;
  color: #ed1c23;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ----- Brand cards ----- */
.foc-brand-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.foc-brand-card {
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.foc-brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-color: #ed1c23;
}
.foc-brand-card-count {
  display: inline-block;
  background: #ed1c23;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.foc-brand-card h3 { margin: 0; }

/* ----- Filters ----- */
.foc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.foc-filter-label { font-size: 0.85rem; font-weight: 600; color: #555; margin-right: 4px; }
.foc-filter-btn {
  background: #fff;
  border: 1.5px solid #dedede;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  color: #444;
  font-family: inherit;
  transition: all 0.12s;
}
.foc-filter-btn:hover { border-color: #ed1c23; color: #ed1c23; }
.foc-filter-btn.active { background: #ed1c23; border-color: #ed1c23; color: #fff; }

/* ----- Opener grid + cards ----- */
.foc-opener-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.foc-opener-card {
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.foc-opener-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.10); border-color: #ed1c23; }
.foc-card-image-box {
  background: #f8f8f8;
  aspect-ratio: 1.2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #e8e8e8;
}
.foc-card-image-box img { max-height: 100%; width: auto; object-fit: contain; }
.foc-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.foc-card-brand { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #ed1c23; margin-bottom: 4px; }
.foc-card-name { font-size: 1.02rem; font-weight: 700; color: #000; margin-bottom: 8px; line-height: 1.3; }
.foc-card-summary { font-size: 0.86rem; color: #444; margin-bottom: 12px; flex: 1; }

/* Chips */
.foc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.foc-chip { font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #eee; color: #444; letter-spacing: 0.02em; }
.foc-chip.foc-chip-smart { background: #e6f4ea; color: #0d652d; }
.foc-chip.foc-chip-bbu { background: #fff4e0; color: #8a5500; }
.foc-chip.foc-chip-drive { background: #e8eef9; color: #1e3a8a; }
.foc-chip.foc-chip-camera { background: #fde2e2; color: #c0392b; font-weight: 700; }

/* Brand-logo fallback */
.foc-brand-fallback {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 6px;
  border-radius: 8px;
}
.foc-fallback-brand { font-family: 'Rubik', sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.foc-brand-fallback.small .foc-fallback-brand { font-size: 1.05rem; }
.foc-fallback-sku { font-size: 0.85rem; font-weight: 700; color: #ed1c23; letter-spacing: 0.06em; text-transform: uppercase; }

/* ----- Comparison table ----- */
.foc-table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid #dedede; border-radius: 8px; }
.foc-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; }
.foc-table thead th { background: #000; color: #fff; text-align: left; padding: 14px 16px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.foc-table thead th:first-child { background: #ed1c23; }
.foc-table tbody td { padding: 14px 16px; border-bottom: 1px solid #e8e8e8; vertical-align: middle; }
.foc-table tbody tr:nth-child(even) td { background: #f8f8f8; }
.foc-table tbody tr:last-child td { border-bottom: none; }
.foc-table tbody td:first-child { font-weight: 700; }
.foc-table a { color: #1a1a1a; text-decoration: none; }
.foc-table a:hover { color: #ed1c23; }
.foc-check { background: #e6f4ea; color: #0d652d; padding: 3px 9px; border-radius: 4px; font-weight: 600; font-size: 0.78rem; }
.foc-no { background: #f2f2f2; color: #555; padding: 3px 9px; border-radius: 4px; font-weight: 600; font-size: 0.78rem; }
.foc-partial { background: #fff4e0; color: #8a5500; padding: 3px 9px; border-radius: 4px; font-weight: 600; font-size: 0.78rem; }

/* Mobile card-stack for tables (per CLAUDE.md) */
@media (max-width: 720px) {
  .foc-table thead { display: none; }
  .foc-table, .foc-table tbody, .foc-table tr, .foc-table td { display: block; width: 100%; }
  .foc-table tr { border: 1px solid #dedede; border-radius: 8px; margin-bottom: 14px; overflow: hidden; background: #fff !important; }
  .foc-table tbody tr:nth-child(even) td { background: #fff; }
  .foc-table td { padding: 10px 16px; border-bottom: 1px solid #e8e8e8 !important; text-align: right; }
  .foc-table td::before { content: attr(data-label); float: left; font-weight: 700; color: #444; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; }
  .foc-table td:first-child { background: #000 !important; color: #fff !important; text-align: left; padding: 12px 16px; }
  .foc-table td:first-child::before { display: none; }
}

/* ----- Single-model page ----- */
.foc-model-hero { padding-top: 32px; }
.foc-model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; align-items: start; }
@media (max-width: 800px) { .foc-model-grid { grid-template-columns: 1fr; } }
.foc-model-image { background: #f8f8f8; border: 1px solid #dedede; border-radius: 10px; padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.foc-model-image img { max-width: 100%; max-height: 320px; object-fit: contain; }
.foc-brand-line { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #ed1c23; margin-bottom: 8px; }
.foc-model-hero h1 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 800; color: #000; margin: 0 0 12px; line-height: 1.25; }
.foc-model-summary { font-size: 1rem; color: #333; margin: 16px 0; }

.foc-discontinued-banner {
  background: #fde2e2;
  border-left: 5px solid #c0392b;
  border-radius: 0 8px 8px 0;
  padding: 16px 24px;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #5a1010;
}
.foc-discontinued-banner strong { display: block; color: #c0392b; margin-bottom: 4px; }

/* Diff list (red arrow bullets) */
.fgd-diff-list { list-style: none; padding: 0; margin: 20px 0; }
.fgd-diff-list li { padding: 12px 16px 12px 36px; position: relative; border-bottom: 1px solid #efefef; font-size: 0.95rem; color: #1a1a1a; }
.fgd-diff-list li::before { content: ">"; position: absolute; left: 12px; color: #ed1c23; font-weight: 700; }

/* At-a-glance grid */
.foc-at-a-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 24px 0 8px; }
.foc-glance-item { border: 1px solid #dedede; border-radius: 8px; padding: 16px 18px; background: #fff; }
.foc-glance-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #777; margin-bottom: 4px; }
.foc-glance-value { font-size: 1.05rem; font-weight: 700; color: #000; line-height: 1.3; }
.foc-glance-sub { font-size: 0.85rem; font-weight: 500; color: #444; margin-top: 2px; }
.foc-glance-item.highlight { border-color: #ed1c23; background: #fff5f5; }
.foc-glance-item.highlight .foc-glance-label { color: #ed1c23; }

/* What's in the box / accessories */
.foc-boxlist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 24px; }
.foc-boxlist li { padding: 9px 0 9px 24px; border-bottom: 1px solid #e8e8e8; font-size: 0.92rem; position: relative; }
.foc-boxlist li::before { content: "\2713"; position: absolute; left: 0; color: #ed1c23; font-weight: 700; }
.foc-accessorylist { list-style: none; padding: 0; margin: 12px 0 0; }
.foc-accessorylist li { padding: 11px 16px; border-bottom: 1px solid #e8e8e8; font-size: 0.93rem; }
.foc-acc-sku { font-family: 'Courier New', monospace; color: #888; font-size: 0.82rem; margin-left: 6px; }

/* Warranty block */
.foc-warranty-block { background: #fff; border: 1px solid #dedede; border-radius: 8px; padding: 16px 20px; }
.foc-tech-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e8e8e8; font-size: 0.88rem; gap: 12px; }
.foc-tech-row:last-child { border-bottom: none; }
.foc-tech-row .label { color: #555; font-weight: 500; }
.foc-tech-row .value { color: #000; font-weight: 700; text-align: right; }

/* ----- Brand list (full-width stacked rows) ----- */
.foc-brand-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.foc-brand-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 28px 32px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.foc-brand-row:hover {
  border-color: #ed1c23;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.foc-brand-row-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #f8f8f8;
  border-radius: 8px;
  min-height: 110px;
  text-decoration: none;
}
.foc-brand-row-logo img { max-height: 76px; max-width: 180px; width: auto; height: auto; object-fit: contain; }
.foc-brand-row-logo .foc-brand-logo-text-card { font-size: 1.5rem; }

.foc-brand-row-content { display: flex; flex-direction: column; gap: 10px; }
.foc-brand-row-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.foc-brand-row-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  border: 0;
}
.foc-brand-row-count {
  display: inline-block;
  background: #ed1c23;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.foc-brand-row-desc {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #333;
  margin: 0;
}
.foc-brand-row-cta { margin: 4px 0 0; }
.foc-brand-row-cta a {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ed1c23;
  text-decoration: none;
}
.foc-brand-row-cta a:hover { color: #c0392b; text-decoration: underline; }

/* Mobile: stack logo above content */
@media (max-width: 700px) {
  .foc-brand-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .foc-brand-row-logo { min-height: 90px; }
}

/* ----- Convenience features list ----- */
.foc-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 24px;
  margin-top: 12px;
}
.foc-feat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.93rem;
}
.foc-feat-row.no { color: #aaa; }
.foc-feat-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.foc-feat-icon.yes { background: #e6f4ea; color: #0d652d; }
.foc-feat-icon.no  { background: #f2f2f2; color: #999; }
.foc-feat-icon.opt { background: #fff4e0; color: #8a5500; }

/* ----- Tech Spec Sheet (installer/tech reference section) ----- */
.foc-tech-ref-section {
  margin-top: 56px;
  background: #fafafa;
  border-top: 4px solid #000;
  padding: 40px 0 8px;
}
.foc-tech-ref-section .fgd-contained > h2 { color: #000; border-bottom: 3px solid #000; }
.foc-tech-ref-label {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.foc-tech-ref-intro {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 28px;
  font-style: italic;
}
.foc-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.foc-tech-block {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 20px 24px;
}
.foc-tech-block-wide { grid-column: 1 / -1; }
.foc-tech-block h3 {
  font-size: 0.85rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  font-weight: 800;
  border-bottom: 2px solid #000;
  padding-bottom: 8px;
}
.foc-parts-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: #fff; }
.foc-parts-table th, .foc-parts-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #e8e8e8; }
.foc-parts-table th { background: #000; color: #fff; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.foc-parts-table td.foc-parts-sku { font-family: 'Courier New', monospace; font-weight: 600; color: #ed1c23; }

/* ----- Brand logos ----- */
.foc-brand-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin-bottom: 12px;
}
.foc-brand-card-logo img { max-height: 48px; max-width: 200px; object-fit: contain; }
.foc-hub-hero-logo { margin-bottom: 18px; }
.foc-brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.foc-brand-line-logo { display: inline-flex; align-items: center; transition: opacity 0.12s ease; }
.foc-brand-line-logo:hover { opacity: 0.7; }
.foc-brand-line .foc-brand-logo { max-height: 44px !important; max-width: 210px !important; width: auto; height: auto; vertical-align: middle; }
.foc-brand-line .foc-series-label { font-weight: 700; color: var(--red, #ed1c23); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }

/* ----- Image gallery ----- */
.foc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.foc-gallery-item {
  display: block;
  border: 1px solid #dedede;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 1 / 1;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: zoom-in;
}
.foc-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  border-color: #ed1c23;
}
.foc-gallery-item img {
  width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block;
}

/* Lightbox modal */
.foc-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  display: none; align-items: center; justify-content: center;
  z-index: 100000; padding: 32px; cursor: zoom-out;
}
.foc-lightbox.is-open { display: flex; }
.foc-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 16px 64px rgba(0,0,0,0.5); }
.foc-lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: transparent; border: 0; color: #fff; font-size: 32px;
  cursor: pointer; line-height: 1; padding: 0;
}

/* ----- CTA Banner ----- */
.foc-cta { background: #ed1c23; color: #fff; padding: 56px 32px; text-align: center; margin-top: 56px; }
.foc-cta h2 { color: #fff; border-bottom: none; padding: 0; margin: 0 0 10px; font-size: 1.6rem; }
.foc-cta p { margin: 0 auto 24px; font-size: 1.02rem; opacity: 0.94; max-width: 640px; }
.foc-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.foc-btn { display: inline-block; background: #000; color: #fff; padding: 14px 30px; border-radius: 4px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background 0.15s; }
.foc-btn:hover { background: #222; color: #fff; }
.foc-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.foc-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* =====================================================================
   Overview Section — master hub "How to find the right opener"
===================================================================== */
.foc-overview-section {
  position: relative;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
  border-radius: 16px;
  padding: 48px 40px 44px;
  margin: 40px 0 56px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.foc-overview-section::before {
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 4px;
  background: linear-gradient(90deg, #ed1c23 0%, #c0392b 100%);
  border-radius: 0 0 4px 4px;
}
.foc-overview-section > h2 {
  display: none; /* Header is provided by .foc-overview-header */
}

.foc-overview-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.foc-overview-eyebrow {
  display: inline-block;
  background: #ed1c23;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.foc-overview-header h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: #000;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  line-height: 1.25;
}
.foc-overview-intro {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.foc-overview-subhead {
  font-size: 0.88rem;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 36px 0 18px;
  padding: 0 0 12px;
  border: 0;
  position: relative;
}
.foc-overview-subhead::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px;
  height: 3px;
  background: #ed1c23;
  border-radius: 2px;
}

/* Drive type cards (5 across) */
.foc-drive-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.foc-drive-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}
.foc-drive-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #ed1c23;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.foc-drive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
  border-color: #ed1c23;
  color: inherit;
}
.foc-drive-card:hover::before { transform: scaleX(1); }
.foc-drive-card:hover .foc-drive-icon { background: #ed1c23; color: #fff; }
.foc-drive-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff5f5;
  color: #ed1c23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}
.foc-drive-icon svg { width: 32px; height: 32px; }
.foc-drive-card h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 8px;
  line-height: 1.25;
}
.foc-drive-card p {
  font-size: 0.86rem;
  color: #444;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.foc-drive-best {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #555;
  background: #f1f1f1;
  padding: 5px 9px;
  border-radius: 4px;
  line-height: 1.35;
}

/* Step 2 — Arizona callout cards (3 across) */
.foc-az-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.foc-az-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.foc-az-card:hover {
  border-color: #ed1c23;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.foc-az-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.foc-az-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 8px;
  line-height: 1.25;
}
.foc-az-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}
.foc-az-card p strong { color: #c0392b; font-weight: 700; }

/* Help line under the two steps */
.foc-overview-help-line {
  text-align: center;
  font-size: 0.98rem;
  color: #333;
  background: #fff;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 32px auto 0;
  border: 1px dashed #d4d4d4;
  max-width: 760px;
}
.foc-overview-help-line a {
  color: #ed1c23;
  font-weight: 700;
  text-decoration: none;
}
.foc-overview-help-line a:hover { text-decoration: underline; }

/* Responsive — drop drive grid to 3 wide, then 2 */
@media (max-width: 1024px) {
  .foc-drive-grid { grid-template-columns: repeat(3, 1fr); }
  .foc-az-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .foc-overview-section { padding: 36px 22px 32px; border-radius: 12px; }
  .foc-overview-section::before { left: 18px; right: 18px; }
  .foc-drive-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .foc-az-grid { grid-template-columns: 1fr; }
  .foc-drive-card { padding: 18px 16px 16px; }
  .foc-drive-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .foc-drive-icon svg { width: 28px; height: 28px; }
}
@media (max-width: 420px) {
  .foc-drive-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Manufacturer Documents (PDFs) — single-model page section
===================================================================== */
.foc-pdf-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.foc-pdf-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.foc-pdf-card:hover {
  border-color: #ed1c23;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-1px);
  color: inherit;
}
.foc-pdf-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.foc-pdf-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.foc-pdf-type {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foc-pdf-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #000;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.foc-pdf-size {
  font-size: 0.78rem;
  color: #777;
  margin-top: 2px;
}
.foc-pdf-arrow {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #ed1c23;
  font-weight: 700;
  transition: transform 0.15s;
}
.foc-pdf-card:hover .foc-pdf-arrow { transform: translateX(4px); }

/* =====================================================================
   Overview block — manufacturer marketing description + use-case chips
===================================================================== */
.foc-overview-block {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 24px 28px;
}
.foc-overview-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1a1a1a;
  margin: 0;
}
.foc-usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.foc-usecase-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: #c0392b;
  background: #fff;
  border: 1px solid #f0d0d2;
  padding: 5px 12px;
  border-radius: 99px;
}

/* =====================================================================
   Arizona heat callout — high-temp operating range badge
===================================================================== */
.foc-az-heat-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #fff4e0 0%, #fde2e2 100%);
  border-left: 5px solid #c0392b;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 0 0 8px;
}
.foc-az-heat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #c0392b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.foc-az-heat-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a1010;
}
.foc-az-heat-text strong {
  display: block;
  color: #c0392b;
  font-size: 1.02rem;
  margin-bottom: 3px;
}

/* =====================================================================
   Features Explained — manufacturer feature copy cards
===================================================================== */
.foc-feature-explain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.foc-feature-explain-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 18px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.foc-feature-explain-card:hover {
  border-color: #ed1c23;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.foc-feature-explain-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 6px;
}
.foc-feature-explain-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* =====================================================================
   What's in the Box — descriptive component cards
===================================================================== */
.foc-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.foc-box-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.foc-box-card-img {
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.foc-box-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.foc-box-card-body {
  padding: 14px 16px 16px;
  text-align: center;
  border-top: 1px solid #ececec;
}
.foc-box-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #000;
  line-height: 1.35;
}
.foc-box-card-sku {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  color: #888;
  margin-top: 5px;
  letter-spacing: 0.02em;
}
.foc-box-card-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #555;
  margin: 8px 0 0;
}
/* Legacy fallback: pre-image component cards */
.foc-box-card h3 { font-size: 0.95rem; font-weight: 800; color: #000; margin: 0 0 5px; padding: 14px 16px 0; }
.foc-box-card > p { font-size: 0.86rem; line-height: 1.55; color: #555; margin: 0; padding: 0 16px 14px; }

/* =====================================================================
   Service-focused sections — repair / install / replace / FAQ / trust
===================================================================== */
.foc-section-intro {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #444;
  margin: 0 0 18px;
}
.foc-section-intro a { color: #ed1c23; font-weight: 700; text-decoration: none; }
.foc-section-intro a:hover { text-decoration: underline; }

/* =====================================================================
   Complete Buying Guide — master hub educational content (visual system)
===================================================================== */
.foc-guide { margin: 32px 0 8px; }

/* ----- Shared eyebrow ----- */
.foc-guide-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ed1c23;
  margin-bottom: 8px;
}

/* ----- Intro panel ----- */
.foc-guide-intro {
  background: linear-gradient(180deg, #f2f3f5 0%, #e6e8ec 100%);
  border-radius: 16px;
  padding: 40px 42px;
  border: 1px solid #dfe2e6;
}
.foc-guide-intro .foc-guide-eyebrow {
  background: #ed1c23;
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: 0.12em;
}
.foc-guide-intro h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 900;
  color: #000;
  margin: 12px 0 14px;
  border: 0; padding: 0;
  line-height: 1.18;
  letter-spacing: -0.5px;
}
.foc-guide-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}
.foc-guide-intro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.foc-guide-stat {
  flex: 1;
  min-width: 150px;
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 10px;
  padding: 16px 18px;
  text-align: center;
}
.foc-guide-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #ed1c23;
  line-height: 1;
  letter-spacing: -1px;
}
.foc-guide-stat-label {
  display: block;
  font-size: 0.78rem;
  color: #666;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.4;
}

/* ----- Table of contents — dark header + numbered grid ----- */
.foc-guide-toc {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0 8px;
}
.foc-guide-toc-head {
  background: #1a1a1a;
  padding: 22px 28px;
}
.foc-guide-toc-head strong {
  display: block;
  color: #ed1c23;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.foc-guide-toc-head span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin-top: 4px;
}
.foc-guide-toc-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.foc-guide-toc-grid li {
  counter-increment: toc;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.foc-guide-toc-grid a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 18px;
  font-size: 0.9rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.12s;
}
.foc-guide-toc-grid a::before {
  content: counter(toc, decimal-leading-zero);
  color: #ed1c23;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.foc-guide-toc-grid a:hover { background: #fff5f5; color: #ed1c23; }

/* ----- Section + section header with icon ----- */
.foc-guide-section {
  margin: 52px 0;
  scroll-margin-top: 100px;
}
.foc-guide-shead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 3px solid #ed1c23;
}
.foc-guide-sicon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff5f5;
  color: #ed1c23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.foc-guide-sicon svg { width: 28px; height: 28px; }
.foc-guide-shead-text { display: flex; flex-direction: column; }
.foc-guide-shead-text .foc-guide-eyebrow { margin-bottom: 2px; }
.foc-guide-shead h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 800;
  color: #000;
  margin: 0;
  border: 0; padding: 0;
  line-height: 1.25;
}
.foc-guide-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1a1a;
  font-weight: 500;
  margin: 0 0 20px;
}
.foc-guide-section p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #333;
  margin: 0 0 14px;
}
.foc-guide-section a { color: #ed1c23; font-weight: 700; text-decoration: none; }
.foc-guide-section a:hover { text-decoration: underline; }

/* ----- Deep-dive prose box ----- */
.foc-guide-deepdive {
  background: #f2f3f5;
  border: 1px solid #dfe2e6;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 18px 0;
}
.foc-guide-deepdive h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ed1c23;
  margin: 0 0 8px;
}
.foc-guide-deepdive p { margin: 0; font-size: 0.93rem; }

/* ----- Bulleted list ----- */
.foc-guide-list { list-style: none; padding: 0; margin: 16px 0; }
.foc-guide-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #333;
  border-bottom: 1px solid #efefef;
}
.foc-guide-list li:last-child { border-bottom: none; }
.foc-guide-list li::before {
  content: "\2713";
  position: absolute;
  left: 2px; top: 10px;
  color: #fff;
  background: #ed1c23;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- "Farnsworth tip" callout ----- */
.foc-guide-tip {
  background: #fff5f5 !important;
  border-left: 4px solid #ed1c23;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px !important;
  font-size: 0.95rem !important;
  color: #1a1a1a !important;
  margin: 20px 0 !important;
}

/* ----- HP tier cards ----- */
.foc-hp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.foc-hp-card {
  position: relative;
  background: #fff;
  border: 2px solid #e3e3e3;
  border-radius: 12px;
  padding: 24px 22px 20px;
  text-align: center;
}
.foc-hp-card--best {
  border-color: #ed1c23;
  box-shadow: 0 8px 28px rgba(237,28,35,0.15);
}
.foc-hp-flag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: #ed1c23;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.foc-hp-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: #000;
  line-height: 1;
}
.foc-hp-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ed1c23;
  margin: 8px 0 10px;
}
.foc-hp-card p { font-size: 0.88rem !important; color: #555 !important; margin: 0 !important; line-height: 1.55 !important; }

/* ----- Icon cards (smart / security / safety) ----- */
.foc-icard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.foc-icard {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 22px 22px 20px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.foc-icard:hover {
  transform: translateY(-3px);
  border-color: #ed1c23;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
.foc-icard-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff5f5;
  color: #ed1c23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.foc-icard-icon svg { width: 24px; height: 24px; }
.foc-icard h3 { font-size: 1rem; font-weight: 800; color: #000; margin: 0 0 7px; }
.foc-icard p { font-size: 0.9rem !important; line-height: 1.6 !important; color: #444 !important; margin: 0 !important; }

/* ----- Big callouts ----- */
.foc-guide-callout {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-radius: 12px;
  padding: 24px 26px;
  margin: 18px 0;
}
.foc-guide-callout--red {
  background: linear-gradient(135deg, #1a1a1a 0%, #c0392b 100%);
  color: #fff;
}
.foc-guide-callout--red strong { color: #fff; font-size: 1.05rem; display: block; margin-bottom: 6px; }
.foc-guide-callout--red p { color: rgba(255,255,255,0.9) !important; margin: 0 !important; font-size: 0.95rem !important; }
.foc-guide-callout-num {
  flex-shrink: 0;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  background: rgba(255,255,255,0.15);
  width: 64px; height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.foc-guide-callout--cream {
  background: #f2f3f5;
  border: 1px solid #dfe2e6;
}
.foc-guide-callout--cream strong { color: #000; font-size: 1.05rem; display: block; margin-bottom: 6px; }
.foc-guide-callout--cream p { margin: 0 !important; }

/* ----- Heat comparison ----- */
.foc-heat-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.foc-heat-block {
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  color: #fff;
}
.foc-heat-block--hot { background: linear-gradient(160deg, #ff5e00 0%, #cc1100 100%); }
.foc-heat-block--rated { background: linear-gradient(160deg, #1a8a40 0%, #2fbe60 100%); }
.foc-heat-temp { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; }
.foc-heat-label { display: block; font-size: 0.85rem; font-weight: 600; margin-top: 8px; opacity: 0.95; }

/* ----- Noise scale ----- */
.foc-noise-scale { margin: 20px 0; }
.foc-noise-bar {
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2fbe60 0%, #f5c842 45%, #ff8800 70%, #cc1100 100%);
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.foc-noise-end {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: absolute;
  top: 20px;
}
.foc-noise-end--quiet { left: 0; color: #1a8a40; }
.foc-noise-end--loud { right: 0; color: #cc1100; }
.foc-noise-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.foc-noise-item {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}
.foc-noise-dot {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  margin-bottom: 8px;
}
.foc-noise-dot--1 { background: #2fbe60; }
.foc-noise-dot--2 { background: #a3cc2a; }
.foc-noise-dot--3 { background: #ff8800; }
.foc-noise-dot--4 { background: #cc1100; }
.foc-noise-item strong { display: block; font-size: 0.92rem; color: #000; }
.foc-noise-item span { display: block; font-size: 0.78rem; color: #777; margin-top: 2px; }

/* ----- Brand cards with color accent ----- */
.foc-brandcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.foc-brandcard {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-top: 4px solid var(--bc, #ed1c23);
  border-radius: 8px;
  padding: 20px 22px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.foc-brandcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
.foc-brandcard h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bc, #000);
  margin: 0 0 7px;
}
.foc-brandcard p { font-size: 0.9rem !important; line-height: 1.6 !important; color: #444 !important; margin: 0 !important; }

/* ----- Numbered signal cards ----- */
.foc-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.foc-signal-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.foc-signal-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #ed1c23;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foc-signal-card strong,
.foc-signal-card h3 { display: block; font-size: 0.95rem; font-weight: 800; color: #000; margin: 0 0 3px; line-height: 1.3; }
.foc-signal-card p { font-size: 0.87rem !important; color: #555 !important; margin: 0 !important; line-height: 1.55 !important; }

/* Sub-headings inside guide/brand sections (keyword-bearing H3s) */
.foc-guide-subhead {
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
  margin: 22px 0 6px;
}

/* Areas We Serve — city pills */
.foc-areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 24px;
}
.foc-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  padding: 9px 17px 9px 13px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.foc-area-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09);
  border-color: #ed1c23;
  color: #ed1c23;
}
.foc-area-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #ed1c23;
}

/* ----- Glossary ----- */
.foc-guide-glossary {
  margin: 16px 0 0;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  overflow: hidden;
}
.foc-guide-glossary dt {
  background: #f2f3f5;
  font-weight: 800;
  color: #000;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-top: 1px solid #e3e3e3;
}
.foc-guide-glossary dt:first-child { border-top: none; }
.foc-guide-glossary dd {
  margin: 0;
  padding: 10px 18px 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
}

/* ----- Closing CTA ----- */
.foc-guide-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #c0392b 100%);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  margin: 52px 0 8px;
  color: #fff;
}
.foc-guide-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 10px;
}
.foc-guide-cta p {
  color: #fff;
  opacity: 0.94;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 22px;
}
.foc-btn-outline-dark {
  background: transparent;
  color: #ed1c23;
  border: 2px solid #ed1c23;
}
.foc-btn-outline-dark:hover { background: #ed1c23; color: #fff; }

@media (max-width: 700px) {
  .foc-guide-intro { padding: 28px 22px; }
  .foc-guide-intro-stats { gap: 10px; }
  .foc-guide-shead { gap: 12px; }
  .foc-guide-sicon { width: 44px; height: 44px; }
  .foc-guide-sicon svg { width: 24px; height: 24px; }
  .foc-guide-section { margin: 40px 0; }
  .foc-hp-grid { grid-template-columns: 1fr; }
  .foc-heat-compare { grid-template-columns: 1fr; }
  .foc-noise-items { grid-template-columns: repeat(2, 1fr); }
  .foc-guide-callout { flex-direction: column; gap: 12px; }
}

/* =====================================================================
   Brand hub — service-focused content (reuses the guide visual system)
===================================================================== */
.foc-brand-content { margin: 28px 0 8px; }
.foc-brand-content .foc-guide-section:first-of-type { margin-top: 40px; }
/* On the brand hub, the "why" grid sits inside a guide section, not its own block */
.foc-brand-content .foc-why-grid { margin-top: 4px; }

/* ----- Editorial intro block (top of single-model page) ----- */
.foc-intro-block {
  background: #f2f3f5;
  border: 1px solid #dfe2e6;
  border-left: 5px solid #ed1c23;
  border-radius: 0 10px 10px 0;
  padding: 24px 30px;
}
.foc-intro-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #000;
  margin: 0 0 12px;
  line-height: 1.3;
  border: 0;
  padding: 0;
}
.foc-intro-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* ----- Primary CTA (under hero) ----- */
.foc-primary-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #ed1c23 0%, #b81318 100%);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0 8px;
  box-shadow: 0 4px 14px rgba(237,28,35,.18);
}
.foc-primary-cta-text { flex: 1; min-width: 260px; color: #fff; }
.foc-primary-cta-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}
.foc-primary-cta-text span { font-size: 0.95rem; opacity: 0.92; line-height: 1.55; }
.foc-primary-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.foc-btn-phone { background: #fff; color: #c0392b; }
.foc-btn-phone:hover { background: #f2f2f2; color: #c0392b; }
/* v1.2.13/14 — mobile CTA optimization: stack buttons full-width with
 * padding + font-size tuned for the long SKU-scoped label
 * ("Book LiftMaster 83650-267 Repair or Install" ≈ 43 chars). Wraps
 * cleanly to two lines on narrow screens; never overflows. */
@media (max-width: 700px) {
  .foc-primary-cta {
    padding: 20px;
    gap: 16px;
  }
  .foc-primary-cta-text strong { font-size: 1.05rem; line-height: 1.35; }
  .foc-primary-cta-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .foc-primary-cta-actions .foc-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 13px 16px;
    font-size: 0.94rem;
    line-height: 1.3;
    letter-spacing: -0.005em;
    white-space: normal;         /* allow clean wrap to 2 lines */
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }
}
@media (max-width: 420px) {
  .foc-primary-cta-actions .foc-btn {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}
@media (max-width: 360px) {
  .foc-primary-cta-actions .foc-btn {
    padding: 11px 12px;
    font-size: 0.86rem;
    letter-spacing: -0.01em;
  }
}

/* ----- Common problems list ----- */
.foc-problem-list { list-style: none; padding: 0; margin: 0; }
.foc-problem-item {
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid #ececec;
  position: relative;
}
.foc-problem-item:last-child { border-bottom: none; }
.foc-problem-item::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  background: #ed1c23;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foc-problem-symptom {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
}
.foc-problem-cause {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* ----- Installation steps ----- */
.foc-install-steps { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.foc-install-step { display: flex; gap: 16px; align-items: flex-start; }
.foc-install-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ed1c23;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foc-install-step h3 { margin: 4px 0 4px; font-size: 1.02rem; color: #000; }
.foc-install-step p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: #444; }
.foc-install-cta {
  font-size: 0.97rem;
  color: #1a1a1a;
  background: #fff5f5;
  border-left: 4px solid #ed1c23;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 18px 0 0;
}
.foc-install-cta a { color: #ed1c23; font-weight: 700; text-decoration: none; }
.foc-install-cta a:hover { text-decoration: underline; }

/* ----- Replacement signs (reuses fgd-diff-list) ----- */
.foc-replace-list li { font-size: 0.94rem; }

/* ----- FAQ accordion — matches the project-wide .fgd-faq pattern ----- */
.foc-faq { margin-top: 16px; }
.fgd-faq-item {
  border: 1px solid #dedede;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.fgd-faq-item h3 {
  background: #000;
  color: #fff;
  margin: 0;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  border: 0;
}
.fgd-faq-item h3::after {
  content: " +";
  color: #ed1c23;
  float: right;
  font-weight: 700;
}
.fgd-faq-item.fgd-open h3::after { content: " \2013"; }
.fgd-faq-answer {
  padding: 0 20px;
  background: #fff;
  font-size: 0.95rem;
  color: #333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.fgd-faq-item.fgd-open .fgd-faq-answer { padding: 16px 20px; max-height: 1000px; }
.fgd-faq-answer p { margin: 0; line-height: 1.65; }

/* ----- Why Farnsworth ----- */
.foc-why-block {
  background: #f2f3f5;
  border-radius: 12px;
  padding: 28px 30px;
}
.foc-why-block h2 { margin-top: 0; }
.foc-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.foc-why-item h3 { margin: 0 0 6px; font-size: 1rem; color: #c0392b; }
.foc-why-item p { margin: 0; font-size: 0.91rem; line-height: 1.6; color: #444; }

/* ----- Farnsworth Pro Notes (expert positioning) ----- */
.foc-pronotes-block {
  background: #f2f3f5;
  border: 1px solid #dfe2e6;
  border-left: 5px solid #ed1c23;
  border-radius: 0 12px 12px 0;
  padding: 28px 30px;
  color: #1a1a1a;
}
.foc-pronotes-label {
  display: inline-block;
  background: #ed1c23;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.foc-pronotes-block h2 {
  color: #000;
  border-bottom: 3px solid #ed1c23;
  margin-top: 0;
}
.foc-pronotes-list { list-style: none; padding: 0; margin: 16px 0 0; }
.foc-pronotes-list li {
  padding: 12px 0 12px 26px;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #3a3a3a;
  border-bottom: 1px solid #dfe2e6;
}
.foc-pronotes-list li:last-child { border-bottom: none; }
.foc-pronotes-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #ed1c23;
  font-weight: 800;
}
.foc-pronotes-list li strong { color: #000; }

/* =====================================================================
   Breadcrumbs + related-models cross-links
===================================================================== */
.foc-breadcrumbs {
  font-size: 0.82rem;
  color: #777;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.foc-crumb { color: #777; text-decoration: none; }
.foc-crumb:hover { color: #ed1c23; text-decoration: underline; }
.foc-crumb-current { color: #1a1a1a; font-weight: 700; }
.foc-crumb-sep { color: #c2c2c2; margin: 0 8px; }

.foc-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.foc-related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.foc-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
  border-color: #ed1c23;
}
.foc-related-img {
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.foc-related-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.foc-related-body { padding: 10px 13px 13px; }
.foc-related-brand {
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ed1c23;
}
.foc-related-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-top: 3px;
}
.foc-related-all { margin-top: 16px; font-weight: 700; }
.foc-related-all a { color: #ed1c23; text-decoration: none; }
.foc-related-all a:hover { text-decoration: underline; }

/* =====================================================================
   Drive-type hub — sibling drive cross-links
===================================================================== */
/* Sibling-drive cards (bottom of each drive page) */
.foc-drive-sibling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.foc-drive-sibling-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-left: 4px solid #ed1c23;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.foc-drive-sibling-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.09);
  border-color: #ed1c23;
}
.foc-drive-sibling-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #ed1c23;
}
.foc-drive-sibling-icon svg { width: 100%; height: 100%; }
.foc-drive-sibling-body { display: flex; flex-direction: column; gap: 4px; }
.foc-drive-sibling-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
}
.foc-drive-sibling-line {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

/* "What to Watch For" callout on drive pages */
.foc-drive-watchfor {
  background: #fff8e6;
  border: 1px solid #f2d999;
  border-left: 4px solid #dba900;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 14px;
}
.foc-drive-watchfor p { margin: 0; font-size: 0.98rem; line-height: 1.65; color: #333; }

/* Drive-INDEX landing page — five big cards, one per drive */
.foc-drive-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.foc-drive-index-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-top: 5px solid #2b3a52; /* overridden per-card via inline style */
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 260px;
}
.foc-drive-index-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.foc-drive-index-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ed1c23;
}
.foc-drive-index-icon svg { width: 100%; height: 100%; }
.foc-drive-index-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #000;
  margin: 0;
  line-height: 1.2;
}
.foc-drive-index-tag {
  font-size: 0.95rem;
  color: #ed1c23;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.foc-drive-index-desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.foc-drive-index-count {
  display: inline-block;
  font-size: 0.78rem;
  color: #666;
  background: #f4f4f4;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
  align-self: flex-start;
}
.foc-drive-index-cta {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ed1c23;
  margin-top: 6px;
}

/* ==========================================================================
   PHASE-2 DEEPER-DATA SECTIONS (v1.1.0)
   Diagnostic Codes / Programming / Maintenance / Warranty
   Gray palette (per feedback_no_black_backgrounds — cream is out, gray is in)
   ========================================================================== */
.foc-deeper {
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 14px;
  padding: 28px 28px 24px;
  margin: 0 0 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.foc-deeper h2 {
  margin: 0 0 8px;
  color: #ed1c23;
  font-size: 1.5rem;
  letter-spacing: -.01em;
}
.foc-deeper h3 {
  margin: 22px 0 10px;
  color: #333;
  font-size: 1.15rem;
}
.foc-deeper h4 { margin: 0 0 4px; color: #111; font-size: 1rem; }
.foc-deeper .foc-lead { color: #444; margin: 0 0 18px; font-size: .98rem; }

/* Diagnostic codes */
.foc-code-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 8px; }
.foc-code-card {
  display: flex; gap: 16px;
  background: #f2f3f5;
  border-left: 4px solid #ed1c23;
  padding: 14px 16px;
  border-radius: 6px;
}
.foc-code-badge {
  background: #ed1c23; color: #fff; font-weight: 700;
  padding: 8px 12px; border-radius: 8px;
  min-width: 44px; text-align: center; font-size: 1.05rem;
  align-self: flex-start;
}
.foc-code-body { flex: 1; }
.foc-code-label {
  color: #555; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px;
}
.foc-code-card p { margin: 2px 0 0; color: #333; }

/* Symptom grid */
.foc-symptom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .foc-symptom-grid { grid-template-columns: 1fr; } }
.foc-symptom-card {
  background: #f2f3f5;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #dfe2e6;
}
.foc-symptom-card p { margin: 2px 0 0; color: #333; font-size: .96rem; }

/* Programming */
.foc-prog-block {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #f2f3f5;
  border-radius: 8px;
  border: 1px solid #dfe2e6;
}
.foc-prog-block h3 { margin: 0 0 8px; color: #333; }
.foc-steps { margin: 0 0 8px 22px; padding: 0; }
.foc-steps li { margin: 4px 0; }
.foc-tip {
  margin: 8px 0 0;
  padding: 8px 12px;
  background: #fff;
  border-left: 3px solid #ed1c23;
  font-size: .94rem;
  color: #333;
  border-radius: 4px;
}

/* Maintenance */
.foc-maint-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .foc-maint-blocks { grid-template-columns: 1fr; } }
.foc-maint-block {
  background: #f2f3f5;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #dfe2e6;
}
.foc-maint-block h3 { margin: 0 0 6px; color: #333; }
.foc-maint-block ul { margin: 0; padding-left: 20px; }
.foc-maint-block li { margin: 4px 0; }
.foc-cta {
  margin-top: 16px;
  padding: 14px 16px;
  background: #ed1c23;
  color: #fff;
  border-radius: 8px;
}
.foc-cta a { color: #fff; text-decoration: underline; font-weight: 700; }

/* Warranty table */
.foc-warr-table { width: 100%; border-collapse: collapse; margin: 6px 0; }
.foc-warr-table th, .foc-warr-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #dfe2e6;
  text-align: left;
}
.foc-warr-table th { background: #f2f3f5; font-weight: 600; width: 42%; }
.foc-warr-note { color: #666; font-size: .9rem; margin: 6px 0 0; }
