/* DAG Window Tint Hero. All rules isolated to this widget. */
.dag-window-tint-hero {
  --dag-wth-height: 820px;
  --dag-wth-accent: #ed1c24;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: var(--dag-wth-height);
  background: #07090c;
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
}
/* Full bleed uses the visible viewport width (set by JS from documentElement.clientWidth),
   not raw 100vw which may include the vertical scrollbar and cause horizontal overflow.
   CSS fallback keeps the hero usable before JS initializes. */
.dag-window-tint-hero.dag-wth-full-bleed {
  width: var(--dag-wth-viewport-width, 100vw);
  max-width: none;
  margin-left: calc(50% - var(--dag-wth-viewport-half, 50vw));
  margin-right: calc(50% - var(--dag-wth-viewport-half, 50vw));
}
.dag-window-tint-hero *,
.dag-window-tint-hero *::before,
.dag-window-tint-hero *::after { box-sizing: border-box; }
.dag-window-tint-hero .dag-wth-container {
  width: 100%;
  max-width: 1320px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
.dag-window-tint-hero .dag-wth-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .75s ease, visibility .75s ease;
}
.dag-window-tint-hero .dag-wth-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}
.dag-window-tint-hero .dag-wth-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #171a1f;
}
.dag-window-tint-hero .dag-wth-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(.86);
}
.dag-window-tint-hero .dag-wth-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility .65s ease;
}
.dag-window-tint-hero .dag-wth-slide.is-video-ready .dag-wth-video-layer {
  opacity: 1;
  visibility: visible;
}
.dag-window-tint-hero .dag-wth-video-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}
.dag-window-tint-hero .dag-wth-video-layer iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.dag-window-tint-hero .dag-wth-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,4,6,.95) 0%, rgba(3,4,6,.89) 21%, rgba(3,4,6,.63) 42%, rgba(3,4,6,.14) 75%, rgba(3,4,6,.06) 100%),
    linear-gradient(0deg, rgba(3,4,6,.86), transparent 39%);
}
.dag-window-tint-hero .dag-wth-slide-inner {
  position: relative;
  z-index: 2;
  min-height: var(--dag-wth-height);
  display: flex;
  align-items: flex-start;
  padding-top: 168px;
  padding-bottom: 168px;
}
.dag-window-tint-hero .dag-wth-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 790px);
  max-width: 790px;
}
.dag-window-tint-hero .dag-wth-heading {
  width: 100%;
  max-width: 790px;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 900;
  font-size: clamp(62px, 5.8vw, 82px);
  line-height: 1.035;
  letter-spacing: -.016em;
  color: #fff;
  padding: 0;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-transform: none;
}
.dag-window-tint-hero .dag-wth-heading span { color: var(--dag-wth-accent); }
.dag-window-tint-hero .dag-wth-intro {
  max-width: 450px;
  margin: 16px 0 0;
  font-family: Roboto, Arial, sans-serif;
  color: #d7dbe1;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}
.dag-window-tint-hero .dag-wth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 23px;
}
.dag-window-tint-hero .dag-wth-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 21px;
  background: var(--dag-wth-accent);
  border: 1px solid var(--dag-wth-accent);
  border-radius: 0;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .065em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.dag-window-tint-hero .dag-wth-button:hover,
