/* One shared card: story, interactive preview and an expandable calculator. */
.cctv-intro { border: 1px solid var(--brand-border); border-radius: 28px; background: #fff; overflow: visible; }
.cctv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 32%); gap: 0; align-items: stretch; }
.cctv-hero__story { min-width: 0; position: relative; isolation: isolate; overflow: hidden; border-radius: 27px 0 0 0; background: #f2f2f0; }
.cctv-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.cctv-hero__story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #f4f4f2 0%, #f4f4f2f5 27%, #f4f4f2c4 46%, #f4f4f21a 76%, transparent); }
.cctv-hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: min(78%, 620px); height: 100%; min-height: 430px; padding: 32px; }
.cctv-hero__copy .eyebrow { font-size: .8125rem; letter-spacing: .08em; }
.cctv-hero__copy h1 { margin: 16px 0; font-size: clamp(2.125rem, 3.2vw, 3.375rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; hyphens: none; }
.cctv-hero__copy h1 span { color: var(--orange); }
.cctv-hero__lead { max-width: 410px; margin: 0 0 20px; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.cctv-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cctv-hero__actions .button { min-height: 46px; padding: 12px 18px; font-size: .9375rem; }
.cctv-hero__actions .button--ghost { background: #ffffffd9; }
.cctv-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; color: var(--ink-soft); font-size: .8125rem; }
.cctv-hero__facts span { display: inline-flex; align-items: center; gap: 7px; }
.cctv-hero__facts svg { width: 19px; height: 19px; color: var(--link); }
.cctv-monitor { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-left: 1px solid var(--brand-border); border-radius: 0 27px 0 0; background: linear-gradient(155deg, #fff 24%, #fff3e5); }
.cctv-monitor__eyebrow { display: block; margin-bottom: 7px; color: var(--link); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.cctv-monitor__heading h2 { margin: 0; color: var(--ink); font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.cctv-monitor__tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--brand-border); border-radius: 14px; background: #f7f7f6; }
.cctv-monitor__tabs button { flex: 1; min-width: 0; min-height: 40px; padding: 8px 4px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 .875rem/1.25 var(--font-body); cursor: pointer; }
.cctv-monitor__tabs button:hover { color: var(--link); background: #fff3e5; }
.cctv-monitor__tabs button[aria-selected="true"] { color: #fff; background: var(--action); }
.cctv-monitor__panel { min-width: 0; flex: 1; }
.cctv-monitor__screen { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16 / 9; max-height: 180px; overflow: hidden; border-radius: 14px; background: #e5e5e2; border: 1px solid #d6d6d0; }
.cctv-monitor__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.cctv-monitor__image--yard { object-position: right center; transform: scale(1.75); transform-origin: right bottom; }
.cctv-monitor__screen.is-zoomed .cctv-monitor__image { transform: scale(2); }
.cctv-monitor__screen.is-zoomed .cctv-monitor__image--yard { transform: scale(3.5); }
.cctv-monitor__screen::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #1719157a); pointer-events: none; }
.cctv-monitor__demo { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 4px 9px; color: var(--ink); background: #ffffffed; border-radius: 6px; font-size: .75rem; line-height: 1.4; }
.cctv-monitor__zone { position: absolute; bottom: 16px; left: 14px; z-index: 1; color: #fff; font-size: .9375rem; font-weight: 600; }
.cctv-monitor__zoom { position: absolute; z-index: 2; bottom: 10px; right: 10px; width: 44px; min-height: 44px; border: 1px solid #ffffffb3; border-radius: 12px; background: #fffffff0; color: var(--ink); font: 600 .875rem/1 var(--font-body); cursor: pointer; }
.cctv-monitor__zoom[aria-pressed="true"] { color: var(--link); background: #fff3e5; border-color: var(--orange); }
.cctv-monitor__unavailable { position: absolute; z-index: 1; inset: 48px 12px; display: grid; place-items: center; text-align: center; font-size: .875rem; color: var(--ink-soft); background: #e5e5e2; }
.cctv-monitor__description { margin: 10px 0 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.5; }
.cctv-monitor__select { justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 11px 16px; font-size: .875rem; text-align: left; }
@media (max-width: 1200px) {
  .cctv-hero { grid-template-columns: minmax(0, 1fr) 340px; }
  .cctv-hero__copy { width: 90%; padding: 28px; }
  .cctv-hero__copy h1 { font-size: clamp(2.125rem, 3.8vw, 3rem); }
}
@media (max-width: 960px) {
  .cctv-hero { grid-template-columns: minmax(0, 1fr); }
  .cctv-hero__story { border-radius: 27px 27px 0 0; }
  .cctv-hero__copy { width: min(78%, 600px); min-height: 380px; }
  .cctv-hero__copy h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
  .cctv-monitor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 14px 24px; border-left: 0; border-top: 1px solid var(--brand-border); border-radius: 0; }
  .cctv-monitor__heading, .cctv-monitor__tabs, .cctv-monitor__select { grid-column: 1; }
  .cctv-monitor__panel { grid-column: 2; grid-row: 1 / 4; }
}
@media (max-width: 600px) {
  .cctv-intro { border-radius: 24px; }
  .cctv-hero__story { border-radius: 23px 23px 0 0; }
  .cctv-hero__image { position: relative; display: block; height: 180px; object-position: right center; }
  .cctv-hero__story::before { display: none; }
  .cctv-hero__copy { width: 100%; height: auto; min-height: 0; padding: 22px 20px; }
  .cctv-hero__copy .eyebrow { font-size: .75rem; }
  .cctv-hero__copy h1 { margin: 14px 0; font-size: clamp(2rem, 8.3vw, 3rem); }
  .cctv-hero__actions { width: 100%; }
  .cctv-hero__actions .button { flex: 1 1 180px; }
  .cctv-hero__facts { margin-top: 18px; }
  .cctv-monitor { display: flex; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cctv-monitor__image { transition: none; }
}
