/* =========================================================
   CONSTRUCTION & HOME SERVICES — PAGE-SPECIFIC STYLES
   Scoped entirely under .construction-home-services-page
   Architectural / blueprint editorial system for PLOCAL
   ========================================================= */

.construction-home-services-page {
  --chs-ink: #12213F;
  --chs-ink-soft: #1D3055;
  --chs-accent: #24BDC7;
  --chs-accent-deep: #0C2C7A;
  --chs-bg: #F5F2EA;
  --chs-surface: #FFFFFF;
  --chs-text: #16223B;
  --chs-muted: #5A6270;
  --chs-border: rgba(18, 33, 63, 0.12);
  --chs-line: rgba(18, 33, 63, 0.18);
  --chs-on-dark: #F5F2EA;
  --chs-on-dark-muted: rgba(245, 242, 234, 0.64);
  --chs-on-dark-line: rgba(245, 242, 234, 0.22);
  --chs-mono-font: "SFMono-Regular", ui-monospace, "Roboto Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --chs-radius: 22px;
  --chs-radius-sm: 14px;

  background: var(--chs-bg);
  color: var(--chs-text);
  overflow-x: hidden;
}

.construction-home-services-page .chs-main {
  overflow-x: hidden;
}

.construction-home-services-page h1,
.construction-home-services-page h2,
.construction-home-services-page h3 {
  font-family: var(--heading-font);
  margin: 0;
}

.construction-home-services-page a {
  outline-offset: 3px;
}

.construction-home-services-page :focus-visible {
  outline: 2px solid var(--chs-accent);
  outline-offset: 3px;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */

.construction-home-services-page .chs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.construction-home-services-page .chs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SHARED TYPE ELEMENTS
   ========================================================= */

.construction-home-services-page .chs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--chs-mono-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chs-on-dark-muted);
}

.construction-home-services-page .chs-eyebrow i {
  color: var(--chs-accent);
  font-size: 12px;
}

.construction-home-services-page .chs-eyebrow--dark {
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-section-head {
  max-width: 640px;
  margin: 0 0 60px;
}

.construction-home-services-page .chs-section-head .chs-eyebrow {
  margin-bottom: 16px;
}

.construction-home-services-page .chs-section-head h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--chs-ink);
  margin: 0 0 16px;
}

.construction-home-services-page .chs-section-head p {
  font-size: 16.5px;
  color: var(--chs-muted);
  margin: 0;
}

.construction-home-services-page .chs-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--chs-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s ease;
}

.construction-home-services-page .chs-text-link:hover {
  border-color: var(--chs-accent);
  gap: 13px;
}

/* =========================================================
   HERO
   ========================================================= */

.construction-home-services-page .chs-hero {
  position: relative;
  background: linear-gradient(165deg, var(--chs-ink) 0%, #0B1730 100%);
  color: var(--chs-on-dark);
  overflow: hidden;
  padding: 190px 0 130px;
}

.construction-home-services-page .chs-hero__blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.construction-home-services-page .chs-hero__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(var(--chs-on-dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--chs-on-dark-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(circle at 72% 42%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 72% 42%, #000 0%, transparent 68%);
}

.construction-home-services-page .chs-hero__house {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-46%);
  width: min(44vw, 600px);
  height: auto;
  z-index: 1;
}

.construction-home-services-page .chs-draw {
  stroke: var(--chs-on-dark-line);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  animation: chsDraw 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s forwards;
}

.construction-home-services-page .chs-draw--dim {
  stroke: var(--chs-accent);
  opacity: 0.6;
}

@keyframes chsDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.construction-home-services-page .chs-hero__tick {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--chs-on-dark-line);
  border-radius: 50%;
}

.construction-home-services-page .chs-hero__tick::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 40px;
  background: var(--chs-on-dark-line);
  transform: translateX(-50%);
}

.construction-home-services-page .chs-hero__tick--a {
  top: 16%;
  left: 5%;
}

.construction-home-services-page .chs-hero__tick--b {
  bottom: 14%;
  left: 42%;
}

.construction-home-services-page .chs-hero__container {
  position: relative;
  z-index: 2;
}

.construction-home-services-page .chs-coord {
  animation: chsFadeUp 0.7s ease both;
}

.construction-home-services-page .chs-coord ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 46px;
  padding: 0;
  font-family: var(--chs-mono-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chs-on-dark-muted);
}

.construction-home-services-page .chs-coord li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.5;
}

.construction-home-services-page .chs-coord a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.construction-home-services-page .chs-coord a:hover {
  border-color: currentColor;
}

.construction-home-services-page .chs-coord li[aria-current] {
  color: var(--chs-on-dark);
}

.construction-home-services-page .chs-hero__content {
  max-width: 640px;
  animation: chsFadeUp 0.9s ease 0.15s both;
}

@keyframes chsFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.construction-home-services-page .chs-hero__title {
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--chs-on-dark);
  margin: 18px 0 22px;
}

.construction-home-services-page .chs-hero__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--chs-on-dark-muted);
  max-width: 480px;
  margin: 0 0 36px;
}

.construction-home-services-page .chs-hero__actions {
  margin-bottom: 38px;
}

.construction-home-services-page .chs-hero__actions .theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.construction-home-services-page .chs-hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.construction-home-services-page .chs-hero__chips a {
  display: inline-flex;
  align-items: center;
  font-family: var(--chs-mono-font);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--chs-on-dark);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--chs-on-dark-line);
  border-radius: 999px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.construction-home-services-page .chs-hero__chips a:hover {
  background: var(--chs-accent);
  border-color: var(--chs-accent);
  color: var(--chs-ink);
}

/* =========================================================
   SECTION 01 — SERVICES GRID
   ========================================================= */

.construction-home-services-page .chs-services {
  background: var(--chs-bg);
  padding: 130px 0;
}

.construction-home-services-page .chs-service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 340px 220px;
  grid-template-areas:
    "gc gc gc gc gc gc plumb plumb plumb roof roof roof"
    "hvac hvac hvac elec elec elec plumb plumb plumb remod remod remod";
}

.construction-home-services-page .chs-service-tile--gc { grid-area: gc; }
.construction-home-services-page .chs-service-tile--plumbing { grid-area: plumb; }
.construction-home-services-page .chs-service-tile--roofing { grid-area: roof; }
.construction-home-services-page .chs-service-tile--hvac { grid-area: hvac; }
.construction-home-services-page .chs-service-tile--electrical { grid-area: elec; }
.construction-home-services-page .chs-service-tile--remodeling { grid-area: remod; }

.construction-home-services-page .chs-service-tile {
  position: relative;
  display: block;
  border-radius: var(--chs-radius);
  overflow: hidden;
  color: var(--chs-on-dark);
  text-decoration: none;
  isolation: isolate;
  background: var(--chs-ink);
}

.construction-home-services-page .chs-service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 14, 30, 0.55) 0%, rgba(8, 14, 30, 0) 22%),
    linear-gradient(180deg, rgba(18, 33, 63, 0) 32%, rgba(10, 18, 36, 0.9) 100%);
  pointer-events: none;
}

