/* ============================================================
   Hong Kong JY Network — style.css
   Dark theme · near-black #0D1110 · forest green accent #166534
   ============================================================ */

:root {
  --bg: #0D1110;
  --bg-2: #101B14;
  --bg-3: #0A120D;
  --panel: #142019;
  --line: #22302a;
  --line-soft: #1B2A22;
  --text: #E7EDE9;
  --muted: #9AA79E;
  --muted-2: #74827B;
  --accent: #166534;
  --accent-2: #15803D;
  --accent-3: #4ADE80;
  --accent-soft: #101B14;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #0D1110;
  color: #E7EDE9;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.15;
  color: #E7EDE9;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ADE80;
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #166534;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  line-height: 1.2;
}

.btn--primary {
  background-color: #166534;
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: #15803D;
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: #E7EDE9;
  border-color: #2E4036;
}

.btn--ghost:hover {
  border-color: #4ADE80;
  color: #4ADE80;
  transform: translateY(-2px);
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SKYLINE NAVIGATION
   ============================================================ */
.skyline-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #0A120D;
  border-bottom: 1px solid #1B2A22;
}

.skyline-nav__top {
  position: relative;
  height: 76px;
  overflow: hidden;
  background: linear-gradient(180deg, #0C1710 0%, #0A120D 100%);
}

.skyline-nav__city {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.skyline-nav__city .bld {
  position: absolute;
  bottom: 0;
  width: var(--w, 26px);
  height: var(--h, 40px);
  left: var(--l, 0);
  background: #0A120D;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 0 1px #13231a inset;
}

.skyline-nav__city .bld.tip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: calc(var(--w, 26px) / 2) solid transparent;
  border-right: calc(var(--w, 26px) / 2) solid transparent;
  border-bottom: 20px solid #0A120D;
}

.skyline-nav__city .bld.lit {
  background-image: radial-gradient(#2E4A38 2px, transparent 2px);
  background-size: 8px 10px;
  background-position: 4px 6px;
  background-repeat: repeat;
  background-color: #0C1710;
}

.skyline-nav__brand {
  position: absolute;
  left: 24px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.skyline-nav__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #166534;
  color: #FFFFFF;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 6px;
  box-shadow: 0 0 0 2px #0A120D, 0 0 0 4px #1B3A27;
}

.skyline-nav__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #E7EDE9;
}

.skyline-nav__cta {
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 2;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: #166534;
  border-radius: 7px;
  transition: background-color 0.18s ease;
}

.skyline-nav__cta:hover {
  background-color: #15803D;
}

.skyline-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 0 24px;
  height: 46px;
  background-color: #0A120D;
  border-top: 1px solid #13231a;
}

.skyline-nav__links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #B9C6BE;
  padding: 4px 0;
  transition: color 0.18s ease;
}

.skyline-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #4ADE80;
  transition: width 0.2s ease;
}

.skyline-nav__links a:hover {
  color: #E7EDE9;
}

.skyline-nav__links a:hover::after {
  width: 100%;
}

.skyline-nav__toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 22px;
  z-index: 3;
  width: 44px;
  height: 40px;
  background: transparent;
  border: 1px solid #2E4036;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.skyline-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E7EDE9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skyline-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.skyline-nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.skyline-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   TRANSIT-MAP HERO
   ============================================================ */
.transit-hero {
  background:
    radial-gradient(900px 500px at 85% 0%, #101B14 0%, transparent 60%),
    radial-gradient(700px 500px at 0% 100%, #0E1913 0%, transparent 55%),
    #0D1110;
  padding: 80px 0 72px;
  border-bottom: 1px solid #1B2A22;
}

.transit-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.transit-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4ADE80;
  margin-bottom: 20px;
}

.transit-hero__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #166534;
  box-shadow: 0 0 0 4px #101B14;
}

.transit-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.transit-hero__sub {
  font-size: 1.08rem;
  color: #B9C6BE;
  max-width: 560px;
  margin-bottom: 32px;
}

.transit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.transit-hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.transit-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #9AA79E;
}

.meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
}

.transit-hero__panel {
  background-color: #0A120D;
  border: 1px solid #22302a;
  border-radius: 14px;
  padding: 18px 18px 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.transit-hero__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 14px;
  border-bottom: 1px solid #1B2A22;
  margin-bottom: 6px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2E4036;
}

.panel-dot:first-child {
  background: #166534;
}

.panel-dot:nth-child(2) {
  background: #4ADE80;
}

.panel-title {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9AA79E;
}

.transit-hero__panel svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   STATEMENT ROW
   ============================================================ */
.statement-section {
  padding: 88px 0;
  background-color: #101B14;
  border-bottom: 1px solid #1B2A22;
}

.statement-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #E7EDE9;
  max-width: 1000px;
}

.statement-text strong {
  color: #4ADE80;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: 96px 0;
  background-color: #0D1110;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.about-lead h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.about-body p {
  color: #B9C6BE;
  margin-bottom: 18px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  padding: 96px 0;
  background-color: #0A120D;
  border-top: 1px solid #1B2A22;
  border-bottom: 1px solid #1B2A22;
}

.stats-head {
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  border-left: 2px solid #22302a;
  padding-left: 20px;
}

