/* Homepage-only video and consultation widgets. No remote dependencies. */
.home-tools { width: calc(100% - 48px); max-width: 1180px; margin: -10px auto 26px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.home-tools p { color: var(--ui-muted); font-size: 13px; }
.home-tools button { min-height: 44px; border: 1px solid #bdccdb; padding: 8px 16px; border-radius: 8px; background: white; color: var(--brand); font-size: 14px; }
.video-widget { position: fixed; left: 22px; bottom: 24px; width: 292px; max-width: calc(100vw - 32px); z-index: 40; border-radius: 14px; background: white; box-shadow: 0 12px 40px rgb(15 41 69 / 22%); overflow: hidden; }
.video-widget__header { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 8px 4px 16px; background: #16446e; color: white; }
.video-widget__title { font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0; }
.video-widget__actions { display: flex; }
.video-widget__actions button { border: 0; border-radius: 6px; background: transparent; color: white; min-width: 44px; min-height: 40px; padding: 4px; font-size: 12px; }
.video-widget__actions button:hover { background: #28608e; }
.video-widget video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: #0d2337; color: white; object-fit: contain; }
.video-widget video a { color: white; }
.video-widget__copy { padding: 10px 14px 12px; }
.video-widget__copy p { font-size: 12px; line-height: 1.7; color: var(--ui-muted); }
.video-widget__copy a { font-size: 11px; color: #4c6378; text-decoration: underline; }
.video-widget__error { padding: 16px; color: var(--ui-ink); font-size: 13px; line-height: 1.8; }
.video-widget.is-collapsed { width: 238px; }
.video-widget.is-collapsed .video-widget__body { display: none; }
.video-widget.is-collapsed .video-widget__header { padding-left: 12px; }
.offer-widget { position: fixed; right: 22px; bottom: 84px; width: 202px; box-sizing: border-box; padding: 18px; z-index: 39; border-radius: 14px; background: white; box-shadow: 0 12px 40px rgb(15 41 69 / 17%); }
.offer-widget h2 { color: var(--ui-ink); font-size: 16px; font-weight: 700; line-height: 1.6; }
.offer-widget__lead { color: var(--ui-muted); font-size: 12px; line-height: 1.8; margin-top: 4px; }
.offer-widget__time { margin: 10px 0 12px; display: block; color: var(--brand); font: 700 32px/1.3 system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.offer-widget__cta { display: block; padding: 11px 12px; border-radius: 8px; min-height: 44px; box-sizing: border-box; color: white; background: var(--brand); text-align: center; font-size: 14px; font-weight: 600; }
.offer-widget__cta:hover, .offer-widget__cta:focus { color: white; background: #084d93; }
.offer-widget__status { margin-top: 10px; color: var(--ui-muted); font-size: 11px; line-height: 1.6; }
.offer-widget.is-expired .offer-widget__time { color: var(--ui-muted); }
@media (prefers-reduced-motion: no-preference) {
  .offer-widget:not(.is-expired) .offer-widget__cta { animation: consultation-breathe 3s ease-in-out infinite; }
  .offer-widget__cta:hover, .offer-widget__cta:focus-visible { animation-play-state: paused !important; }
  @keyframes consultation-breathe { 0%, 100% { background-color: #0762bc; } 50% { background-color: #16446e; } }
}
@media (min-width: 1800px) { .video-widget { width: 320px; } }
@media (max-width: 700px) {
  body[data-page="index"] { padding-bottom: calc(220px + env(safe-area-inset-bottom)); }
  .home-tools { width: calc(100% - 32px); margin-top: -8px; justify-content: space-between; gap: 10px; }
  .home-tools p { font-size: 12px; }
  .home-tools button { flex-shrink: 0; font-size: 13px; padding: 8px 12px; }
  .offer-widget { width: auto; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .offer-widget h2 { font-size: 14px; }
  .offer-widget__lead { font-size: 11px; margin: 0; }
  .offer-widget__time { grid-column: 2; grid-row: 1; font-size: 24px; margin: 0; text-align: center; }
  .offer-widget__cta { grid-column: 2; grid-row: 2 / 4; min-width: 100px; font-size: 13px; margin-top: 5px; }
  .offer-widget__status { grid-column: 1; margin: 2px 0 0; font-size: 11px; }
  .video-widget { left: 12px; bottom: calc(150px + env(safe-area-inset-bottom)); width: 292px; }
  .video-widget.is-collapsed { width: 232px; }
  body[data-page="index"] .back-to-top { bottom: calc(150px + env(safe-area-inset-bottom)); right: 12px; }
  body[data-page="index"] #demo-status { bottom: calc(190px + env(safe-area-inset-bottom)); }
}
@media (max-height: 500px) and (min-width: 701px) {
  .video-widget { width: 240px; bottom: 12px; }
  .offer-widget { bottom: 64px; padding: 12px; }
}
@media print {
  .video-widget, .offer-widget, .home-tools, .back-to-top { display: none !important; }
}