.construction-home-services-page .chs-service-tile::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 62px;
  bottom: 0;
  height: 2px;
  background: var(--chs-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.construction-home-services-page .chs-service-tile:hover::before {
  transform: scaleX(1);
}

.construction-home-services-page .chs-service-tile__media {
  position: absolute;
  inset: 0;
}

.construction-home-services-page .chs-service-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.construction-home-services-page .chs-service-tile:hover .chs-service-tile__media img {
  transform: scale(1.06);
}

.construction-home-services-page .chs-service-tile--technical {
  background: linear-gradient(160deg, var(--chs-ink) 0%, var(--chs-ink-soft) 100%);
}

.construction-home-services-page .chs-service-tile__blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--chs-on-dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--chs-on-dark-line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
}

.construction-home-services-page .chs-service-tile__number {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 2;
  font-family: var(--chs-mono-font);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--chs-on-dark-muted);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.construction-home-services-page .chs-service-tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 60px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.construction-home-services-page .chs-service-tile__icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--chs-on-dark-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 8px;
  transition: border-color 0.3s ease;
}

.construction-home-services-page .chs-service-tile:hover .chs-service-tile__icon {
  border-color: var(--chs-accent);
  color: var(--chs-accent);
}

.construction-home-services-page .chs-service-tile__name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 19px;
}

.construction-home-services-page .chs-service-tile__tags {
  font-family: var(--chs-mono-font);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--chs-on-dark-muted);
}

.construction-home-services-page .chs-service-tile__arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--chs-on-dark-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.construction-home-services-page .chs-service-tile:hover .chs-service-tile__arrow {
  transform: translateX(4px);
  background: var(--chs-accent);
  border-color: var(--chs-accent);
  color: var(--chs-ink);
}

/* =========================================================
   SEARCH — SERVICE + LOCATION DISCOVERY
   ========================================================= */

.construction-home-services-page .chs-search {
  position: relative;
  z-index: 5;
  margin: -8px 0 56px;
}

.construction-home-services-page .chs-search__form {
  display: flex;
  align-items: stretch;
  background: var(--chs-surface);
  border: 1px solid var(--chs-border);
  border-radius: var(--chs-radius);
  padding: 10px;
  box-shadow: var(--box-shadow2);
}

.construction-home-services-page .chs-search__field {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 18px;
}

.construction-home-services-page .chs-search__label {
  display: block;
  font-family: var(--chs-mono-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chs-muted);
  margin-bottom: 4px;
}

.construction-home-services-page .chs-combobox {
  position: relative;
  display: flex;
  align-items: center;
}

.construction-home-services-page .chs-search__icon {
  color: var(--chs-accent-deep);
  font-size: 15px;
  margin-right: 10px;
  flex-shrink: 0;
}

.construction-home-services-page .chs-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--chs-ink);
  padding: 4px 0;
}

.construction-home-services-page .chs-search__input::placeholder {
  font-weight: 500;
  color: var(--chs-muted);
}

.construction-home-services-page .chs-search__input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
}

.construction-home-services-page .chs-search__input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.construction-home-services-page .chs-search__clear {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--chs-bg);
  color: var(--chs-muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.construction-home-services-page .chs-search__clear:hover {
  background: var(--chs-accent);
  color: var(--chs-ink);
}

.construction-home-services-page .chs-search__divider {
  width: 1px;
  align-self: stretch;
  background: var(--chs-border);
  margin: 6px 0;
  flex-shrink: 0;
}

.construction-home-services-page .chs-search__submit {
  flex-shrink: 0;
  align-self: center;
  margin: 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.construction-home-services-page .chs-search__status {
  margin: 14px 4px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--chs-muted);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.construction-home-services-page .chs-search__status.is-visible {
  opacity: 1;
  height: auto;
}

.construction-home-services-page .chs-search__status--hint {
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-search__status--empty {
  color: var(--chs-muted);
}

.construction-home-services-page .chs-search__status a {
  color: var(--chs-accent-deep);
  font-weight: 600;
  text-decoration: underline;
}

/* Combobox dropdown panel (shared by Service + Location) */

.construction-home-services-page .chs-combobox__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  right: -18px;
  z-index: 20;
  background: var(--chs-surface);
  border: 1px solid var(--chs-border);
  border-radius: var(--chs-radius-sm);
  box-shadow: var(--box-shadow2);
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.construction-home-services-page .chs-combobox__scroll {
  overflow-y: auto;
  max-height: 340px;
  padding-right: 4px;
}

.construction-home-services-page .chs-combobox__label {
  font-family: var(--chs-mono-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chs-muted);
  margin: 4px 10px 8px;
}

.construction-home-services-page .chs-combobox__list {
  display: flex;
  flex-direction: column;
}

.construction-home-services-page .chs-combobox__option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--chs-radius-sm);
  cursor: pointer;
  color: var(--chs-text);
  transition: background 0.15s ease, color 0.15s ease;
}

.construction-home-services-page .chs-combobox__option.is-active,
.construction-home-services-page .chs-combobox__option:hover {
  background: var(--chs-bg);
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-combobox__option-icon {
  width: 26px;
  flex-shrink: 0;
  text-align: center;
  color: var(--chs-accent);
  font-size: 14px;
}

.construction-home-services-page .chs-combobox__option-text {
  flex: 1;
  font-weight: 600;
  font-size: 14.5px;
}

.construction-home-services-page .chs-combobox__option-meta,
.construction-home-services-page .chs-combobox__option-tag {
  flex-shrink: 0;
  font-family: var(--chs-mono-font);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--chs-muted);
}

.construction-home-services-page .chs-combobox__option-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--chs-bg);
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-combobox__option--state {
  border: 1px dashed var(--chs-border);
}

.construction-home-services-page .chs-combobox__group {
  margin-bottom: 6px;
}

.construction-home-services-page .chs-combobox__group-label {
  font-family: var(--chs-mono-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chs-accent-deep);
  margin: 14px 10px 6px;
}

.construction-home-services-page .chs-combobox__group:first-child .chs-combobox__group-label {
  margin-top: 4px;
}

.construction-home-services-page .chs-combobox__empty {
  padding: 18px 10px;
  color: var(--chs-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.construction-home-services-page .chs-combobox__browse-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 12px 10px;
  border: none;
  border-top: 1px solid var(--chs-border);
  background: none;
  cursor: pointer;
  font-family: var(--chs-mono-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-combobox__browse-toggle i {
  transition: transform 0.3s ease;
}

.construction-home-services-page .chs-combobox__browse-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* =========================================================
   SECTION 02 — TRUST / EDUCATIONAL DIAGRAM
   ========================================================= */

.construction-home-services-page .chs-trust {
  background: var(--chs-ink);
  color: var(--chs-on-dark);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.construction-home-services-page .chs-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.construction-home-services-page .chs-trust__copy h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--chs-on-dark);
  margin: 16px 0 18px;
}

.construction-home-services-page .chs-trust__lede {
  font-size: 17px;
  color: var(--chs-on-dark-muted);
  margin: 0 0 34px;
}

.construction-home-services-page .chs-trust__list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.construction-home-services-page .chs-trust__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--chs-on-dark-line);
}

.construction-home-services-page .chs-trust__list li:last-child {
  border-bottom: 1px solid var(--chs-on-dark-line);
}

.construction-home-services-page .chs-trust__num {
  font-family: var(--chs-mono-font);
  color: var(--chs-accent);
  font-size: 13px;
  padding-top: 3px;
  min-width: 26px;
}

