:root {
  --home-ink: #092047;
  --home-muted: #64748b;
  --home-line: #d9e2ef;
  --home-blue: #0b57d0;
  --home-cyan: #4bd2eb;
  --home-yellow: #ffbd2e;
  --home-night: #061a38;
}

.home-page { overflow: hidden; color: var(--home-ink); }

.home-stage {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  padding: clamp(3.25rem, 7vw, 6.75rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  background: var(--home-night);
  color: #fff;
}

.home-stage::before,
.home-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.home-stage::before {
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.home-stage::after {
  width: 38rem;
  height: 38rem;
  right: -16rem;
  bottom: -25rem;
  border: 1px solid rgba(75, 210, 235, .5);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(75, 210, 235, .025), 0 0 0 10rem rgba(75, 210, 235, .018);
}

.home-stage__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.home-stage__copy { max-width: 760px; }

.home-stage__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.3rem;
  color: var(--home-cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-stage__brand::before { width: 2.3rem; height: 2px; background: var(--home-yellow); content: ""; }
.home-stage__brand span { color: rgba(255,255,255,.62); font-weight: 650; letter-spacing: .04em; }

.home-stage h1 {
  max-width: 760px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.home-stage__summary {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
}

.home-stage__search { max-width: 720px; margin-top: 2rem; }
.home-stage__search-label { display: block; margin-bottom: .55rem; color: #fff; font-size: .84rem; font-weight: 700; }
.home-stage__search .well { margin: 0; padding: 0; background: transparent; }
.home-stage__search .row { margin: 0; }
.home-stage__search .form-group { padding: 0; }
.home-stage__search input[type="text"] {
  width: 100%;
  min-height: 4rem;
  padding: 0 1.2rem;
  border: 2px solid transparent;
  border-radius: .85rem;
  background: #fff;
  color: var(--home-ink);
  font-size: 1rem;
  box-shadow: 0 20px 45px rgba(0,0,0,.24);
}
.home-stage__search input[type="text"]:focus { border-color: var(--home-cyan); box-shadow: 0 20px 45px rgba(0,0,0,.24), 0 0 0 4px rgba(75,210,235,.18); }
.home-stage__search > p { margin: .65rem 0 0; color: rgba(255,255,255,.52); font-size: .78rem; }

.home-stage__links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.3rem; }
.home-stage__links a { color: #fff; font-size: .84rem; text-decoration-color: rgba(255,255,255,.35); }
.home-stage__links a:hover { color: var(--home-cyan); }

.home-route-visual {
  position: relative;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 1px solid rgba(255,255,255,.16);
}
.home-route-visual__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; color: rgba(255,255,255,.62); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.home-route-visual__head b { color: var(--home-yellow); }
.home-route-visual ol { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.home-route-visual ol::before { position: absolute; top: 1.2rem; bottom: 1.2rem; left: 1.15rem; width: 2px; background: rgba(75,210,235,.45); content: ""; }
.home-route-visual li { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 5rem; }
.home-route-visual i { z-index: 1; display: grid; flex: 0 0 2.35rem; width: 2.35rem; height: 2.35rem; place-items: center; border: 2px solid var(--home-cyan); border-radius: 50%; background: var(--home-night); color: #fff; font-size: .75rem; font-style: normal; font-weight: 800; }
.home-route-visual li:last-child i { border-color: var(--home-yellow); background: var(--home-yellow); color: var(--home-night); }
.home-route-visual strong, .home-route-visual small { display: block; }
.home-route-visual strong { color: #fff; font-size: 1rem; }
.home-route-visual small { margin-top: .15rem; color: rgba(255,255,255,.56); }

.home-capabilities { border-bottom: 1px solid var(--home-line); background: #fff; }
.home-capabilities__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-capabilities__grid > div { padding: 1.6rem clamp(.8rem, 2vw, 1.6rem); border-right: 1px solid var(--home-line); }
.home-capabilities__grid > div:first-child { padding-left: 0; }
.home-capabilities__grid > div:last-child { border-right: 0; }
.home-capabilities strong, .home-capabilities span { display: block; }
.home-capabilities strong { font-size: .92rem; }
.home-capabilities span { margin-top: .3rem; color: var(--home-muted); font-size: .77rem; line-height: 1.45; }

.home-directory, .home-how { padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.home-kicker { margin: 0 0 .55rem; color: var(--home-blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.045em; }
.home-section-heading p:not(.home-kicker) { max-width: 620px; margin: .7rem 0 0; color: var(--home-muted); }

.home-directory__search { flex: 0 0 min(100%, 20rem); }
.home-directory__search span { display: block; margin-bottom: .4rem; color: var(--home-muted); font-size: .72rem; font-weight: 700; }
.home-directory__search input { width: 100%; min-height: 3rem; padding: 0 .9rem; border: 1px solid var(--home-line); border-radius: .55rem; background: #fff; }

.home-directory__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 2rem; margin: 0; padding: 0; border-top: 1px solid var(--home-line); list-style: none; }
.home-directory__grid li { min-width: 0; border-bottom: 1px solid var(--home-line); }
.home-directory__grid a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.7rem; color: var(--home-ink); font-size: .9rem; font-weight: 680; text-decoration: none; }
.home-directory__grid a b { color: var(--home-blue); transition: transform .18s ease; }
.home-directory__grid a:hover { color: var(--home-blue); }
.home-directory__grid a:hover b { transform: translateX(4px); }
.home-directory__empty { margin: 1rem 0; color: var(--home-muted); }
.home-directory__count { margin: 1rem 0 0; color: var(--home-muted); font-size: .76rem; }

.home-cities { background: var(--home-night); color: #fff; }
.home-cities > .container { padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.home-cities .home-kicker { color: var(--home-cyan); }
.home-cities .home-section-heading h2 { color: #fff !important; }
.home-cities .home-section-heading p:not(.home-kicker), .home-directory__search--light span { color: rgba(255,255,255,.6); }
.home-cities .home-directory__grid { border-color: rgba(255,255,255,.14); }
.home-cities .home-directory__grid li { border-color: rgba(255,255,255,.14); }
.home-cities .home-directory__grid a { color: #fff; }
.home-cities .home-directory__grid a b { color: var(--home-yellow); }
.home-cities .home-directory__grid a:hover { color: var(--home-cyan); }
.home-directory__count--light { color: rgba(255,255,255,.5); }

.home-how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); list-style: none; }
.home-how__steps li { padding: 2rem clamp(1rem, 3vw, 2.5rem); border-right: 1px solid var(--home-line); }
.home-how__steps li:first-child { padding-left: 0; }
.home-how__steps li:last-child { border-right: 0; }
.home-how__steps span { color: var(--home-blue); font-size: .72rem; font-weight: 800; }
.home-how__steps strong { display: block; margin-top: 1rem; font-size: 1.05rem; }
.home-how__steps p { margin: .55rem 0 0; color: var(--home-muted); font-size: .86rem; line-height: 1.6; }
.home-source-note { display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--home-yellow); color: var(--home-muted); font-size: .8rem; }

.home-editorial { padding-top: 3rem; padding-bottom: 0; color: var(--home-muted); line-height: 1.75; }
.home-editorial img { max-width: 100%; height: auto; }

.home-enhanced [data-home-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.home-enhanced [data-home-reveal].is-visible { opacity: 1; transform: none; }
.home-enhanced .home-stage__copy { animation: homeEnter .7s ease both; }
.home-enhanced .home-route-visual { animation: homeEnter .7s .14s ease both; }
@keyframes homeEnter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
  .home-stage__layout { grid-template-columns: 1fr; }
  .home-route-visual { max-width: 620px; padding-left: 0; border-left: 0; }
  .home-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .home-capabilities__grid > div:nth-child(2) { border-right: 0; }
  .home-capabilities__grid > div:first-child { padding-left: 1rem; }
  .home-directory__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767.98px) {
  .home-stage { min-height: 0; padding-top: 3rem; }
  .home-stage__brand { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .home-stage__brand::before { display: none; }
  .home-stage h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); }
  .home-stage__search input[type="text"] { min-height: 3.55rem; }
  .home-capabilities__grid, .home-directory__grid, .home-how__steps { grid-template-columns: 1fr; }
  .home-capabilities__grid > div { padding: 1.15rem 0; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .home-capabilities__grid > div:first-child { padding-left: 0; }
  .home-capabilities__grid > div:last-child { border-bottom: 0; }
  .home-section-heading { align-items: stretch; flex-direction: column; }
  .home-directory__search { flex-basis: auto; }
  .home-how__steps li, .home-how__steps li:first-child { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .home-how__steps li:last-child { border-bottom: 0; }
  .home-source-note { flex-direction: column; gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-enhanced [data-home-reveal], .home-enhanced .home-stage__copy, .home-enhanced .home-route-visual { opacity: 1; transform: none; animation: none; transition: none; }
}
