/* Chimney landing page: extra styles. Loaded only by services/chimney-inspection-cleaning-repair.html,
   after styles.css. Uses the site's own colors and fonts (CSS variables). */

.ch-section { padding: 72px 0; }
.ch-section-alt { background: var(--color-bg-alt); }
.ch-head { max-width: 680px; margin: 0 0 32px; }
.ch-head h2 { margin-bottom: 10px; }
.ch-head p { color: var(--color-text-muted); }

/* Hero checklist */
.ch-check-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.92rem; color: #e8ddc2; }
.ch-check-list li { display: flex; align-items: center; gap: 8px; }
.ch-check-list svg { flex: none; }

/* Our work */
.ch-work { padding: 64px 0 40px; }
.ch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; margin-left: auto; margin-right: auto; }
.ch-pair figure, .ch-grid figure { margin: 0; position: relative; }
.ch-pair img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; }
.ch-tag { position: absolute; left: 12px; top: 12px; background: var(--color-primary); color: var(--color-primary-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.ch-tag-gold { background: var(--color-accent); color: var(--color-primary); }
.ch-pair-cap { font-weight: 600; margin: 12px auto 0; max-width: 880px; }
.ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.ch-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; }
.ch-collage { margin: 28px auto 0; max-width: 640px; text-align: center; }
.ch-collage img { width: 100%; height: auto; border-radius: 12px; display: block; }
.ch-collage figcaption { font-weight: 600; margin-top: 10px; }

/* Anatomy */
.ch-anatomy { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.ch-anatomy-fig { background: var(--color-primary-light); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: var(--shadow); }
.ch-anatomy-stage { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; }
.ch-anatomy-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.ch-hot { position: absolute; box-sizing: border-box; border: 3px solid var(--color-accent); border-radius: 6px; background: rgba(214, 196, 106, 0.25); box-shadow: 0 0 0 2px rgba(22, 19, 15, 0.35); pointer-events: none; display: none; }
.ch-hot.on { display: block; }
.ch-anatomy-note { font-size: 0.8rem; color: #5b5230; text-align: center; }
.ch-parts { display: flex; flex-direction: column; gap: 10px; }
.ch-part { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: inherit; font-weight: 600; font-size: 1rem; text-align: left; padding: 14px 18px; border-radius: 10px; cursor: pointer; min-height: 44px; width: 100%; box-sizing: border-box; background: #fff; color: var(--color-primary); border: 1px solid #d6d1c0; }
.ch-part small { font-size: 0.8rem; font-weight: 500; opacity: 0.7; }
.ch-part[aria-pressed="true"] { background: var(--color-primary); color: var(--color-primary-light); border: 1.5px solid var(--color-accent); }
.ch-detail { margin-top: 6px; background: var(--color-primary-light); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.ch-detail h3 { margin: 0; font-size: 1.4rem; }
.ch-detail p { margin: 0; line-height: 1.7; color: #3b3f45; }
.ch-detail .ch-do { font-size: 0.92rem; color: #5b5230; }

/* Cards */
.ch-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ch-card { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.ch-card h3 { margin: 0; font-size: 1.1rem; font-family: var(--font); font-weight: 700; }
.ch-card p { margin: 0; color: var(--color-text-muted); line-height: 1.6; font-size: 0.95rem; }
.ch-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ch-svc { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.ch-svc img { width: 44px; height: 44px; display: block; }
.ch-svc h3 { margin: 0; font-size: 1.1rem; font-family: var(--font); font-weight: 700; }
.ch-svc p { margin: 0; color: var(--color-text-muted); line-height: 1.6; font-size: 0.95rem; }
.ch-band { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; background: var(--color-primary-light); border-radius: 12px; padding: 28px 32px; }
.ch-band-text { flex: 1 1 420px; min-width: 0; }
.ch-band h3 { margin: 0 0 8px; font-size: 1.5rem; }
.ch-band p { margin: 0; line-height: 1.7; color: #3b3f45; }

/* Inspection levels (dark) */
.ch-levels { background: var(--color-primary); color: var(--color-primary-light); padding: 72px 0; }
.ch-levels h2 { color: #fff; }
.ch-levels .ch-head p { color: #e2dccb; }
.ch-level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ch-level { border: 1px solid #4a423f; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.ch-level.hot { border-color: var(--color-accent); }
.ch-level .lv { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #cdbb63; }
.ch-level h3 { margin: 0; color: #fff; font-family: var(--font); font-size: 1.1rem; }
.ch-level p { margin: 0; line-height: 1.6; color: #e2dccb; font-size: 0.95rem; }

/* One contractor */
.ch-one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ch-one img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: 12px; display: block; }
.ch-one h2 { margin-bottom: 14px; }
.ch-one > div > p { color: var(--color-text-muted); line-height: 1.7; margin-bottom: 18px; }

/* Areas */
.ch-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ch-pills a { display: block; border: 1px solid #d6d1c0; background: #faf8f1; border-radius: 999px; padding: 9px 18px; font-size: 0.95rem; color: var(--color-primary); text-decoration: none; }
.ch-pills a:hover { background: var(--color-primary); color: var(--color-primary-light); }

@media (max-width: 900px) {
  .ch-anatomy { grid-template-columns: 1fr; }
  .ch-one { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .ch-section, .ch-levels { padding: 52px 0; }
  .ch-work { padding: 48px 0 24px; }
  .ch-pair { gap: 10px; }
  .ch-pair img { aspect-ratio: 3 / 4; }
  .ch-tag { left: 8px; top: 8px; font-size: 0.66rem; padding: 5px 10px; }
  .ch-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ch-anatomy-fig { padding: 16px; }
  .ch-band { padding: 22px 20px; }
  .ch-svc-grid { grid-template-columns: 1fr; }
}

.ch-one .included-list { grid-template-columns: 1fr; }

/* Photo enlarge (lightbox) */
.ch-work img { cursor: zoom-in; }
.ch-work img:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.ch-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 12, 10, 0.95); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 72px; box-sizing: border-box; }
.ch-lb[hidden] { display: none; }
.ch-lb img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 8px; cursor: default; }
.ch-lb-cap { color: #e2dccb; font-size: 0.9rem; text-align: center; margin: 12px 0 0; max-width: 720px; }
.ch-lb button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--font); line-height: 1; display: flex; align-items: center; justify-content: center; }
.ch-lb button:hover, .ch-lb button:focus-visible { background: rgba(255, 255, 255, 0.28); }
.ch-lb-x { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 1.9rem; }
.ch-lb-prev, .ch-lb-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 2rem; }
.ch-lb-prev { left: 12px; }
.ch-lb-next { right: 12px; }
@media (max-width: 640px) {
  .ch-lb { padding: 64px 12px 84px; }
  .ch-lb-prev, .ch-lb-next { top: auto; bottom: 18px; transform: none; width: 44px; height: 44px; }
  .ch-lb-prev { left: calc(50% - 56px); }
  .ch-lb-next { right: calc(50% - 56px); }
}

/* Hero: gold primary button so it stands out on the dark photo */
.ch-hero .btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-primary); }
.ch-hero .btn-primary:hover { background: #cdbb63; border-color: #cdbb63; color: var(--color-primary); }

/* Phone: keep headline, text and both buttons above the fold */
@media (max-width: 640px) {
  .ch-hero.hero-sm { min-height: 0; }
  .ch-hero .hero-content { padding-top: 12px; padding-bottom: 36px; }
  .ch-hero h1 { font-size: 1.85rem; margin-bottom: 10px; }
  .ch-hero .hero-tagline { display: none; }
  .ch-hero .hero-sub { font-size: 0.98rem; margin-bottom: 18px; }
  .ch-hero .hero-actions { flex-direction: column; gap: 10px; }
  .ch-hero .hero-actions .btn { width: 100%; box-sizing: border-box; text-align: center; }
  .ch-check-list { margin-top: 18px; gap: 8px 18px; font-size: 0.88rem; }
}
.ch-hero .btn { text-shadow: none; }

/* $99 Level 1 Chimney Check */
.ch-hero-note { margin: 14px 0 0; font-size: 0.95rem; color: #e8ddc2; max-width: 620px; }
.ch-hero-note a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ch-book { padding: 72px 0; background: var(--color-bg-alt); }
.ch-book-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ch-book-scope h3 { font-size: 1.15rem; margin: 0 0 12px; }
.ch-book-scope h3:not(:first-child) { margin-top: 26px; }
.ch-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch-ticks li { position: relative; padding-left: 28px; line-height: 1.5; }
.ch-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6a1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.ch-nots li { color: var(--color-text-muted); }
.ch-nots li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.ch-book-card { background: #fff; border: 2px solid var(--color-accent); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.ch-price { margin: 0; font-size: 1.1rem; color: var(--color-text-muted); }
.ch-price span { font-size: 3rem; font-weight: 800; color: var(--color-primary); line-height: 1; margin-right: 6px; }
.ch-pay-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.ch-book-card .btn { text-align: center; box-sizing: border-box; }
.ch-book-call { text-align: center; font-weight: 600; color: var(--color-primary); }
.ch-book-note { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--color-text-muted); }
@media (max-width: 800px) {
  .ch-book { padding: 52px 0; }
  .ch-book-grid { grid-template-columns: minmax(0, 1fr); }
  .ch-book-card { padding: 22px 18px; }
  .ch-book-card .btn { width: 100%; }
}

/* Hero balance on wide screens: lighter overlay, text pulled left so the chimneys and sky show */
.ch-hero .hero-overlay { background: linear-gradient(90deg, rgba(22, 19, 15, 0.58) 0%, rgba(22, 19, 15, 0.42) 40%, rgba(22, 19, 15, 0.10) 70%, rgba(22, 19, 15, 0) 100%); }
@media (min-width: 900px) {
  .ch-hero .hero-content { margin-left: clamp(24px, 7vw, 140px); margin-right: auto; max-width: 720px; }
}
.ch-hero h1 { text-wrap: balance; }