.construction-home-services-page .chs-trust__list h3 {
  color: var(--chs-on-dark);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.construction-home-services-page .chs-trust__list p {
  color: var(--chs-on-dark-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* Diagram */

.construction-home-services-page .chs-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.construction-home-services-page .chs-diagram__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.construction-home-services-page .chs-diagram__stem--top {
  width: 1px;
  height: 44px;
  background: var(--chs-on-dark-line);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s ease;
}

.construction-home-services-page .chs-reveal.is-visible .chs-diagram__stem--top {
  transform: scaleY(1);
}

.construction-home-services-page .chs-diagram__node {
  font-family: var(--chs-mono-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chs-on-dark);
  background: rgba(245, 242, 234, 0.06);
  border: 1px solid var(--chs-on-dark-line);
  border-radius: 999px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.construction-home-services-page .chs-diagram__tag {
  color: var(--chs-accent);
  font-weight: 700;
}

.construction-home-services-page .chs-diagram__hub-row {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.construction-home-services-page .chs-diagram__bar {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  height: 1px;
  background: var(--chs-on-dark-line);
  transform: scaleX(0);
  transition: transform 0.7s ease 0.15s;
}

.construction-home-services-page .chs-reveal.is-visible .chs-diagram__bar {
  transform: scaleX(1);
}

.construction-home-services-page .chs-diagram__bar::before,
.construction-home-services-page .chs-diagram__bar::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 60px;
  background: var(--chs-on-dark-line);
}

.construction-home-services-page .chs-diagram__bar::before {
  left: 0;
}

.construction-home-services-page .chs-diagram__bar::after {
  right: 0;
}

.construction-home-services-page .chs-diagram__hub {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--chs-ink);
  border: 1px solid var(--chs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--chs-accent);
  box-shadow: 0 0 0 6px rgba(36, 189, 199, 0.08);
}

.construction-home-services-page .chs-diagram__bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
  margin-top: 28px;
}

/* =========================================================
   SECTION 03 — EDITORIAL SHOWCASE
   ========================================================= */

.construction-home-services-page .chs-explore {
  background: var(--chs-surface);
  padding: 130px 0;
}

.construction-home-services-page .chs-section-head--explore {
  max-width: 620px;
}

.construction-home-services-page .chs-showcase {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.construction-home-services-page .chs-showcase__item {
  border-top: 1px solid var(--chs-border);
  padding: 64px 0;
}

.construction-home-services-page .chs-showcase__item:last-child {
  border-bottom: 1px solid var(--chs-border);
}

.construction-home-services-page .chs-showcase__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.construction-home-services-page .chs-showcase__media {
  order: 1;
  position: relative;
  border-radius: var(--chs-radius);
  overflow: hidden;
  height: 420px;
  background: transparent;
}

.construction-home-services-page .chs-showcase__item:nth-child(2) .chs-showcase__media { height: 480px; }
.construction-home-services-page .chs-showcase__item:nth-child(3) .chs-showcase__media { height: 360px; }
.construction-home-services-page .chs-showcase__item:nth-child(4) .chs-showcase__media { height: 440px; }
.construction-home-services-page .chs-showcase__item:nth-child(5) .chs-showcase__media { height: 400px; }

.construction-home-services-page .chs-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.construction-home-services-page .chs-showcase__link:hover .chs-showcase__media img {
  transform: scale(1.05);
}

.construction-home-services-page .chs-showcase__media--technical {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--chs-ink) 0%, var(--chs-ink-soft) 100%);
}

.construction-home-services-page .chs-showcase__media--technical i {
  position: relative;
  z-index: 1;
  font-size: 64px;
  color: var(--chs-accent);
}

.construction-home-services-page .chs-showcase__blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--chs-on-dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--chs-on-dark-line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

.construction-home-services-page .chs-showcase__info {
  order: 2;
}

.construction-home-services-page .chs-showcase__item--reverse .chs-showcase__media { order: 2; }
.construction-home-services-page .chs-showcase__item--reverse .chs-showcase__info { order: 1; }

.construction-home-services-page .chs-showcase__number {
  display: block;
  font-family: var(--chs-mono-font);
  font-size: 15px;
  color: var(--chs-accent-deep);
  margin-bottom: 16px;
}

.construction-home-services-page .chs-showcase__name {
  display: block;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--chs-ink);
  margin-bottom: 12px;
}

.construction-home-services-page .chs-showcase__tags {
  display: block;
  font-family: var(--chs-mono-font);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--chs-muted);
  margin-bottom: 24px;
}

.construction-home-services-page .chs-showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--chs-ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--chs-border);
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.construction-home-services-page .chs-showcase__link:hover .chs-showcase__cta {
  color: var(--chs-accent-deep);
  border-color: var(--chs-accent-deep);
  gap: 14px;
}

.construction-home-services-page .chs-showcase__link--static {
  cursor: default;
}

.construction-home-services-page .chs-showcase__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.construction-home-services-page .chs-showcase__city {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--chs-border);
  border-radius: 999px;
  background: none;
  font-family: var(--chs-mono-font);
  font-size: 12.5px;
  color: var(--chs-ink);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.construction-home-services-page .chs-showcase__city:hover {
  border-color: var(--chs-accent-deep);
  background: var(--chs-bg);
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-showcase__city-tag {
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--chs-muted);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--chs-bg);
}

.construction-home-services-page .chs-showcase__cta-link {
  margin-top: 24px;
}

/* =========================================================
   SECTION 04 — FAQ
   ========================================================= */

.construction-home-services-page .chs-faq {
  background: var(--chs-bg);
  padding: 130px 0 140px;
}

.construction-home-services-page .chs-faq__accordion {
  border-top: 1px solid var(--chs-border);
  max-width: 900px;
}

.construction-home-services-page .chs-faq__item {
  border-bottom: 1px solid var(--chs-border);
}

.construction-home-services-page .chs-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--heading-font);
  color: var(--chs-ink);
}

.construction-home-services-page .chs-faq__number {
  font-family: var(--chs-mono-font);
  font-size: 13px;
  color: var(--chs-accent-deep);
  min-width: 28px;
}