.stat-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #4ADE80;
  line-height: 1.05;
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: #9AA79E;
  font-size: 0.92rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  padding: 96px 0;
  background-color: #0D1110;
}

.services-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.services-intro {
  color: #B9C6BE;
  margin-top: 16px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service {
  background-color: #101B14;
  border: 1px solid #1B2A22;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service:hover {
  border-color: #166534;
  transform: translateY(-4px);
}

.service-num {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #166534;
  background-color: #101B14;
  border: 1px solid #22302a;
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 16px;
}

.service h3 {
  margin-bottom: 10px;
}

.service p {
  color: #9AA79E;
  font-size: 0.95rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-section {
  padding: 96px 0;
  background-color: #101B14;
  border-top: 1px solid #1B2A22;
}

.process-head {
  margin-bottom: 56px;
}

.process-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  padding-right: 28px;
  padding-top: 28px;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: #22302a;
}

.process-step:first-child::before {
  left: 8px;
}

.process-step:last-child::before {
  right: 28px;
}

.process-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #166534;
  color: #FFFFFF;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px #101B14;
  z-index: 1;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  color: #9AA79E;
  font-size: 0.93rem;
}

/* ============================================================
   COMPARISON
   ============================================================ */
.compare-section {
  padding: 96px 0;
  background-color: #0D1110;
}

.compare-head {
  margin-bottom: 48px;
  text-align: center;
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.compare-col {
  border-radius: 14px;
  padding: 32px;
}

.compare-col h3 {
  margin-bottom: 22px;
  font-size: 1.15rem;
}

.compare-col ul {
  list-style: none;
}

.compare-col li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid #1B2A22;
  color: #B9C6BE;
  font-size: 0.95rem;
}

.compare-col li:last-child {
  border-bottom: none;
}

.compare-col--us {
  background-color: #101B14;
  border: 1px solid #166534;
}

.compare-col--us h3 {
  color: #4ADE80;
}

.compare-col--us li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 12px;
  color: #4ADE80;
  font-weight: 700;
}

.compare-col--other {
  background-color: #0A120D;
  border: 1px solid #1B2A22;
}

.compare-col--other h3 {
  color: #9AA79E;
}

.compare-col--other li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  top: 12px;
  color: #74827B;
  font-weight: 700;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 96px 0;
  background-color: #101B14;
  border-top: 1px solid #1B2A22;
}

.testimonials-head {
  margin-bottom: 48px;
  text-align: center;
}

.testimonial-slider {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 12px 8px;
  text-align: center;
}

.testimonial-quote {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: #E7EDE9;
  margin-bottom: 24px;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
  font-size: 0.9rem;
  color: #9AA79E;
}

.author-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #166534;
  color: #FFFFFF;
  font-weight: 700;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #2E4036;
  color: #E7EDE9;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.testimonial-btn:hover {
  background-color: #166534;
  border-color: #166534;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2E4036;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.18s ease, width 0.18s ease;
}

.testimonial-dots button.active {
  background-color: #4ADE80;
  width: 26px;
  border-radius: 5px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 96px 0;
  background-color: #0D1110;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-copy > p {
  color: #B9C6BE;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-details strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ADE80;
}

.contact-details a {
  color: #E7EDE9;
  font-weight: 500;
}

.contact-details a:hover {
  color: #4ADE80;
}

.contact-details span {
  color: #B9C6BE;
}

.contact-form {
  background-color: #101B14;
  border: 1px solid #1B2A22;
  border-radius: 14px;
  padding: 32px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #B9C6BE;
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background-color: #0A120D;
  border: 1px solid #22302a;
  border-radius: 8px;
  padding: 12px 14px;
  color: #E7EDE9;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.18s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #166534;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #74827B;
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #4ADE80;
  min-height: 1.2em;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, #101B14 0%, #0A120D 100%);
  border-top: 2px solid #166534;
  border-bottom: 2px solid #166534;
}

.cta-band__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-band__copy h2 {
  margin-bottom: 14px;
}

.cta-band__copy p {
  color: #B9C6BE;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #0A120D;
  border-top: 3px solid #166534;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #E7EDE9;
  font-weight: 600;
}

.footer-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #166534;
  color: #FFFFFF;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  border-radius: 6px;
}

.footer-col--brand p {
  color: #9AA79E;
  font-size: 0.92rem;
  max-width: 300px;
}

.footer-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4ADE80;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  color: #B9C6BE;
  font-size: 0.92rem;
  transition: color 0.18s ease;
}

.footer-col ul a:hover {
  color: #4ADE80;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid #1B2A22;
  color: #74827B;
  font-size: 0.82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .transit-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .process-step::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .skyline-nav__top {
    height: 68px;
  }

  .skyline-nav__brand {
    top: 12px;
  }

  .skyline-nav__name {
    display: none;
  }

  .skyline-nav__cta {
    display: none;
  }

  .skyline-nav__toggle {
    display: flex;
  }

  .skyline-nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    height: auto;
    padding: 8px 24px 16px;
  }

  .skyline-nav__links.open {
    display: flex;
  }

  .skyline-nav__links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #13231a;
  }

  .skyline-nav__links a:last-child {
    border-bottom: none;
  }

  .transit-hero {
    padding: 56px 0 48px;
  }

  .transit-hero__meta {
    gap: 14px;
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .compare-table {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
