@import url("/assets/css/theme-construction-v2.css");

body.theme-construction-v2-dark {
  color-scheme: dark;
}

body.theme-construction-v2-dark.debug-theme-v2-dark {
  outline: 6px solid red !important;
}

body.theme-construction-v2-dark.debug-mode::after {
  content: "V2 DARK CSS ACTIVE";
  position: fixed;
  bottom: 12px;
  right: 12px;
  padding: 6px 10px;
  background: rgba(255, 0, 0, 0.75);
  color: #fff;
  font: 12px/1.4 monospace;
  z-index: 99999;
  border-radius: 6px;
}

body.theme-construction-v2-dark .cv2-faq {
  margin-top: clamp(28px, 5vw, 54px);
}

body.theme-construction-v2-dark .cv2-faq__inner {
  max-width: 70ch;
}

body.theme-construction-v2-dark .cv2-faq h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--cv2-accent);
  margin-bottom: clamp(12px, 2vw, 20px);
}

body.theme-construction-v2-dark .cv2-accordion {
  display: grid;
  gap: 12px;
}

body.theme-construction-v2-dark .cv2-accordion-item {
  border-radius: 16px;
  border: 1px solid var(--cv2-border);
  background: var(--cv2-surface);
  box-shadow: var(--cv2-shadow-sm);
  overflow: hidden;
}

body.theme-construction-v2-dark .cv2-accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: var(--cv2-text);
}

body.theme-construction-v2-dark .cv2-accordion-item summary::-webkit-details-marker {
  display: none;
}

body.theme-construction-v2-dark .cv2-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(77, 163, 255, 0.2);
  color: var(--cv2-accent);
  position: relative;
}

body.theme-construction-v2-dark .cv2-accordion-icon::before,
body.theme-construction-v2-dark .cv2-accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

body.theme-construction-v2-dark .cv2-accordion-icon::before {
  width: 12px;
  height: 2px;
}

body.theme-construction-v2-dark .cv2-accordion-icon::after {
  width: 2px;
  height: 12px;
}

body.theme-construction-v2-dark .cv2-accordion-item[open] .cv2-accordion-icon::after {
  display: none;
}

body.theme-construction-v2-dark .cv2-accordion-body {
  padding: 0 18px 16px;
  color: var(--cv2-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

body.theme-construction-v2-dark .cv2-accordion-item[open] .cv2-accordion-body {
  opacity: 1;
}

body.theme-construction-v2-dark .cv2-inline-cta {
  margin: clamp(28px, 5vw, 48px) 0;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: 20px;
  border: 1px solid var(--cv2-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--cv2-shadow-sm);
  display: grid;
  gap: 10px;
}

body.theme-construction-v2-dark .cv2-inline-cta__badge {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  color: var(--cv2-accent);
}

body.theme-construction-v2-dark .cv2-inline-cta__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cv2-text);
}

body.theme-construction-v2-dark .cv2-inline-cta__text {
  color: var(--cv2-muted);
  line-height: 1.6;
  margin: 0;
}

body.theme-construction-v2-dark .cv2-inline-cta .cv2-btn {
  justify-self: start;
}

@media (max-width: 700px) {
  body.theme-construction-v2-dark .cv2-inline-cta {
    padding: 18px;
  }

  body.theme-construction-v2-dark .cv2-inline-cta .cv2-btn {
    width: 100%;
    justify-content: center;
  }
}

body.theme-construction-v2-dark .cv2-related {
  margin-top: clamp(32px, 6vw, 64px);
  padding: clamp(20px, 4vw, 36px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.08), rgba(35, 213, 200, 0.05));
  border: 1px solid var(--cv2-border);
  box-shadow: var(--cv2-shadow-sm);
}

body.theme-construction-v2-dark .cv2-related .cc-eyebrow {
  letter-spacing: 0.32em;
  opacity: 0.8;
}

body.theme-construction-v2-dark .cv2-related .cc-title {
  margin-bottom: clamp(16px, 3vw, 28px);
}

body.theme-construction-v2-dark .cv2-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 22px);
}

body.theme-construction-v2-dark .cv2-related-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  padding: clamp(18px, 2.4vw, 26px) clamp(16px, 2.2vw, 24px) clamp(22px, 3vw, 30px);
}

body.theme-construction-v2-dark .cv2-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cv2-shadow-md);
  border-color: rgba(77, 163, 255, 0.5);
}