.construction-home-services-page .chs-faq__question-text {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.construction-home-services-page .chs-faq__item.is-open .chs-faq__question-text,
.construction-home-services-page .chs-faq__item.is-open .chs-faq__number {
  color: var(--chs-accent-deep);
}

.construction-home-services-page .chs-faq__toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.construction-home-services-page .chs-faq__toggle span {
  position: absolute;
  background: var(--chs-ink);
  transition: transform 0.3s ease;
}

.construction-home-services-page .chs-faq__toggle span:first-child {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.construction-home-services-page .chs-faq__toggle span:last-child {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.construction-home-services-page .chs-faq__item.is-open .chs-faq__toggle span:last-child {
  transform: translateX(-50%) rotate(90deg);
}

.construction-home-services-page .chs-faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.construction-home-services-page .chs-faq__answer-inner {
  padding: 0 4px 28px 48px;
  color: var(--chs-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
}

.construction-home-services-page .chs-faq__answer-inner a {
  color: var(--chs-accent-deep);
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE — 1440 / 1199
   ========================================================= */

@media (max-width: 1439px) {
  .construction-home-services-page .chs-hero__house {
    width: min(42vw, 520px);
  }
}

@media (max-width: 1199px) {
  .construction-home-services-page .chs-hero {
    padding: 170px 0 110px;
  }

  .construction-home-services-page .chs-hero__house {
    width: min(48vw, 460px);
    opacity: 0.85;
  }

  .construction-home-services-page .chs-services,
  .construction-home-services-page .chs-trust,
  .construction-home-services-page .chs-explore,
  .construction-home-services-page .chs-faq {
    padding: 110px 0;
  }

  .construction-home-services-page .chs-service-grid {
    grid-template-rows: 300px 200px;
  }

  .construction-home-services-page .chs-trust__grid {
    gap: 40px;
  }

  .construction-home-services-page .chs-showcase__link {
    gap: 36px;
  }

  .construction-home-services-page .chs-search__field {
    padding: 10px 14px;
  }
}

/* =========================================================
   RESPONSIVE — 991 (tablet)
   ========================================================= */

@media (max-width: 991px) {
  .construction-home-services-page .chs-hero {
    padding: 150px 0 90px;
  }

  .construction-home-services-page .chs-search__form {
    flex-direction: column;
    padding: 14px;
  }

  .construction-home-services-page .chs-search__field {
    padding: 10px 8px;
  }

  .construction-home-services-page .chs-search__divider {
    width: auto;
    height: 1px;
    align-self: stretch;
    margin: 2px 8px;
  }

  .construction-home-services-page .chs-search__submit {
    width: 100%;
    justify-content: center;
    margin: 8px 0 0;
  }

  .construction-home-services-page .chs-combobox__panel {
    left: -8px;
    right: -8px;
  }

  .construction-home-services-page .chs-hero__house {
    display: none;
  }

  .construction-home-services-page .chs-hero__grid {
    opacity: 0.4;
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  }

  .construction-home-services-page .chs-hero__content {
    max-width: 100%;
  }

  .construction-home-services-page .chs-service-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 260px 200px 200px;
    grid-template-areas:
      "gc gc"
      "plumb roof"
      "hvac elec"
      "remod remod";
  }

  .construction-home-services-page .chs-trust__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .construction-home-services-page .chs-diagram {
    min-height: 340px;
  }

  .construction-home-services-page .chs-showcase__link {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .construction-home-services-page .chs-showcase__item--reverse .chs-showcase__media,
  .construction-home-services-page .chs-showcase__item--reverse .chs-showcase__info {
    order: initial;
  }

  .construction-home-services-page .chs-showcase__item .chs-showcase__media {
    height: 340px !important;
  }
}

/* =========================================================
   RESPONSIVE — 767 (mobile)
   ========================================================= */

@media (max-width: 767px) {
  .construction-home-services-page .chs-hero {
    padding: 130px 0 70px;
  }

  .construction-home-services-page .chs-hero__title {
    font-size: clamp(34px, 9vw, 46px);
  }

  .construction-home-services-page .chs-hero__text {
    font-size: 16.5px;
  }

  .construction-home-services-page .chs-hero__tick {
    display: none;
  }

  .construction-home-services-page .chs-services,
  .construction-home-services-page .chs-trust,
  .construction-home-services-page .chs-explore,
  .construction-home-services-page .chs-faq {
    padding: 90px 0;
  }

  .construction-home-services-page .chs-section-head {
    margin-bottom: 44px;
  }

  .construction-home-services-page .chs-service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 240px);
    grid-template-areas:
      "gc"
      "plumb"
      "roof"
      "hvac"
      "elec"
      "remod";
  }

  .construction-home-services-page .chs-diagram__hub-row {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .construction-home-services-page .chs-diagram__bar {
    display: none;
  }

  .construction-home-services-page .chs-diagram__bottom {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
  }

  .construction-home-services-page .chs-showcase__item {
    padding: 44px 0;
  }

  .construction-home-services-page .chs-showcase__item .chs-showcase__media {
    height: 280px !important;
  }

  .construction-home-services-page .chs-faq__question {
    gap: 14px;
    padding: 22px 2px;
  }

  .construction-home-services-page .chs-faq__answer-inner {
    padding-left: 42px;
  }

  .construction-home-services-page .chs-showcase__cities {
    margin-top: 18px;
  }

  .construction-home-services-page .chs-showcase__cta-link {
    margin-top: 18px;
  }
}

/* =========================================================
   RESPONSIVE — 575 (small mobile)
   ========================================================= */

@media (max-width: 575px) {
  .construction-home-services-page .chs-hero {
    padding: 120px 0 60px;
  }

  .construction-home-services-page .chs-search {
    margin-bottom: 40px;
  }

  .construction-home-services-page .chs-search__form {
    padding: 10px;
  }

  .construction-home-services-page .chs-search__label {
    font-size: 10px;
  }

  .construction-home-services-page .chs-search__input {
    font-size: 15px;
  }

  .construction-home-services-page .chs-search__submit {
    padding: 12px 16px;
    font-size: 14.5px;
  }

  .construction-home-services-page .chs-combobox__panel {
    left: -2px;
    right: -2px;
    padding: 10px;
  }

  .construction-home-services-page .chs-combobox__scroll {
    max-height: 300px;
  }

  .construction-home-services-page .chs-showcase__city {
    padding: 8px 13px;
    font-size: 11.5px;
  }

  .construction-home-services-page .chs-coord ol {
    margin-bottom: 34px;
  }

  .construction-home-services-page .chs-hero__chips {
    gap: 8px;
  }

  .construction-home-services-page .chs-hero__chips a {
    padding: 8px 13px;
    font-size: 11.5px;
  }

  .construction-home-services-page .chs-service-tile__body {
    padding: 18px 54px 20px 18px;
  }

  .construction-home-services-page .chs-service-tile__name {
    font-size: 17px;
  }

  .construction-home-services-page .chs-showcase__name {
    font-size: 26px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .construction-home-services-page * {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
    transition-duration: 0.01s !important;
  }

  .construction-home-services-page .chs-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .construction-home-services-page .chs-draw {
    stroke-dashoffset: 0;
  }
}

/* =========================================================
   CONSTRUCTION & HOME SERVICES
   HEADER + HERO INTEGRATION
========================================================= */

/*
|--------------------------------------------------------------------------
| Pull the hero behind the global header
|--------------------------------------------------------------------------
|
| The global PLOCAL header remains exactly where it is in the HTML.
| We simply allow the CHS hero background to extend upward behind it.
|
*/

body:has(.chs-hero) .header {
    position: relative;
    z-index: 100;
    background: transparent;
}


/* Header top */

body:has(.chs-hero) .header-top {
    position: relative;
    z-index: 2;

    background: transparent;
    border-bottom: 1px solid var(--border-white-color);
}


/* Main navigation */

body:has(.chs-hero) .main-navigation {
    position: relative;
    z-index: 2;

    background: transparent;
}


/* =========================================================
   HERO BEHIND HEADER
========================================================= */

.chs-hero {
    /*
     * Approximate combined height:
     *
     * header-top       ≈ 40px
     * main-navigation ≈ 90px
     *
     * total            ≈ 130px
     */

    margin-top: -130px;

    /*
     * We compensate for the negative margin so the actual hero
     * content does not move underneath the navigation.
     */
    padding-top: 130px;

    position: relative;
    z-index: 1;
}


/* =========================================================
   MAKE HEADER CONTENT READABLE OVER HERO
========================================================= */

body:has(.chs-hero) .header-top a,
body:has(.chs-hero) .header-top span,
body:has(.chs-hero) .main-navigation .nav-link {
    color: var(--color-white);
}


body:has(.chs-hero) .header-top i {
    color: var(--theme-color);
}


/* White logo while header is over hero */

body:has(.chs-hero) .navbar-brand .logo-display {
    display: block;
}


body:has(.chs-hero) .navbar-brand .logo-scrolled {
    display: none;
}


/* =========================================================
   NAV LINK STATES
========================================================= */

body:has(.chs-hero) .main-navigation .nav-link:hover,
body:has(.chs-hero) .main-navigation .nav-link:focus,
body:has(.chs-hero) .main-navigation .nav-link.active {
    color: var(--theme-color);
}


/* =========================================================
   MOBILE TOGGLER
========================================================= */

body:has(.chs-hero) .navbar-toggler-btn-icon {
    color: var(--color-white);
}


/* =========================================================
   SCROLLED / STICKY HEADER
   Do not keep it transparent after scroll
========================================================= */

body:has(.chs-hero) .main-navigation.fixed-top,
body:has(.chs-hero) .main-navigation.navbar-fixed-top,
body:has(.chs-hero) .main-navigation.fixed-top-header {
    background: var(--color-white);
    box-shadow: var(--box-shadow);
}


/*
 * If your template adds one of these common sticky classes
 * directly to .header, restore the normal light navigation.
 */

body:has(.chs-hero) .header.fixed-top .main-navigation,
body:has(.chs-hero) .header.fixed .main-navigation,
body:has(.chs-hero) .header.sticky .main-navigation {
    background: var(--color-white);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    /*
     * Mobile header usually has no desktop top-bar height,
     * so the overlap is smaller.
     */

    .chs-hero {
        margin-top: -90px;
        padding-top: 90px;
    }

}


@media (max-width: 767px) {

    /*
     * If the top header disappears completely on mobile,
     * this keeps only the navbar integrated with the hero.
     */

    .chs-hero {
        margin-top: -80px;
        padding-top: 80px;
    }

}

/* =========================================================
   PLOCAL
   CONSTRUCTION & HOME SERVICES
   STATE / CITY EXPLORER
========================================================= */

.chs-explore {
    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background: var(--color-white);
}


/* =========================================================
   AMBIENT BACKGROUND
========================================================= */

.chs-explore::before {
    content: "";

    position: absolute;
    top: 15%;
    left: -180px;

    width: 460px;
    height: 460px;

    border-radius: 50%;

    background: var(--theme-bg-light);

    filter: blur(20px);

    pointer-events: none;
}


.chs-explore::after {
    content: "";

    position: absolute;
    right: -200px;
    bottom: 5%;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: var(--theme-bg-light);

    filter: blur(30px);

    pointer-events: none;
}


.chs-explore > .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.chs-section-head--explore {
    max-width: 760px;

    margin-bottom: 70px;
}


.chs-section-head--explore h2 {
    margin-bottom: 20px;

    color: var(--color-dark);

    font-family: var(--heading-font);
    font-size: var(--font-size-h2);
    font-weight: var(--heading-weight);
    line-height: var(--heading-line-height);
    letter-spacing: var(--heading-letter-spacing);
}


.chs-section-head--explore p {
    max-width: 680px;

    margin: 0;

    color: var(--body-text-color);

    font-family: var(--body-font);
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   DIRECTORY
========================================================= */

.chs-state-directory {
    display: flex;
    flex-direction: column;

    gap: 100px;
}


/* =========================================================
   STATE CARD
========================================================= */

.chs-state-card {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1.04fr)
        minmax(420px, 0.96fr);

    gap: 52px;

    align-items: stretch;
}


/* Alternating layout */

.chs-state-card--reverse
.chs-state-card__visual {
    order: 2;
}


.chs-state-card--reverse
.chs-state-card__panel {
    order: 1;
}


/* =========================================================
   VISUAL COLUMN
========================================================= */

.chs-state-card__visual {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.chs-state-card__visual-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 500px;

    border-radius: 30px;
}


/* =========================================================
   CALIFORNIA MAP
========================================================= */

.chs-state-card__visual-frame--map {
    background:
        radial-gradient(
            circle at 50% 48%,
            var(--theme-bg-light),
            transparent 58%
        );
}


.chs-state-card__visual-frame--map::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    opacity: 0.10;

    background-image:
        linear-gradient(
            var(--border-info-color2) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--border-info-color2) 1px,
            transparent 1px
        );

    background-size: 54px 54px;
}


.chs-state-card__visual-frame--map::after {
    content: "";

    position: absolute;

    width: 440px;
    height: 440px;

    border: 1px solid rgba(36, 189, 199, 0.16);
    border-radius: 50%;

    box-shadow:
        0 0 0 65px rgba(36, 189, 199, 0.04),
        0 0 0 130px rgba(36, 189, 199, 0.025);

    opacity: 0.8;

    pointer-events: none;
}


/* =========================================================
   MAP DECORATION
========================================================= */

.chs-state-card__orbit {
    position: absolute;

    border: 2px solid rgba(98, 211, 218, 0.38);
    border-radius: 50%;

    pointer-events: none;
}


.chs-state-card__orbit--one {
    width: 440px;
    height: 440px;

    left: -80px;
    bottom: -100px;
}


.chs-state-card__orbit--two {
    width: 270px;
    height: 270px;

    top: -80px;
    right: -45px;
}


.chs-state-card__dot-pattern {
    position: absolute;
    top: 26px;
    right: 28px;

    width: 110px;
    height: 80px;

    opacity: 0.28;

    background-image:
        radial-gradient(
            circle,
            var(--theme-color) 2px,
            transparent 2.5px
        );

    background-size: 14px 14px;
}


/* =========================================================
   IMAGE
========================================================= */

.chs-state-card__image {
    position: none;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}


.chs-state-card:hover
.chs-state-card__image:not(.chs-state-card__image--map) {
    transform: scale(1.035);
}


.chs-state-card__image--map {
    position: relative;
    inset: auto;

    z-index: 2;

    width: 94%;
    height: auto;

    max-height: 455px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 18px rgba(8, 29, 77, 0.22)
        );

    transition: transform 0.55s ease;
}


.chs-state-card:hover
.chs-state-card__image--map {
    transform:
        translateY(-5px)
        scale(1.018);
}


/* =========================================================
   PHOTO OVERLAY
========================================================= */


/* =========================================================
   PHOTO LABEL
========================================================= */

.chs-state-card__visual-label {
    position: absolute;
    z-index: 3;

    left: 30px;
    bottom: 28px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 13px 18px;

    border: 1px solid var(--border-white-color);
    border-radius: 16px;

    background: rgba(8, 29, 77, 0.78);

    backdrop-filter: blur(12px);

    color: var(--color-white);
}


.chs-state-card__visual-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: var(--theme-color);

    color: var(--color-white);
}


.chs-state-card__visual-label > span:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.chs-state-card__visual-label strong {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
}


.chs-state-card__visual-label small {
    color: var(--footer-text-color);

    font-family: var(--body-font);
    font-size: 11px;
}


/* =========================================================
   CITY AVAILABILITY
   Now lives underneath each map / visual.
========================================================= */

.chs-state-card__availability {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-top: 18px;
}


.chs-state-card__availability-item {
    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 13px;

    min-height: 58px;

    padding: 8px 14px 8px 9px;

    border: 1px solid var(--border-info-color2);
    border-radius: 15px;

    background: var(--color-white);

    box-shadow:
        0 7px 24px rgba(12, 44, 122, 0.055);

    color: var(--color-dark);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


a.chs-state-card__availability-item:hover {
    transform: translateY(-2px);

    border-color: var(--theme-color);

    box-shadow: var(--box-shadow);
}


.chs-state-card__availability-item--active {
    border-color: rgba(36, 189, 199, 0.42);
}


.chs-state-card__availability-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border-info-color);
    border-radius: 50%;

    background: var(--theme-bg-light);

    color: var(--theme-color);

    font-size: 13px;
}