.dag-window-tint-hero .dag-wth-button:focus-visible {
  background: #bc1119;
  border-color: #bc1119;
  color: #fff;
  transform: translateY(-2px);
}
.dag-window-tint-hero .dag-wth-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .095em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  color: #fff;
}
.dag-window-tint-hero .dag-wth-quiet-link:hover,
.dag-window-tint-hero .dag-wth-quiet-link:focus-visible { color: #fff; border-color: #fff; }
.dag-window-tint-hero .dag-wth-button:focus-visible,
.dag-window-tint-hero .dag-wth-quiet-link:focus-visible,
.dag-window-tint-hero .dag-wth-nav:focus-visible,
.dag-window-tint-hero .dag-wth-pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.dag-window-tint-hero .dag-wth-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding-bottom: 23px;
  background: linear-gradient(0deg, rgba(2,3,4,.83), rgba(2,3,4,.10));
}
.dag-window-tint-hero .dag-wth-controls-inner {
  display: grid;
  grid-template-columns: repeat(var(--dag-wth-count, 4), minmax(0, 1fr));
  gap: 15px;
}
.dag-window-tint-hero .dag-wth-nav {
  position: relative;
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 17px 6px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9ba0a8;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}
.dag-window-tint-hero .dag-wth-nav:hover,
.dag-window-tint-hero .dag-wth-nav.is-active { background: transparent; color: #fff; }
.dag-window-tint-hero .dag-wth-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.32);
}
.dag-window-tint-hero .dag-wth-progress i {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--dag-wth-accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.dag-window-tint-hero .dag-wth-index {
  font: 800 11px/1.1 Roboto, Arial, sans-serif;
  letter-spacing: .1em;
}
.dag-window-tint-hero .dag-wth-nav strong {
  font: 800 18px/1.1 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: .02em;
  color: inherit;
}
.dag-window-tint-hero .dag-wth-type {
  font: 400 9px/1.2 Roboto, Arial, sans-serif;
  color: #9ba0a8;
  letter-spacing: .11em;
}
/* The control uses Elementor Icon Library icons, not Unicode glyphs. */
.dag-window-tint-hero .dag-wth-pause {
  position: absolute;
  z-index: 10;
  bottom: 157px;
  right: max(15px, calc((var(--dag-wth-viewport-width, 100vw) - 1290px) / 2));
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(7,8,10,.58);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.dag-window-tint-hero .dag-wth-pause:hover {
  background: rgba(7,8,10,.9);
  border-color: #fff;
  color: #fff;
  transform: scale(1.055);
}
.dag-window-tint-hero .dag-wth-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 14px;
  color: inherit;
}
.dag-window-tint-hero .dag-wth-icon i { font-size: inherit; line-height: 1; }
.dag-window-tint-hero .dag-wth-icon svg { width: 15px; height: 15px; fill: currentColor; }
.dag-window-tint-hero .dag-wth-icon-play { transform: translateX(1px); }
.dag-window-tint-hero .dag-wth-pause[data-playing="true"] .dag-wth-icon-play,
.dag-window-tint-hero .dag-wth-pause[data-playing="false"] .dag-wth-icon-pause { display: none; }
/* Elementor tablet portrait: 768-1279px; Elementor controls can override height. */
@media (min-width: 768px) and (max-width: 1279px) {
  .dag-window-tint-hero { --dag-wth-height: 720px; }
  .dag-window-tint-hero .dag-wth-heading { font-size: clamp(58px, 7.1vw, 72px); }
  .dag-window-tint-hero .dag-wth-slide-inner { padding-top: 155px; }
  .dag-window-tint-hero .dag-wth-shade {
    background: linear-gradient(90deg, rgba(3,4,6,.93) 0%, rgba(3,4,6,.77) 40%, rgba(3,4,6,.30) 100%), linear-gradient(0deg, rgba(3,4,6,.82), transparent 43%);
  }
}
/* Elementor mobile: up to 767px. */
@media (max-width: 767px) {
  .dag-window-tint-hero { --dag-wth-height: 725px; }
  .dag-window-tint-hero .dag-wth-slide-inner { padding-top: 163px; padding-bottom: 160px; }
  .dag-window-tint-hero .dag-wth-copy { width: 100%; max-width: 500px; }
  .dag-window-tint-hero .dag-wth-heading { font-size: clamp(45px, 8.9vw, 65px); line-height: 1.075; }
  .dag-window-tint-hero .dag-wth-intro { max-width: 400px; font-size: 14px; }
  .dag-window-tint-hero .dag-wth-controls-inner { gap: 5px; }
  .dag-window-tint-hero .dag-wth-nav { padding-left: 2px; padding-right: 2px; }
  .dag-window-tint-hero .dag-wth-nav strong { font-size: 13px; }
  .dag-window-tint-hero .dag-wth-type { font-size: 8px; }
  .dag-window-tint-hero .dag-wth-pause { bottom: 142px; right: 15px; }
}
@media (max-width: 440px) {
  .dag-window-tint-hero .dag-wth-heading { font-size: clamp(43px, 10.8vw, 49px); line-height: 1.1; }
  .dag-window-tint-hero .dag-wth-intro { font-size: 13px; line-height: 1.56; }
  .dag-window-tint-hero .dag-wth-actions { margin-top: 21px; gap: 11px; }
  .dag-window-tint-hero .dag-wth-button { min-height: 47px; font-size: 9px; padding: 12px 14px; }
  .dag-window-tint-hero .dag-wth-quiet-link { font-size: 9px; }
  .dag-window-tint-hero .dag-wth-nav strong { font-size: 11px; }
  .dag-window-tint-hero .dag-wth-index { font-size: 10px; }
  .dag-window-tint-hero .dag-wth-type { font-size: 7px; }
  .dag-window-tint-hero .dag-wth-pause { bottom: 137px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .dag-window-tint-hero .dag-wth-slide,
  .dag-window-tint-hero .dag-wth-video-layer,
  .dag-window-tint-hero .dag-wth-button { transition: none !important; }
}