body.theme-construction-v2-dark .cv2-related-card__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

body.theme-construction-v2-dark .cv2-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cv2-accent);
  border: 1px solid rgba(77, 163, 255, 0.3);
  background: rgba(77, 163, 255, 0.12);
}

body.theme-construction-v2-dark .cv2-related-card__body h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-construction-v2-dark .cv2-related-card__body .cc-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  margin: 0 0 14px;
}

body.theme-construction-v2-dark .cv2-related-card__bottom {
  margin-top: auto;
  padding-top: 6px;
}

body.theme-construction-v2-dark .cv2-related-card__cta {
  color: var(--cv2-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.theme-construction-v2-dark .cv2-related-card:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.theme-construction-v2-dark .cv2-related-card {
    transition: none;
  }
}

@media (max-width: 1100px) {
  body.theme-construction-v2-dark .cv2-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 18px);
  }
}

@media (max-width: 700px) {
  body.theme-construction-v2-dark .cv2-related-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 16px 10px;
    -webkit-overflow-scrolling: touch;
  }

  body.theme-construction-v2-dark .cv2-related-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
    min-height: 240px;
    padding: 20px 18px 26px;
  }

  body.theme-construction-v2-dark .cv2-related-grid::-webkit-scrollbar {
    height: 6px;
  }

  body.theme-construction-v2-dark .cv2-related-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
  }
}

body.theme-construction-v2-dark .cv2-geo-card__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.95), rgba(35, 213, 200, 0.95));
  color: #0b0f14;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  text-decoration: none;
}

body.theme-construction-v2-dark .cv2-geo-card__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.45);
  filter: brightness(1.02);
}

body.theme-construction-v2-dark .cv2-geo-card__cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.35);
}

@media (max-width: 900px) {
  body.theme-construction-v2-dark .cv2-geo-card__cta-btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}

body.theme-construction-v2-dark .cv2-footer-min {
  padding: 48px 0;
  border-top: 1px solid var(--cv2-border);
  background: radial-gradient(circle at 20% 0%, rgba(77, 163, 255, 0.08), transparent 55%);
}

body.theme-construction-v2-dark .cv2-footer-min__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-col {
  display: grid;
  gap: 12px;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-text {
  color: var(--cv2-muted);
  line-height: 1.6;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-title {
  font-weight: 600;
  font-size: 1.05rem;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-list {
  display: grid;
  gap: 8px;
  color: var(--cv2-muted);
  line-height: 1.5;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-icon {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
  color: rgb(77, 163, 255);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-cta--compact {
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  min-width: 0;
}

body.theme-construction-v2-dark .cv2-footer-nav--inline {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
}

body.theme-construction-v2-dark .cv2-footer-nav--inline a {
  color: var(--cv2-muted);
  font-size: 0.95rem;
  transition: color 160ms ease;
}

body.theme-construction-v2-dark .cv2-footer-nav--inline a:hover,
body.theme-construction-v2-dark .cv2-footer-nav--inline a:focus-visible {
  color: var(--cv2-text);
}

body.theme-construction-v2-dark .cv2-header .site-logo img,
body.theme-construction-v2-dark .cv2-header .site-logo svg {
  max-width: 200px;
  width: 100%;
  height: auto;
}

body.theme-construction-v2-dark .cv2-footer .site-logo img,
body.theme-construction-v2-dark .cv2-footer .site-logo svg {
  max-width: 300px;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  body.theme-construction-v2-dark .cv2-header .site-logo img,
  body.theme-construction-v2-dark .cv2-header .site-logo svg {
    max-width: 160px;
  }
}

body.theme-construction-v2-dark .cv2-footer-sub--min {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--cv2-border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--cv2-muted);
}

body.theme-construction-v2-dark .cv2-footer-sub--min .cv2-footer-disclaimer {
  color: var(--cv2-muted);
  max-width: 60ch;
}

@media (max-width: 1024px) {
  body.theme-construction-v2-dark .cv2-footer-min__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  body.theme-construction-v2-dark .cv2-footer-min {
    padding: 28px 0;
  }

  body.theme-construction-v2-dark .cv2-footer-min .cv2-footer-cta--compact {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  body.theme-construction-v2-dark .cv2-footer-sub--min {
    flex-direction: column;
    align-items: flex-start;
  }

  body.theme-construction-v2-dark .cv2-footer-nav--inline {
    gap: 12px 14px;
  }
}