.chs-state-card__availability-city {
    color: var(--color-dark);

    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;
}


.chs-state-card__availability-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 6px 11px;

    border-radius: 999px;

    background: var(--color-gray);

    color: var(--body-text-color);

    font-family: var(--body-font);
    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.chs-state-card__availability-status--active {
    background: var(--theme-color-light);

    color: var(--theme-color2);
}


.chs-state-card__availability-status--active i {
    color: var(--theme-color);

    font-size: 5px;
}


/* =========================================================
   RIGHT INFORMATION PANEL
========================================================= */

.chs-state-card__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-width: 0;

    border: 1px solid var(--border-info-color2);
    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            var(--color-white),
            rgba(217, 245, 247, 0.18)
        );

    box-shadow: var(--box-shadow);
}


.chs-state-card__panel-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 140px 46px 171px;
}

/* =========================================================
   PANEL DECORATION
========================================================= */

.chs-state-card__contours {
    position: absolute;
    z-index: 1;

    top: -85px;
    right: -85px;

    width: 300px;
    height: 300px;

    border: 1px solid var(--border-info-color);
    border-radius: 50%;

    opacity: 0.58;

    box-shadow:
        0 0 0 35px var(--border-info-color2),
        0 0 0 70px var(--border-info-color2),
        0 0 0 105px var(--border-info-color2);
}


