/* Homepage design styles, isolated copy for Services. */

    :root {
      --bg: #05070b;
      --bg-soft: #0b111c;
      --panel: rgba(15, 23, 42, 0.84);
      --panel-solid: #101827;
      --line: rgba(148, 163, 184, 0.18);
      --text: #f8fafc;
      --muted: #a7b0c0;
      --muted-2: #6f7b8d;
      --orange: #f97316;
      --orange-soft: rgba(249, 115, 22, 0.16);
      --blue: #123f91;
      --blue-soft: rgba(37, 99, 235, 0.22);
      --steel: #94a3b8;
      --white: #ffffff;
      --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
      --radius: 24px;
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        linear-gradient(rgba(5, 7, 11, 0.88), rgba(5, 7, 11, 0.94)),
        radial-gradient(circle at top left, rgba(18, 63, 145, 0.32), transparent 34rem),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 34rem),
        url('assets/images/site-background.png') center/cover fixed no-repeat,
        var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
      background-size: 54px 54px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
      z-index: -1;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: min(100% - 40px, var(--max));
      margin-inline: auto;
    }

    .top-bar {
      border-bottom: 1px solid var(--line);
      background: rgba(5, 7, 11, 0.68);
      backdrop-filter: blur(18px);
      color: var(--muted);
      font-size: 0.86rem;
    }

    .top-bar-inner {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .top-bar span {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(5, 7, 11, 0.76);
      backdrop-filter: blur(22px);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      min-height: 130px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }

    .logo-wrap {
      display: inline-flex;
      align-items: center;
      min-width: 190px;
    }

    .logo-wrap img {
      width: 460px;
      height: auto;
      max-height: 120px;
      object-fit: contain;
      filter: drop-shadow(0 0 16px rgba(249, 115, 22, 0.35));
    }

    .logo-fallback {
      display: inline-flex;
      align-items: center;
      gap: 0.85rem;
      font-weight: 900;
      letter-spacing: -0.04em;
      line-height: 1;
    }

    .logo-mark {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--orange), #ffb020);
      color: #111827;
      box-shadow: 0 14px 30px rgba(249, 115, 22, 0.22);
    }

    .logo-text small {
      display: block;
      color: var(--muted);
      font-weight: 700;
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-top: 0.35rem;
    }
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 280px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-text strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.34rem;
  white-space: nowrap;
}
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.35rem;
      color: var(--muted);
      font-size: 0.94rem;
      font-weight: 700;
    }

    .nav-links a {
      position: relative;
      transition: color 180ms ease;
    }

    .nav-links a:hover {
      color: var(--text);
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 1.1rem;
      border-radius: 999px;
      background: var(--orange);
      color: #111827;
      font-weight: 900;
      box-shadow: 0 16px 35px rgba(249, 115, 22, 0.22);
    }

    .mobile-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.04);
      color: var(--text);
      font-size: 1.4rem;
      cursor: pointer;
    }

    .hero {
      position: relative;
      padding: 90px 0 70px;
      overflow: hidden;
    }

    .hero::after {
      content: "JCS";
      position: absolute;
      right: -5rem;
      top: 2rem;
      font-size: clamp(8rem, 22vw, 22rem);
      line-height: 1;
      font-weight: 900;
      letter-spacing: -0.1em;
      color: rgba(255,255,255,0.025);
      z-index: -1;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.03fr 0.97fr;
      gap: 4rem;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      border: 1px solid rgba(249, 115, 22, 0.28);
      background: var(--orange-soft);
      color: #fed7aa;
      padding: 0.48rem 0.8rem;
      border-radius: 999px;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-weight: 900;
      margin-bottom: 1.35rem;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--orange);
      box-shadow: 0 0 18px rgba(249, 115, 22, 0.9);
    }

    h1 {
      font-size: clamp(3rem, 7vw, 6.2rem);
      line-height: 0.92;
      letter-spacing: -0.075em;
      font-weight: 900;
      max-width: 12ch;
    }

    .hero h1 span {
      color: var(--orange);
    }

    .hero-copy {
      margin-top: 1.5rem;
      max-width: 650px;
      color: var(--muted);
      font-size: clamp(1rem, 1.45vw, 1.18rem);
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 2rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      min-height: 54px;
      padding: 0 1.25rem;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 900;
      transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: var(--orange);
      color: #111827;
      box-shadow: 0 20px 45px rgba(249, 115, 22, 0.26);
    }

    .btn-secondary {
      background: rgba(255,255,255,0.045);
      color: var(--text);
      border-color: var(--line);
    }

    .hero-card {
      position: relative;
      min-height: 580px;
      border: 1px solid var(--line);
      border-radius: 34px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.48)),
        url('assets/images/hero-construction-bg.png') center/cover no-repeat;
      box-shadow: var(--shadow);
      isolation: isolate;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(120deg, rgba(249, 115, 22, 0.22), transparent 38%),
        linear-gradient(to top, rgba(5, 7, 11, 0.92), transparent 58%);
      z-index: -1;
    }

    .hero-card::after {
      content: "";
      position: absolute;
      inset: 22px;
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 26px;
      pointer-events: none;
    }

    .hero-card-content {
      position: absolute;
      left: 28px;
      right: 28px;
      bottom: 28px;
      display: grid;
      gap: 1rem;
    }

    .status-panel {
      border: 1px solid rgba(255,255,255,0.16);
      background: rgba(5, 7, 11, 0.72);
      backdrop-filter: blur(18px);
      border-radius: 24px;
      padding: 1.2rem;
    }

    .status-panel h3 {
      font-size: 1.15rem;
      letter-spacing: -0.025em;
      margin-bottom: 0.45rem;
    }

    .status-panel p {
      color: var(--muted);
      font-size: 0.96rem;
    }

    .hero-mini-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.7rem;
    }

    .mini-stat {
      border: 1px solid rgba(255,255,255,0.13);
      background: rgba(255,255,255,0.06);
      border-radius: 18px;
      padding: 0.9rem;
    }

    .mini-stat strong {
      display: block;
      font-size: 1.35rem;
      line-height: 1;
      color: var(--orange);
      letter-spacing: -0.04em;
    }

    .mini-stat span {
      display: block;
      margin-top: 0.35rem;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 700;
    }

    .section {
      padding: 84px 0;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 2rem;
      margin-bottom: 2.4rem;
    }

    .section-kicker {
      color: var(--orange);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 0.7rem;
    }

    .section-title {
      font-size: clamp(2rem, 4.6vw, 4rem);
      line-height: 1;
      letter-spacing: -0.06em;
      font-weight: 900;
      max-width: 760px;
    }

    .section-lead {
      color: var(--muted);
      max-width: 510px;
      font-size: 1.02rem;
    }

    .trust-strip {
      padding: 28px 0 0;
    }

    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }

    .trust-item {
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.035);
      border-radius: 20px;
      padding: 1.2rem;
    }

    .trust-item strong {
      display: block;
      font-size: 1.9rem;
      line-height: 1;
      letter-spacing: -0.055em;
    }

    .trust-item span {
      display: block;
      color: var(--muted);
      margin-top: 0.45rem;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .service-card {
      position: relative;
      min-height: 300px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
      border-radius: var(--radius);
      padding: 1.45rem;
      overflow: hidden;
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    }

    .service-card:hover {
      transform: translateY(-5px);
      border-color: rgba(249, 115, 22, 0.45);
      background: linear-gradient(180deg, rgba(249,115,22,0.12), rgba(255,255,255,0.025));
    }

    .service-card::before {
      content: attr(data-number);
      position: absolute;
      right: 1.2rem;
      top: 0.8rem;
      color: rgba(255,255,255,0.045);
      font-size: 5rem;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -0.08em;
    }

    .service-icon {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: var(--orange-soft);
      border: 1px solid rgba(249, 115, 22, 0.28);
      display: grid;
      place-items: center;
      color: var(--orange);
      font-weight: 900;
      margin-bottom: 1.2rem;
    }

    .service-card h3 {
      position: relative;
      font-size: 1.25rem;
      line-height: 1.15;
      letter-spacing: -0.035em;
      margin-bottom: 0.75rem;
      max-width: 12rem;
    }

    .service-card p {
      color: var(--muted);
      font-size: 0.96rem;
      position: relative;
    }

    .split-section {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 3rem;
      align-items: center;
    }

    .image-stack {
      position: relative;
      min-height: 560px;
    }

    .stack-main,
    .stack-small {
      position: absolute;
      border-radius: 28px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.14);
      background: var(--panel-solid);
      box-shadow: var(--shadow);
    }

    .stack-main {
      inset: 0 72px 70px 0;
    }

    .stack-small {
      right: 0;
      bottom: 0;
      width: 48%;
      max-width: 240px;
    }

    .stack-main img,
    .stack-small img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.9) contrast(1.03);
    }

    .stack-small img {
      display: block;
      height: auto;
      aspect-ratio: 4 / 5;
    }

    .founder-caption {
      padding: 0.85rem 1rem;
      text-align: center;
    }

    .founder-caption strong {
      display: block;
      font-size: 1rem;
      line-height: 1.3;
    }

    .founder-caption span {
      display: block;
      margin-top: 0.25rem;
      color: var(--orange);
      font-size: 0.8rem;
    }

    .content-list {
      display: grid;
      gap: 1rem;
      margin-top: 1.8rem;
    }

    .content-list li {
      list-style: none;
      display: grid;
      grid-template-columns: 34px 1fr;
      gap: 0.8rem;
      color: var(--muted);
      align-items: start;
    }

    .check {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: var(--blue-soft);
      color: #bfdbfe;
      border: 1px solid rgba(59, 130, 246, 0.24);
      font-weight: 900;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0.8rem;
      counter-reset: step;
    }

    .process-card {
      counter-increment: step;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.035);
      border-radius: 22px;
      padding: 1.1rem;
      min-height: 250px;
      position: relative;
      overflow: hidden;
    }

    .process-card::before {
      content: "0" counter(step);
      display: inline-flex;
      color: var(--orange);
      font-weight: 900;
      font-size: 0.8rem;
      letter-spacing: 0.12em;
      margin-bottom: 3.2rem;
    }

    .process-card h3 {
      font-size: 1.02rem;
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 0.6rem;
    }

    .process-card p {
      color: var(--muted);
      font-size: 0.9rem;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr 0.9fr;
      grid-auto-rows: 250px;
      gap: 1rem;
    }

    .gallery-card {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid var(--line);
      background: var(--panel-solid);
    }

    .gallery-card:first-child {
      grid-row: span 2;
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.92) contrast(1.02);
      transition: transform 300ms ease;
    }

    .gallery-card:hover img {
      transform: scale(1.04);
    }

    .gallery-overlay {
      position: absolute;
      inset: auto 0 0 0;
      padding: 1rem;
      background: linear-gradient(to top, rgba(5, 7, 11, 0.92), transparent);
    }

    .gallery-overlay strong {
      display: block;
      line-height: 1.2;
    }

    .gallery-overlay span {
      color: var(--muted);
      font-size: 0.88rem;
    }

    .cta-panel {
      position: relative;
      border: 1px solid rgba(249, 115, 22, 0.28);
      border-radius: 34px;
      padding: clamp(2rem, 5vw, 4rem);
      background:
        radial-gradient(circle at top right, rgba(249,115,22,0.24), transparent 24rem),
        linear-gradient(135deg, rgba(18, 63, 145, 0.36), rgba(15, 23, 42, 0.86));
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .cta-panel::after {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px solid rgba(255,255,255,0.11);
      border-radius: 26px;
      pointer-events: none;
    }

    .cta-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center;
    }

    .cta-panel h2 {
      font-size: clamp(2rem, 4.2vw, 4.2rem);
      line-height: 1;
      letter-spacing: -0.065em;
      max-width: 820px;
    }

    .cta-panel p {
      color: #d5dbe7;
      margin-top: 1rem;
      max-width: 650px;
    }

    .quote-form-wrap {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 2rem;
      align-items: start;
    }

    .form-card {
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.04);
      border-radius: 28px;
      padding: 1.3rem;
    }

    form {
      display: grid;
      gap: 0.9rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.9rem;
    }

    label {
      display: grid;
      gap: 0.38rem;
      color: var(--muted);
      font-size: 0.88rem;
      font-weight: 700;
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid var(--line);
      background: rgba(5,7,11,0.72);
      color: var(--text);
      border-radius: 14px;
      padding: 0.9rem 0.95rem;
      font: inherit;
      outline: none;
    }

    input[type="file"] {
      padding: 0.8rem;
    }

    input::file-selector-button {
      border: 0;
      border-radius: 999px;
      background: var(--orange);
      color: #111827;
      font-weight: 900;
      padding: 0.65rem 0.9rem;
      margin-right: 0.8rem;
      cursor: pointer;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: rgba(249,115,22,0.6);
      box-shadow: 0 0 0 4px rgba(249,115,22,0.11);
    }

    textarea {
      min-height: 130px;
      resize: vertical;
    }

    .form-note {
      color: var(--muted-2);
      font-size: 0.82rem;
      margin-top: 0.5rem;
    }

    .site-footer {
      border-top: 1px solid var(--line);
      background: rgba(5,7,11,0.72);
      padding: 48px 0 26px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.7fr 0.7fr 0.9fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-logo {
      min-width: 0;
      margin-bottom: 1rem;
    }

    .footer-grid p,
    .footer-grid a,
    .footer-bottom {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .footer-grid h3 {
      font-size: 0.88rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 1rem;
      color: var(--text);
    }

    .footer-links {
      display: grid;
      gap: 0.55rem;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      border-top: 1px solid var(--line);
      padding-top: 1.4rem;
    }

    @media (max-width: 980px) {
      .top-bar-inner {
        justify-content: center;
        text-align: center;
      }

      .top-bar-inner span:last-child {
        display: none;
      }

      .mobile-toggle {
        display: inline-grid;
        place-items: center;
      }

      .nav-links {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 132px;
        background: rgba(10, 15, 25, 0.98);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 1rem;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-cta {
        width: 100%;
      }

      .hero-grid,
      .split-section,
      .quote-form-wrap,
      .cta-grid {
        grid-template-columns: 1fr;
      }

      .hero-card {
        min-height: 480px;
      }

      .trust-grid,
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .process-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-grid {
        grid-template-columns: 1fr 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 28px, var(--max));
      }

.brand-lockup {
  min-width: auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.brand-text strong {
  font-size: 0.95rem;
}

.brand-text small {
  font-size: 0.65rem;
}

      .hero {
        padding-top: 58px;
      }

      .hero-mini-grid,
      .trust-grid,
      .services-grid,
      .process-grid,
      .gallery-grid,
      .form-row,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .gallery-card:first-child {
        grid-row: auto;
      }

      .gallery-grid {
        grid-auto-rows: 250px;
      }

      .section-header {
        display: grid;
      }

      .image-stack {
        min-height: 540px;
      }

      .stack-main {
        inset: 0 0 110px 0;
      }

      .stack-small {
        width: 52%;
      }

      .footer-bottom {
        display: grid;
      }
    }
  