.chs-state-card__panel-dots {
    position: absolute;
    z-index: 1;

    right: 35px;
    bottom: 38px;

    width: 90px;
    height: 70px;

    opacity: 0.27;

    background-image:
        radial-gradient(
            circle,
            var(--theme-color) 2px,
            transparent 2.5px
        );

    background-size: 14px 14px;
}


/* Accent line */

.chs-state-card__panel::before {
    content: "";

    position: absolute;
    z-index: 2;

    left: 0;
    top: 105px;

    width: 3px;
    height: 190px;

    border-radius: 999px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--theme-color),
            transparent
        );
}


/* =========================================================
   STATE HEADING
========================================================= */

.chs-state-card__heading {
    position: relative;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--border-info-color2);
}


.chs-state-card__number-row {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}


.chs-state-card__number {
    color: var(--theme-color2);

    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.05em;
}


.chs-state-card__number-line {
    display: block;

    width: 38px;
    height: 2px;

    border-radius: 999px;

    background: var(--theme-color);
}


.chs-state-card__heading h3 {
    margin: 0 0 17px;

    color: var(--color-dark);

    font-family: var(--heading-font);
    font-size: var(--heading-size-h3);
    font-weight: var(--heading-weight);

    line-height: 1;
    letter-spacing: var(--heading-letter-spacing);
}


.chs-state-card__count {
    display: block;

    margin-bottom: 17px;

    color: var(--theme-color);

    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.chs-state-card__heading p {
    max-width: 500px;

    margin: 0;

    color: var(--body-text-color);

    font-family: var(--body-font);
    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   METRICS
========================================================= */

.chs-state-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    margin-top: auto;

    padding: 20px 0;

    border: 1px solid var(--border-info-color2);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.72);
}


.chs-state-card__metric {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;

    padding: 0 15px;
}


.chs-state-card__metric +
.chs-state-card__metric {
    border-left: 1px solid var(--border-info-color);
}


.chs-state-card__metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    border-radius: 10px;

    background: var(--theme-bg-light);

    color: var(--theme-color);

    font-size: 14px;
}


.chs-state-card__metric-copy {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 2px;
}


.chs-state-card__metric-copy strong {
    overflow: hidden;

    color: var(--color-dark);

    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.chs-state-card__metric-copy small {
    overflow: hidden;

    color: var(--body-text-color);

    font-family: var(--body-font);
    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   CTA
========================================================= */

.chs-state-card__cta {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 11px;

    margin-top: 22px;

    color: var(--theme-color2);

    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;

    transition: var(--transition2);
}


.chs-state-card__cta i {
    color: var(--theme-color);

    transition: transform 0.3s ease;
}


.chs-state-card__cta:hover {
    color: var(--theme-color);
}


.chs-state-card__cta:hover i {
    transform: translateX(5px);
}


/* =========================================================
   COMING SOON VISUAL
========================================================= */

.chs-state-card__visual-frame--coming {
    flex-direction: column;

    padding: 55px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(36, 189, 199, 0.24),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            var(--theme-color2),
            var(--color-dark)
        );
}


.chs-state-card__blueprint-grid {
    position: absolute;
    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            var(--border-white-color) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--border-white-color) 1px,
            transparent 1px
        );

    background-size: 46px 46px;
}


.chs-state-card__coming-icon {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    margin-bottom: 25px;

    border: 1px solid var(--border-white-color);
    border-radius: 50%;

    background: var(--slider-arrow-bg);

    color: var(--theme-color);

    font-size: 36px;

    box-shadow:
        0 0 0 18px var(--border-white-color2);
}


.chs-state-card__coming-copy {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


.chs-state-card__coming-copy strong {
    color: var(--color-white);

    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 700;
}


.chs-state-card__coming-copy span {
    color: var(--footer-text-color);

    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
}


.chs-state-card__coming-copy small {
    color: var(--theme-color);

    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================================
   RESPONSIVE — DESKTOP / LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .chs-state-card {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(380px, 1.05fr);

        gap: 32px;
    }


    .chs-state-card__visual-frame {
        min-height: 460px;
    }


    .chs-state-card__panel-inner {
        padding: 38px 30px 32px;
    }


    .chs-state-card__heading h3 {
        font-size: clamp(38px, 4vw, 52px);
    }


    .chs-state-card__metrics {
        grid-template-columns: 1fr;

        gap: 13px;

        margin-top: 30px;

        padding: 16px;
    }


    .chs-state-card__metric {
        padding: 0;
    }


    .chs-state-card__metric +
    .chs-state-card__metric {
        padding-top: 12px;

        border-top: 1px solid var(--border-info-color2);
        border-left: 0;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .chs-explore {
        padding: 90px 0;
    }


    .chs-state-directory {
        gap: 80px;
    }


    .chs-state-card {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .chs-state-card--reverse
    .chs-state-card__visual,
    .chs-state-card--reverse
    .chs-state-card__panel {
        order: initial;
    }


    .chs-state-card__visual-frame {
        min-height: 500px;
    }


    .chs-state-card__image--map {
        max-height: 430px;
    }


    .chs-state-card__panel {
        min-height: auto;
    }


    .chs-state-card__metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 0;

        margin-top: 30px;

        padding: 18px 0;
    }


    .chs-state-card__metric {
        padding: 0 14px;
    }


    .chs-state-card__metric +
    .chs-state-card__metric {
        padding-top: 0;

        border-top: 0;
        border-left: 1px solid var(--border-info-color);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .chs-explore {
        padding: 75px 0;
    }


    .chs-section-head--explore {
        margin-bottom: 48px;
    }


    .chs-state-directory {
        gap: 65px;
    }


    .chs-state-card__visual-frame {
        min-height: 390px;

        border-radius: 22px;
    }


    .chs-state-card__image--map {
        width: 96%;

        max-height: 350px;
    }


    .chs-state-card__availability {
        gap: 8px;

        margin-top: 14px;
    }


    .chs-state-card__availability-item {
        min-height: 54px;

        grid-template-columns:
            38px
            minmax(0, 1fr)
            auto;

        padding-right: 11px;
    }


    .chs-state-card__availability-pin {
        width: 34px;
        height: 34px;
    }


    .chs-state-card__availability-city {
        font-size: 13px;
    }


    .chs-state-card__panel {
        border-radius: 22px;
    }


    .chs-state-card__panel-inner {
        padding: 30px 20px 25px;
    }


    .chs-state-card__heading h3 {
        font-size: 38px;
    }


    .chs-state-card__heading p {
        font-size: 14px;
    }


    .chs-state-card__metrics {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 26px;

        padding: 16px;
    }


    .chs-state-card__metric {
        padding: 0;
    }


    .chs-state-card__metric +
    .chs-state-card__metric {
        padding-top: 12px;

        border-top: 1px solid var(--border-info-color2);
        border-left: 0;
    }


    .chs-state-card__visual-frame--coming {
        padding: 35px 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .chs-state-card__visual-frame {
        min-height: 320px;
    }


    .chs-state-card__heading h3 {
        font-size: 34px;
    }


    .chs-state-card__availability-status {
        padding: 5px 8px;

        font-size: 8px;
    }


    .chs-state-card__availability-city {
        font-size: 12px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .chs-state-card__image,
    .chs-state-card__availability-item,
    .chs-state-card__cta,
    .chs-state-card__cta i {
        transition: none;
    }


    .chs-state-card:hover
    .chs-state-card__image--map,
    .chs-state-card:hover
    .chs-state-card__image:not(.chs-state-card__image--map) {
        transform: none;
    }


    a.chs-state-card__availability-item:hover {
        transform: none;
    }

}

/* =========================================================
   STATE INFO PANEL — COMPACT VERSION
   Prevent right card from stretching unnecessarily
========================================================= */

.chs-state-card {
    align-items: start;
}


/* Right card uses only the height its content needs */

.chs-state-card__panel {
    align-self: start;

    width: 100%;

    min-height: 0;
}


/* Do not force panel content to fill the entire column */

.chs-state-card__panel-inner {
    height: auto;

    padding: 38px 42px 32px;
}


/* =========================================================
   HEADING
========================================================= */

.chs-state-card__heading {
    padding-bottom: 26px;
}


.chs-state-card__number-row {
    margin-bottom: 17px;
}


.chs-state-card__heading h3 {
    margin-bottom: 15px;
}


.chs-state-card__count {
    margin-bottom: 14px;
}


.chs-state-card__heading p {
    max-width: 520px;

    line-height: 1.65;
}


/* =========================================================
   METRICS
   No longer pushed to the bottom of a stretched card
========================================================= */

.chs-state-card__metrics {
    margin-top: 26px;

    padding: 17px 0;
}


/* =========================================================
   CTA
========================================================= */

.chs-state-card__cta {
    margin-top: 20px;
}


/* =========================================================
   DECORATIVE ELEMENTS
   Adapt them to the smaller card
========================================================= */

.chs-state-card__contours {
    top: -120px;
    right: -100px;

    width: 280px;
    height: 280px;

    opacity: 0.45;
}


.chs-state-card__panel-dots {
    right: 28px;
    bottom: 24px;
}


/* Shorter vertical accent line */

.chs-state-card__panel::before {
    top: 95px;

    height: 150px;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .chs-state-card__panel-inner {
        padding: 34px 30px 28px;
    }


    .chs-state-card__metrics {
        margin-top: 24px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 991px) {

    .chs-state-card__panel {
        align-self: stretch;
    }


    .chs-state-card__panel-inner {
        padding: 34px 30px 30px;
    }

}


@media (max-width: 767px) {

    .chs-state-card__panel-inner {
        padding: 28px 20px 24px;
    }


    .chs-state-card__heading {
        padding-bottom: 22px;
    }


    .chs-state-card__metrics {
        margin-top: 22px;
    }


    .chs-state-card__cta {
        margin-top: 18px;
    }

}

/* ==========================================================
   MAP VISUAL BACKGROUND
========================================================== */

.chs-state-card__visual-frame--map {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(217, 245, 247, 0.72) 0%,
            rgba(217, 245, 247, 0.38) 34%,
            rgba(255, 255, 255, 0) 66%
        ),
        var(--color-white);

    border-radius: 28px;
}


/* ==========================================================
   LARGE SOFT CIRCLE
========================================================== */

.chs-state-card__visual-frame--map::before {
    content: "";

    position: absolute;

    width: 78%;
    aspect-ratio: 1;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border: 1px solid rgba(36, 189, 199, 0.13);

    box-shadow:
        0 0 0 70px rgba(36, 189, 199, 0.025),
        0 0 0 140px rgba(12, 44, 122, 0.018);

    pointer-events: none;
    z-index: 0;
}


/* ==========================================================
   SUBTLE BACKGROUND GLOW
========================================================== */

.chs-state-card__visual-frame--map::after {
    content: "";

    position: absolute;

    width: 340px;
    height: 340px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(98, 211, 218, 0.08) 0%,
            rgba(36, 189, 199, 0.035) 45%,
            transparent 72%
        );

    pointer-events: none;
    z-index: 0;
}


/* ==========================================================
   ORBIT ONE
========================================================== */

.chs-state-card__orbit--one {
    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    bottom: -285px;

    border-radius: 50%;

    border: 2px solid rgba(36, 189, 199, 0.34);

    pointer-events: none;
    z-index: 1;
}


/* ==========================================================
   ORBIT TWO
========================================================== */

.chs-state-card__orbit--two {
    position: absolute;

    width: 420px;
    height: 420px;

    right: -190px;
    top: -250px;

    border-radius: 50%;

    border: 2px solid rgba(98, 211, 218, 0.4);

    pointer-events: none;
    z-index: 1;
}


/* ==========================================================
   DOT PATTERN
========================================================== */

.chs-state-card__dot-pattern {
    position: absolute;

    top: 28px;
    right: 30px;

    width: 105px;
    height: 82px;

    background-image:
        radial-gradient(
            circle,
            rgba(36, 189, 199, 0.42) 2.2px,
            transparent 2.5px
        );

    background-size: 14px 14px;

    opacity: 0.75;

    pointer-events: none;
    z-index: 1;
}


/* ==========================================================
   MAP IMAGE
========================================================== */

.chs-state-card__image--map {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 18px 24px rgba(12, 44, 122, 0.14)
        );
}


/* =========================================================
   PLOCAL
   STATE CITY AVAILABILITY — INFINITE MARQUEE
========================================================= */

.chs-state-card__availability {
    position: relative;

    width: 100%;

    margin-top: 18px;

    overflow: hidden;
}


/* =========================================================
   CITY MARQUEE TRACK
   2 COLUMNS VISIBLE
========================================================= */

.chs-city-marquee__track {
    display: grid;

    /* Items continue horizontally */
    grid-auto-flow: column;

    /* Exactly 2 cards visible */
    grid-auto-columns: calc((100% - 10px) / 2);

    align-items: stretch;

    gap: 10px;

    width: 100%;

    will-change: transform;

    backface-visibility: hidden;
}

/* =========================================================
   TWO CARDS VISIBLE AT A TIME
========================================================= */

.chs-city-marquee
.chs-state-card__availability-item {
    flex:
        0
        0
        calc((100% - 10px) / 2);

    min-width: 0;
}


/* =========================================================
   CITY CARD
   Keeps the visual style you already have
========================================================= */

.chs-state-card__availability-item {
    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    min-height: 58px;

    padding:
        8px
        12px
        8px
        9px;

    border:
        1px solid
        var(--border-info-color2);

    border-radius: 15px;

    background: var(--color-white);

    box-shadow:
        0 7px 24px
        rgba(12, 44, 122, 0.055);

    color: var(--color-dark);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Active / clickable */

a.chs-state-card__availability-item {
    text-decoration: none;
}


a.chs-state-card__availability-item:hover {
    border-color: var(--theme-color);

    box-shadow: var(--box-shadow);

    color: var(--color-dark);
}


.chs-state-card__availability-item--active {
    border-color:
        rgba(36, 189, 199, 0.42);
}


/* =========================================================
   PIN
========================================================= */

.chs-state-card__availability-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border:
        1px solid
        var(--border-info-color);

    border-radius: 50%;

    background: var(--theme-bg-light);

    color: var(--theme-color);

    font-size: 12px;

    flex-shrink: 0;
}


/* =========================================================
   CITY NAME
========================================================= */

.chs-state-card__availability-city {
    min-width: 0;

    color: var(--color-dark);

    font-family: var(--heading-font);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;
}


/* =========================================================
   STATUS
========================================================= */

.chs-state-card__availability-status {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;

    padding:
        5px
        9px;

    border-radius: 999px;

    background: var(--color-gray);

    color: var(--body-text-color);

    font-family: var(--body-font);

    font-size: 8px;
    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.chs-state-card__availability-status--active {
    background: var(--theme-color-light);

    color: var(--theme-color2);
}


.chs-state-card__availability-status--active i {
    color: var(--theme-color);

    font-size: 5px;
}


/* =========================================================
   SUBTLE EDGE FADES
========================================================= */

.chs-city-marquee::before,
.chs-city-marquee::after {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;

    z-index: 4;

    width: 18px;

    pointer-events: none;
}


.chs-city-marquee::before {
    left: 0;

    background:
        linear-gradient(
            90deg,
            var(--color-white),
            transparent
        );
}


.chs-city-marquee::after {
    right: 0;

    background:
        linear-gradient(
            -90deg,
            var(--color-white),
            transparent
        );
}


/* =========================================================
   CALIFORNIA
   3 unique cards
   Distance:
   3 × (50% + 5px)
   = 150% + 15px
========================================================= */

.chs-city-marquee--california
.chs-city-marquee__track {
    animation:
        chsCaliforniaCities
        24s
        linear
        infinite;
}


@keyframes chsCaliforniaCities {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(
                calc(-150% - 15px),
                0,
                0
            );
    }

}


/* =========================================================
   TEXAS
   5 unique cards
========================================================= */

.chs-city-marquee--texas
.chs-city-marquee__track {
    animation:
        chsTexasCities
        38s
        linear
        infinite;
}


@keyframes chsTexasCities {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(
                calc(-250% - 25px),
                0,
                0
            );
    }

}


/* =========================================================
   FLORIDA
   5 unique cards
========================================================= */

.chs-city-marquee--florida
.chs-city-marquee__track {
    animation:
        chsFloridaCities
        38s
        linear
        infinite;
}


@keyframes chsFloridaCities {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(
                calc(-250% - 25px),
                0,
                0
            );
    }

}


/* =========================================================
   PAUSE WHEN USER INTERACTS
========================================================= */

.chs-city-marquee:hover
.chs-city-marquee__track,
.chs-city-marquee:focus-within
.chs-city-marquee__track {
    animation-play-state: paused;
}


/* =========================================================
   SMALL HOVER DETAIL
========================================================= */

.chs-state-card__availability-item:hover
.chs-state-card__availability-pin {
    border-color:
        rgba(36, 189, 199, 0.35);

    background: var(--theme-color-light);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .chs-state-card__availability-item {
        min-height: 56px;
    }


    .chs-state-card__availability-city {
        font-size: 12px;
    }

}


/* =========================================================
   MOBILE
   One card visible at a time
========================================================= */

@media (max-width: 575px) {

    .chs-city-marquee
    .chs-state-card__availability-item {
        flex-basis: 100%;
    }


    /*
        California:
        3 × (100% + 10px)
    */

    .chs-city-marquee--california
    .chs-city-marquee__track {
        animation-name:
            chsCaliforniaCitiesMobile;

        animation-duration: 22s;
    }


    @keyframes chsCaliforniaCitiesMobile {

        from {
            transform: translate3d(0, 0, 0);
        }

        to {
            transform:
                translate3d(
                    calc(-300% - 30px),
                    0,
                    0
                );
        }

    }


    /*
        Texas
    */

    .chs-city-marquee--texas
    .chs-city-marquee__track {
        animation-name:
            chsTexasCitiesMobile;

        animation-duration: 36s;
    }


    @keyframes chsTexasCitiesMobile {

        from {
            transform: translate3d(0, 0, 0);
        }

        to {
            transform:
                translate3d(
                    calc(-500% - 50px),
                    0,
                    0
                );
        }

    }


    /*
        Florida
    */

    .chs-city-marquee--florida
    .chs-city-marquee__track {
        animation-name:
            chsFloridaCitiesMobile;

        animation-duration: 36s;
    }


    @keyframes chsFloridaCitiesMobile {

        from {
            transform: translate3d(0, 0, 0);
        }

        to {
            transform:
                translate3d(
                    calc(-500% - 50px),
                    0,
                    0
                );
        }

    }


    .chs-state-card__availability-item {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            auto;
    }

}


/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .chs-city-marquee {
        overflow-x: auto;
    }


    .chs-city-marquee__track {
        animation: none !important;

        transform: none !important;
    }


    .chs-city-marquee
    [data-duplicate="true"] {
        display: none;
    }

}

/* =========================================
   CITY AVAILABILITY MARQUEE
========================================= */

.chs-state-card__availability {
    position: relative;
    width: 100%;
    margin-top: 18px;
    overflow: hidden;
}

.chs-city-marquee__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 10px) / 5);
    gap: 2px;

    width: max-content;

    align-items: stretch;

    will-change: transform;
    backface-visibility: hidden;
}

.chs-city-marquee .chs-state-card__availability-item {
    width: 100%;
    min-width: 0;
}